Class: Google::Apis::VmwareengineV1::LoggingServer
- Inherits:
-
Object
- Object
- Google::Apis::VmwareengineV1::LoggingServer
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmwareengine_v1/classes.rb,
lib/google/apis/vmwareengine_v1/representations.rb,
lib/google/apis/vmwareengine_v1/representations.rb
Overview
Logging server to receive vCenter or ESXi logs.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#hostname ⇒ String
Required.
-
#name ⇒ String
Output only.
-
#port ⇒ Fixnum
Required.
-
#protocol ⇒ String
Required.
-
#source_type ⇒ String
Required.
-
#uid ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LoggingServer
constructor
A new instance of LoggingServer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LoggingServer
Returns a new instance of LoggingServer.
1496 1497 1498 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1496 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Creation time of this resource.
Corresponds to the JSON property createTime
1454 1455 1456 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1454 def create_time @create_time end |
#hostname ⇒ String
Required. Fully-qualified domain name (FQDN) or IP Address of the logging
server.
Corresponds to the JSON property hostname
1460 1461 1462 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1460 def hostname @hostname end |
#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
Corresponds to the JSON property name
1468 1469 1470 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1468 def name @name end |
#port ⇒ Fixnum
Required. Port number at which the logging server receives logs.
Corresponds to the JSON property port
1473 1474 1475 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1473 def port @port end |
#protocol ⇒ String
Required. Protocol used by vCenter to send logs to a logging server.
Corresponds to the JSON property protocol
1478 1479 1480 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1478 def protocol @protocol end |
#source_type ⇒ String
Required. The type of component that produces logs that will be forwarded to
this logging server.
Corresponds to the JSON property sourceType
1484 1485 1486 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1484 def source_type @source_type end |
#uid ⇒ String
Output only. System-generated unique identifier for the resource.
Corresponds to the JSON property uid
1489 1490 1491 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1489 def uid @uid end |
#update_time ⇒ String
Output only. Last update time of this resource.
Corresponds to the JSON property updateTime
1494 1495 1496 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1494 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1501 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @hostname = args[:hostname] if args.key?(:hostname) @name = args[:name] if args.key?(:name) @port = args[:port] if args.key?(:port) @protocol = args[:protocol] if args.key?(:protocol) @source_type = args[:source_type] if args.key?(:source_type) @uid = args[:uid] if args.key?(:uid) @update_time = args[:update_time] if args.key?(:update_time) end |