google-apis-firebaseapphosting_v1 0.2.0 → 0.3.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 +4 -0
- data/lib/google/apis/firebaseapphosting_v1/classes.rb +95 -2
- data/lib/google/apis/firebaseapphosting_v1/gem_version.rb +2 -2
- data/lib/google/apis/firebaseapphosting_v1/representations.rb +36 -0
- data/lib/google/apis/firebaseapphosting_v1/service.rb +2 -2
- 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: '02800ba1637881765281de52ed19cbe09ad1320bdf6eb045f641613f80962aeb'
|
4
|
+
data.tar.gz: bacc2678744111644c3a9525eae7e776b408c1f22c1ecb03590d9b1efc4ee33a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b891cf54195a05756ca1e7bf3359daa5fcc8b5c0ef2c633fbec47ab5d95eff6aa8a2554909ddb5c5d5342757cdb535efcb17b2c0b220bf66db366dfafede9b9
|
7
|
+
data.tar.gz: 21604fb4250a7e63d2e0a327c71ea83fa9810b4f9664068018e3f1a5fd2287f84d4dcf6931752399a4ffc2ba52b439d41307936ae17f171cd092e2f7c42e966e
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -1435,8 +1494,9 @@ module Google
|
|
1435
1494
|
# @return [Hash<String,String>]
|
1436
1495
|
attr_accessor :annotations
|
1437
1496
|
|
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
|
1497
|
+
# Required. Immutable. The name of a build that already exists. It doesn't have
|
1498
|
+
# to be built; a rollout will wait for a build to be ready before updating
|
1499
|
+
# traffic.
|
1440
1500
|
# Corresponds to the JSON property `build`
|
1441
1501
|
# @return [String]
|
1442
1502
|
attr_accessor :build
|
@@ -1670,6 +1730,39 @@ module Google
|
|
1670
1730
|
end
|
1671
1731
|
end
|
1672
1732
|
|
1733
|
+
# Metadata for the user who started the build.
|
1734
|
+
class SourceUserMetadata
|
1735
|
+
include Google::Apis::Core::Hashable
|
1736
|
+
|
1737
|
+
# Output only. The user-chosen displayname. May be empty.
|
1738
|
+
# Corresponds to the JSON property `displayName`
|
1739
|
+
# @return [String]
|
1740
|
+
attr_accessor :display_name
|
1741
|
+
|
1742
|
+
# Output only. The account email linked to the EUC that created the build. May
|
1743
|
+
# be a service account or other robot account.
|
1744
|
+
# Corresponds to the JSON property `email`
|
1745
|
+
# @return [String]
|
1746
|
+
attr_accessor :email
|
1747
|
+
|
1748
|
+
# Output only. The URI of a profile photo associated with the user who created
|
1749
|
+
# the build.
|
1750
|
+
# Corresponds to the JSON property `imageUri`
|
1751
|
+
# @return [String]
|
1752
|
+
attr_accessor :image_uri
|
1753
|
+
|
1754
|
+
def initialize(**args)
|
1755
|
+
update!(**args)
|
1756
|
+
end
|
1757
|
+
|
1758
|
+
# Update properties of this object
|
1759
|
+
def update!(**args)
|
1760
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1761
|
+
@email = args[:email] if args.key?(:email)
|
1762
|
+
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
1763
|
+
end
|
1764
|
+
end
|
1765
|
+
|
1673
1766
|
# The `Status` type defines a logical error model that is suitable for different
|
1674
1767
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1675
1768
|
# 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.3.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 = "20250904"
|
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
|
@@ -672,6 +699,15 @@ module Google
|
|
672
699
|
end
|
673
700
|
end
|
674
701
|
|
702
|
+
class SourceUserMetadata
|
703
|
+
# @private
|
704
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
705
|
+
property :display_name, as: 'displayName'
|
706
|
+
property :email, as: 'email'
|
707
|
+
property :image_uri, as: 'imageUri'
|
708
|
+
end
|
709
|
+
end
|
710
|
+
|
675
711
|
class Status
|
676
712
|
# @private
|
677
713
|
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
|
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.3.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.3.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:
|