google-apis-firebasehosting_v1beta1 0.3.0 → 0.8.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 +21 -0
- data/lib/google/apis/firebasehosting_v1beta1.rb +5 -4
- data/lib/google/apis/firebasehosting_v1beta1/classes.rb +90 -9
- data/lib/google/apis/firebasehosting_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/firebasehosting_v1beta1/representations.rb +32 -0
- data/lib/google/apis/firebasehosting_v1beta1/service.rb +255 -61
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc8c3aaa6fc2c680367f2c35f585c867322b413962ab5844253c349637700de9
|
4
|
+
data.tar.gz: 7cd0a8524efde578df811862f32e37ae250f3303b9a6d7fe6466b6ab7f254629
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d590fe8467f494abc7fc5a3b67eefa844acd3a5331b16e9003263b0a2319808718601d0cf33b1dd201a4b2c5bc12477324507e3c4e60a71770d0d802f73955e
|
7
|
+
data.tar.gz: 27f5ad446259e43ec1b86c753bf6dd38db95d2f47eb8de90fe6a869129ae4a57bfb2d29abbf13c3c9cc0896b8a83df9546a3acaa4e5d3ecf62cda40ac4eb4a56
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-firebasehosting_v1beta1
|
2
2
|
|
3
|
+
### v0.8.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.3.0
|
6
|
+
|
7
|
+
### v0.7.0 (2021-05-19)
|
8
|
+
|
9
|
+
* Unspecified changes
|
10
|
+
|
11
|
+
### v0.6.0 (2021-04-20)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210415
|
14
|
+
|
15
|
+
### v0.5.0 (2021-03-16)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210315
|
18
|
+
|
19
|
+
### v0.4.0 (2021-03-12)
|
20
|
+
|
21
|
+
* Regenerated from discovery document revision 20210311
|
22
|
+
* Regenerated using generator version 0.2.0
|
23
|
+
|
3
24
|
### v0.3.0 (2021-03-04)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210303
|
@@ -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
|
@@ -31,7 +32,7 @@ module Google
|
|
31
32
|
# This is NOT the gem version.
|
32
33
|
VERSION = 'V1beta1'
|
33
34
|
|
34
|
-
#
|
35
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
35
36
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
36
37
|
|
37
38
|
# View your data across Google Cloud Platform services
|
@@ -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,6 +545,33 @@ module Google
|
|
545
545
|
end
|
546
546
|
end
|
547
547
|
|
548
|
+
#
|
549
|
+
class ListSitesResponse
|
550
|
+
include Google::Apis::Core::Hashable
|
551
|
+
|
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.
|
555
|
+
# Corresponds to the JSON property `nextPageToken`
|
556
|
+
# @return [String]
|
557
|
+
attr_accessor :next_page_token
|
558
|
+
|
559
|
+
# A list of Site objects associated with the specified Firebase project.
|
560
|
+
# Corresponds to the JSON property `sites`
|
561
|
+
# @return [Array<Google::Apis::FirebasehostingV1beta1::Site>]
|
562
|
+
attr_accessor :sites
|
563
|
+
|
564
|
+
def initialize(**args)
|
565
|
+
update!(**args)
|
566
|
+
end
|
567
|
+
|
568
|
+
# Update properties of this object
|
569
|
+
def update!(**args)
|
570
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
571
|
+
@sites = args[:sites] if args.key?(:sites)
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
548
575
|
#
|
549
576
|
class ListVersionFilesResponse
|
550
577
|
include Google::Apis::Core::Hashable
|
@@ -713,9 +740,9 @@ module Google
|
|
713
740
|
attr_accessor :upload_required_hashes
|
714
741
|
|
715
742
|
# The URL to which the files should be uploaded, in the format: "https://upload-
|
716
|
-
# firebasehosting.googleapis.com/upload/sites/
|
717
|
-
#
|
718
|
-
#
|
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.
|
719
746
|
# Corresponds to the JSON property `uploadUrl`
|
720
747
|
# @return [String]
|
721
748
|
attr_accessor :upload_url
|
@@ -815,7 +842,7 @@ module Google
|
|
815
842
|
attr_accessor :message
|
816
843
|
|
817
844
|
# Output only. The unique identifier for the release, in either of the following
|
818
|
-
# formats: - sites/
|
845
|
+
# formats: - sites/SITE_ID/releases/RELEASE_ID - sites/SITE_ID/channels/
|
819
846
|
# CHANNEL_ID/releases/RELEASE_ID This name is provided in the response body when
|
820
847
|
# you call [`releases.create`](sites.releases/create) or [`channels.releases.
|
821
848
|
# create`](sites.channels.releases/create).
|
@@ -985,6 +1012,60 @@ module Google
|
|
985
1012
|
end
|
986
1013
|
end
|
987
1014
|
|
1015
|
+
# A `Site` represents a Firebase Hosting site.
|
1016
|
+
class Site
|
1017
|
+
include Google::Apis::Core::Hashable
|
1018
|
+
|
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.
|
1022
|
+
# Corresponds to the JSON property `appId`
|
1023
|
+
# @return [String]
|
1024
|
+
attr_accessor :app_id
|
1025
|
+
|
1026
|
+
# Output only. The default URL for the Hosting site.
|
1027
|
+
# Corresponds to the JSON property `defaultUrl`
|
1028
|
+
# @return [String]
|
1029
|
+
attr_accessor :default_url
|
1030
|
+
|
1031
|
+
# Optional. User-specified labels for the Hosting site.
|
1032
|
+
# Corresponds to the JSON property `labels`
|
1033
|
+
# @return [Hash<String,String>]
|
1034
|
+
attr_accessor :labels
|
1035
|
+
|
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).
|
1044
|
+
# Corresponds to the JSON property `name`
|
1045
|
+
# @return [String]
|
1046
|
+
attr_accessor :name
|
1047
|
+
|
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`.
|
1051
|
+
# Corresponds to the JSON property `type`
|
1052
|
+
# @return [String]
|
1053
|
+
attr_accessor :type
|
1054
|
+
|
1055
|
+
def initialize(**args)
|
1056
|
+
update!(**args)
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
# Update properties of this object
|
1060
|
+
def update!(**args)
|
1061
|
+
@app_id = args[:app_id] if args.key?(:app_id)
|
1062
|
+
@default_url = args[:default_url] if args.key?(:default_url)
|
1063
|
+
@labels = args[:labels] if args.key?(:labels)
|
1064
|
+
@name = args[:name] if args.key?(:name)
|
1065
|
+
@type = args[:type] if args.key?(:type)
|
1066
|
+
end
|
1067
|
+
end
|
1068
|
+
|
988
1069
|
# A `SiteConfig` contains metadata associated with a specific site that controls
|
989
1070
|
# Firebase Hosting serving behavior
|
990
1071
|
class SiteConfig
|
@@ -1113,8 +1194,8 @@ module Google
|
|
1113
1194
|
# @return [Hash<String,String>]
|
1114
1195
|
attr_accessor :labels
|
1115
1196
|
|
1116
|
-
# The fully-qualified
|
1117
|
-
#
|
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
|
1118
1199
|
# you call [`CreateVersion`](sites.versions/create).
|
1119
1200
|
# Corresponds to the JSON property `name`
|
1120
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.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210415"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -112,6 +112,12 @@ module Google
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
+
class ListSitesResponse
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
115
121
|
class ListVersionFilesResponse
|
116
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
123
|
|
@@ -178,6 +184,12 @@ module Google
|
|
178
184
|
include Google::Apis::Core::JsonObjectSupport
|
179
185
|
end
|
180
186
|
|
187
|
+
class Site
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
181
193
|
class SiteConfig
|
182
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
195
|
|
@@ -349,6 +361,15 @@ module Google
|
|
349
361
|
end
|
350
362
|
end
|
351
363
|
|
364
|
+
class ListSitesResponse
|
365
|
+
# @private
|
366
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
367
|
+
property :next_page_token, as: 'nextPageToken'
|
368
|
+
collection :sites, as: 'sites', class: Google::Apis::FirebasehostingV1beta1::Site, decorator: Google::Apis::FirebasehostingV1beta1::Site::Representation
|
369
|
+
|
370
|
+
end
|
371
|
+
end
|
372
|
+
|
352
373
|
class ListVersionFilesResponse
|
353
374
|
# @private
|
354
375
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -463,6 +484,17 @@ module Google
|
|
463
484
|
end
|
464
485
|
end
|
465
486
|
|
487
|
+
class Site
|
488
|
+
# @private
|
489
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
490
|
+
property :app_id, as: 'appId'
|
491
|
+
property :default_url, as: 'defaultUrl'
|
492
|
+
hash :labels, as: 'labels'
|
493
|
+
property :name, as: 'name'
|
494
|
+
property :type, as: 'type'
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
466
498
|
class SiteConfig
|
467
499
|
# @private
|
468
500
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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,6 +83,115 @@ module Google
|
|
82
83
|
execute_or_queue_command(command, &block)
|
83
84
|
end
|
84
85
|
|
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.
|
88
|
+
# @param [String] parent
|
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.
|
92
|
+
# @param [Google::Apis::FirebasehostingV1beta1::Site] site_object
|
93
|
+
# @param [String] site_id
|
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.
|
97
|
+
# @param [String] fields
|
98
|
+
# Selector specifying which fields to include in a partial response.
|
99
|
+
# @param [String] quota_user
|
100
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
101
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
102
|
+
# @param [Google::Apis::RequestOptions] options
|
103
|
+
# Request-specific options
|
104
|
+
#
|
105
|
+
# @yield [result, err] Result & error if block supplied
|
106
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::Site] parsed result object
|
107
|
+
# @yieldparam err [StandardError] error object if request failed
|
108
|
+
#
|
109
|
+
# @return [Google::Apis::FirebasehostingV1beta1::Site]
|
110
|
+
#
|
111
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
112
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
113
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
114
|
+
def create_project_site(parent, site_object = nil, site_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
115
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/sites', options)
|
116
|
+
command.request_representation = Google::Apis::FirebasehostingV1beta1::Site::Representation
|
117
|
+
command.request_object = site_object
|
118
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::Site::Representation
|
119
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::Site
|
120
|
+
command.params['parent'] = parent unless parent.nil?
|
121
|
+
command.query['siteId'] = site_id unless site_id.nil?
|
122
|
+
command.query['fields'] = fields unless fields.nil?
|
123
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
124
|
+
execute_or_queue_command(command, &block)
|
125
|
+
end
|
126
|
+
|
127
|
+
# Deletes the specified Hosting Site from the specified parent Firebase project.
|
128
|
+
# @param [String] name
|
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.
|
133
|
+
# @param [String] fields
|
134
|
+
# Selector specifying which fields to include in a partial response.
|
135
|
+
# @param [String] quota_user
|
136
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
137
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
138
|
+
# @param [Google::Apis::RequestOptions] options
|
139
|
+
# Request-specific options
|
140
|
+
#
|
141
|
+
# @yield [result, err] Result & error if block supplied
|
142
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::Empty] parsed result object
|
143
|
+
# @yieldparam err [StandardError] error object if request failed
|
144
|
+
#
|
145
|
+
# @return [Google::Apis::FirebasehostingV1beta1::Empty]
|
146
|
+
#
|
147
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
148
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
149
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
150
|
+
def delete_project_site(name, fields: nil, quota_user: nil, options: nil, &block)
|
151
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
152
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::Empty::Representation
|
153
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::Empty
|
154
|
+
command.params['name'] = name unless name.nil?
|
155
|
+
command.query['fields'] = fields unless fields.nil?
|
156
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
157
|
+
execute_or_queue_command(command, &block)
|
158
|
+
end
|
159
|
+
|
160
|
+
# Gets the specified Hosting Site.
|
161
|
+
# @param [String] name
|
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
|
168
|
+
# @param [String] fields
|
169
|
+
# Selector specifying which fields to include in a partial response.
|
170
|
+
# @param [String] quota_user
|
171
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
172
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
173
|
+
# @param [Google::Apis::RequestOptions] options
|
174
|
+
# Request-specific options
|
175
|
+
#
|
176
|
+
# @yield [result, err] Result & error if block supplied
|
177
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::Site] parsed result object
|
178
|
+
# @yieldparam err [StandardError] error object if request failed
|
179
|
+
#
|
180
|
+
# @return [Google::Apis::FirebasehostingV1beta1::Site]
|
181
|
+
#
|
182
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
183
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
184
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
185
|
+
def get_project_site(name, fields: nil, quota_user: nil, options: nil, &block)
|
186
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
187
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::Site::Representation
|
188
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::Site
|
189
|
+
command.params['name'] = name unless name.nil?
|
190
|
+
command.query['fields'] = fields unless fields.nil?
|
191
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
192
|
+
execute_or_queue_command(command, &block)
|
193
|
+
end
|
194
|
+
|
85
195
|
# Gets the Hosting metadata for a specific site.
|
86
196
|
# @param [String] name
|
87
197
|
# Required. The site for which to get the SiteConfig, in the format: sites/ site-
|
@@ -113,6 +223,90 @@ module Google
|
|
113
223
|
execute_or_queue_command(command, &block)
|
114
224
|
end
|
115
225
|
|
226
|
+
# Lists each Hosting Site associated with the specified parent Firebase project.
|
227
|
+
# @param [String] parent
|
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.
|
231
|
+
# @param [Fixnum] page_size
|
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.
|
235
|
+
# @param [String] page_token
|
236
|
+
# Optional. A token from a previous call to `ListSites` that tells the server
|
237
|
+
# where to resume listing.
|
238
|
+
# @param [String] fields
|
239
|
+
# Selector specifying which fields to include in a partial response.
|
240
|
+
# @param [String] quota_user
|
241
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
242
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
243
|
+
# @param [Google::Apis::RequestOptions] options
|
244
|
+
# Request-specific options
|
245
|
+
#
|
246
|
+
# @yield [result, err] Result & error if block supplied
|
247
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::ListSitesResponse] parsed result object
|
248
|
+
# @yieldparam err [StandardError] error object if request failed
|
249
|
+
#
|
250
|
+
# @return [Google::Apis::FirebasehostingV1beta1::ListSitesResponse]
|
251
|
+
#
|
252
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
253
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
254
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
255
|
+
def list_project_sites(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
256
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/sites', options)
|
257
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::ListSitesResponse::Representation
|
258
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::ListSitesResponse
|
259
|
+
command.params['parent'] = parent unless parent.nil?
|
260
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
261
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
262
|
+
command.query['fields'] = fields unless fields.nil?
|
263
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
264
|
+
execute_or_queue_command(command, &block)
|
265
|
+
end
|
266
|
+
|
267
|
+
# Updates attributes of the specified Hosting Site.
|
268
|
+
# @param [String] name
|
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).
|
277
|
+
# @param [Google::Apis::FirebasehostingV1beta1::Site] site_object
|
278
|
+
# @param [String] update_mask
|
279
|
+
# A set of field names from your Site that you want to update.
|
280
|
+
# @param [String] fields
|
281
|
+
# Selector specifying which fields to include in a partial response.
|
282
|
+
# @param [String] quota_user
|
283
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
284
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
285
|
+
# @param [Google::Apis::RequestOptions] options
|
286
|
+
# Request-specific options
|
287
|
+
#
|
288
|
+
# @yield [result, err] Result & error if block supplied
|
289
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::Site] parsed result object
|
290
|
+
# @yieldparam err [StandardError] error object if request failed
|
291
|
+
#
|
292
|
+
# @return [Google::Apis::FirebasehostingV1beta1::Site]
|
293
|
+
#
|
294
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
295
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
296
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
297
|
+
def patch_project_site(name, site_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
298
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
299
|
+
command.request_representation = Google::Apis::FirebasehostingV1beta1::Site::Representation
|
300
|
+
command.request_object = site_object
|
301
|
+
command.response_representation = Google::Apis::FirebasehostingV1beta1::Site::Representation
|
302
|
+
command.response_class = Google::Apis::FirebasehostingV1beta1::Site
|
303
|
+
command.params['name'] = name unless name.nil?
|
304
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
305
|
+
command.query['fields'] = fields unless fields.nil?
|
306
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
307
|
+
execute_or_queue_command(command, &block)
|
308
|
+
end
|
309
|
+
|
116
310
|
# Sets the Hosting metadata for a specific site.
|
117
311
|
# @param [String] name
|
118
312
|
# Required. The site for which to update the SiteConfig, in the format: sites/
|
@@ -156,7 +350,7 @@ module Google
|
|
156
350
|
# Creates a new channel in the specified site.
|
157
351
|
# @param [String] parent
|
158
352
|
# Required. The site in which to create this channel, in the format: sites/
|
159
|
-
#
|
353
|
+
# SITE_ID
|
160
354
|
# @param [Google::Apis::FirebasehostingV1beta1::Channel] channel_object
|
161
355
|
# @param [String] channel_id
|
162
356
|
# Required. Immutable. A unique ID within the site that identifies the channel.
|
@@ -193,8 +387,8 @@ module Google
|
|
193
387
|
# Deletes the specified channel of the specified site. The `live` channel cannot
|
194
388
|
# be deleted.
|
195
389
|
# @param [String] name
|
196
|
-
# Required. The fully-qualified
|
197
|
-
#
|
390
|
+
# Required. The fully-qualified resource name for the channel, in the format:
|
391
|
+
# sites/SITE_ID/channels/CHANNEL_ID
|
198
392
|
# @param [String] fields
|
199
393
|
# Selector specifying which fields to include in a partial response.
|
200
394
|
# @param [String] quota_user
|
@@ -224,8 +418,8 @@ module Google
|
|
224
418
|
|
225
419
|
# Retrieves information for the specified channel of the specified site.
|
226
420
|
# @param [String] name
|
227
|
-
# Required. The fully-qualified
|
228
|
-
#
|
421
|
+
# Required. The fully-qualified resource name for the channel, in the format:
|
422
|
+
# sites/SITE_ID/channels/CHANNEL_ID
|
229
423
|
# @param [String] fields
|
230
424
|
# Selector specifying which fields to include in a partial response.
|
231
425
|
# @param [String] quota_user
|
@@ -256,7 +450,7 @@ module Google
|
|
256
450
|
# Lists the channels for the specified site. All sites have a default `live`
|
257
451
|
# channel.
|
258
452
|
# @param [String] parent
|
259
|
-
# 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
|
260
454
|
# @param [Fixnum] page_size
|
261
455
|
# The maximum number of channels to return. The service may return a lower
|
262
456
|
# number if fewer channels exist than this maximum number. If unspecified,
|
@@ -297,8 +491,8 @@ module Google
|
|
297
491
|
# Updates information for the specified channel of the specified site.
|
298
492
|
# Implicitly creates the channel if it doesn't already exist.
|
299
493
|
# @param [String] name
|
300
|
-
# The fully-qualified
|
301
|
-
#
|
494
|
+
# The fully-qualified resource name for the channel, in the format: sites/
|
495
|
+
# SITE_ID/channels/CHANNEL_ID
|
302
496
|
# @param [Google::Apis::FirebasehostingV1beta1::Channel] channel_object
|
303
497
|
# @param [String] update_mask
|
304
498
|
# A comma-separated list of fields to be updated in this request.
|
@@ -336,13 +530,13 @@ module Google
|
|
336
530
|
# actively display on the appropriate URL(s).
|
337
531
|
# @param [String] parent
|
338
532
|
# Required. The site or channel to which the release belongs, in either of the
|
339
|
-
# following formats: - sites/
|
533
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
340
534
|
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
341
535
|
# @param [String] version_name
|
342
|
-
# The unique identifier for a version, in the format: sites/
|
343
|
-
# VERSION_ID The
|
344
|
-
#
|
345
|
-
#
|
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`.
|
346
540
|
# @param [String] fields
|
347
541
|
# Selector specifying which fields to include in a partial response.
|
348
542
|
# @param [String] quota_user
|
@@ -379,7 +573,7 @@ module Google
|
|
379
573
|
# site.
|
380
574
|
# @param [String] parent
|
381
575
|
# Required. The site or channel for which to list releases, in either of the
|
382
|
-
# following formats: - sites/
|
576
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
383
577
|
# @param [Fixnum] page_size
|
384
578
|
# The maximum number of releases to return. The service may return a lower
|
385
579
|
# number if fewer releases exist than this maximum number. If unspecified,
|
@@ -586,13 +780,13 @@ module Google
|
|
586
780
|
# actively display on the appropriate URL(s).
|
587
781
|
# @param [String] parent
|
588
782
|
# Required. The site or channel to which the release belongs, in either of the
|
589
|
-
# following formats: - sites/
|
783
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
590
784
|
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
591
785
|
# @param [String] version_name
|
592
|
-
# The unique identifier for a version, in the format: sites/
|
593
|
-
# VERSION_ID The
|
594
|
-
#
|
595
|
-
#
|
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`.
|
596
790
|
# @param [String] fields
|
597
791
|
# Selector specifying which fields to include in a partial response.
|
598
792
|
# @param [String] quota_user
|
@@ -629,7 +823,7 @@ module Google
|
|
629
823
|
# site.
|
630
824
|
# @param [String] parent
|
631
825
|
# Required. The site or channel for which to list releases, in either of the
|
632
|
-
# following formats: - sites/
|
826
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
633
827
|
# @param [Fixnum] page_size
|
634
828
|
# The maximum number of releases to return. The service may return a lower
|
635
829
|
# number if fewer releases exist than this maximum number. If unspecified,
|
@@ -670,7 +864,7 @@ module Google
|
|
670
864
|
# specified version.
|
671
865
|
# @param [String] parent
|
672
866
|
# Required. The target site for the cloned version, in the format: sites/
|
673
|
-
#
|
867
|
+
# SITE_ID
|
674
868
|
# @param [Google::Apis::FirebasehostingV1beta1::CloneVersionRequest] clone_version_request_object
|
675
869
|
# @param [String] fields
|
676
870
|
# Selector specifying which fields to include in a partial response.
|
@@ -704,7 +898,7 @@ module Google
|
|
704
898
|
# Creates a new version for the specified site.
|
705
899
|
# @param [String] parent
|
706
900
|
# Required. The site in which to create the version, in the format: sites/
|
707
|
-
#
|
901
|
+
# SITE_ID
|
708
902
|
# @param [Google::Apis::FirebasehostingV1beta1::Version] version_object
|
709
903
|
# @param [Fixnum] size_bytes
|
710
904
|
# The self-reported size of the version. This value is used for a pre-emptive
|
@@ -745,8 +939,8 @@ module Google
|
|
745
939
|
|
746
940
|
# Deletes the specified version.
|
747
941
|
# @param [String] name
|
748
|
-
# Required. The fully-qualified
|
749
|
-
#
|
942
|
+
# Required. The fully-qualified resource name for the version, in the format:
|
943
|
+
# sites/SITE_ID/versions/VERSION_ID
|
750
944
|
# @param [String] fields
|
751
945
|
# Selector specifying which fields to include in a partial response.
|
752
946
|
# @param [String] quota_user
|
@@ -779,7 +973,7 @@ module Google
|
|
779
973
|
# channels for the specified site.
|
780
974
|
# @param [String] parent
|
781
975
|
# Required. The site or channel for which to list versions, in either of the
|
782
|
-
# following formats: - sites/
|
976
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
783
977
|
# @param [String] filter
|
784
978
|
# A filter string used to return a subset of versions in the response. The
|
785
979
|
# currently supported fields for filtering are: `name`, `status`, and `
|
@@ -829,8 +1023,8 @@ module Google
|
|
829
1023
|
# version are from `CREATED` to `FINALIZED`. Use [`DeleteVersion`](delete) to
|
830
1024
|
# set the status of a version to `DELETED`.
|
831
1025
|
# @param [String] name
|
832
|
-
# The fully-qualified
|
833
|
-
#
|
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
|
834
1028
|
# you call [`CreateVersion`](sites.versions/create).
|
835
1029
|
# @param [Google::Apis::FirebasehostingV1beta1::Version] version_object
|
836
1030
|
# @param [String] update_mask
|
@@ -870,7 +1064,7 @@ module Google
|
|
870
1064
|
|
871
1065
|
# Adds content files to the specified version. Each file must be under 2 GB.
|
872
1066
|
# @param [String] parent
|
873
|
-
# 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 /
|
874
1068
|
# versions/VERSION_ID
|
875
1069
|
# @param [Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesRequest] populate_version_files_request_object
|
876
1070
|
# @param [String] fields
|
@@ -904,7 +1098,7 @@ module Google
|
|
904
1098
|
|
905
1099
|
# Lists the remaining files to be uploaded for the specified version.
|
906
1100
|
# @param [String] parent
|
907
|
-
# 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 /
|
908
1102
|
# versions/VERSION_ID
|
909
1103
|
# @param [Fixnum] page_size
|
910
1104
|
# The maximum number of version files to return. The service may return a lower
|
@@ -1019,7 +1213,7 @@ module Google
|
|
1019
1213
|
# Creates a new channel in the specified site.
|
1020
1214
|
# @param [String] parent
|
1021
1215
|
# Required. The site in which to create this channel, in the format: sites/
|
1022
|
-
#
|
1216
|
+
# SITE_ID
|
1023
1217
|
# @param [Google::Apis::FirebasehostingV1beta1::Channel] channel_object
|
1024
1218
|
# @param [String] channel_id
|
1025
1219
|
# Required. Immutable. A unique ID within the site that identifies the channel.
|
@@ -1056,8 +1250,8 @@ module Google
|
|
1056
1250
|
# Deletes the specified channel of the specified site. The `live` channel cannot
|
1057
1251
|
# be deleted.
|
1058
1252
|
# @param [String] name
|
1059
|
-
# Required. The fully-qualified
|
1060
|
-
#
|
1253
|
+
# Required. The fully-qualified resource name for the channel, in the format:
|
1254
|
+
# sites/SITE_ID/channels/CHANNEL_ID
|
1061
1255
|
# @param [String] fields
|
1062
1256
|
# Selector specifying which fields to include in a partial response.
|
1063
1257
|
# @param [String] quota_user
|
@@ -1087,8 +1281,8 @@ module Google
|
|
1087
1281
|
|
1088
1282
|
# Retrieves information for the specified channel of the specified site.
|
1089
1283
|
# @param [String] name
|
1090
|
-
# Required. The fully-qualified
|
1091
|
-
#
|
1284
|
+
# Required. The fully-qualified resource name for the channel, in the format:
|
1285
|
+
# sites/SITE_ID/channels/CHANNEL_ID
|
1092
1286
|
# @param [String] fields
|
1093
1287
|
# Selector specifying which fields to include in a partial response.
|
1094
1288
|
# @param [String] quota_user
|
@@ -1119,7 +1313,7 @@ module Google
|
|
1119
1313
|
# Lists the channels for the specified site. All sites have a default `live`
|
1120
1314
|
# channel.
|
1121
1315
|
# @param [String] parent
|
1122
|
-
# 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
|
1123
1317
|
# @param [Fixnum] page_size
|
1124
1318
|
# The maximum number of channels to return. The service may return a lower
|
1125
1319
|
# number if fewer channels exist than this maximum number. If unspecified,
|
@@ -1160,8 +1354,8 @@ module Google
|
|
1160
1354
|
# Updates information for the specified channel of the specified site.
|
1161
1355
|
# Implicitly creates the channel if it doesn't already exist.
|
1162
1356
|
# @param [String] name
|
1163
|
-
# The fully-qualified
|
1164
|
-
#
|
1357
|
+
# The fully-qualified resource name for the channel, in the format: sites/
|
1358
|
+
# SITE_ID/channels/CHANNEL_ID
|
1165
1359
|
# @param [Google::Apis::FirebasehostingV1beta1::Channel] channel_object
|
1166
1360
|
# @param [String] update_mask
|
1167
1361
|
# A comma-separated list of fields to be updated in this request.
|
@@ -1199,13 +1393,13 @@ module Google
|
|
1199
1393
|
# actively display on the appropriate URL(s).
|
1200
1394
|
# @param [String] parent
|
1201
1395
|
# Required. The site or channel to which the release belongs, in either of the
|
1202
|
-
# following formats: - sites/
|
1396
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
1203
1397
|
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
1204
1398
|
# @param [String] version_name
|
1205
|
-
# The unique identifier for a version, in the format: sites/
|
1206
|
-
# VERSION_ID The
|
1207
|
-
#
|
1208
|
-
#
|
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`.
|
1209
1403
|
# @param [String] fields
|
1210
1404
|
# Selector specifying which fields to include in a partial response.
|
1211
1405
|
# @param [String] quota_user
|
@@ -1242,7 +1436,7 @@ module Google
|
|
1242
1436
|
# site.
|
1243
1437
|
# @param [String] parent
|
1244
1438
|
# Required. The site or channel for which to list releases, in either of the
|
1245
|
-
# following formats: - sites/
|
1439
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
1246
1440
|
# @param [Fixnum] page_size
|
1247
1441
|
# The maximum number of releases to return. The service may return a lower
|
1248
1442
|
# number if fewer releases exist than this maximum number. If unspecified,
|
@@ -1449,13 +1643,13 @@ module Google
|
|
1449
1643
|
# actively display on the appropriate URL(s).
|
1450
1644
|
# @param [String] parent
|
1451
1645
|
# Required. The site or channel to which the release belongs, in either of the
|
1452
|
-
# following formats: - sites/
|
1646
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
1453
1647
|
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
1454
1648
|
# @param [String] version_name
|
1455
|
-
# The unique identifier for a version, in the format: sites/
|
1456
|
-
# VERSION_ID The
|
1457
|
-
#
|
1458
|
-
#
|
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`.
|
1459
1653
|
# @param [String] fields
|
1460
1654
|
# Selector specifying which fields to include in a partial response.
|
1461
1655
|
# @param [String] quota_user
|
@@ -1492,7 +1686,7 @@ module Google
|
|
1492
1686
|
# site.
|
1493
1687
|
# @param [String] parent
|
1494
1688
|
# Required. The site or channel for which to list releases, in either of the
|
1495
|
-
# following formats: - sites/
|
1689
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
1496
1690
|
# @param [Fixnum] page_size
|
1497
1691
|
# The maximum number of releases to return. The service may return a lower
|
1498
1692
|
# number if fewer releases exist than this maximum number. If unspecified,
|
@@ -1533,7 +1727,7 @@ module Google
|
|
1533
1727
|
# specified version.
|
1534
1728
|
# @param [String] parent
|
1535
1729
|
# Required. The target site for the cloned version, in the format: sites/
|
1536
|
-
#
|
1730
|
+
# SITE_ID
|
1537
1731
|
# @param [Google::Apis::FirebasehostingV1beta1::CloneVersionRequest] clone_version_request_object
|
1538
1732
|
# @param [String] fields
|
1539
1733
|
# Selector specifying which fields to include in a partial response.
|
@@ -1567,7 +1761,7 @@ module Google
|
|
1567
1761
|
# Creates a new version for the specified site.
|
1568
1762
|
# @param [String] parent
|
1569
1763
|
# Required. The site in which to create the version, in the format: sites/
|
1570
|
-
#
|
1764
|
+
# SITE_ID
|
1571
1765
|
# @param [Google::Apis::FirebasehostingV1beta1::Version] version_object
|
1572
1766
|
# @param [Fixnum] size_bytes
|
1573
1767
|
# The self-reported size of the version. This value is used for a pre-emptive
|
@@ -1608,8 +1802,8 @@ module Google
|
|
1608
1802
|
|
1609
1803
|
# Deletes the specified version.
|
1610
1804
|
# @param [String] name
|
1611
|
-
# Required. The fully-qualified
|
1612
|
-
#
|
1805
|
+
# Required. The fully-qualified resource name for the version, in the format:
|
1806
|
+
# sites/SITE_ID/versions/VERSION_ID
|
1613
1807
|
# @param [String] fields
|
1614
1808
|
# Selector specifying which fields to include in a partial response.
|
1615
1809
|
# @param [String] quota_user
|
@@ -1642,7 +1836,7 @@ module Google
|
|
1642
1836
|
# channels for the specified site.
|
1643
1837
|
# @param [String] parent
|
1644
1838
|
# Required. The site or channel for which to list versions, in either of the
|
1645
|
-
# following formats: - sites/
|
1839
|
+
# following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID
|
1646
1840
|
# @param [String] filter
|
1647
1841
|
# A filter string used to return a subset of versions in the response. The
|
1648
1842
|
# currently supported fields for filtering are: `name`, `status`, and `
|
@@ -1692,8 +1886,8 @@ module Google
|
|
1692
1886
|
# version are from `CREATED` to `FINALIZED`. Use [`DeleteVersion`](delete) to
|
1693
1887
|
# set the status of a version to `DELETED`.
|
1694
1888
|
# @param [String] name
|
1695
|
-
# The fully-qualified
|
1696
|
-
#
|
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
|
1697
1891
|
# you call [`CreateVersion`](sites.versions/create).
|
1698
1892
|
# @param [Google::Apis::FirebasehostingV1beta1::Version] version_object
|
1699
1893
|
# @param [String] update_mask
|
@@ -1733,7 +1927,7 @@ module Google
|
|
1733
1927
|
|
1734
1928
|
# Adds content files to the specified version. Each file must be under 2 GB.
|
1735
1929
|
# @param [String] parent
|
1736
|
-
# 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 /
|
1737
1931
|
# versions/VERSION_ID
|
1738
1932
|
# @param [Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesRequest] populate_version_files_request_object
|
1739
1933
|
# @param [String] fields
|
@@ -1767,7 +1961,7 @@ module Google
|
|
1767
1961
|
|
1768
1962
|
# Lists the remaining files to be uploaded for the specified version.
|
1769
1963
|
# @param [String] parent
|
1770
|
-
# 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 /
|
1771
1965
|
# versions/VERSION_ID
|
1772
1966
|
# @param [Fixnum] page_size
|
1773
1967
|
# The maximum number of version files to return. The service may return a lower
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.8.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-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Firebase Hosting API V1beta1. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firebasehosting_v1beta1/v0.8.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-firebasehosting_v1beta1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Firebase Hosting API V1beta1
|