Class: Google::Apis::ServicenetworkingV1::AddRolesResponse
- Inherits:
-
Object
- Object
- Google::Apis::ServicenetworkingV1::AddRolesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/servicenetworking_v1/classes.rb,
generated/google/apis/servicenetworking_v1/representations.rb,
generated/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
-
#initialize(**args) ⇒ AddRolesResponse
constructor
A new instance of AddRolesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AddRolesResponse
Returns a new instance of AddRolesResponse.
204 205 206 |
# File 'generated/google/apis/servicenetworking_v1/classes.rb', line 204 def initialize(**args) update!(**args) end |
Instance Attribute Details
#policy_binding ⇒ Array<Google::Apis::ServicenetworkingV1::PolicyBinding>
Required. List of policy bindings that were added to the shared VPC host
project.
Corresponds to the JSON property policyBinding
202 203 204 |
# File 'generated/google/apis/servicenetworking_v1/classes.rb', line 202 def policy_binding @policy_binding end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
209 210 211 |
# File 'generated/google/apis/servicenetworking_v1/classes.rb', line 209 def update!(**args) @policy_binding = args[:policy_binding] if args.key?(:policy_binding) end |