class Google::Apis::AccesscontextmanagerV1::ApiOperation
Identification for an API Operation
.
Attributes
method_selectors[RW]
API methods or permissions to allow. Method or permission must belong to the service specified by `service_name` field. A single MethodSelector
entry with ` *` specified for the `method` field will allow all methods AND permissions for the service specified in `service_name`. Corresponds to the JSON property `methodSelectors` @return [Array<Google::Apis::AccesscontextmanagerV1::MethodSelector>]
service_name[RW]
The name of the API whose methods or permissions the IngressPolicy
or EgressPolicy
want to allow. A single ApiOperation
with `service_name` field set to `*` will allow all methods AND permissions for all services. Corresponds to the JSON property `serviceName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/accesscontextmanager_v1/classes.rb, line 153 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/accesscontextmanager_v1/classes.rb, line 158 def update!(**args) @method_selectors = args[:method_selectors] if args.key?(:method_selectors) @service_name = args[:service_name] if args.key?(:service_name) end