class Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1MethodSelector
An allowed method or permission of a service specified in ApiOperation.
Attributes
method_prop[RW]
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` @return [String]
permission[RW]
Value for `permission` should be a valid Cloud IAM permission for the corresponding `service_name` in ApiOperation. Corresponds to the JSON property `permission` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudasset_v1p7beta1/classes.rb, line 1673 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudasset_v1p7beta1/classes.rb, line 1678 def update!(**args) @method_prop = args[:method_prop] if args.key?(:method_prop) @permission = args[:permission] if args.key?(:permission) end