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

Inherits:
Object
  • Object
show all
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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AddRolesResponse

Returns a new instance of AddRolesResponse.



79
80
81
# File 'generated/google/apis/servicenetworking_v1/classes.rb', line 79

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



77
78
79
# File 'generated/google/apis/servicenetworking_v1/classes.rb', line 77

def policy_binding
  @policy_binding
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



84
85
86
# File 'generated/google/apis/servicenetworking_v1/classes.rb', line 84

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