google-apis-firebasehosting_v1beta1 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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4f3dfc0caa4eaab3f06ba10e98a992db9c9dcbb2698ce2d0c004226b47cc06a
|
4
|
+
data.tar.gz: e3a16aa467f6091ffa22a14cc397b0cf77c1b2004277be8fdc290c0adbd1b806
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d0672c3a68e1d5e9199c71ab454d9285875edb798990078b7779356f5e2b8bf26a07ad8397354260c04196aa2f3ae0749fee802a10c844c8c83410cfcc6502b
|
7
|
+
data.tar.gz: f077a396a1547a8073bcd97820e8833efcc91d887276ab71ceaa5a99170b82587a5882ea9bebf388740f09674c1c05da3d715504fba0b81b8ff47902bcd21bcf
|
data/CHANGELOG.md
CHANGED
@@ -103,8 +103,8 @@ module Google
|
|
103
103
|
end
|
104
104
|
|
105
105
|
# A `Channel` represents a stream of releases for a site. All sites have a
|
106
|
-
# default `live` channel that serves content to the
|
107
|
-
#
|
106
|
+
# default `live` channel that serves content to the Firebase-provided subdomains
|
107
|
+
# and any connected custom domains.
|
108
108
|
class Channel
|
109
109
|
include Google::Apis::Core::Hashable
|
110
110
|
|
@@ -114,8 +114,8 @@ module Google
|
|
114
114
|
attr_accessor :create_time
|
115
115
|
|
116
116
|
# The time at which the channel will be automatically deleted. If null, the
|
117
|
-
# channel will not be automatically deleted. This field is present in output
|
118
|
-
# whether set directly or via the `ttl` field.
|
117
|
+
# channel will not be automatically deleted. This field is present in the output
|
118
|
+
# whether it's set directly or via the `ttl` field.
|
119
119
|
# Corresponds to the JSON property `expireTime`
|
120
120
|
# @return [String]
|
121
121
|
attr_accessor :expire_time
|
@@ -125,7 +125,8 @@ module Google
|
|
125
125
|
# @return [Hash<String,String>]
|
126
126
|
attr_accessor :labels
|
127
127
|
|
128
|
-
# The fully-qualified identifier
|
128
|
+
# The fully-qualified identifier for the channel, in the format: sites/
|
129
|
+
# SITE_NAME/channels/CHANNEL_ID
|
129
130
|
# Corresponds to the JSON property `name`
|
130
131
|
# @return [String]
|
131
132
|
attr_accessor :name
|
@@ -153,8 +154,12 @@ module Google
|
|
153
154
|
# @return [String]
|
154
155
|
attr_accessor :update_time
|
155
156
|
|
156
|
-
# Output only. The URL at which the
|
157
|
-
#
|
157
|
+
# Output only. The URL at which the content of this channel's current release
|
158
|
+
# can be viewed. This URL is a Firebase-provided subdomain of `web.app`. The
|
159
|
+
# content of this channel's current release can also be viewed at the Firebase-
|
160
|
+
# provided subdomain of `firebaseapp.com`. If this channel is the `live` channel
|
161
|
+
# for the Hosting site, then the content of this channel's current release can
|
162
|
+
# also be viewed at any connected custom domains.
|
158
163
|
# Corresponds to the JSON property `url`
|
159
164
|
# @return [String]
|
160
165
|
attr_accessor :url
|
@@ -177,7 +182,7 @@ module Google
|
|
177
182
|
end
|
178
183
|
end
|
179
184
|
|
180
|
-
#
|
185
|
+
#
|
181
186
|
class CloneVersionRequest
|
182
187
|
include Google::Apis::Core::Hashable
|
183
188
|
|
@@ -186,7 +191,10 @@ module Google
|
|
186
191
|
# @return [Google::Apis::FirebasehostingV1beta1::PathFilter]
|
187
192
|
attr_accessor :exclude
|
188
193
|
|
189
|
-
# If true, immediately
|
194
|
+
# If true, the call to `CloneVersion` immediately finalizes the version after
|
195
|
+
# cloning is complete. If false, the cloned version will have a status of `
|
196
|
+
# CREATED`. Use [`UpdateVersion`](patch) to set the status of the version to `
|
197
|
+
# FINALIZED`.
|
190
198
|
# Corresponds to the JSON property `finalize`
|
191
199
|
# @return [Boolean]
|
192
200
|
attr_accessor :finalize
|
@@ -197,8 +205,8 @@ module Google
|
|
197
205
|
# @return [Google::Apis::FirebasehostingV1beta1::PathFilter]
|
198
206
|
attr_accessor :include
|
199
207
|
|
200
|
-
# Required. The
|
201
|
-
# versions
|
208
|
+
# Required. The unique identifier for the version to be cloned, in the format:
|
209
|
+
# sites/SITE_NAME/versions/VERSION_ID
|
202
210
|
# Corresponds to the JSON property `sourceVersion`
|
203
211
|
# @return [String]
|
204
212
|
attr_accessor :source_version
|
@@ -458,7 +466,7 @@ module Google
|
|
458
466
|
end
|
459
467
|
end
|
460
468
|
|
461
|
-
#
|
469
|
+
#
|
462
470
|
class ListChannelsResponse
|
463
471
|
include Google::Apis::Core::Hashable
|
464
472
|
|
@@ -467,9 +475,9 @@ module Google
|
|
467
475
|
# @return [Array<Google::Apis::FirebasehostingV1beta1::Channel>]
|
468
476
|
attr_accessor :channels
|
469
477
|
|
470
|
-
#
|
471
|
-
#
|
472
|
-
#
|
478
|
+
# The pagination token, if more results exist beyond the ones in this response.
|
479
|
+
# Include this token in your next call to `ListChannels`. Page tokens are short-
|
480
|
+
# lived and should not be stored.
|
473
481
|
# Corresponds to the JSON property `nextPageToken`
|
474
482
|
# @return [String]
|
475
483
|
attr_accessor :next_page_token
|
@@ -568,7 +576,9 @@ module Google
|
|
568
576
|
class ListVersionsResponse
|
569
577
|
include Google::Apis::Core::Hashable
|
570
578
|
|
571
|
-
# The pagination token, if more results exist
|
579
|
+
# The pagination token, if more results exist beyond the ones in this response.
|
580
|
+
# Include this token in your next call to `ListVersions`. Page tokens are short-
|
581
|
+
# lived and should not be stored.
|
572
582
|
# Corresponds to the JSON property `nextPageToken`
|
573
583
|
# @return [String]
|
574
584
|
attr_accessor :next_page_token
|
@@ -655,7 +665,7 @@ module Google
|
|
655
665
|
class PathFilter
|
656
666
|
include Google::Apis::Core::Hashable
|
657
667
|
|
658
|
-
# An array of
|
668
|
+
# An array of RegEx values by which to filter.
|
659
669
|
# Corresponds to the JSON property `regexes`
|
660
670
|
# @return [Array<String>]
|
661
671
|
attr_accessor :regexes
|
@@ -721,9 +731,7 @@ module Google
|
|
721
731
|
end
|
722
732
|
end
|
723
733
|
|
724
|
-
#
|
725
|
-
# accessible via a custom URL even if it is not the currently released version.
|
726
|
-
# Deprecated in favor of site channels.
|
734
|
+
# Deprecated in favor of [site channels](sites.channels).
|
727
735
|
class PreviewConfig
|
728
736
|
include Google::Apis::Core::Hashable
|
729
737
|
|
@@ -806,9 +814,11 @@ module Google
|
|
806
814
|
# @return [String]
|
807
815
|
attr_accessor :message
|
808
816
|
|
809
|
-
# Output only. The unique identifier for the release, in the
|
810
|
-
# SITE_NAME/releases/RELEASE_ID
|
811
|
-
#
|
817
|
+
# Output only. The unique identifier for the release, in either of the following
|
818
|
+
# formats: - sites/SITE_NAME/releases/RELEASE_ID - sites/SITE_NAME/channels/
|
819
|
+
# CHANNEL_ID/releases/RELEASE_ID This name is provided in the response body when
|
820
|
+
# you call [`releases.create`](sites.releases/create) or [`channels.releases.
|
821
|
+
# create`](sites.channels.releases/create).
|
812
822
|
# Corresponds to the JSON property `name`
|
813
823
|
# @return [String]
|
814
824
|
attr_accessor :name
|
@@ -1103,28 +1113,26 @@ module Google
|
|
1103
1113
|
# @return [Hash<String,String>]
|
1104
1114
|
attr_accessor :labels
|
1105
1115
|
|
1106
|
-
# The
|
1107
|
-
# VERSION_ID This name is provided in the response body when
|
1108
|
-
# CreateVersion`](sites.versions/create).
|
1116
|
+
# The fully-qualified identifier for the version, in the format: sites/
|
1117
|
+
# SITE_NAME/versions/VERSION_ID This name is provided in the response body when
|
1118
|
+
# you call [`CreateVersion`](sites.versions/create).
|
1109
1119
|
# Corresponds to the JSON property `name`
|
1110
1120
|
# @return [String]
|
1111
1121
|
attr_accessor :name
|
1112
1122
|
|
1113
|
-
#
|
1114
|
-
# accessible via a custom URL even if it is not the currently released version.
|
1115
|
-
# Deprecated in favor of site channels.
|
1123
|
+
# Deprecated in favor of [site channels](sites.channels).
|
1116
1124
|
# Corresponds to the JSON property `preview`
|
1117
1125
|
# @return [Google::Apis::FirebasehostingV1beta1::PreviewConfig]
|
1118
1126
|
attr_accessor :preview
|
1119
1127
|
|
1120
|
-
# The deploy status of
|
1121
|
-
# (sites.versions/create) to make a new version (`CREATED` status)
|
1122
|
-
# desired files](sites.versions/populateFiles) to the version,
|
1123
|
-
# sites.versions/patch) the version to the `FINALIZED` status.
|
1124
|
-
# leave the version in the `CREATED` state for more than 12
|
1125
|
-
# will automatically mark the version as `ABANDONED`. You can
|
1126
|
-
# status of a version to `DELETED` by calling [`DeleteVersion`](
|
1127
|
-
# delete).
|
1128
|
+
# The deploy status of the version. For a successful deploy, call [`
|
1129
|
+
# CreateVersion`](sites.versions/create) to make a new version (`CREATED` status)
|
1130
|
+
# , [upload all desired files](sites.versions/populateFiles) to the version,
|
1131
|
+
# then [update](sites.versions/patch) the version to the `FINALIZED` status.
|
1132
|
+
# Note that if you leave the version in the `CREATED` state for more than 12
|
1133
|
+
# hours, the system will automatically mark the version as `ABANDONED`. You can
|
1134
|
+
# also change the status of a version to `DELETED` by calling [`DeleteVersion`](
|
1135
|
+
# sites.versions/delete).
|
1128
1136
|
# Corresponds to the JSON property `status`
|
1129
1137
|
# @return [String]
|
1130
1138
|
attr_accessor :status
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module FirebasehostingV1beta1
|
18
18
|
# Version of the google-apis-firebasehosting_v1beta1 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.1.2"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210303"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -155,10 +155,11 @@ module Google
|
|
155
155
|
|
156
156
|
# Creates a new channel in the specified site.
|
157
157
|
# @param [String] parent
|
158
|
-
# Required. The site in which this channel
|
158
|
+
# Required. The site in which to create this channel, in the format: sites/
|
159
|
+
# SITE_NAME
|
159
160
|
# @param [Google::Apis::FirebasehostingV1beta1::Channel] channel_object
|
160
161
|
# @param [String] channel_id
|
161
|
-
# Required. Immutable. A unique
|
162
|
+
# Required. Immutable. A unique ID within the site that identifies the channel.
|
162
163
|
# @param [String] fields
|
163
164
|
# Selector specifying which fields to include in a partial response.
|
164
165
|
# @param [String] quota_user
|
@@ -189,9 +190,11 @@ module Google
|
|
189
190
|
execute_or_queue_command(command, &block)
|
190
191
|
end
|
191
192
|
|
192
|
-
# Deletes
|
193
|
+
# Deletes the specified channel of the specified site. The `live` channel cannot
|
194
|
+
# be deleted.
|
193
195
|
# @param [String] name
|
194
|
-
# Required. The fully-qualified identifier for the
|
196
|
+
# Required. The fully-qualified identifier for the channel, in the format: sites/
|
197
|
+
# SITE_NAME/channels/CHANNEL_ID
|
195
198
|
# @param [String] fields
|
196
199
|
# Selector specifying which fields to include in a partial response.
|
197
200
|
# @param [String] quota_user
|
@@ -219,9 +222,10 @@ module Google
|
|
219
222
|
execute_or_queue_command(command, &block)
|
220
223
|
end
|
221
224
|
|
222
|
-
# Retrieves information for the specified channel of
|
225
|
+
# Retrieves information for the specified channel of the specified site.
|
223
226
|
# @param [String] name
|
224
|
-
# Required. The fully-qualified identifier for the channel
|
227
|
+
# Required. The fully-qualified identifier for the channel, in the format: sites/
|
228
|
+
# SITE_NAME/channels/CHANNEL_ID
|
225
229
|
# @param [String] fields
|
226
230
|
# Selector specifying which fields to include in a partial response.
|
227
231
|
# @param [String] quota_user
|
@@ -249,16 +253,18 @@ module Google
|
|
249
253
|
execute_or_queue_command(command, &block)
|
250
254
|
end
|
251
255
|
|
252
|
-
# Lists the channels for the specified site. All sites have a default
|
256
|
+
# Lists the channels for the specified site. All sites have a default `live`
|
253
257
|
# channel.
|
254
258
|
# @param [String] parent
|
255
|
-
# Required. The site
|
259
|
+
# Required. The site for which to list channels, in the format: sites/ SITE_NAME
|
256
260
|
# @param [Fixnum] page_size
|
257
|
-
# The maximum number of
|
258
|
-
#
|
259
|
-
# value is 100;
|
261
|
+
# The maximum number of channels to return. The service may return a lower
|
262
|
+
# number if fewer channels exist than this maximum number. If unspecified,
|
263
|
+
# defaults to 10. The maximum value is 100; values above 100 will be coerced to
|
264
|
+
# 100.
|
260
265
|
# @param [String] page_token
|
261
|
-
#
|
266
|
+
# A token from a previous call to `ListChannels` that tells the server where to
|
267
|
+
# resume listing.
|
262
268
|
# @param [String] fields
|
263
269
|
# Selector specifying which fields to include in a partial response.
|
264
270
|
# @param [String] quota_user
|
@@ -288,10 +294,11 @@ module Google
|
|
288
294
|
execute_or_queue_command(command, &block)
|
289
295
|
end
|
290
296
|
|
291
|
-
# Updates information for the specified channel of
|
292
|
-
#
|
297
|
+
# Updates information for the specified channel of the specified site.
|
298
|
+
# Implicitly creates the channel if it doesn't already exist.
|
293
299
|
# @param [String] name
|
294
|
-
# The fully-qualified identifier
|
300
|
+
# The fully-qualified identifier for the channel, in the format: sites/
|
301
|
+
# SITE_NAME/channels/CHANNEL_ID
|
295
302
|
# @param [Google::Apis::FirebasehostingV1beta1::Channel] channel_object
|
296
303
|
# @param [String] update_mask
|
297
304
|
# A comma-separated list of fields to be updated in this request.
|
@@ -328,8 +335,8 @@ module Google
|
|
328
335
|
# Creates a new release, which makes the content of the specified version
|
329
336
|
# actively display on the appropriate URL(s).
|
330
337
|
# @param [String] parent
|
331
|
-
# Required. The site to which the release belongs, in
|
332
|
-
# SITE_NAME
|
338
|
+
# Required. The site or channel to which the release belongs, in either of the
|
339
|
+
# following formats: - sites/SITE_NAME - sites/SITE_NAME/channels/CHANNEL_ID
|
333
340
|
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
334
341
|
# @param [String] version_name
|
335
342
|
# The unique identifier for a version, in the format: sites/SITE_NAME /versions/
|
@@ -366,16 +373,20 @@ module Google
|
|
366
373
|
execute_or_queue_command(command, &block)
|
367
374
|
end
|
368
375
|
|
369
|
-
# Lists the releases that have been created
|
376
|
+
# Lists the releases that have been created for the specified site or channel.
|
377
|
+
# When used to list releases for a site, this list includes releases for both
|
378
|
+
# the default `live` channel and any active preview channels for the specified
|
379
|
+
# site.
|
370
380
|
# @param [String] parent
|
371
|
-
# Required. The site for which to list releases, in
|
381
|
+
# Required. The site or channel for which to list releases, in either of the
|
382
|
+
# following formats: - sites/SITE_NAME - sites/SITE_NAME/channels/CHANNEL_ID
|
372
383
|
# @param [Fixnum] page_size
|
373
384
|
# The maximum number of releases to return. The service may return a lower
|
374
385
|
# number if fewer releases exist than this maximum number. If unspecified,
|
375
386
|
# defaults to 100.
|
376
387
|
# @param [String] page_token
|
377
|
-
# A token from a previous call to `
|
378
|
-
# resume listing.
|
388
|
+
# A token from a previous call to `releases.list` or `channels.releases.list`
|
389
|
+
# that tells the server where to resume listing.
|
379
390
|
# @param [String] fields
|
380
391
|
# Selector specifying which fields to include in a partial response.
|
381
392
|
# @param [String] quota_user
|
@@ -574,8 +585,8 @@ module Google
|
|
574
585
|
# Creates a new release, which makes the content of the specified version
|
575
586
|
# actively display on the appropriate URL(s).
|
576
587
|
# @param [String] parent
|
577
|
-
# Required. The site to which the release belongs, in
|
578
|
-
# SITE_NAME
|
588
|
+
# Required. The site or channel to which the release belongs, in either of the
|
589
|
+
# following formats: - sites/SITE_NAME - sites/SITE_NAME/channels/CHANNEL_ID
|
579
590
|
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
580
591
|
# @param [String] version_name
|
581
592
|
# The unique identifier for a version, in the format: sites/SITE_NAME /versions/
|
@@ -612,16 +623,20 @@ module Google
|
|
612
623
|
execute_or_queue_command(command, &block)
|
613
624
|
end
|
614
625
|
|
615
|
-
# Lists the releases that have been created
|
626
|
+
# Lists the releases that have been created for the specified site or channel.
|
627
|
+
# When used to list releases for a site, this list includes releases for both
|
628
|
+
# the default `live` channel and any active preview channels for the specified
|
629
|
+
# site.
|
616
630
|
# @param [String] parent
|
617
|
-
# Required. The site for which to list releases, in
|
631
|
+
# Required. The site or channel for which to list releases, in either of the
|
632
|
+
# following formats: - sites/SITE_NAME - sites/SITE_NAME/channels/CHANNEL_ID
|
618
633
|
# @param [Fixnum] page_size
|
619
634
|
# The maximum number of releases to return. The service may return a lower
|
620
635
|
# number if fewer releases exist than this maximum number. If unspecified,
|
621
636
|
# defaults to 100.
|
622
637
|
# @param [String] page_token
|
623
|
-
# A token from a previous call to `
|
624
|
-
# resume listing.
|
638
|
+
# A token from a previous call to `releases.list` or `channels.releases.list`
|
639
|
+
# that tells the server where to resume listing.
|
625
640
|
# @param [String] fields
|
626
641
|
# Selector specifying which fields to include in a partial response.
|
627
642
|
# @param [String] quota_user
|
@@ -651,11 +666,11 @@ module Google
|
|
651
666
|
execute_or_queue_command(command, &block)
|
652
667
|
end
|
653
668
|
|
654
|
-
# Creates a new version on the target site using the content of the
|
655
|
-
# version.
|
669
|
+
# Creates a new version on the specified target site using the content of the
|
670
|
+
# specified version.
|
656
671
|
# @param [String] parent
|
657
|
-
# Required. The target site
|
658
|
-
#
|
672
|
+
# Required. The target site for the cloned version, in the format: sites/
|
673
|
+
# SITE_NAME
|
659
674
|
# @param [Google::Apis::FirebasehostingV1beta1::CloneVersionRequest] clone_version_request_object
|
660
675
|
# @param [String] fields
|
661
676
|
# Selector specifying which fields to include in a partial response.
|
@@ -730,7 +745,7 @@ module Google
|
|
730
745
|
|
731
746
|
# Deletes the specified version.
|
732
747
|
# @param [String] name
|
733
|
-
# Required. The
|
748
|
+
# Required. The fully-qualified identifier for the version, in the format: sites/
|
734
749
|
# SITE_NAME/versions/VERSION_ID
|
735
750
|
# @param [String] fields
|
736
751
|
# Selector specifying which fields to include in a partial response.
|
@@ -759,20 +774,25 @@ module Google
|
|
759
774
|
execute_or_queue_command(command, &block)
|
760
775
|
end
|
761
776
|
|
762
|
-
# Lists the versions that have been created
|
763
|
-
#
|
777
|
+
# Lists the versions that have been created for the specified site. This list
|
778
|
+
# includes versions for both the default `live` channel and any active preview
|
779
|
+
# channels for the specified site.
|
764
780
|
# @param [String] parent
|
765
|
-
# Required. The
|
781
|
+
# Required. The site or channel for which to list versions, in either of the
|
782
|
+
# following formats: - sites/SITE_NAME - sites/SITE_NAME/channels/CHANNEL_ID
|
766
783
|
# @param [String] filter
|
767
|
-
#
|
768
|
-
#
|
769
|
-
#
|
784
|
+
# A filter string used to return a subset of versions in the response. The
|
785
|
+
# currently supported fields for filtering are: `name`, `status`, and `
|
786
|
+
# create_time`. Learn more about filtering in Google's [AIP 160 standard](https:/
|
787
|
+
# /google.aip.dev/160).
|
770
788
|
# @param [Fixnum] page_size
|
771
|
-
# The maximum number of versions to return. The service may return
|
772
|
-
#
|
773
|
-
# value is 100; values above 100 will be coerced to
|
789
|
+
# The maximum number of versions to return. The service may return a lower
|
790
|
+
# number if fewer versions exist than this maximum number. If unspecified,
|
791
|
+
# defaults to 25. The maximum value is 100; values above 100 will be coerced to
|
792
|
+
# 100.
|
774
793
|
# @param [String] page_token
|
775
|
-
#
|
794
|
+
# A token from a previous call to `ListVersions` that tells the server where to
|
795
|
+
# resume listing.
|
776
796
|
# @param [String] fields
|
777
797
|
# Selector specifying which fields to include in a partial response.
|
778
798
|
# @param [String] quota_user
|
@@ -805,13 +825,13 @@ module Google
|
|
805
825
|
|
806
826
|
# Updates the specified metadata for the specified version. This method will
|
807
827
|
# fail with `FAILED_PRECONDITION` in the event of an invalid state transition.
|
808
|
-
# The
|
809
|
-
#
|
810
|
-
# version to `DELETED`.
|
828
|
+
# The supported [state](../sites.versions#versionstatus) transitions for a
|
829
|
+
# version are from `CREATED` to `FINALIZED`. Use [`DeleteVersion`](delete) to
|
830
|
+
# set the status of a version to `DELETED`.
|
811
831
|
# @param [String] name
|
812
|
-
# The
|
813
|
-
# VERSION_ID This name is provided in the response body when
|
814
|
-
# CreateVersion`](sites.versions/create).
|
832
|
+
# The fully-qualified identifier for the version, in the format: sites/
|
833
|
+
# SITE_NAME/versions/VERSION_ID This name is provided in the response body when
|
834
|
+
# you call [`CreateVersion`](sites.versions/create).
|
815
835
|
# @param [Google::Apis::FirebasehostingV1beta1::Version] version_object
|
816
836
|
# @param [String] update_mask
|
817
837
|
# A set of field names from your [version](../sites.versions) that you want to
|
@@ -998,10 +1018,11 @@ module Google
|
|
998
1018
|
|
999
1019
|
# Creates a new channel in the specified site.
|
1000
1020
|
# @param [String] parent
|
1001
|
-
# Required. The site in which this channel
|
1021
|
+
# Required. The site in which to create this channel, in the format: sites/
|
1022
|
+
# SITE_NAME
|
1002
1023
|
# @param [Google::Apis::FirebasehostingV1beta1::Channel] channel_object
|
1003
1024
|
# @param [String] channel_id
|
1004
|
-
# Required. Immutable. A unique
|
1025
|
+
# Required. Immutable. A unique ID within the site that identifies the channel.
|
1005
1026
|
# @param [String] fields
|
1006
1027
|
# Selector specifying which fields to include in a partial response.
|
1007
1028
|
# @param [String] quota_user
|
@@ -1032,9 +1053,11 @@ module Google
|
|
1032
1053
|
execute_or_queue_command(command, &block)
|
1033
1054
|
end
|
1034
1055
|
|
1035
|
-
# Deletes
|
1056
|
+
# Deletes the specified channel of the specified site. The `live` channel cannot
|
1057
|
+
# be deleted.
|
1036
1058
|
# @param [String] name
|
1037
|
-
# Required. The fully-qualified identifier for the
|
1059
|
+
# Required. The fully-qualified identifier for the channel, in the format: sites/
|
1060
|
+
# SITE_NAME/channels/CHANNEL_ID
|
1038
1061
|
# @param [String] fields
|
1039
1062
|
# Selector specifying which fields to include in a partial response.
|
1040
1063
|
# @param [String] quota_user
|
@@ -1062,9 +1085,10 @@ module Google
|
|
1062
1085
|
execute_or_queue_command(command, &block)
|
1063
1086
|
end
|
1064
1087
|
|
1065
|
-
# Retrieves information for the specified channel of
|
1088
|
+
# Retrieves information for the specified channel of the specified site.
|
1066
1089
|
# @param [String] name
|
1067
|
-
# Required. The fully-qualified identifier for the channel
|
1090
|
+
# Required. The fully-qualified identifier for the channel, in the format: sites/
|
1091
|
+
# SITE_NAME/channels/CHANNEL_ID
|
1068
1092
|
# @param [String] fields
|
1069
1093
|
# Selector specifying which fields to include in a partial response.
|
1070
1094
|
# @param [String] quota_user
|
@@ -1092,16 +1116,18 @@ module Google
|
|
1092
1116
|
execute_or_queue_command(command, &block)
|
1093
1117
|
end
|
1094
1118
|
|
1095
|
-
# Lists the channels for the specified site. All sites have a default
|
1119
|
+
# Lists the channels for the specified site. All sites have a default `live`
|
1096
1120
|
# channel.
|
1097
1121
|
# @param [String] parent
|
1098
|
-
# Required. The site
|
1122
|
+
# Required. The site for which to list channels, in the format: sites/ SITE_NAME
|
1099
1123
|
# @param [Fixnum] page_size
|
1100
|
-
# The maximum number of
|
1101
|
-
#
|
1102
|
-
# value is 100;
|
1124
|
+
# The maximum number of channels to return. The service may return a lower
|
1125
|
+
# number if fewer channels exist than this maximum number. If unspecified,
|
1126
|
+
# defaults to 10. The maximum value is 100; values above 100 will be coerced to
|
1127
|
+
# 100.
|
1103
1128
|
# @param [String] page_token
|
1104
|
-
#
|
1129
|
+
# A token from a previous call to `ListChannels` that tells the server where to
|
1130
|
+
# resume listing.
|
1105
1131
|
# @param [String] fields
|
1106
1132
|
# Selector specifying which fields to include in a partial response.
|
1107
1133
|
# @param [String] quota_user
|
@@ -1131,10 +1157,11 @@ module Google
|
|
1131
1157
|
execute_or_queue_command(command, &block)
|
1132
1158
|
end
|
1133
1159
|
|
1134
|
-
# Updates information for the specified channel of
|
1135
|
-
#
|
1160
|
+
# Updates information for the specified channel of the specified site.
|
1161
|
+
# Implicitly creates the channel if it doesn't already exist.
|
1136
1162
|
# @param [String] name
|
1137
|
-
# The fully-qualified identifier
|
1163
|
+
# The fully-qualified identifier for the channel, in the format: sites/
|
1164
|
+
# SITE_NAME/channels/CHANNEL_ID
|
1138
1165
|
# @param [Google::Apis::FirebasehostingV1beta1::Channel] channel_object
|
1139
1166
|
# @param [String] update_mask
|
1140
1167
|
# A comma-separated list of fields to be updated in this request.
|
@@ -1171,8 +1198,8 @@ module Google
|
|
1171
1198
|
# Creates a new release, which makes the content of the specified version
|
1172
1199
|
# actively display on the appropriate URL(s).
|
1173
1200
|
# @param [String] parent
|
1174
|
-
# Required. The site to which the release belongs, in
|
1175
|
-
# SITE_NAME
|
1201
|
+
# Required. The site or channel to which the release belongs, in either of the
|
1202
|
+
# following formats: - sites/SITE_NAME - sites/SITE_NAME/channels/CHANNEL_ID
|
1176
1203
|
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
1177
1204
|
# @param [String] version_name
|
1178
1205
|
# The unique identifier for a version, in the format: sites/SITE_NAME /versions/
|
@@ -1209,16 +1236,20 @@ module Google
|
|
1209
1236
|
execute_or_queue_command(command, &block)
|
1210
1237
|
end
|
1211
1238
|
|
1212
|
-
# Lists the releases that have been created
|
1239
|
+
# Lists the releases that have been created for the specified site or channel.
|
1240
|
+
# When used to list releases for a site, this list includes releases for both
|
1241
|
+
# the default `live` channel and any active preview channels for the specified
|
1242
|
+
# site.
|
1213
1243
|
# @param [String] parent
|
1214
|
-
# Required. The site for which to list releases, in
|
1244
|
+
# Required. The site or channel for which to list releases, in either of the
|
1245
|
+
# following formats: - sites/SITE_NAME - sites/SITE_NAME/channels/CHANNEL_ID
|
1215
1246
|
# @param [Fixnum] page_size
|
1216
1247
|
# The maximum number of releases to return. The service may return a lower
|
1217
1248
|
# number if fewer releases exist than this maximum number. If unspecified,
|
1218
1249
|
# defaults to 100.
|
1219
1250
|
# @param [String] page_token
|
1220
|
-
# A token from a previous call to `
|
1221
|
-
# resume listing.
|
1251
|
+
# A token from a previous call to `releases.list` or `channels.releases.list`
|
1252
|
+
# that tells the server where to resume listing.
|
1222
1253
|
# @param [String] fields
|
1223
1254
|
# Selector specifying which fields to include in a partial response.
|
1224
1255
|
# @param [String] quota_user
|
@@ -1417,8 +1448,8 @@ module Google
|
|
1417
1448
|
# Creates a new release, which makes the content of the specified version
|
1418
1449
|
# actively display on the appropriate URL(s).
|
1419
1450
|
# @param [String] parent
|
1420
|
-
# Required. The site to which the release belongs, in
|
1421
|
-
# SITE_NAME
|
1451
|
+
# Required. The site or channel to which the release belongs, in either of the
|
1452
|
+
# following formats: - sites/SITE_NAME - sites/SITE_NAME/channels/CHANNEL_ID
|
1422
1453
|
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
1423
1454
|
# @param [String] version_name
|
1424
1455
|
# The unique identifier for a version, in the format: sites/SITE_NAME /versions/
|
@@ -1455,16 +1486,20 @@ module Google
|
|
1455
1486
|
execute_or_queue_command(command, &block)
|
1456
1487
|
end
|
1457
1488
|
|
1458
|
-
# Lists the releases that have been created
|
1489
|
+
# Lists the releases that have been created for the specified site or channel.
|
1490
|
+
# When used to list releases for a site, this list includes releases for both
|
1491
|
+
# the default `live` channel and any active preview channels for the specified
|
1492
|
+
# site.
|
1459
1493
|
# @param [String] parent
|
1460
|
-
# Required. The site for which to list releases, in
|
1494
|
+
# Required. The site or channel for which to list releases, in either of the
|
1495
|
+
# following formats: - sites/SITE_NAME - sites/SITE_NAME/channels/CHANNEL_ID
|
1461
1496
|
# @param [Fixnum] page_size
|
1462
1497
|
# The maximum number of releases to return. The service may return a lower
|
1463
1498
|
# number if fewer releases exist than this maximum number. If unspecified,
|
1464
1499
|
# defaults to 100.
|
1465
1500
|
# @param [String] page_token
|
1466
|
-
# A token from a previous call to `
|
1467
|
-
# resume listing.
|
1501
|
+
# A token from a previous call to `releases.list` or `channels.releases.list`
|
1502
|
+
# that tells the server where to resume listing.
|
1468
1503
|
# @param [String] fields
|
1469
1504
|
# Selector specifying which fields to include in a partial response.
|
1470
1505
|
# @param [String] quota_user
|
@@ -1494,11 +1529,11 @@ module Google
|
|
1494
1529
|
execute_or_queue_command(command, &block)
|
1495
1530
|
end
|
1496
1531
|
|
1497
|
-
# Creates a new version on the target site using the content of the
|
1498
|
-
# version.
|
1532
|
+
# Creates a new version on the specified target site using the content of the
|
1533
|
+
# specified version.
|
1499
1534
|
# @param [String] parent
|
1500
|
-
# Required. The target site
|
1501
|
-
#
|
1535
|
+
# Required. The target site for the cloned version, in the format: sites/
|
1536
|
+
# SITE_NAME
|
1502
1537
|
# @param [Google::Apis::FirebasehostingV1beta1::CloneVersionRequest] clone_version_request_object
|
1503
1538
|
# @param [String] fields
|
1504
1539
|
# Selector specifying which fields to include in a partial response.
|
@@ -1573,7 +1608,7 @@ module Google
|
|
1573
1608
|
|
1574
1609
|
# Deletes the specified version.
|
1575
1610
|
# @param [String] name
|
1576
|
-
# Required. The
|
1611
|
+
# Required. The fully-qualified identifier for the version, in the format: sites/
|
1577
1612
|
# SITE_NAME/versions/VERSION_ID
|
1578
1613
|
# @param [String] fields
|
1579
1614
|
# Selector specifying which fields to include in a partial response.
|
@@ -1602,20 +1637,25 @@ module Google
|
|
1602
1637
|
execute_or_queue_command(command, &block)
|
1603
1638
|
end
|
1604
1639
|
|
1605
|
-
# Lists the versions that have been created
|
1606
|
-
#
|
1640
|
+
# Lists the versions that have been created for the specified site. This list
|
1641
|
+
# includes versions for both the default `live` channel and any active preview
|
1642
|
+
# channels for the specified site.
|
1607
1643
|
# @param [String] parent
|
1608
|
-
# Required. The
|
1644
|
+
# Required. The site or channel for which to list versions, in either of the
|
1645
|
+
# following formats: - sites/SITE_NAME - sites/SITE_NAME/channels/CHANNEL_ID
|
1609
1646
|
# @param [String] filter
|
1610
|
-
#
|
1611
|
-
#
|
1612
|
-
#
|
1647
|
+
# A filter string used to return a subset of versions in the response. The
|
1648
|
+
# currently supported fields for filtering are: `name`, `status`, and `
|
1649
|
+
# create_time`. Learn more about filtering in Google's [AIP 160 standard](https:/
|
1650
|
+
# /google.aip.dev/160).
|
1613
1651
|
# @param [Fixnum] page_size
|
1614
|
-
# The maximum number of versions to return. The service may return
|
1615
|
-
#
|
1616
|
-
# value is 100; values above 100 will be coerced to
|
1652
|
+
# The maximum number of versions to return. The service may return a lower
|
1653
|
+
# number if fewer versions exist than this maximum number. If unspecified,
|
1654
|
+
# defaults to 25. The maximum value is 100; values above 100 will be coerced to
|
1655
|
+
# 100.
|
1617
1656
|
# @param [String] page_token
|
1618
|
-
#
|
1657
|
+
# A token from a previous call to `ListVersions` that tells the server where to
|
1658
|
+
# resume listing.
|
1619
1659
|
# @param [String] fields
|
1620
1660
|
# Selector specifying which fields to include in a partial response.
|
1621
1661
|
# @param [String] quota_user
|
@@ -1648,13 +1688,13 @@ module Google
|
|
1648
1688
|
|
1649
1689
|
# Updates the specified metadata for the specified version. This method will
|
1650
1690
|
# fail with `FAILED_PRECONDITION` in the event of an invalid state transition.
|
1651
|
-
# The
|
1652
|
-
#
|
1653
|
-
# version to `DELETED`.
|
1691
|
+
# The supported [state](../sites.versions#versionstatus) transitions for a
|
1692
|
+
# version are from `CREATED` to `FINALIZED`. Use [`DeleteVersion`](delete) to
|
1693
|
+
# set the status of a version to `DELETED`.
|
1654
1694
|
# @param [String] name
|
1655
|
-
# The
|
1656
|
-
# VERSION_ID This name is provided in the response body when
|
1657
|
-
# CreateVersion`](sites.versions/create).
|
1695
|
+
# The fully-qualified identifier for the version, in the format: sites/
|
1696
|
+
# SITE_NAME/versions/VERSION_ID This name is provided in the response body when
|
1697
|
+
# you call [`CreateVersion`](sites.versions/create).
|
1658
1698
|
# @param [Google::Apis::FirebasehostingV1beta1::Version] version_object
|
1659
1699
|
# @param [String] update_mask
|
1660
1700
|
# A set of field names from your [version](../sites.versions) that you want to
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-firebasehosting_v1beta1
|
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
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-firebasehosting_v1beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firebasehosting_v1beta1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firebasehosting_v1beta1/v0.3.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-firebasehosting_v1beta1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.13
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Firebase Hosting API V1beta1
|