Class: Google::Apis::VmwareengineV1::LoggingServer

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LoggingServer

Returns a new instance of LoggingServer.



1499
1500
1501
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1499

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#create_timeString

Output only. Creation time of this resource. Corresponds to the JSON property createTime

Returns:

  • (String)


1457
1458
1459
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1457

def create_time
  @create_time
end

#hostnameString

Required. Fully-qualified domain name (FQDN) or IP Address of the logging server. Corresponds to the JSON property hostname

Returns:

  • (String)


1463
1464
1465
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1463

def hostname
  @hostname
end

#nameString

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

Returns:

  • (String)


1471
1472
1473
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1471

def name
  @name
end

#portFixnum

Required. Port number at which the logging server receives logs. Corresponds to the JSON property port

Returns:

  • (Fixnum)


1476
1477
1478
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1476

def port
  @port
end

#protocolString

Required. Protocol used by vCenter to send logs to a logging server. Corresponds to the JSON property protocol

Returns:

  • (String)


1481
1482
1483
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1481

def protocol
  @protocol
end

#source_typeString

Required. The type of component that produces logs that will be forwarded to this logging server. Corresponds to the JSON property sourceType

Returns:

  • (String)


1487
1488
1489
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1487

def source_type
  @source_type
end

#uidString

Output only. System-generated unique identifier for the resource. Corresponds to the JSON property uid

Returns:

  • (String)


1492
1493
1494
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1492

def uid
  @uid
end

#update_timeString

Output only. Last update time of this resource. Corresponds to the JSON property updateTime

Returns:

  • (String)


1497
1498
1499
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1497

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1504

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