Class: Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebaseappcheck_v1/classes.rb,
lib/google/apis/firebaseappcheck_v1/representations.rb,
lib/google/apis/firebaseappcheck_v1/representations.rb
Overview
Request message for the UpdateResourcePolicy method as well as an individual update message for the BatchUpdateResourcePolicies method.
Instance Attribute Summary collapse
-
#resource_policy ⇒ Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ResourcePolicy
App Check enforcement policy for a specific resource of a Google service supported by App Check.
-
#update_mask ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest
constructor
A new instance of GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest
Returns a new instance of GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest.
1248 1249 1250 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 1248 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_policy ⇒ Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ResourcePolicy
App Check enforcement policy for a specific resource of a Google service
supported by App Check. Note that this policy will override the service-level
configuration.
Corresponds to the JSON property resourcePolicy
1240 1241 1242 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 1240 def resource_policy @resource_policy end |
#update_mask ⇒ String
Required. A comma-separated list of names of fields in the ResourcePolicy to
update. Example: enforcement_mode
.
Corresponds to the JSON property updateMask
1246 1247 1248 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 1246 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1253 1254 1255 1256 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 1253 def update!(**args) @resource_policy = args[:resource_policy] if args.key?(:resource_policy) @update_mask = args[:update_mask] if args.key?(:update_mask) end |