Class: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1MethodSelector
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1MethodSelector
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/cloudasset_v1beta1/classes.rb,
generated/google/apis/cloudasset_v1beta1/representations.rb,
generated/google/apis/cloudasset_v1beta1/representations.rb
Overview
An allowed method or permission of a service specified in ApiOperation.
Instance Attribute Summary collapse
-
#method_prop ⇒ String
Value for
method
should be a valid method name for the correspondingservice_name
in ApiOperation. -
#permission ⇒ String
Value for
permission
should be a valid Cloud IAM permission for the correspondingservice_name
in ApiOperation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleIdentityAccesscontextmanagerV1MethodSelector
constructor
A new instance of GoogleIdentityAccesscontextmanagerV1MethodSelector.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleIdentityAccesscontextmanagerV1MethodSelector
Returns a new instance of GoogleIdentityAccesscontextmanagerV1MethodSelector.
1305 1306 1307 |
# File 'generated/google/apis/cloudasset_v1beta1/classes.rb', line 1305 def initialize(**args) update!(**args) end |
Instance Attribute Details
#method_prop ⇒ String
Value for method
should be a valid method name for the corresponding
service_name
in ApiOperation. If *
used as value for method
, then ALL
methods and permissions are allowed.
Corresponds to the JSON property method
1297 1298 1299 |
# File 'generated/google/apis/cloudasset_v1beta1/classes.rb', line 1297 def method_prop @method_prop end |
#permission ⇒ String
Value for permission
should be a valid Cloud IAM permission for the
corresponding service_name
in ApiOperation.
Corresponds to the JSON property permission
1303 1304 1305 |
# File 'generated/google/apis/cloudasset_v1beta1/classes.rb', line 1303 def @permission end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1310 1311 1312 1313 |
# File 'generated/google/apis/cloudasset_v1beta1/classes.rb', line 1310 def update!(**args) @method_prop = args[:method_prop] if args.key?(:method_prop) @permission = args[:permission] if args.key?(:permission) end |