Class: Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1ApiOperation
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1ApiOperation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1p1beta1/classes.rb,
lib/google/apis/cloudasset_v1p1beta1/representations.rb,
lib/google/apis/cloudasset_v1p1beta1/representations.rb
Overview
Identification for an API Operation.
Instance Attribute Summary collapse
-
#method_selectors ⇒ Array<Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1MethodSelector>
API methods or permissions to allow.
-
#service_name ⇒ String
The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleIdentityAccesscontextmanagerV1ApiOperation
constructor
A new instance of GoogleIdentityAccesscontextmanagerV1ApiOperation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleIdentityAccesscontextmanagerV1ApiOperation
Returns a new instance of GoogleIdentityAccesscontextmanagerV1ApiOperation.
1037 1038 1039 |
# File 'lib/google/apis/cloudasset_v1p1beta1/classes.rb', line 1037 def initialize(**args) update!(**args) end |
Instance Attribute Details
#method_selectors ⇒ Array<Google::Apis::CloudassetV1p1beta1::GoogleIdentityAccesscontextmanagerV1MethodSelector>
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
1028 1029 1030 |
# File 'lib/google/apis/cloudasset_v1p1beta1/classes.rb', line 1028 def method_selectors @method_selectors end |
#service_name ⇒ String
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
1035 1036 1037 |
# File 'lib/google/apis/cloudasset_v1p1beta1/classes.rb', line 1035 def service_name @service_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1042 1043 1044 1045 |
# File 'lib/google/apis/cloudasset_v1p1beta1/classes.rb', line 1042 def update!(**args) @method_selectors = args[:method_selectors] if args.key?(:method_selectors) @service_name = args[:service_name] if args.key?(:service_name) end |