google-apis-firebaseapphosting_v1 0.2.0 → 0.4.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 +8 -0
- data/lib/google/apis/firebaseapphosting_v1/classes.rb +103 -2
- data/lib/google/apis/firebaseapphosting_v1/gem_version.rb +2 -2
- data/lib/google/apis/firebaseapphosting_v1/representations.rb +37 -0
- data/lib/google/apis/firebaseapphosting_v1/service.rb +11 -3
- 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: 5e4f6b8b5b301e5d5f45be658d9ff2aa8f8ac670531096ed2d10568c04321323
|
|
4
|
+
data.tar.gz: f2a5566f01ccad0726cdc987413db4a3bc761b0cdba8c16346ed1becb47a7957
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ecefc78e4fbe43cffe243071817c0e7e02b89cb0d5b93c2230749e8cd93861d3993ab6560d0c6bf6140bc8deeee392e108e8f3869bc0d0479eedf8889ab9a7bb
|
|
7
|
+
data.tar.gz: 9d45900a28300818b63805d66b96cf00c04bf3aad27b0f1f58b6e719533a7cb1f0019dbbe2257ceee04ddb41f56be0188043797ca65909982f156abeb756b3a5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-firebaseapphosting_v1
|
|
2
2
|
|
|
3
|
+
### v0.4.0 (2025-10-26)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251020
|
|
6
|
+
|
|
7
|
+
### v0.3.0 (2025-09-14)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20250904
|
|
10
|
+
|
|
3
11
|
### v0.2.0 (2025-08-24)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250814
|
|
@@ -22,6 +22,51 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module FirebaseapphostingV1
|
|
24
24
|
|
|
25
|
+
# The URI of an storage archive or a signed URL to use as the build source.
|
|
26
|
+
class ArchiveSource
|
|
27
|
+
include Google::Apis::Core::Hashable
|
|
28
|
+
|
|
29
|
+
# Metadata for the user who started the build.
|
|
30
|
+
# Corresponds to the JSON property `author`
|
|
31
|
+
# @return [Google::Apis::FirebaseapphostingV1::SourceUserMetadata]
|
|
32
|
+
attr_accessor :author
|
|
33
|
+
|
|
34
|
+
# Optional. An optional message that describes the uploaded version of the
|
|
35
|
+
# source code.
|
|
36
|
+
# Corresponds to the JSON property `description`
|
|
37
|
+
# @return [String]
|
|
38
|
+
attr_accessor :description
|
|
39
|
+
|
|
40
|
+
# Signed URL to an archive in a storage bucket.
|
|
41
|
+
# Corresponds to the JSON property `externalSignedUri`
|
|
42
|
+
# @return [String]
|
|
43
|
+
attr_accessor :external_signed_uri
|
|
44
|
+
|
|
45
|
+
# Optional. Relative path in the archive.
|
|
46
|
+
# Corresponds to the JSON property `rootDirectory`
|
|
47
|
+
# @return [String]
|
|
48
|
+
attr_accessor :root_directory
|
|
49
|
+
|
|
50
|
+
# URI to an archive in Cloud Storage. The object must be a zipped (.zip) or
|
|
51
|
+
# gzipped archive file (.tar.gz) containing source to deploy.
|
|
52
|
+
# Corresponds to the JSON property `userStorageUri`
|
|
53
|
+
# @return [String]
|
|
54
|
+
attr_accessor :user_storage_uri
|
|
55
|
+
|
|
56
|
+
def initialize(**args)
|
|
57
|
+
update!(**args)
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# Update properties of this object
|
|
61
|
+
def update!(**args)
|
|
62
|
+
@author = args[:author] if args.key?(:author)
|
|
63
|
+
@description = args[:description] if args.key?(:description)
|
|
64
|
+
@external_signed_uri = args[:external_signed_uri] if args.key?(:external_signed_uri)
|
|
65
|
+
@root_directory = args[:root_directory] if args.key?(:root_directory)
|
|
66
|
+
@user_storage_uri = args[:user_storage_uri] if args.key?(:user_storage_uri)
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
25
70
|
# A backend is the primary resource of App Hosting.
|
|
26
71
|
class Backend
|
|
27
72
|
include Google::Apis::Core::Hashable
|
|
@@ -102,6 +147,13 @@ module Google
|
|
|
102
147
|
attr_accessor :reconciling
|
|
103
148
|
alias_method :reconciling?, :reconciling
|
|
104
149
|
|
|
150
|
+
# Optional. A field that, if true, indicates that incoming request logs are
|
|
151
|
+
# disabled for this backend. Incoming request logs are enabled by default.
|
|
152
|
+
# Corresponds to the JSON property `requestLogsDisabled`
|
|
153
|
+
# @return [Boolean]
|
|
154
|
+
attr_accessor :request_logs_disabled
|
|
155
|
+
alias_method :request_logs_disabled?, :request_logs_disabled
|
|
156
|
+
|
|
105
157
|
# Required. The name of the service account used for Cloud Build and Cloud Run.
|
|
106
158
|
# Should have the role roles/firebaseapphosting.computeRunner or equivalent
|
|
107
159
|
# permissions.
|
|
@@ -151,6 +203,7 @@ module Google
|
|
|
151
203
|
@mode = args[:mode] if args.key?(:mode)
|
|
152
204
|
@name = args[:name] if args.key?(:name)
|
|
153
205
|
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
|
206
|
+
@request_logs_disabled = args[:request_logs_disabled] if args.key?(:request_logs_disabled)
|
|
154
207
|
@service_account = args[:service_account] if args.key?(:service_account)
|
|
155
208
|
@serving_locality = args[:serving_locality] if args.key?(:serving_locality)
|
|
156
209
|
@uid = args[:uid] if args.key?(:uid)
|
|
@@ -293,6 +346,11 @@ module Google
|
|
|
293
346
|
class BuildSource
|
|
294
347
|
include Google::Apis::Core::Hashable
|
|
295
348
|
|
|
349
|
+
# The URI of an storage archive or a signed URL to use as the build source.
|
|
350
|
+
# Corresponds to the JSON property `archive`
|
|
351
|
+
# @return [Google::Apis::FirebaseapphostingV1::ArchiveSource]
|
|
352
|
+
attr_accessor :archive
|
|
353
|
+
|
|
296
354
|
# A codebase source, representing the state of the codebase that the build will
|
|
297
355
|
# be created at.
|
|
298
356
|
# Corresponds to the JSON property `codebase`
|
|
@@ -312,6 +370,7 @@ module Google
|
|
|
312
370
|
|
|
313
371
|
# Update properties of this object
|
|
314
372
|
def update!(**args)
|
|
373
|
+
@archive = args[:archive] if args.key?(:archive)
|
|
315
374
|
@codebase = args[:codebase] if args.key?(:codebase)
|
|
316
375
|
@container = args[:container] if args.key?(:container)
|
|
317
376
|
end
|
|
@@ -1117,6 +1176,13 @@ module Google
|
|
|
1117
1176
|
# @return [Array<Google::Apis::FirebaseapphostingV1::Operation>]
|
|
1118
1177
|
attr_accessor :operations
|
|
1119
1178
|
|
|
1179
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
1180
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
|
1181
|
+
# when attempting to list all resources across all supported locations.
|
|
1182
|
+
# Corresponds to the JSON property `unreachable`
|
|
1183
|
+
# @return [Array<String>]
|
|
1184
|
+
attr_accessor :unreachable
|
|
1185
|
+
|
|
1120
1186
|
def initialize(**args)
|
|
1121
1187
|
update!(**args)
|
|
1122
1188
|
end
|
|
@@ -1125,6 +1191,7 @@ module Google
|
|
|
1125
1191
|
def update!(**args)
|
|
1126
1192
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1127
1193
|
@operations = args[:operations] if args.key?(:operations)
|
|
1194
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
1128
1195
|
end
|
|
1129
1196
|
end
|
|
1130
1197
|
|
|
@@ -1435,8 +1502,9 @@ module Google
|
|
|
1435
1502
|
# @return [Hash<String,String>]
|
|
1436
1503
|
attr_accessor :annotations
|
|
1437
1504
|
|
|
1438
|
-
# Immutable. The name of a build that already exists. It doesn't have
|
|
1439
|
-
# built; a rollout will wait for a build to be ready before updating
|
|
1505
|
+
# Required. Immutable. The name of a build that already exists. It doesn't have
|
|
1506
|
+
# to be built; a rollout will wait for a build to be ready before updating
|
|
1507
|
+
# traffic.
|
|
1440
1508
|
# Corresponds to the JSON property `build`
|
|
1441
1509
|
# @return [String]
|
|
1442
1510
|
attr_accessor :build
|
|
@@ -1670,6 +1738,39 @@ module Google
|
|
|
1670
1738
|
end
|
|
1671
1739
|
end
|
|
1672
1740
|
|
|
1741
|
+
# Metadata for the user who started the build.
|
|
1742
|
+
class SourceUserMetadata
|
|
1743
|
+
include Google::Apis::Core::Hashable
|
|
1744
|
+
|
|
1745
|
+
# Output only. The user-chosen displayname. May be empty.
|
|
1746
|
+
# Corresponds to the JSON property `displayName`
|
|
1747
|
+
# @return [String]
|
|
1748
|
+
attr_accessor :display_name
|
|
1749
|
+
|
|
1750
|
+
# Output only. The account email linked to the EUC that created the build. May
|
|
1751
|
+
# be a service account or other robot account.
|
|
1752
|
+
# Corresponds to the JSON property `email`
|
|
1753
|
+
# @return [String]
|
|
1754
|
+
attr_accessor :email
|
|
1755
|
+
|
|
1756
|
+
# Output only. The URI of a profile photo associated with the user who created
|
|
1757
|
+
# the build.
|
|
1758
|
+
# Corresponds to the JSON property `imageUri`
|
|
1759
|
+
# @return [String]
|
|
1760
|
+
attr_accessor :image_uri
|
|
1761
|
+
|
|
1762
|
+
def initialize(**args)
|
|
1763
|
+
update!(**args)
|
|
1764
|
+
end
|
|
1765
|
+
|
|
1766
|
+
# Update properties of this object
|
|
1767
|
+
def update!(**args)
|
|
1768
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1769
|
+
@email = args[:email] if args.key?(:email)
|
|
1770
|
+
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
|
1771
|
+
end
|
|
1772
|
+
end
|
|
1773
|
+
|
|
1673
1774
|
# The `Status` type defines a logical error model that is suitable for different
|
|
1674
1775
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
1675
1776
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module FirebaseapphostingV1
|
|
18
18
|
# Version of the google-apis-firebaseapphosting_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.4.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251020"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -22,6 +22,12 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module FirebaseapphostingV1
|
|
24
24
|
|
|
25
|
+
class ArchiveSource
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
25
31
|
class Backend
|
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
33
|
|
|
@@ -232,6 +238,12 @@ module Google
|
|
|
232
238
|
include Google::Apis::Core::JsonObjectSupport
|
|
233
239
|
end
|
|
234
240
|
|
|
241
|
+
class SourceUserMetadata
|
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
243
|
+
|
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
245
|
+
end
|
|
246
|
+
|
|
235
247
|
class Status
|
|
236
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
237
249
|
|
|
@@ -262,6 +274,18 @@ module Google
|
|
|
262
274
|
include Google::Apis::Core::JsonObjectSupport
|
|
263
275
|
end
|
|
264
276
|
|
|
277
|
+
class ArchiveSource
|
|
278
|
+
# @private
|
|
279
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
280
|
+
property :author, as: 'author', class: Google::Apis::FirebaseapphostingV1::SourceUserMetadata, decorator: Google::Apis::FirebaseapphostingV1::SourceUserMetadata::Representation
|
|
281
|
+
|
|
282
|
+
property :description, as: 'description'
|
|
283
|
+
property :external_signed_uri, as: 'externalSignedUri'
|
|
284
|
+
property :root_directory, as: 'rootDirectory'
|
|
285
|
+
property :user_storage_uri, as: 'userStorageUri'
|
|
286
|
+
end
|
|
287
|
+
end
|
|
288
|
+
|
|
265
289
|
class Backend
|
|
266
290
|
# @private
|
|
267
291
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -280,6 +304,7 @@ module Google
|
|
|
280
304
|
property :mode, as: 'mode'
|
|
281
305
|
property :name, as: 'name'
|
|
282
306
|
property :reconciling, as: 'reconciling'
|
|
307
|
+
property :request_logs_disabled, as: 'requestLogsDisabled'
|
|
283
308
|
property :service_account, as: 'serviceAccount'
|
|
284
309
|
property :serving_locality, as: 'servingLocality'
|
|
285
310
|
property :uid, as: 'uid'
|
|
@@ -317,6 +342,8 @@ module Google
|
|
|
317
342
|
class BuildSource
|
|
318
343
|
# @private
|
|
319
344
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
345
|
+
property :archive, as: 'archive', class: Google::Apis::FirebaseapphostingV1::ArchiveSource, decorator: Google::Apis::FirebaseapphostingV1::ArchiveSource::Representation
|
|
346
|
+
|
|
320
347
|
property :codebase, as: 'codebase', class: Google::Apis::FirebaseapphostingV1::CodebaseSource, decorator: Google::Apis::FirebaseapphostingV1::CodebaseSource::Representation
|
|
321
348
|
|
|
322
349
|
property :container, as: 'container', class: Google::Apis::FirebaseapphostingV1::ContainerSource, decorator: Google::Apis::FirebaseapphostingV1::ContainerSource::Representation
|
|
@@ -540,6 +567,7 @@ module Google
|
|
|
540
567
|
property :next_page_token, as: 'nextPageToken'
|
|
541
568
|
collection :operations, as: 'operations', class: Google::Apis::FirebaseapphostingV1::Operation, decorator: Google::Apis::FirebaseapphostingV1::Operation::Representation
|
|
542
569
|
|
|
570
|
+
collection :unreachable, as: 'unreachable'
|
|
543
571
|
end
|
|
544
572
|
end
|
|
545
573
|
|
|
@@ -672,6 +700,15 @@ module Google
|
|
|
672
700
|
end
|
|
673
701
|
end
|
|
674
702
|
|
|
703
|
+
class SourceUserMetadata
|
|
704
|
+
# @private
|
|
705
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
706
|
+
property :display_name, as: 'displayName'
|
|
707
|
+
property :email, as: 'email'
|
|
708
|
+
property :image_uri, as: 'imageUri'
|
|
709
|
+
end
|
|
710
|
+
end
|
|
711
|
+
|
|
675
712
|
class Status
|
|
676
713
|
# @private
|
|
677
714
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -91,8 +91,8 @@ module Google
|
|
|
91
91
|
# @param [String] name
|
|
92
92
|
# The resource that owns the locations collection, if applicable.
|
|
93
93
|
# @param [Array<String>, String] extra_location_types
|
|
94
|
-
# Optional.
|
|
95
|
-
#
|
|
94
|
+
# Optional. Unless explicitly documented otherwise, don't use this unsupported
|
|
95
|
+
# field which is primarily intended for internal usage.
|
|
96
96
|
# @param [String] filter
|
|
97
97
|
# A filter to narrow down results to a preferred subset. The filtering language
|
|
98
98
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
|
@@ -1156,6 +1156,13 @@ module Google
|
|
|
1156
1156
|
# The standard list page size.
|
|
1157
1157
|
# @param [String] page_token
|
|
1158
1158
|
# The standard list page token.
|
|
1159
|
+
# @param [Boolean] return_partial_success
|
|
1160
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
1161
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
|
1162
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
|
1163
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
|
1164
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
|
1165
|
+
# explicitly documented otherwise in service or product specific documentation.
|
|
1159
1166
|
# @param [String] fields
|
|
1160
1167
|
# Selector specifying which fields to include in a partial response.
|
|
1161
1168
|
# @param [String] quota_user
|
|
@@ -1173,7 +1180,7 @@ module Google
|
|
|
1173
1180
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1174
1181
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1175
1182
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1176
|
-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1183
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1177
1184
|
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
|
1178
1185
|
command.response_representation = Google::Apis::FirebaseapphostingV1::ListOperationsResponse::Representation
|
|
1179
1186
|
command.response_class = Google::Apis::FirebaseapphostingV1::ListOperationsResponse
|
|
@@ -1181,6 +1188,7 @@ module Google
|
|
|
1181
1188
|
command.query['filter'] = filter unless filter.nil?
|
|
1182
1189
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1183
1190
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1191
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
1184
1192
|
command.query['fields'] = fields unless fields.nil?
|
|
1185
1193
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1186
1194
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-firebaseapphosting_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.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-firebaseapphosting_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseapphosting_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseapphosting_v1/v0.4.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseapphosting_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|