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

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 message google.cloud.vmwareengine.v1.LoggingServer

Namespace

Google \ Cloud \ VmwareEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

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

↳ create_time Google\Protobuf\Timestamp

Output only. Creation time of this resource.

↳ update_time Google\Protobuf\Timestamp

Output only. Last update time of this resource.

↳ hostname string

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

↳ port int

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

↳ protocol int

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

↳ source_type int

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

↳ uid string

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

getName

Output only. The resource name of this logging server.

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

Returns
Type Description
string

setName

Output only. The resource name of this logging server.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. Creation time of this resource.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Creation time of this resource.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. Last update time of this resource.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Last update time of this resource.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getHostname

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

Returns
Type Description
string

setHostname

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

Parameter
Name Description
var string
Returns
Type Description
$this

getPort

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

Returns
Type Description
int

setPort

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

Parameter
Name Description
var int
Returns
Type Description
$this

getProtocol

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

Returns
Type Description
int

setProtocol

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

Parameter
Name Description
var int
Returns
Type Description
$this

getSourceType

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

Returns
Type Description
int

setSourceType

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

Parameter
Name Description
var int
Returns
Type Description
$this

getUid

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

Returns
Type Description
string

setUid

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

Parameter
Name Description
var string
Returns
Type Description
$this