Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaUpdateResourcePolicyRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebaseappcheck_v1beta/classes.rb,
lib/google/apis/firebaseappcheck_v1beta/representations.rb,
lib/google/apis/firebaseappcheck_v1beta/representations.rb

Overview

Request message for the UpdateResourcePolicy method as well as an individual update message for the BatchUpdateResourcePolicies method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaUpdateResourcePolicyRequest

Returns a new instance of GoogleFirebaseAppcheckV1betaUpdateResourcePolicyRequest.



1393
1394
1395
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1393

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#resource_policyGoogle::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy

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



1385
1386
1387
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1385

def resource_policy
  @resource_policy
end

#update_maskString

Required. A comma-separated list of names of fields in the ResourcePolicy to update. Example: enforcement_mode. Corresponds to the JSON property updateMask

Returns:

  • (String)


1391
1392
1393
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1391

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1398
1399
1400
1401
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1398

def update!(**args)
  @resource_policy = args[:resource_policy] if args.key?(:resource_policy)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
end