Class: Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::ApiOperation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/identity/accesscontextmanager/v1/service_perimeter.rb

Overview

Identification for an API Operation.

Instance Attribute Summary collapse

Instance Attribute Details

#method_selectors::Array<::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::MethodSelector>

Returns API methods or permissions to allow. Method or permission must belong to the service specified by service_name field. A single [MethodSelector] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector] entry with * specified for the method field will allow all methods AND permissions for the service specified in service_name.

Returns:

  • (::Array<::Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::MethodSelector>)

    API methods or permissions to allow. Method or permission must belong to the service specified by service_name field. A single [MethodSelector] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector] entry with * specified for the method field will allow all methods AND permissions for the service specified in service_name.



215
216
217
218
# File 'proto_docs/google/identity/accesscontextmanager/v1/service_perimeter.rb', line 215

class ApiOperation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#service_name::String

Returns The name of the API whose methods or permissions the [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] or [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] want to allow. A single [ApiOperation] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation] with service_name field set to * will allow all methods AND permissions for all services.

Returns:

  • (::String)

    The name of the API whose methods or permissions the [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] or [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] want to allow. A single [ApiOperation] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation] with service_name field set to * will allow all methods AND permissions for all services.



215
216
217
218
# File 'proto_docs/google/identity/accesscontextmanager/v1/service_perimeter.rb', line 215

class ApiOperation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end