Class: Google::Apis::ServicenetworkingV1beta::AddRolesResponse
- Inherits:
-
Object
- Object
- Google::Apis::ServicenetworkingV1beta::AddRolesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/servicenetworking_v1beta/classes.rb,
generated/google/apis/servicenetworking_v1beta/representations.rb,
generated/google/apis/servicenetworking_v1beta/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.
103 104 105 |
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 103 def initialize(**args) update!(**args) end |
Instance Attribute Details
#policy_binding ⇒ Array<Google::Apis::ServicenetworkingV1beta::PolicyBinding>
Required. List of policy bindings that were added to the shared VPC host
project.
Corresponds to the JSON property policyBinding
101 102 103 |
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 101 def policy_binding @policy_binding end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
108 109 110 |
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 108 def update!(**args) @policy_binding = args[:policy_binding] if args.key?(:policy_binding) end |