Class: Google::Apis::VmwareengineV1::DnsBindPermission
- Inherits:
-
Object
- Object
- Google::Apis::VmwareengineV1::DnsBindPermission
- 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
-
#name ⇒ String
Required.
-
#principals ⇒ Array<Google::Apis::VmwareengineV1::Principal>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DnsBindPermission
constructor
A new instance of DnsBindPermission.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DnsBindPermission
Returns a new instance of DnsBindPermission.
286 287 288 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 286 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
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. 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
278 279 280 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 278 def name @name end |
#principals ⇒ Array<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
284 285 286 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 284 def principals @principals end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
291 292 293 294 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 291 def update!(**args) @name = args[:name] if args.key?(:name) @principals = args[:principals] if args.key?(:principals) end |