Class: Google::Apis::ServicenetworkingV1::AddRolesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/servicenetworking_v1/classes.rb,
lib/google/apis/servicenetworking_v1/representations.rb,
lib/google/apis/servicenetworking_v1/representations.rb

Overview

Represents IAM roles added to the shared VPC host project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AddRolesResponse

Returns a new instance of AddRolesResponse.



205
206
207
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 205

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

Instance Attribute Details

#policy_bindingArray<Google::Apis::ServicenetworkingV1::PolicyBinding>

Required. List of policy bindings that were added to the shared VPC host project. Corresponds to the JSON property policyBinding



203
204
205
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 203

def policy_binding
  @policy_binding
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



210
211
212
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 210

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