google-apis-firebaseappcheck_v1beta 0.52.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/firebaseappcheck_v1beta/classes.rb +131 -4
- data/lib/google/apis/firebaseappcheck_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/firebaseappcheck_v1beta/representations.rb +34 -0
- data/lib/google/apis/firebaseappcheck_v1beta/service.rb +242 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bdf0f98c106d3f7378057f911aca459a18fa069767b842d62b9a9a470a20cb84
|
|
4
|
+
data.tar.gz: becce1507178ad15cc95dd731d6bf1da20c43b10f04e3193326ec15be730ef0d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9df9ea45e08c5b660c87f2f0bf4585c3a13ffb20c36d1104c174a89db3242b67c7ec0b5b7ef6f22e1581a30c45f24b4fdf58ea1fa2251214784d99d878f23e2e
|
|
7
|
+
data.tar.gz: 6325a0d06623df122b3110bb64bf41159bf8da92ec78c776e20134d8b1f55b02f8f68a4f40e57c5d7fc97262a5e412d510674e2f832378d09f67eb035b7ef8dc
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-firebaseappcheck_v1beta
|
|
2
2
|
|
|
3
|
+
### v0.54.0 (2026-10-21)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20261010
|
|
6
|
+
* Regenerated using generator version 0.19.1
|
|
7
|
+
|
|
8
|
+
### v0.53.0 (2026-10-04)
|
|
9
|
+
|
|
10
|
+
* Regenerated from discovery document revision 20260918
|
|
11
|
+
|
|
3
12
|
### v0.52.0 (2026-08-30)
|
|
4
13
|
|
|
5
14
|
* Regenerated from discovery document revision 20260822
|
|
@@ -130,6 +130,104 @@ module Google
|
|
|
130
130
|
end
|
|
131
131
|
end
|
|
132
132
|
|
|
133
|
+
# An **enforcement automation** is useful for automatically enforcing a service
|
|
134
|
+
# or a resource policy within a service when a certain condition is met. For
|
|
135
|
+
# example, you may create an automation that automatically turns on enforcement
|
|
136
|
+
# for your Cloud Firestore service at a specified timestamp in the future. For
|
|
137
|
+
# your security, an automation object may be created by the system in order to
|
|
138
|
+
# protect sensitive services by default. These *system-created* automations can
|
|
139
|
+
# be opted out, if you so choose, by calling the SuspendAutomation method on
|
|
140
|
+
# them. Suspending a system-created automation is not recommended, but is
|
|
141
|
+
# supported for advanced use cases. The system will not execute nor modify any
|
|
142
|
+
# suspended automations. Also, system-created automations **cannot** be deleted,
|
|
143
|
+
# but can be freely modified, which is also not recommended, as the system may
|
|
144
|
+
# later overwrite your changes with its own default settings without notice (
|
|
145
|
+
# assuming it has not been suspended). An automation's condition is evaluated
|
|
146
|
+
# periodically; the frequency of this periodic evaluation depends on the exact
|
|
147
|
+
# condition. While the details are unspecified, evaluations will be conducted
|
|
148
|
+
# reasonably frequently so that a satisfied condition will be detected in a
|
|
149
|
+
# timely fashion. Once a condition has been detected to be satisfied, the
|
|
150
|
+
# enforcement action will be executed immediately. Currently, the only
|
|
151
|
+
# enforcement action supported is to **enforce** App Check protections on the
|
|
152
|
+
# associated parent service or parent resource policy. Once executed, the
|
|
153
|
+
# automation becomes immutable, and serves as a historical record of that
|
|
154
|
+
# execution. Its `update_time` field will be populated with the timestamp at
|
|
155
|
+
# which the execution occurred, and its `state` field will be set to `SUCCEEDED`.
|
|
156
|
+
# Successful automations not created by the system can still be deleted. If,
|
|
157
|
+
# during the evaluation or execution of an automation, App Check discovers that
|
|
158
|
+
# it is no longer possible for the service or resource to receive App Check
|
|
159
|
+
# protection, App Check may suspend your automation without warning. For example,
|
|
160
|
+
# if you have disabled a service, or have deleted all resources within a
|
|
161
|
+
# service, and that service does not support storing your App Check preferences
|
|
162
|
+
# while it is in such a state, then an automation created for this service may
|
|
163
|
+
# be suspended. Please ensure that the service or resource is correctly
|
|
164
|
+
# configured and operating normally throughout the lifetime of the automation to
|
|
165
|
+
# avoid suspension.
|
|
166
|
+
class GoogleFirebaseAppcheckV1betaAutomation
|
|
167
|
+
include Google::Apis::Core::Hashable
|
|
168
|
+
|
|
169
|
+
# Output only. Timestamp at which this automation object was created.
|
|
170
|
+
# Corresponds to the JSON property `createTime`
|
|
171
|
+
# @return [String]
|
|
172
|
+
attr_accessor :create_time
|
|
173
|
+
|
|
174
|
+
# This checksum is computed by the server based on the value of other fields,
|
|
175
|
+
# and may be sent on update and delete requests to ensure the client has an up-
|
|
176
|
+
# to-date value before proceeding. This etag is strongly validated as defined by
|
|
177
|
+
# RFC 7232.
|
|
178
|
+
# Corresponds to the JSON property `etag`
|
|
179
|
+
# @return [String]
|
|
180
|
+
attr_accessor :etag
|
|
181
|
+
|
|
182
|
+
# Identifier. The relative resource name of the automation object, in one of the
|
|
183
|
+
# following supported formats: ``` projects/`project_number`/services/`
|
|
184
|
+
# service_id`/automations/`automation_id` projects/`project_number`/services/`
|
|
185
|
+
# service_id`/resourcePolicies/`resource_policy_id`/automations/`automation_id` `
|
|
186
|
+
# ``
|
|
187
|
+
# Corresponds to the JSON property `name`
|
|
188
|
+
# @return [String]
|
|
189
|
+
attr_accessor :name
|
|
190
|
+
|
|
191
|
+
# Output only. The original creator of this automation object.
|
|
192
|
+
# Corresponds to the JSON property `origin`
|
|
193
|
+
# @return [String]
|
|
194
|
+
attr_accessor :origin
|
|
195
|
+
|
|
196
|
+
# Output only. The state that this automation object is currently in.
|
|
197
|
+
# Corresponds to the JSON property `state`
|
|
198
|
+
# @return [String]
|
|
199
|
+
attr_accessor :state
|
|
200
|
+
|
|
201
|
+
# A condition that is satisfied if the current time is greater than or equal to
|
|
202
|
+
# the specified timestamp.
|
|
203
|
+
# Corresponds to the JSON property `triggerTime`
|
|
204
|
+
# @return [String]
|
|
205
|
+
attr_accessor :trigger_time
|
|
206
|
+
|
|
207
|
+
# Output only. Timestamp at which this automation object was most recently
|
|
208
|
+
# updated, either by the system or by the user. If this automation has already
|
|
209
|
+
# been executed, this field indicates the exact timestamp at which it was
|
|
210
|
+
# executed.
|
|
211
|
+
# Corresponds to the JSON property `updateTime`
|
|
212
|
+
# @return [String]
|
|
213
|
+
attr_accessor :update_time
|
|
214
|
+
|
|
215
|
+
def initialize(**args)
|
|
216
|
+
update!(**args)
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
# Update properties of this object
|
|
220
|
+
def update!(**args)
|
|
221
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
222
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
223
|
+
@name = args[:name] if args.key?(:name)
|
|
224
|
+
@origin = args[:origin] if args.key?(:origin)
|
|
225
|
+
@state = args[:state] if args.key?(:state)
|
|
226
|
+
@trigger_time = args[:trigger_time] if args.key?(:trigger_time)
|
|
227
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
228
|
+
end
|
|
229
|
+
end
|
|
230
|
+
|
|
133
231
|
# Response message for the BatchGetAppAttestConfigs method.
|
|
134
232
|
class GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse
|
|
135
233
|
include Google::Apis::Core::Hashable
|
|
@@ -596,9 +694,9 @@ module Google
|
|
|
596
694
|
# token. *Limited use* App Check tokens with the same `jti` will be counted as
|
|
597
695
|
# the same token for the purposes of replay protection. An error is returned if
|
|
598
696
|
# this field is specified without setting `limited_use` to `true`. The size of
|
|
599
|
-
# this field is limited to
|
|
697
|
+
# this field is limited to 250 bytes. If specified, its length must be at least
|
|
600
698
|
# 16 bytes. If this field is omitted or is empty and `limited_use` is set to `
|
|
601
|
-
# true`, a randomly generated `jti` claim with length between 16 and
|
|
699
|
+
# true`, a randomly generated `jti` claim with length between 16 and 250 bytes (
|
|
602
700
|
# inclusive) will be used in the returned App Check token. Leaving this field
|
|
603
701
|
# empty is only recommended if your custom attestation provider itself is not
|
|
604
702
|
# vulnerable to replay attacks. When `limited_use` is set to `false`, the
|
|
@@ -893,9 +991,9 @@ module Google
|
|
|
893
991
|
# Optional. Specifies the desired `jti` claim (Section 4.1.7 of RFC 7519) in the
|
|
894
992
|
# returned App Check token. Limited-use App Check tokens with the same `jti`
|
|
895
993
|
# will be counted as the same token for the purposes of replay protection. The
|
|
896
|
-
# size of this field is limited to
|
|
994
|
+
# size of this field is limited to 250 bytes. If specified, its length must be
|
|
897
995
|
# at least 16 bytes. If this field is omitted or is empty, a randomly generated `
|
|
898
|
-
# jti` claim with length between 16 and
|
|
996
|
+
# jti` claim with length between 16 and 250 bytes (inclusive) will be used in
|
|
899
997
|
# the returned App Check token. Leaving this field empty is only recommended if
|
|
900
998
|
# your custom attestation provider itself is not vulnerable to replay attacks.
|
|
901
999
|
# Corresponds to the JSON property `jti`
|
|
@@ -912,6 +1010,35 @@ module Google
|
|
|
912
1010
|
end
|
|
913
1011
|
end
|
|
914
1012
|
|
|
1013
|
+
# Response message for the ListAutomations method.
|
|
1014
|
+
class GoogleFirebaseAppcheckV1betaListAutomationsResponse
|
|
1015
|
+
include Google::Apis::Core::Hashable
|
|
1016
|
+
|
|
1017
|
+
# The Automations retrieved.
|
|
1018
|
+
# Corresponds to the JSON property `automations`
|
|
1019
|
+
# @return [Array<Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation>]
|
|
1020
|
+
attr_accessor :automations
|
|
1021
|
+
|
|
1022
|
+
# If the result list is too large to fit in a single response, then a token is
|
|
1023
|
+
# returned. If the string is empty or omitted, then this response is the last
|
|
1024
|
+
# page of results. This token can be used in a subsequent call to
|
|
1025
|
+
# ListAutomations to find the next group of Automations. Page tokens are short-
|
|
1026
|
+
# lived and should not be persisted.
|
|
1027
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1028
|
+
# @return [String]
|
|
1029
|
+
attr_accessor :next_page_token
|
|
1030
|
+
|
|
1031
|
+
def initialize(**args)
|
|
1032
|
+
update!(**args)
|
|
1033
|
+
end
|
|
1034
|
+
|
|
1035
|
+
# Update properties of this object
|
|
1036
|
+
def update!(**args)
|
|
1037
|
+
@automations = args[:automations] if args.key?(:automations)
|
|
1038
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1039
|
+
end
|
|
1040
|
+
end
|
|
1041
|
+
|
|
915
1042
|
# Response message for the ListDebugTokens method.
|
|
916
1043
|
class GoogleFirebaseAppcheckV1betaListDebugTokensResponse
|
|
917
1044
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module FirebaseappcheckV1beta
|
|
18
18
|
# Version of the google-apis-firebaseappcheck_v1beta gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.54.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.19.
|
|
22
|
+
GENERATOR_VERSION = "0.19.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20261010"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -40,6 +40,12 @@ module Google
|
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
+
class GoogleFirebaseAppcheckV1betaAutomation
|
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
+
end
|
|
48
|
+
|
|
43
49
|
class GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse
|
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
51
|
|
|
@@ -202,6 +208,12 @@ module Google
|
|
|
202
208
|
include Google::Apis::Core::JsonObjectSupport
|
|
203
209
|
end
|
|
204
210
|
|
|
211
|
+
class GoogleFirebaseAppcheckV1betaListAutomationsResponse
|
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
213
|
+
|
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
215
|
+
end
|
|
216
|
+
|
|
205
217
|
class GoogleFirebaseAppcheckV1betaListDebugTokensResponse
|
|
206
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
219
|
|
|
@@ -359,6 +371,19 @@ module Google
|
|
|
359
371
|
end
|
|
360
372
|
end
|
|
361
373
|
|
|
374
|
+
class GoogleFirebaseAppcheckV1betaAutomation
|
|
375
|
+
# @private
|
|
376
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
377
|
+
property :create_time, as: 'createTime'
|
|
378
|
+
property :etag, as: 'etag'
|
|
379
|
+
property :name, as: 'name'
|
|
380
|
+
property :origin, as: 'origin'
|
|
381
|
+
property :state, as: 'state'
|
|
382
|
+
property :trigger_time, as: 'triggerTime'
|
|
383
|
+
property :update_time, as: 'updateTime'
|
|
384
|
+
end
|
|
385
|
+
end
|
|
386
|
+
|
|
362
387
|
class GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse
|
|
363
388
|
# @private
|
|
364
389
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -585,6 +610,15 @@ module Google
|
|
|
585
610
|
end
|
|
586
611
|
end
|
|
587
612
|
|
|
613
|
+
class GoogleFirebaseAppcheckV1betaListAutomationsResponse
|
|
614
|
+
# @private
|
|
615
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
616
|
+
collection :automations, as: 'automations', class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation, decorator: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation::Representation
|
|
617
|
+
|
|
618
|
+
property :next_page_token, as: 'nextPageToken'
|
|
619
|
+
end
|
|
620
|
+
end
|
|
621
|
+
|
|
588
622
|
class GoogleFirebaseAppcheckV1betaListDebugTokensResponse
|
|
589
623
|
# @private
|
|
590
624
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1860,6 +1860,127 @@ module Google
|
|
|
1860
1860
|
execute_or_queue_command(command, &block)
|
|
1861
1861
|
end
|
|
1862
1862
|
|
|
1863
|
+
# Gets the specified Automation configuration.
|
|
1864
|
+
# @param [String] name
|
|
1865
|
+
# Required. The relative resource name of the Automation to retrieve, in one of
|
|
1866
|
+
# the following supported formats: ``` projects/`project_number`/services/`
|
|
1867
|
+
# service_id`/automations/`automation_id` projects/`project_number`/services/`
|
|
1868
|
+
# service_id`/resourcePolicies/`resource_policy_id`/automations/`automation_id` `
|
|
1869
|
+
# ``
|
|
1870
|
+
# @param [String] fields
|
|
1871
|
+
# Selector specifying which fields to include in a partial response.
|
|
1872
|
+
# @param [String] quota_user
|
|
1873
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1874
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1875
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1876
|
+
# Request-specific options
|
|
1877
|
+
#
|
|
1878
|
+
# @yield [result, err] Result & error if block supplied
|
|
1879
|
+
# @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation] parsed result object
|
|
1880
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1881
|
+
#
|
|
1882
|
+
# @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation]
|
|
1883
|
+
#
|
|
1884
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1885
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1886
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1887
|
+
def get_project_service_automation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1888
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
|
1889
|
+
command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation::Representation
|
|
1890
|
+
command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation
|
|
1891
|
+
command.params['name'] = name unless name.nil?
|
|
1892
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1893
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1894
|
+
execute_or_queue_command(command, &block)
|
|
1895
|
+
end
|
|
1896
|
+
|
|
1897
|
+
# Lists all Automations for the specified service or resource policy.
|
|
1898
|
+
# @param [String] parent
|
|
1899
|
+
# Required. The relative resource name of the parent service or resource policy
|
|
1900
|
+
# for which to list each associated Automation, in one of the following formats:
|
|
1901
|
+
# ``` projects/`project_number`/services/`service_id` projects/`project_number`/
|
|
1902
|
+
# services/`service_id`/resourcePolicies/`resource_policy_id` ```
|
|
1903
|
+
# @param [Fixnum] page_size
|
|
1904
|
+
# The maximum number of Automations to return in the response. Note that a
|
|
1905
|
+
# service or resource policy can have at most 10 automations. The server may
|
|
1906
|
+
# return fewer than this at its own discretion. If no value is specified (or too
|
|
1907
|
+
# large a value is specified), the server will impose its own limit.
|
|
1908
|
+
# @param [String] page_token
|
|
1909
|
+
# Token returned from a previous call to ListAutomations indicating where in the
|
|
1910
|
+
# set of Automations to resume listing. Provide this to retrieve the subsequent
|
|
1911
|
+
# page. When paginating, all other parameters provided to ListAutomations must
|
|
1912
|
+
# match the call that provided the page token; if they do not match, the result
|
|
1913
|
+
# is undefined.
|
|
1914
|
+
# @param [String] fields
|
|
1915
|
+
# Selector specifying which fields to include in a partial response.
|
|
1916
|
+
# @param [String] quota_user
|
|
1917
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1918
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1919
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1920
|
+
# Request-specific options
|
|
1921
|
+
#
|
|
1922
|
+
# @yield [result, err] Result & error if block supplied
|
|
1923
|
+
# @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaListAutomationsResponse] parsed result object
|
|
1924
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1925
|
+
#
|
|
1926
|
+
# @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaListAutomationsResponse]
|
|
1927
|
+
#
|
|
1928
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1929
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1930
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1931
|
+
def list_project_service_automations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1932
|
+
command = make_simple_command(:get, 'v1beta/{+parent}/automations', options)
|
|
1933
|
+
command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaListAutomationsResponse::Representation
|
|
1934
|
+
command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaListAutomationsResponse
|
|
1935
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1936
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1937
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1938
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1939
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1940
|
+
execute_or_queue_command(command, &block)
|
|
1941
|
+
end
|
|
1942
|
+
|
|
1943
|
+
# Updates the specified Automation.
|
|
1944
|
+
# @param [String] name
|
|
1945
|
+
# Identifier. The relative resource name of the automation object, in one of the
|
|
1946
|
+
# following supported formats: ``` projects/`project_number`/services/`
|
|
1947
|
+
# service_id`/automations/`automation_id` projects/`project_number`/services/`
|
|
1948
|
+
# service_id`/resourcePolicies/`resource_policy_id`/automations/`automation_id` `
|
|
1949
|
+
# ``
|
|
1950
|
+
# @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation] google_firebase_appcheck_v1beta_automation_object
|
|
1951
|
+
# @param [String] update_mask
|
|
1952
|
+
# Required. A comma-separated list of names of fields in the Automation to
|
|
1953
|
+
# update. Example: `timestamp_condition.enforce_time`.
|
|
1954
|
+
# @param [String] fields
|
|
1955
|
+
# Selector specifying which fields to include in a partial response.
|
|
1956
|
+
# @param [String] quota_user
|
|
1957
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1958
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1959
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1960
|
+
# Request-specific options
|
|
1961
|
+
#
|
|
1962
|
+
# @yield [result, err] Result & error if block supplied
|
|
1963
|
+
# @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation] parsed result object
|
|
1964
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1965
|
+
#
|
|
1966
|
+
# @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation]
|
|
1967
|
+
#
|
|
1968
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1969
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1970
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1971
|
+
def patch_project_service_automation(name, google_firebase_appcheck_v1beta_automation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1972
|
+
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
|
1973
|
+
command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation::Representation
|
|
1974
|
+
command.request_object = google_firebase_appcheck_v1beta_automation_object
|
|
1975
|
+
command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation::Representation
|
|
1976
|
+
command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation
|
|
1977
|
+
command.params['name'] = name unless name.nil?
|
|
1978
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1979
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1980
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1981
|
+
execute_or_queue_command(command, &block)
|
|
1982
|
+
end
|
|
1983
|
+
|
|
1863
1984
|
# Atomically updates the specified ResourcePolicy configurations.
|
|
1864
1985
|
# @param [String] parent
|
|
1865
1986
|
# Required. The parent service name, in the format ``` projects/`project_number`/
|
|
@@ -2106,6 +2227,127 @@ module Google
|
|
|
2106
2227
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2107
2228
|
execute_or_queue_command(command, &block)
|
|
2108
2229
|
end
|
|
2230
|
+
|
|
2231
|
+
# Gets the specified Automation configuration.
|
|
2232
|
+
# @param [String] name
|
|
2233
|
+
# Required. The relative resource name of the Automation to retrieve, in one of
|
|
2234
|
+
# the following supported formats: ``` projects/`project_number`/services/`
|
|
2235
|
+
# service_id`/automations/`automation_id` projects/`project_number`/services/`
|
|
2236
|
+
# service_id`/resourcePolicies/`resource_policy_id`/automations/`automation_id` `
|
|
2237
|
+
# ``
|
|
2238
|
+
# @param [String] fields
|
|
2239
|
+
# Selector specifying which fields to include in a partial response.
|
|
2240
|
+
# @param [String] quota_user
|
|
2241
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2242
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2243
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2244
|
+
# Request-specific options
|
|
2245
|
+
#
|
|
2246
|
+
# @yield [result, err] Result & error if block supplied
|
|
2247
|
+
# @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation] parsed result object
|
|
2248
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2249
|
+
#
|
|
2250
|
+
# @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation]
|
|
2251
|
+
#
|
|
2252
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2253
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2254
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2255
|
+
def get_project_service_resource_policy_automation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2256
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
|
2257
|
+
command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation::Representation
|
|
2258
|
+
command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation
|
|
2259
|
+
command.params['name'] = name unless name.nil?
|
|
2260
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2261
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2262
|
+
execute_or_queue_command(command, &block)
|
|
2263
|
+
end
|
|
2264
|
+
|
|
2265
|
+
# Lists all Automations for the specified service or resource policy.
|
|
2266
|
+
# @param [String] parent
|
|
2267
|
+
# Required. The relative resource name of the parent service or resource policy
|
|
2268
|
+
# for which to list each associated Automation, in one of the following formats:
|
|
2269
|
+
# ``` projects/`project_number`/services/`service_id` projects/`project_number`/
|
|
2270
|
+
# services/`service_id`/resourcePolicies/`resource_policy_id` ```
|
|
2271
|
+
# @param [Fixnum] page_size
|
|
2272
|
+
# The maximum number of Automations to return in the response. Note that a
|
|
2273
|
+
# service or resource policy can have at most 10 automations. The server may
|
|
2274
|
+
# return fewer than this at its own discretion. If no value is specified (or too
|
|
2275
|
+
# large a value is specified), the server will impose its own limit.
|
|
2276
|
+
# @param [String] page_token
|
|
2277
|
+
# Token returned from a previous call to ListAutomations indicating where in the
|
|
2278
|
+
# set of Automations to resume listing. Provide this to retrieve the subsequent
|
|
2279
|
+
# page. When paginating, all other parameters provided to ListAutomations must
|
|
2280
|
+
# match the call that provided the page token; if they do not match, the result
|
|
2281
|
+
# is undefined.
|
|
2282
|
+
# @param [String] fields
|
|
2283
|
+
# Selector specifying which fields to include in a partial response.
|
|
2284
|
+
# @param [String] quota_user
|
|
2285
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2286
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2287
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2288
|
+
# Request-specific options
|
|
2289
|
+
#
|
|
2290
|
+
# @yield [result, err] Result & error if block supplied
|
|
2291
|
+
# @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaListAutomationsResponse] parsed result object
|
|
2292
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2293
|
+
#
|
|
2294
|
+
# @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaListAutomationsResponse]
|
|
2295
|
+
#
|
|
2296
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2297
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2298
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2299
|
+
def list_project_service_resource_policy_automations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2300
|
+
command = make_simple_command(:get, 'v1beta/{+parent}/automations', options)
|
|
2301
|
+
command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaListAutomationsResponse::Representation
|
|
2302
|
+
command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaListAutomationsResponse
|
|
2303
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2304
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2305
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2306
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2307
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2308
|
+
execute_or_queue_command(command, &block)
|
|
2309
|
+
end
|
|
2310
|
+
|
|
2311
|
+
# Updates the specified Automation.
|
|
2312
|
+
# @param [String] name
|
|
2313
|
+
# Identifier. The relative resource name of the automation object, in one of the
|
|
2314
|
+
# following supported formats: ``` projects/`project_number`/services/`
|
|
2315
|
+
# service_id`/automations/`automation_id` projects/`project_number`/services/`
|
|
2316
|
+
# service_id`/resourcePolicies/`resource_policy_id`/automations/`automation_id` `
|
|
2317
|
+
# ``
|
|
2318
|
+
# @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation] google_firebase_appcheck_v1beta_automation_object
|
|
2319
|
+
# @param [String] update_mask
|
|
2320
|
+
# Required. A comma-separated list of names of fields in the Automation to
|
|
2321
|
+
# update. Example: `timestamp_condition.enforce_time`.
|
|
2322
|
+
# @param [String] fields
|
|
2323
|
+
# Selector specifying which fields to include in a partial response.
|
|
2324
|
+
# @param [String] quota_user
|
|
2325
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2326
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2327
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2328
|
+
# Request-specific options
|
|
2329
|
+
#
|
|
2330
|
+
# @yield [result, err] Result & error if block supplied
|
|
2331
|
+
# @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation] parsed result object
|
|
2332
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2333
|
+
#
|
|
2334
|
+
# @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation]
|
|
2335
|
+
#
|
|
2336
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2337
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2338
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2339
|
+
def patch_project_service_resource_policy_automation(name, google_firebase_appcheck_v1beta_automation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2340
|
+
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
|
2341
|
+
command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation::Representation
|
|
2342
|
+
command.request_object = google_firebase_appcheck_v1beta_automation_object
|
|
2343
|
+
command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation::Representation
|
|
2344
|
+
command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAutomation
|
|
2345
|
+
command.params['name'] = name unless name.nil?
|
|
2346
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
2347
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2348
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2349
|
+
execute_or_queue_command(command, &block)
|
|
2350
|
+
end
|
|
2109
2351
|
|
|
2110
2352
|
protected
|
|
2111
2353
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-firebaseappcheck_v1beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.54.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseappcheck_v1beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1beta/v0.54.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseappcheck_v1beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|