Google Cloud Vmware Engine V1 Client - Class LoggingServer (1.2.2)

Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class LoggingServer.

Logging server to receive vCenter or ESXi logs.

Generated from protobuf messagegoogle.cloud.vmwareengine.v1.LoggingServer

Namespace

Google \ Cloud \ VmwareEngine \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

Output only. The resource name of this logging server. Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server

↳ create_timeGoogle\Protobuf\Timestamp

Output only. Creation time of this resource.

↳ update_timeGoogle\Protobuf\Timestamp

Output only. Last update time of this resource.

↳ hostnamestring

Required. Fully-qualified domain name (FQDN) or IP Address of the logging server.

↳ portint

Required. Port number at which the logging server receives logs.

↳ protocolint

Required. Protocol used by vCenter to send logs to a logging server.

↳ source_typeint

Required. The type of component that produces logs that will be forwarded to this logging server.

↳ uidstring

Output only. System-generated unique identifier for the resource.

getName

Returns
TypeDescription
string

setName

Output only. The resource name of this logging server.

Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names.For example:projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getCreateTime

Output only. Creation time of this resource.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Creation time of this resource.

Parameter
NameDescription
varGoogle\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. Last update time of this resource.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Last update time of this resource.

Parameter
NameDescription
varGoogle\Protobuf\Timestamp
Returns
TypeDescription
$this

getHostname

Required. Fully-qualified domain name (FQDN) or IP Address of the loggingserver.

Returns
TypeDescription
string

setHostname

Required. Fully-qualified domain name (FQDN) or IP Address of the loggingserver.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getPort

Required. Port number at which the logging server receives logs.

Returns
TypeDescription
int

setPort

Required. Port number at which the logging server receives logs.

Parameter
NameDescription
varint
Returns
TypeDescription
$this

getProtocol

Required. Protocol used by vCenter to send logs to a logging server.

Returns
TypeDescription
intEnum of typeProtocol.

setProtocol

Required. Protocol used by vCenter to send logs to a logging server.

Parameter
NameDescription
varint

Enum of typeProtocol.

Returns
TypeDescription
$this

getSourceType

Required. The type of component that produces logs that will be forwardedto this logging server.

Returns
TypeDescription
intEnum of typeSourceType.

setSourceType

Required. The type of component that produces logs that will be forwardedto this logging server.

Parameter
NameDescription
varint

Enum of typeSourceType.

Returns
TypeDescription
$this

getUid

Output only. System-generated unique identifier for the resource.

Returns
TypeDescription
string

setUid

Output only. System-generated unique identifier for the resource.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-09 UTC.