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 Firebase 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.
1247 1248 1249 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 1247 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 Firebase service
supported by App Check. Note that this policy will override the service-level
configuration.
Corresponds to the JSON property resourcePolicy
1239 1240 1241 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 1239 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
1245 1246 1247 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 1245 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1252 1253 1254 1255 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 1252 def update!(**args) @resource_policy = args[:resource_policy] if args.key?(:resource_policy) @update_mask = args[:update_mask] if args.key?(:update_mask) end |