Class: Google::Apis::ConnectorsV1::ManagedZone

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ManagedZone

Returns a new instance of ManagedZone.



3672
3673
3674
# File 'lib/google/apis/connectors_v1/classes.rb', line 3672

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

Instance Attribute Details

#create_timeString

Output only. Created time. Corresponds to the JSON property createTime

Returns:

  • (String)


3632
3633
3634
# File 'lib/google/apis/connectors_v1/classes.rb', line 3632

def create_time
  @create_time
end

#descriptionString

Optional. Description of the resource. Corresponds to the JSON property description

Returns:

  • (String)


3637
3638
3639
# File 'lib/google/apis/connectors_v1/classes.rb', line 3637

def description
  @description
end

#dnsString

Required. DNS Name of the resource Corresponds to the JSON property dns

Returns:

  • (String)


3642
3643
3644
# File 'lib/google/apis/connectors_v1/classes.rb', line 3642

def dns
  @dns
end

#labelsHash<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

Returns:

  • (Hash<String,String>)


3649
3650
3651
# File 'lib/google/apis/connectors_v1/classes.rb', line 3649

def labels
  @labels
end

#nameString

Output only. Resource name of the Managed Zone. Format: projects/project/ locations/global/managedZones/managed_zone Corresponds to the JSON property name

Returns:

  • (String)


3655
3656
3657
# File 'lib/google/apis/connectors_v1/classes.rb', line 3655

def name
  @name
end

#target_projectString

Required. The name of the Target Project Corresponds to the JSON property targetProject

Returns:

  • (String)


3660
3661
3662
# File 'lib/google/apis/connectors_v1/classes.rb', line 3660

def target_project
  @target_project
end

#target_vpcString

Required. The name of the Target Project VPC Network Corresponds to the JSON property targetVpc

Returns:

  • (String)


3665
3666
3667
# File 'lib/google/apis/connectors_v1/classes.rb', line 3665

def target_vpc
  @target_vpc
end

#update_timeString

Output only. Updated time. Corresponds to the JSON property updateTime

Returns:

  • (String)


3670
3671
3672
# File 'lib/google/apis/connectors_v1/classes.rb', line 3670

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
# File 'lib/google/apis/connectors_v1/classes.rb', line 3677

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