Class: Google::Apis::ConnectorsV1::ManagedZone
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::ManagedZone
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb
Overview
represents the Connector's Managed Zone resource
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#dns ⇒ String
Required.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Output only.
-
#target_project ⇒ String
Required.
-
#target_vpc ⇒ String
Required.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagedZone
constructor
A new instance of ManagedZone.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ManagedZone
Returns a new instance of ManagedZone.
5081 5082 5083 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5081 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Created time.
Corresponds to the JSON property createTime
5041 5042 5043 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5041 def create_time @create_time end |
#description ⇒ String
Optional. Description of the resource.
Corresponds to the JSON property description
5046 5047 5048 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5046 def description @description end |
#dns ⇒ String
Required. DNS Name of the resource
Corresponds to the JSON property dns
5051 5052 5053 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5051 def dns @dns end |
#labels ⇒ Hash<String,String>
Optional. Resource labels to represent user-provided metadata. Refer to cloud
documentation on labels for more details. https://cloud.google.com/compute/
docs/labeling-resources
Corresponds to the JSON property labels
5058 5059 5060 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5058 def labels @labels end |
#name ⇒ String
Output only. Resource name of the Managed Zone. Format: projects/project/
locations/global/managedZones/managed_zone
Corresponds to the JSON property name
5064 5065 5066 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5064 def name @name end |
#target_project ⇒ String
Required. The name of the Target Project
Corresponds to the JSON property targetProject
5069 5070 5071 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5069 def target_project @target_project end |
#target_vpc ⇒ String
Required. The name of the Target Project VPC Network
Corresponds to the JSON property targetVpc
5074 5075 5076 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5074 def target_vpc @target_vpc end |
#update_time ⇒ String
Output only. Updated time.
Corresponds to the JSON property updateTime
5079 5080 5081 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5079 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5086 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @dns = args[:dns] if args.key?(:dns) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @target_project = args[:target_project] if args.key?(:target_project) @target_vpc = args[:target_vpc] if args.key?(:target_vpc) @update_time = args[:update_time] if args.key?(:update_time) end |