google-apis-firebasehosting_v1beta1 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/firebasehosting_v1beta1.rb +4 -3
- data/lib/google/apis/firebasehosting_v1beta1/classes.rb +31 -24
- data/lib/google/apis/firebasehosting_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/firebasehosting_v1beta1/service.rb +99 -87
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66e4d967afdfa765ad230b65de07397141018edf3ddb01b099ee76980e4bc3fd
|
4
|
+
data.tar.gz: 03a50da708e7aec8938da21421dff74665802a093bf99da936f760ba8ed87baa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 669ea39d5ad2332f0195321765602da28a429aafe5bc7f1c690ae1a7f79cb962813a45b7c7e1037faf6a0996d5216927d437e49eb0abe485f7ab3cdb68280f45
|
7
|
+
data.tar.gz: 6bb8d3dbbe7a4779853044904d07156bf7736bd877042334c5dfd4505ea612a2982da7dae1d131fdc4b5d049937477baec94e7d2104ea30fdce241267fe51e79
|
data/CHANGELOG.md
CHANGED
@@ -21,9 +21,10 @@ module Google
|
|
21
21
|
module Apis
|
22
22
|
# Firebase Hosting API
|
23
23
|
#
|
24
|
-
# The Firebase Hosting REST API enables programmatic and customizable
|
25
|
-
# deployments to your Firebase-hosted sites. Use this REST API to
|
26
|
-
#
|
24
|
+
# The Firebase Hosting REST API enables programmatic and customizable management
|
25
|
+
# and deployments to your Firebase-hosted sites. Use this REST API to create and
|
26
|
+
# manage channels and sites as well as to deploy new or updated hosting
|
27
|
+
# configurations and content files.
|
27
28
|
#
|
28
29
|
# @see https://firebase.google.com/docs/hosting/
|
29
30
|
module FirebasehostingV1beta1
|
@@ -125,8 +125,8 @@ module Google
|
|
125
125
|
# @return [Hash<String,String>]
|
126
126
|
attr_accessor :labels
|
127
127
|
|
128
|
-
# The fully-qualified
|
129
|
-
#
|
128
|
+
# The fully-qualified resource name for the channel, in the format: sites/
|
129
|
+
# SITE_ID/channels/CHANNEL_ID
|
130
130
|
# Corresponds to the JSON property `name`
|
131
131
|
# @return [String]
|
132
132
|
attr_accessor :name
|
@@ -206,7 +206,7 @@ module Google
|
|
206
206
|
attr_accessor :include
|
207
207
|
|
208
208
|
# Required. The unique identifier for the version to be cloned, in the format:
|
209
|
-
# sites/
|
209
|
+
# sites/SITE_ID/versions/VERSION_ID
|
210
210
|
# Corresponds to the JSON property `sourceVersion`
|
211
211
|
# @return [String]
|
212
212
|
attr_accessor :source_version
|
@@ -545,19 +545,18 @@ module Google
|
|
545
545
|
end
|
546
546
|
end
|
547
547
|
|
548
|
-
#
|
548
|
+
#
|
549
549
|
class ListSitesResponse
|
550
550
|
include Google::Apis::Core::Hashable
|
551
551
|
|
552
|
-
#
|
553
|
-
#
|
554
|
-
#
|
555
|
-
# group of Sites. Page tokens are short-lived and should not be stored.
|
552
|
+
# The pagination token, if more results exist beyond the ones in this response.
|
553
|
+
# Include this token in your next call to `ListSites`. Page tokens are short-
|
554
|
+
# lived and should not be stored.
|
556
555
|
# Corresponds to the JSON property `nextPageToken`
|
557
556
|
# @return [String]
|
558
557
|
attr_accessor :next_page_token
|
559
558
|
|
560
|
-
# A list of Site objects
|
559
|
+
# A list of Site objects associated with the specified Firebase project.
|
561
560
|
# Corresponds to the JSON property `sites`
|
562
561
|
# @return [Array<Google::Apis::FirebasehostingV1beta1::Site>]
|
563
562
|
attr_accessor :sites
|
@@ -741,9 +740,9 @@ module Google
|
|
741
740
|
attr_accessor :upload_required_hashes
|
742
741
|
|
743
742
|
# The URL to which the files should be uploaded, in the format: "https://upload-
|
744
|
-
# firebasehosting.googleapis.com/upload/sites/
|
745
|
-
#
|
746
|
-
#
|
743
|
+
# firebasehosting.googleapis.com/upload/sites/SITE_ID /versions/VERSION_ID/files"
|
744
|
+
# Perform a multipart `POST` of the Gzipped file contents to the URL using a
|
745
|
+
# forward slash and the hash of the file appended to the end.
|
747
746
|
# Corresponds to the JSON property `uploadUrl`
|
748
747
|
# @return [String]
|
749
748
|
attr_accessor :upload_url
|
@@ -843,7 +842,7 @@ module Google
|
|
843
842
|
attr_accessor :message
|
844
843
|
|
845
844
|
# Output only. The unique identifier for the release, in either of the following
|
846
|
-
# formats: - sites/
|
845
|
+
# formats: - sites/SITE_ID/releases/RELEASE_ID - sites/SITE_ID/channels/
|
847
846
|
# CHANNEL_ID/releases/RELEASE_ID This name is provided in the response body when
|
848
847
|
# you call [`releases.create`](sites.releases/create) or [`channels.releases.
|
849
848
|
# create`](sites.channels.releases/create).
|
@@ -1013,34 +1012,42 @@ module Google
|
|
1013
1012
|
end
|
1014
1013
|
end
|
1015
1014
|
|
1016
|
-
# A `Site` represents a Firebase Hosting
|
1015
|
+
# A `Site` represents a Firebase Hosting site.
|
1017
1016
|
class Site
|
1018
1017
|
include Google::Apis::Core::Hashable
|
1019
1018
|
|
1020
|
-
# Optional. The ID of a Web App
|
1019
|
+
# Optional. The [ID of a Web App](https://firebase.google.com/docs/projects/api/
|
1020
|
+
# reference/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with
|
1021
|
+
# the Hosting site.
|
1021
1022
|
# Corresponds to the JSON property `appId`
|
1022
1023
|
# @return [String]
|
1023
1024
|
attr_accessor :app_id
|
1024
1025
|
|
1025
|
-
# Output only. The default URL for
|
1026
|
+
# Output only. The default URL for the Hosting site.
|
1026
1027
|
# Corresponds to the JSON property `defaultUrl`
|
1027
1028
|
# @return [String]
|
1028
1029
|
attr_accessor :default_url
|
1029
1030
|
|
1030
|
-
# Optional. User-specified labels for the Hosting
|
1031
|
+
# Optional. User-specified labels for the Hosting site.
|
1031
1032
|
# Corresponds to the JSON property `labels`
|
1032
1033
|
# @return [Hash<String,String>]
|
1033
1034
|
attr_accessor :labels
|
1034
1035
|
|
1035
|
-
# Output only. The fully
|
1036
|
-
# projects
|
1036
|
+
# Output only. The fully-qualified resource name of the Hosting site, in the
|
1037
|
+
# format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the
|
1038
|
+
# Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/projects/
|
1039
|
+
# api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) ***(
|
1040
|
+
# recommended)*** or its [`ProjectId`](https://firebase.google.com/docs/projects/
|
1041
|
+
# api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_id). Learn
|
1042
|
+
# more about using project identifiers in Google's [AIP 2510 standard](https://
|
1043
|
+
# google.aip.dev/cloud/2510).
|
1037
1044
|
# Corresponds to the JSON property `name`
|
1038
1045
|
# @return [String]
|
1039
1046
|
attr_accessor :name
|
1040
1047
|
|
1041
|
-
# Output only. The Hosting site
|
1042
|
-
# which is created when Hosting is provisioned
|
1043
|
-
# USER_SITE
|
1048
|
+
# Output only. The type of Hosting site. Every Firebase project has a `
|
1049
|
+
# DEFAULT_SITE`, which is created when Hosting is provisioned for the project.
|
1050
|
+
# All additional sites are `USER_SITE`.
|
1044
1051
|
# Corresponds to the JSON property `type`
|
1045
1052
|
# @return [String]
|
1046
1053
|
attr_accessor :type
|
@@ -1187,8 +1194,8 @@ module Google
|
|
1187
1194
|
# @return [Hash<String,String>]
|
1188
1195
|
attr_accessor :labels
|
1189
1196
|
|
1190
|
-
# The fully-qualified
|
1191
|
-
#
|
1197
|
+
# The fully-qualified resource name for the version, in the format: sites/
|
1198
|
+
# SITE_ID/versions/VERSION_ID This name is provided in the response body when
|
1192
1199
|
# you call [`CreateVersion`](sites.versions/create).
|
1193
1200
|
# Corresponds to the JSON property `name`
|
1194
1201
|
# @return [String]
|
@@ -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.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210315"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,9 +22,10 @@ module Google
|
|
22
22
|
module FirebasehostingV1beta1
|
23
23
|
# Firebase Hosting API
|
24
24
|
#
|
25
|
-
# The Firebase Hosting REST API enables programmatic and customizable
|
26
|
-
# deployments to your Firebase-hosted sites. Use this REST API to
|
27
|
-
#
|
25
|
+
# The Firebase Hosting REST API enables programmatic and customizable management
|
26
|
+
# and deployments to your Firebase-hosted sites. Use this REST API to create and
|
27
|
+
# manage channels and sites as well as to deploy new or updated hosting
|
28
|
+
# configurations and content files.
|
28
29
|
#
|
29
30
|
# @example
|
30
31
|
# require 'google/apis/firebasehosting_v1beta1'
|
@@ -82,14 +83,17 @@ module Google
|
|
82
83
|
execute_or_queue_command(command, &block)
|
83
84
|
end
|
84
85
|
|
85
|
-
# Creates a new Site
|
86
|
-
# systems.
|
86
|
+
# Creates a new Hosting Site in the specified parent Firebase project. Note that
|
87
|
+
# Hosting sites can take several minutes to propagate through Firebase systems.
|
87
88
|
# @param [String] parent
|
88
|
-
# Required. The
|
89
|
+
# Required. The Firebase project in which to create a Hosting site, in the
|
90
|
+
# format: projects/PROJECT_IDENTIFIER Refer to the `Site` [`name`](../projects#
|
91
|
+
# Site.FIELDS.name) field for details about PROJECT_IDENTIFIER values.
|
89
92
|
# @param [Google::Apis::FirebasehostingV1beta1::Site] site_object
|
90
93
|
# @param [String] site_id
|
91
|
-
# Required. Immutable. A globally unique
|
92
|
-
#
|
94
|
+
# Required. Immutable. A globally unique identifier for the Hosting site. This
|
95
|
+
# identifier is used to construct the Firebase-provisioned subdomains for the
|
96
|
+
# site, so it must also be a valid domain name label.
|
93
97
|
# @param [String] fields
|
94
98
|
# Selector specifying which fields to include in a partial response.
|
95
99
|
# @param [String] quota_user
|
@@ -120,10 +124,12 @@ module Google
|
|
120
124
|
execute_or_queue_command(command, &block)
|
121
125
|
end
|
122
126
|
|
123
|
-
# Deletes
|
127
|
+
# Deletes the specified Hosting Site from the specified parent Firebase project.
|
124
128
|
# @param [String] name
|
125
|
-
# Required. The fully
|
126
|
-
#
|
129
|
+
# Required. The fully-qualified resource name for the Hosting site, in the
|
130
|
+
# format: projects/PROJECT_IDENTIFIER/sites/SITE_ID Refer to the `Site` [`name`](
|
131
|
+
# ../projects#Site.FIELDS.name) field for details about PROJECT_IDENTIFIER
|
132
|
+
# values.
|
127
133
|
# @param [String] fields
|
128
134
|
# Selector specifying which fields to include in a partial response.
|
129
135
|
# @param [String] quota_user
|
@@ -151,12 +157,14 @@ module Google
|
|
151
157
|
execute_or_queue_command(command, &block)
|
152
158
|
end
|
153
159
|
|
154
|
-
# Gets the
|
160
|
+
# Gets the specified Hosting Site.
|
155
161
|
# @param [String] name
|
156
|
-
# Required. The fully
|
157
|
-
#
|
158
|
-
#
|
159
|
-
#
|
162
|
+
# Required. The fully-qualified resource name for the Hosting site, in the
|
163
|
+
# format: projects/PROJECT_IDENTIFIER/sites/SITE_ID Refer to the `Site` [`name`](
|
164
|
+
# ../projects#Site.FIELDS.name) field for details about PROJECT_IDENTIFIER
|
165
|
+
# values. Since a SITE_ID is a globally unique identifier, you can also use the
|
166
|
+
# unique sub-collection resource access pattern, in the format: projects/-/sites/
|
167
|
+
# SITE_ID
|
160
168
|
# @param [String] fields
|
161
169
|
# Selector specifying which fields to include in a partial response.
|
162
170
|
# @param [String] quota_user
|
@@ -215,17 +223,15 @@ module Google
|
|
215
223
|
execute_or_queue_command(command, &block)
|
216
224
|
end
|
217
225
|
|
218
|
-
# Lists each Site associated with the specified parent
|
219
|
-
# returned in a consistent, but undefined, order to facilitate pagination. Site
|
220
|
-
# data might be out of sync by a few seconds. If you require up-to-date data,
|
221
|
-
# use GetSite.
|
226
|
+
# Lists each Hosting Site associated with the specified parent Firebase project.
|
222
227
|
# @param [String] parent
|
223
|
-
# Required. The
|
224
|
-
#
|
228
|
+
# Required. The Firebase project for which to list sites, in the format:
|
229
|
+
# projects/PROJECT_IDENTIFIER Refer to the `Site` [`name`](../projects#Site.
|
230
|
+
# FIELDS.name) field for details about PROJECT_IDENTIFIER values.
|
225
231
|
# @param [Fixnum] page_size
|
226
|
-
# Optional. The maximum number of sites to return
|
227
|
-
#
|
228
|
-
#
|
232
|
+
# Optional. The maximum number of sites to return. The service may return a
|
233
|
+
# lower number if fewer sites exist than this maximum number. If unspecified,
|
234
|
+
# defaults to 40.
|
229
235
|
# @param [String] page_token
|
230
236
|
# Optional. A token from a previous call to `ListSites` that tells the server
|
231
237
|
# where to resume listing.
|
@@ -258,13 +264,19 @@ module Google
|
|
258
264
|
execute_or_queue_command(command, &block)
|
259
265
|
end
|
260
266
|
|
261
|
-
# Updates attributes of the
|
267
|
+
# Updates attributes of the specified Hosting Site.
|
262
268
|
# @param [String] name
|
263
|
-
# Output only. The fully
|
264
|
-
# projects
|
269
|
+
# Output only. The fully-qualified resource name of the Hosting site, in the
|
270
|
+
# format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the
|
271
|
+
# Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/projects/
|
272
|
+
# api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) ***(
|
273
|
+
# recommended)*** or its [`ProjectId`](https://firebase.google.com/docs/projects/
|
274
|
+
# api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_id). Learn
|
275
|
+
# more about using project identifiers in Google's [AIP 2510 standard](https://
|
276
|
+
# google.aip.dev/cloud/2510).
|
265
277
|
# @param [Google::Apis::FirebasehostingV1beta1::Site] site_object
|
266
278
|
# @param [String] update_mask
|
267
|
-
# A
|
279
|
+
# A set of field names from your Site that you want to update.
|
268
280
|
# @param [String] fields
|
269
281
|
# Selector specifying which fields to include in a partial response.
|
270
282
|
# @param [String] quota_user
|
@@ -338,7 +350,7 @@ module Google
|
|
338
350
|
# Creates a new channel in the specified site.
|
339
351
|
# @param [String] parent
|
340
352
|
# Required. The site in which to create this channel, in the format: sites/
|
341
|
-
#
|
353
|
+
# SITE_ID
|
342
354
|
# @param [Google::Apis::FirebasehostingV1beta1::Channel] channel_object
|
343
355
|
# @param [String] channel_id
|
344
356
|
# Required. Immutable. A unique ID within the site that identifies the channel.
|
@@ -375,8 +387,8 @@ module Google
|
|
375
387
|
# Deletes the specified channel of the specified site. The `live` channel cannot
|
376
388
|
# be deleted.
|
377
389
|
# @param [String] name
|
378
|
-
# Required. The fully-qualified
|
379
|
-
#
|
390
|
+
# Required. The fully-qualified resource name for the channel, in the format:
|
391
|
+
# sites/SITE_ID/channels/CHANNEL_ID
|
380
392
|
# @param [String] fields
|
381
393
|
# Selector specifying which fields to include in a partial response.
|
382
394
|
# @param [String] quota_user
|
@@ -406,8 +418,8 @@ module Google
|
|
406
418
|
|
407
419
|
# Retrieves information for the specified channel of the specified site.
|
408
420
|
# @param [String] name
|
409
|
-
# Required. The fully-qualified
|
410
|
-
#
|
421
|
+
# Required. The fully-qualified resource name for the channel, in the format:
|
422
|
+
# sites/SITE_ID/channels/CHANNEL_ID
|
411
423
|
# @param [String] fields
|
412
424
|
# Selector specifying which fields to include in a partial response.
|
413
425
|
# @param [String] quota_user
|
@@ -438,7 +450,7 @@ module Google
|
|
438
450
|
# Lists the channels for the specified site. All sites have a default `live`
|
439
451
|
# channel.
|
440
452
|
# @param [String] parent
|
441
|
-
# Required. The site for which to list channels, in the format: sites/
|
453
|
+
# Required. The site for which to list channels, in the format: sites/SITE_ID
|
442
454
|
# @param [Fixnum] page_size
|
443
455
|
# The maximum number of channels to return. The service may return a lower
|
444
456
|
# number if fewer channels exist than this maximum number. If unspecified,
|
@@ -479,8 +491,8 @@ module Google
|
|
479
491
|
# Updates information for the specified channel of the specified site.
|
480
492
|
# Implicitly creates the channel if it doesn't already exist.
|
481
493
|
# @param [String] name
|
482
|
-
# The fully-qualified
|
483
|
-
#
|
494
|
+
# The fully-qualified resource name for the channel, in the format: sites/
|
495
|
+
# SITE_ID/channels/CHANNEL_ID
|
484
496
|
# @param [Google::Apis::FirebasehostingV1beta1::Channel] channel_object
|
485
497
|
# @param [String] update_mask
|
486
498
|
# A comma-separated list of fields to be updated in this request.
|
@@ -518,13 +530,13 @@ module Google
|
|
518
530
|
# actively display on the appropriate URL(s).
|
519
531
|
# @param [String] parent
|
520
532
|
# Required. The site or channel to which the release belongs, in either of the
|
521
|
-
# following formats: - sites/
|
533
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
522
534
|
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
523
535
|
# @param [String] version_name
|
524
|
-
# The unique identifier for a version, in the format: sites/
|
525
|
-
# VERSION_ID The
|
526
|
-
#
|
527
|
-
#
|
536
|
+
# The unique identifier for a version, in the format: sites/SITE_ID/versions/
|
537
|
+
# VERSION_ID The SITE_ID in this version identifier must match the SITE_ID in
|
538
|
+
# the `parent` parameter. This query parameter must be empty if the `type` field
|
539
|
+
# in the request body is `SITE_DISABLE`.
|
528
540
|
# @param [String] fields
|
529
541
|
# Selector specifying which fields to include in a partial response.
|
530
542
|
# @param [String] quota_user
|
@@ -561,7 +573,7 @@ module Google
|
|
561
573
|
# site.
|
562
574
|
# @param [String] parent
|
563
575
|
# Required. The site or channel for which to list releases, in either of the
|
564
|
-
# following formats: - sites/
|
576
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
565
577
|
# @param [Fixnum] page_size
|
566
578
|
# The maximum number of releases to return. The service may return a lower
|
567
579
|
# number if fewer releases exist than this maximum number. If unspecified,
|
@@ -768,13 +780,13 @@ module Google
|
|
768
780
|
# actively display on the appropriate URL(s).
|
769
781
|
# @param [String] parent
|
770
782
|
# Required. The site or channel to which the release belongs, in either of the
|
771
|
-
# following formats: - sites/
|
783
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
772
784
|
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
773
785
|
# @param [String] version_name
|
774
|
-
# The unique identifier for a version, in the format: sites/
|
775
|
-
# VERSION_ID The
|
776
|
-
#
|
777
|
-
#
|
786
|
+
# The unique identifier for a version, in the format: sites/SITE_ID/versions/
|
787
|
+
# VERSION_ID The SITE_ID in this version identifier must match the SITE_ID in
|
788
|
+
# the `parent` parameter. This query parameter must be empty if the `type` field
|
789
|
+
# in the request body is `SITE_DISABLE`.
|
778
790
|
# @param [String] fields
|
779
791
|
# Selector specifying which fields to include in a partial response.
|
780
792
|
# @param [String] quota_user
|
@@ -811,7 +823,7 @@ module Google
|
|
811
823
|
# site.
|
812
824
|
# @param [String] parent
|
813
825
|
# Required. The site or channel for which to list releases, in either of the
|
814
|
-
# following formats: - sites/
|
826
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
815
827
|
# @param [Fixnum] page_size
|
816
828
|
# The maximum number of releases to return. The service may return a lower
|
817
829
|
# number if fewer releases exist than this maximum number. If unspecified,
|
@@ -852,7 +864,7 @@ module Google
|
|
852
864
|
# specified version.
|
853
865
|
# @param [String] parent
|
854
866
|
# Required. The target site for the cloned version, in the format: sites/
|
855
|
-
#
|
867
|
+
# SITE_ID
|
856
868
|
# @param [Google::Apis::FirebasehostingV1beta1::CloneVersionRequest] clone_version_request_object
|
857
869
|
# @param [String] fields
|
858
870
|
# Selector specifying which fields to include in a partial response.
|
@@ -886,7 +898,7 @@ module Google
|
|
886
898
|
# Creates a new version for the specified site.
|
887
899
|
# @param [String] parent
|
888
900
|
# Required. The site in which to create the version, in the format: sites/
|
889
|
-
#
|
901
|
+
# SITE_ID
|
890
902
|
# @param [Google::Apis::FirebasehostingV1beta1::Version] version_object
|
891
903
|
# @param [Fixnum] size_bytes
|
892
904
|
# The self-reported size of the version. This value is used for a pre-emptive
|
@@ -927,8 +939,8 @@ module Google
|
|
927
939
|
|
928
940
|
# Deletes the specified version.
|
929
941
|
# @param [String] name
|
930
|
-
# Required. The fully-qualified
|
931
|
-
#
|
942
|
+
# Required. The fully-qualified resource name for the version, in the format:
|
943
|
+
# sites/SITE_ID/versions/VERSION_ID
|
932
944
|
# @param [String] fields
|
933
945
|
# Selector specifying which fields to include in a partial response.
|
934
946
|
# @param [String] quota_user
|
@@ -961,7 +973,7 @@ module Google
|
|
961
973
|
# channels for the specified site.
|
962
974
|
# @param [String] parent
|
963
975
|
# Required. The site or channel for which to list versions, in either of the
|
964
|
-
# following formats: - sites/
|
976
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
965
977
|
# @param [String] filter
|
966
978
|
# A filter string used to return a subset of versions in the response. The
|
967
979
|
# currently supported fields for filtering are: `name`, `status`, and `
|
@@ -1011,8 +1023,8 @@ module Google
|
|
1011
1023
|
# version are from `CREATED` to `FINALIZED`. Use [`DeleteVersion`](delete) to
|
1012
1024
|
# set the status of a version to `DELETED`.
|
1013
1025
|
# @param [String] name
|
1014
|
-
# The fully-qualified
|
1015
|
-
#
|
1026
|
+
# The fully-qualified resource name for the version, in the format: sites/
|
1027
|
+
# SITE_ID/versions/VERSION_ID This name is provided in the response body when
|
1016
1028
|
# you call [`CreateVersion`](sites.versions/create).
|
1017
1029
|
# @param [Google::Apis::FirebasehostingV1beta1::Version] version_object
|
1018
1030
|
# @param [String] update_mask
|
@@ -1052,7 +1064,7 @@ module Google
|
|
1052
1064
|
|
1053
1065
|
# Adds content files to the specified version. Each file must be under 2 GB.
|
1054
1066
|
# @param [String] parent
|
1055
|
-
# Required. The version to which to add files, in the format: sites/
|
1067
|
+
# Required. The version to which to add files, in the format: sites/SITE_ID /
|
1056
1068
|
# versions/VERSION_ID
|
1057
1069
|
# @param [Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesRequest] populate_version_files_request_object
|
1058
1070
|
# @param [String] fields
|
@@ -1086,7 +1098,7 @@ module Google
|
|
1086
1098
|
|
1087
1099
|
# Lists the remaining files to be uploaded for the specified version.
|
1088
1100
|
# @param [String] parent
|
1089
|
-
# Required. The version for which to list files, in the format: sites/
|
1101
|
+
# Required. The version for which to list files, in the format: sites/SITE_ID /
|
1090
1102
|
# versions/VERSION_ID
|
1091
1103
|
# @param [Fixnum] page_size
|
1092
1104
|
# The maximum number of version files to return. The service may return a lower
|
@@ -1201,7 +1213,7 @@ module Google
|
|
1201
1213
|
# Creates a new channel in the specified site.
|
1202
1214
|
# @param [String] parent
|
1203
1215
|
# Required. The site in which to create this channel, in the format: sites/
|
1204
|
-
#
|
1216
|
+
# SITE_ID
|
1205
1217
|
# @param [Google::Apis::FirebasehostingV1beta1::Channel] channel_object
|
1206
1218
|
# @param [String] channel_id
|
1207
1219
|
# Required. Immutable. A unique ID within the site that identifies the channel.
|
@@ -1238,8 +1250,8 @@ module Google
|
|
1238
1250
|
# Deletes the specified channel of the specified site. The `live` channel cannot
|
1239
1251
|
# be deleted.
|
1240
1252
|
# @param [String] name
|
1241
|
-
# Required. The fully-qualified
|
1242
|
-
#
|
1253
|
+
# Required. The fully-qualified resource name for the channel, in the format:
|
1254
|
+
# sites/SITE_ID/channels/CHANNEL_ID
|
1243
1255
|
# @param [String] fields
|
1244
1256
|
# Selector specifying which fields to include in a partial response.
|
1245
1257
|
# @param [String] quota_user
|
@@ -1269,8 +1281,8 @@ module Google
|
|
1269
1281
|
|
1270
1282
|
# Retrieves information for the specified channel of the specified site.
|
1271
1283
|
# @param [String] name
|
1272
|
-
# Required. The fully-qualified
|
1273
|
-
#
|
1284
|
+
# Required. The fully-qualified resource name for the channel, in the format:
|
1285
|
+
# sites/SITE_ID/channels/CHANNEL_ID
|
1274
1286
|
# @param [String] fields
|
1275
1287
|
# Selector specifying which fields to include in a partial response.
|
1276
1288
|
# @param [String] quota_user
|
@@ -1301,7 +1313,7 @@ module Google
|
|
1301
1313
|
# Lists the channels for the specified site. All sites have a default `live`
|
1302
1314
|
# channel.
|
1303
1315
|
# @param [String] parent
|
1304
|
-
# Required. The site for which to list channels, in the format: sites/
|
1316
|
+
# Required. The site for which to list channels, in the format: sites/SITE_ID
|
1305
1317
|
# @param [Fixnum] page_size
|
1306
1318
|
# The maximum number of channels to return. The service may return a lower
|
1307
1319
|
# number if fewer channels exist than this maximum number. If unspecified,
|
@@ -1342,8 +1354,8 @@ module Google
|
|
1342
1354
|
# Updates information for the specified channel of the specified site.
|
1343
1355
|
# Implicitly creates the channel if it doesn't already exist.
|
1344
1356
|
# @param [String] name
|
1345
|
-
# The fully-qualified
|
1346
|
-
#
|
1357
|
+
# The fully-qualified resource name for the channel, in the format: sites/
|
1358
|
+
# SITE_ID/channels/CHANNEL_ID
|
1347
1359
|
# @param [Google::Apis::FirebasehostingV1beta1::Channel] channel_object
|
1348
1360
|
# @param [String] update_mask
|
1349
1361
|
# A comma-separated list of fields to be updated in this request.
|
@@ -1381,13 +1393,13 @@ module Google
|
|
1381
1393
|
# actively display on the appropriate URL(s).
|
1382
1394
|
# @param [String] parent
|
1383
1395
|
# Required. The site or channel to which the release belongs, in either of the
|
1384
|
-
# following formats: - sites/
|
1396
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
1385
1397
|
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
1386
1398
|
# @param [String] version_name
|
1387
|
-
# The unique identifier for a version, in the format: sites/
|
1388
|
-
# VERSION_ID The
|
1389
|
-
#
|
1390
|
-
#
|
1399
|
+
# The unique identifier for a version, in the format: sites/SITE_ID/versions/
|
1400
|
+
# VERSION_ID The SITE_ID in this version identifier must match the SITE_ID in
|
1401
|
+
# the `parent` parameter. This query parameter must be empty if the `type` field
|
1402
|
+
# in the request body is `SITE_DISABLE`.
|
1391
1403
|
# @param [String] fields
|
1392
1404
|
# Selector specifying which fields to include in a partial response.
|
1393
1405
|
# @param [String] quota_user
|
@@ -1424,7 +1436,7 @@ module Google
|
|
1424
1436
|
# site.
|
1425
1437
|
# @param [String] parent
|
1426
1438
|
# Required. The site or channel for which to list releases, in either of the
|
1427
|
-
# following formats: - sites/
|
1439
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
1428
1440
|
# @param [Fixnum] page_size
|
1429
1441
|
# The maximum number of releases to return. The service may return a lower
|
1430
1442
|
# number if fewer releases exist than this maximum number. If unspecified,
|
@@ -1631,13 +1643,13 @@ module Google
|
|
1631
1643
|
# actively display on the appropriate URL(s).
|
1632
1644
|
# @param [String] parent
|
1633
1645
|
# Required. The site or channel to which the release belongs, in either of the
|
1634
|
-
# following formats: - sites/
|
1646
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
1635
1647
|
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
1636
1648
|
# @param [String] version_name
|
1637
|
-
# The unique identifier for a version, in the format: sites/
|
1638
|
-
# VERSION_ID The
|
1639
|
-
#
|
1640
|
-
#
|
1649
|
+
# The unique identifier for a version, in the format: sites/SITE_ID/versions/
|
1650
|
+
# VERSION_ID The SITE_ID in this version identifier must match the SITE_ID in
|
1651
|
+
# the `parent` parameter. This query parameter must be empty if the `type` field
|
1652
|
+
# in the request body is `SITE_DISABLE`.
|
1641
1653
|
# @param [String] fields
|
1642
1654
|
# Selector specifying which fields to include in a partial response.
|
1643
1655
|
# @param [String] quota_user
|
@@ -1674,7 +1686,7 @@ module Google
|
|
1674
1686
|
# site.
|
1675
1687
|
# @param [String] parent
|
1676
1688
|
# Required. The site or channel for which to list releases, in either of the
|
1677
|
-
# following formats: - sites/
|
1689
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
1678
1690
|
# @param [Fixnum] page_size
|
1679
1691
|
# The maximum number of releases to return. The service may return a lower
|
1680
1692
|
# number if fewer releases exist than this maximum number. If unspecified,
|
@@ -1715,7 +1727,7 @@ module Google
|
|
1715
1727
|
# specified version.
|
1716
1728
|
# @param [String] parent
|
1717
1729
|
# Required. The target site for the cloned version, in the format: sites/
|
1718
|
-
#
|
1730
|
+
# SITE_ID
|
1719
1731
|
# @param [Google::Apis::FirebasehostingV1beta1::CloneVersionRequest] clone_version_request_object
|
1720
1732
|
# @param [String] fields
|
1721
1733
|
# Selector specifying which fields to include in a partial response.
|
@@ -1749,7 +1761,7 @@ module Google
|
|
1749
1761
|
# Creates a new version for the specified site.
|
1750
1762
|
# @param [String] parent
|
1751
1763
|
# Required. The site in which to create the version, in the format: sites/
|
1752
|
-
#
|
1764
|
+
# SITE_ID
|
1753
1765
|
# @param [Google::Apis::FirebasehostingV1beta1::Version] version_object
|
1754
1766
|
# @param [Fixnum] size_bytes
|
1755
1767
|
# The self-reported size of the version. This value is used for a pre-emptive
|
@@ -1790,8 +1802,8 @@ module Google
|
|
1790
1802
|
|
1791
1803
|
# Deletes the specified version.
|
1792
1804
|
# @param [String] name
|
1793
|
-
# Required. The fully-qualified
|
1794
|
-
#
|
1805
|
+
# Required. The fully-qualified resource name for the version, in the format:
|
1806
|
+
# sites/SITE_ID/versions/VERSION_ID
|
1795
1807
|
# @param [String] fields
|
1796
1808
|
# Selector specifying which fields to include in a partial response.
|
1797
1809
|
# @param [String] quota_user
|
@@ -1824,7 +1836,7 @@ module Google
|
|
1824
1836
|
# channels for the specified site.
|
1825
1837
|
# @param [String] parent
|
1826
1838
|
# Required. The site or channel for which to list versions, in either of the
|
1827
|
-
# following formats: - sites/
|
1839
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
1828
1840
|
# @param [String] filter
|
1829
1841
|
# A filter string used to return a subset of versions in the response. The
|
1830
1842
|
# currently supported fields for filtering are: `name`, `status`, and `
|
@@ -1874,8 +1886,8 @@ module Google
|
|
1874
1886
|
# version are from `CREATED` to `FINALIZED`. Use [`DeleteVersion`](delete) to
|
1875
1887
|
# set the status of a version to `DELETED`.
|
1876
1888
|
# @param [String] name
|
1877
|
-
# The fully-qualified
|
1878
|
-
#
|
1889
|
+
# The fully-qualified resource name for the version, in the format: sites/
|
1890
|
+
# SITE_ID/versions/VERSION_ID This name is provided in the response body when
|
1879
1891
|
# you call [`CreateVersion`](sites.versions/create).
|
1880
1892
|
# @param [Google::Apis::FirebasehostingV1beta1::Version] version_object
|
1881
1893
|
# @param [String] update_mask
|
@@ -1915,7 +1927,7 @@ module Google
|
|
1915
1927
|
|
1916
1928
|
# Adds content files to the specified version. Each file must be under 2 GB.
|
1917
1929
|
# @param [String] parent
|
1918
|
-
# Required. The version to which to add files, in the format: sites/
|
1930
|
+
# Required. The version to which to add files, in the format: sites/SITE_ID /
|
1919
1931
|
# versions/VERSION_ID
|
1920
1932
|
# @param [Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesRequest] populate_version_files_request_object
|
1921
1933
|
# @param [String] fields
|
@@ -1949,7 +1961,7 @@ module Google
|
|
1949
1961
|
|
1950
1962
|
# Lists the remaining files to be uploaded for the specified version.
|
1951
1963
|
# @param [String] parent
|
1952
|
-
# Required. The version for which to list files, in the format: sites/
|
1964
|
+
# Required. The version for which to list files, in the format: sites/SITE_ID /
|
1953
1965
|
# versions/VERSION_ID
|
1954
1966
|
# @param [Fixnum] page_size
|
1955
1967
|
# The maximum number of version files to return. The service may return a lower
|
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.5.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-03-
|
11
|
+
date: 2021-03-22 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.5.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: []
|