class Google::Apis::CloudassetV1p4beta1::GoogleIdentityAccesscontextmanagerV1ApiOperation

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::CloudassetV1p4beta1::GoogleIdentityAccesscontextmanagerV1MethodSelector>]

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/cloudasset_v1p4beta1/classes.rb, line 1312
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_v1p4beta1/classes.rb, line 1317
def update!(**args)
  @method_selectors = args[:method_selectors] if args.key?(:method_selectors)
  @service_name = args[:service_name] if args.key?(:service_name)
end