Google Cloud Vmware Engine V1 Client - Class LoggingServer (1.2.2) Stay organized with collections Save and categorize content based on your preferences.
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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data | arrayOptional. Data for populating the Message object. |
↳ name | stringOutput 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: |
↳ create_time | Google\Protobuf\TimestampOutput only. Creation time of this resource. |
↳ update_time | Google\Protobuf\TimestampOutput only. Last update time of this resource. |
↳ hostname | stringRequired. Fully-qualified domain name (FQDN) or IP Address of the logging server. |
↳ port | intRequired. Port number at which the logging server receives logs. |
↳ protocol | intRequired. Protocol used by vCenter to send logs to a logging server. |
↳ source_type | intRequired. The type of component that produces logs that will be forwarded to this logging server. |
↳ uid | stringOutput 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 inhttps://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 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 | |
|---|---|
| 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 loggingserver.
| Returns | |
|---|---|
| Type | Description |
string | |
setHostname
Required. Fully-qualified domain name (FQDN) or IP Address of the loggingserver.
| 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 | Enum of typeProtocol. |
setProtocol
Required. Protocol used by vCenter to send logs to a logging server.
| Parameter | |
|---|---|
| Name | Description |
var | intEnum of typeProtocol. |
| Returns | |
|---|---|
| Type | Description |
$this | |
getSourceType
Required. The type of component that produces logs that will be forwardedto this logging server.
| Returns | |
|---|---|
| Type | Description |
int | Enum of typeSourceType. |
setSourceType
Required. The type of component that produces logs that will be forwardedto this logging server.
| Parameter | |
|---|---|
| Name | Description |
var | intEnum of typeSourceType. |
| 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 | |
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.