# Google Cloud VMware Engine V1 API - Class Google::Cloud::VmwareEngine::V1::LoggingServer (v1.5.0)

1.5.0 (latest) 1.4.1 1.3.1 1.2.0 1.1.0 1.0.1 0.11.0 0.10.0 0.9.2 0.8.0 0.7.1 0.6.1 0.5.0 0.4.0 0.3.1 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud VMware Engine V1 API class Google::Cloud::VmwareEngine::V1::LoggingServer.

Logging server to receive vCenter or ESXi logs.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vmware_engine-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Creation time of this resource.

### #hostname

    def hostname() -> ::String

**Returns**

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

### #hostname=

    def hostname=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Fully-qualified domain name (FQDN) or IP Address of the logging server.
**Returns**

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

### #name

    def name() -> ::String

**Returns**

- (::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`

### #port

    def port() -> ::Integer

**Returns**

- (::Integer) --- Required. Port number at which the logging server receives logs.

### #port=

    def port=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Required. Port number at which the logging server receives logs.
**Returns**

- (::Integer) --- Required. Port number at which the logging server receives logs.

### #protocol

    def protocol() -> ::Google::Cloud::VmwareEngine::V1::LoggingServer::Protocol

**Returns**

- ([::Google::Cloud::VmwareEngine::V1::LoggingServer::Protocol](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vmware_engine-v1/latest/Google-Cloud-VmwareEngine-V1-LoggingServer-Protocol)) --- Required. Protocol used by vCenter to send logs to a logging server.

### #protocol=

    def protocol=(value) -> ::Google::Cloud::VmwareEngine::V1::LoggingServer::Protocol

**Parameter**

- **value** ([::Google::Cloud::VmwareEngine::V1::LoggingServer::Protocol](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vmware_engine-v1/latest/Google-Cloud-VmwareEngine-V1-LoggingServer-Protocol)) --- Required. Protocol used by vCenter to send logs to a logging server.
**Returns**

- ([::Google::Cloud::VmwareEngine::V1::LoggingServer::Protocol](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vmware_engine-v1/latest/Google-Cloud-VmwareEngine-V1-LoggingServer-Protocol)) --- Required. Protocol used by vCenter to send logs to a logging server.

### #source_type

    def source_type() -> ::Google::Cloud::VmwareEngine::V1::LoggingServer::SourceType

**Returns**

- ([::Google::Cloud::VmwareEngine::V1::LoggingServer::SourceType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vmware_engine-v1/latest/Google-Cloud-VmwareEngine-V1-LoggingServer-SourceType)) --- Required. The type of component that produces logs that will be forwarded to this logging server.

### #source_type=

    def source_type=(value) -> ::Google::Cloud::VmwareEngine::V1::LoggingServer::SourceType

**Parameter**

- **value** ([::Google::Cloud::VmwareEngine::V1::LoggingServer::SourceType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vmware_engine-v1/latest/Google-Cloud-VmwareEngine-V1-LoggingServer-SourceType)) --- Required. The type of component that produces logs that will be forwarded to this logging server.
**Returns**

- ([::Google::Cloud::VmwareEngine::V1::LoggingServer::SourceType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vmware_engine-v1/latest/Google-Cloud-VmwareEngine-V1-LoggingServer-SourceType)) --- Required. The type of component that produces logs that will be forwarded to this logging server.

### #uid

    def uid() -> ::String

**Returns**

- (::String) --- Output only. System-generated unique identifier for the resource.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vmware_engine-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Last update time of this resource.