Class: Google::Apis::VmwareengineV1::ManagementDnsZoneBinding

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

Represents a binding between a network and the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ManagementDnsZoneBinding

Returns a new instance of ManagementDnsZoneBinding.



1724
1725
1726
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1724

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)


1678
1679
1680
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1678

def create_time
  @create_time
end

#descriptionString

User-provided description for this resource. Corresponds to the JSON property description

Returns:

  • (String)


1683
1684
1685
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1683

def description
  @description
end

#nameString

Output only. The resource name of this binding. 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/managementDnsZoneBindings/my-management-dns-zone- binding Corresponds to the JSON property name

Returns:

  • (String)


1692
1693
1694
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1692

def name
  @name
end

#stateString

Output only. The state of the resource. Corresponds to the JSON property state

Returns:

  • (String)


1697
1698
1699
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1697

def state
  @state
end

#uidString

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

Returns:

  • (String)


1702
1703
1704
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1702

def uid
  @uid
end

#update_timeString

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

Returns:

  • (String)


1707
1708
1709
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1707

def update_time
  @update_time
end

#vmware_engine_networkString

Network to bind is a VMware Engine network. Specify the name in the following form for VMware engine network: projects/project/locations/global/ vmwareEngineNetworks/vmware_engine_network_id.project`can either be a project number or a project ID. Corresponds to the JSON propertyvmwareEngineNetwork`

Returns:

  • (String)


1715
1716
1717
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1715

def vmware_engine_network
  @vmware_engine_network
end

#vpc_networkString

Network to bind is a standard consumer VPC. Specify the name in the following form for consumer VPC network: projects/project/global/networks/network_id . project can either be a project number or a project ID. Corresponds to the JSON property vpcNetwork

Returns:

  • (String)


1722
1723
1724
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1722

def vpc_network
  @vpc_network
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1729

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @name = args[:name] if args.key?(:name)
  @state = args[:state] if args.key?(:state)
  @uid = args[:uid] if args.key?(:uid)
  @update_time = args[:update_time] if args.key?(:update_time)
  @vmware_engine_network = args[:vmware_engine_network] if args.key?(:vmware_engine_network)
  @vpc_network = args[:vpc_network] if args.key?(:vpc_network)
end