Class: Google::Apis::VmwareengineV1::DnsBindPermission

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

DnsBindPermission resource that contains the accounts having the consumer DNS bind permission on the corresponding intranet VPC of the consumer project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DnsBindPermission

Returns a new instance of DnsBindPermission.



426
427
428
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 426

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

Instance Attribute Details

#nameString

Required. Output only. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource and location can only be global. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/ my-project/locations/global/dnsBindPermission Corresponds to the JSON property name

Returns:

  • (String)


418
419
420
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 418

def name
  @name
end

#principalsArray<Google::Apis::VmwareengineV1::Principal>

Output only. Users/Service accounts which have access for binding on the intranet VPC project corresponding to the consumer project. Corresponds to the JSON property principals



424
425
426
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 424

def principals
  @principals
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



431
432
433
434
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 431

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @principals = args[:principals] if args.key?(:principals)
end