google-apis-firebasehosting_v1 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/firebasehosting_v1/classes.rb +315 -0
- data/lib/google/apis/firebasehosting_v1/gem_version.rb +2 -2
- data/lib/google/apis/firebasehosting_v1/representations.rb +124 -0
- data/lib/google/apis/firebasehosting_v1/service.rb +65 -0
- data/lib/google/apis/firebasehosting_v1.rb +6 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d5195e0899acd7e7a07546927e3c7d63a418dc748abbc5f0a7314eab84a2b6b
|
4
|
+
data.tar.gz: 4636614a6df57188e111a4c2e6dd226be6f34872e3c992d3015863efca63c3b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bd4d6c72dc28cd2eb2a58d3072b3cd7e117a2270a9b899c0169aae9508fc4d69a2b5210cf90e58342066a8fdbb039f234948de61f4b87eb49a95eee4adf7b90
|
7
|
+
data.tar.gz: 0ca233c2575ac8ba06191f8126ea953cedd71c127f82e601c90753f8329707de48ebc7fdce8f176666fdb699601320f62b9ad922bc22e3d8179c4d86aff57668
|
data/CHANGELOG.md
CHANGED
@@ -35,6 +35,219 @@ module Google
|
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
38
|
+
# A set of ACME challenges you can use to allow Hosting to create an SSL
|
39
|
+
# certificate for your domain name before directing traffic to Hosting servers.
|
40
|
+
# Use either the DNS or HTTP challenge; it's not necessary to provide both.
|
41
|
+
class CertVerification
|
42
|
+
include Google::Apis::Core::Hashable
|
43
|
+
|
44
|
+
# A set of DNS record updates that you should make to allow Hosting to serve
|
45
|
+
# secure content in response to requests against your domain name. These updates
|
46
|
+
# present the current state of your domain name's DNS records when Hosting last
|
47
|
+
# queried them, and the desired set of records that Hosting needs to see before
|
48
|
+
# your custom domain can be fully active.
|
49
|
+
# Corresponds to the JSON property `dns`
|
50
|
+
# @return [Google::Apis::FirebasehostingV1::DnsUpdates]
|
51
|
+
attr_accessor :dns
|
52
|
+
|
53
|
+
# A file you can add to your existing, non-Hosting hosting service that confirms
|
54
|
+
# your intent to allow Hosting's Certificate Authorities to create an SSL
|
55
|
+
# certificate for your domain.
|
56
|
+
# Corresponds to the JSON property `http`
|
57
|
+
# @return [Google::Apis::FirebasehostingV1::HttpUpdate]
|
58
|
+
attr_accessor :http
|
59
|
+
|
60
|
+
def initialize(**args)
|
61
|
+
update!(**args)
|
62
|
+
end
|
63
|
+
|
64
|
+
# Update properties of this object
|
65
|
+
def update!(**args)
|
66
|
+
@dns = args[:dns] if args.key?(:dns)
|
67
|
+
@http = args[:http] if args.key?(:http)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# Metadata associated with a`CustomDomain` operation.
|
72
|
+
class CustomDomainMetadata
|
73
|
+
include Google::Apis::Core::Hashable
|
74
|
+
|
75
|
+
# The `CertState` of the domain name's SSL certificate.
|
76
|
+
# Corresponds to the JSON property `certState`
|
77
|
+
# @return [String]
|
78
|
+
attr_accessor :cert_state
|
79
|
+
|
80
|
+
# The `HostState` of the domain name this `CustomDomain` refers to.
|
81
|
+
# Corresponds to the JSON property `hostState`
|
82
|
+
# @return [String]
|
83
|
+
attr_accessor :host_state
|
84
|
+
|
85
|
+
# A list of issues that are currently preventing Hosting from completing the
|
86
|
+
# operation. These are generally DNS-related issues that Hosting encounters when
|
87
|
+
# querying a domain name's records or attempting to mint an SSL certificate.
|
88
|
+
# Corresponds to the JSON property `issues`
|
89
|
+
# @return [Array<Google::Apis::FirebasehostingV1::Status>]
|
90
|
+
attr_accessor :issues
|
91
|
+
|
92
|
+
# A set of DNS record updates and ACME challenges that allow you to transition
|
93
|
+
# domain names to Firebase Hosting with zero downtime. These updates allow
|
94
|
+
# Hosting to create an SSL certificate and establish ownership for your custom
|
95
|
+
# domain before Hosting begins serving traffic on it. If your domain name is
|
96
|
+
# already in active use with another provider, add one of the challenges and
|
97
|
+
# make the recommended DNS updates. After adding challenges and adjusting DNS
|
98
|
+
# records as necessary, wait for the `ownershipState` to be `OWNERSHIP_ACTIVE`
|
99
|
+
# and the `certState` to be `CERT_ACTIVE` before sending traffic to Hosting.
|
100
|
+
# Corresponds to the JSON property `liveMigrationSteps`
|
101
|
+
# @return [Array<Google::Apis::FirebasehostingV1::LiveMigrationStep>]
|
102
|
+
attr_accessor :live_migration_steps
|
103
|
+
|
104
|
+
# The `OwnershipState` of the domain name this `CustomDomain` refers to.
|
105
|
+
# Corresponds to the JSON property `ownershipState`
|
106
|
+
# @return [String]
|
107
|
+
attr_accessor :ownership_state
|
108
|
+
|
109
|
+
# A set of DNS record updates that you should make to allow Hosting to serve
|
110
|
+
# secure content in response to requests against your domain name. These updates
|
111
|
+
# present the current state of your domain name's DNS records when Hosting last
|
112
|
+
# queried them, and the desired set of records that Hosting needs to see before
|
113
|
+
# your custom domain can be fully active.
|
114
|
+
# Corresponds to the JSON property `quickSetupUpdates`
|
115
|
+
# @return [Google::Apis::FirebasehostingV1::DnsUpdates]
|
116
|
+
attr_accessor :quick_setup_updates
|
117
|
+
|
118
|
+
def initialize(**args)
|
119
|
+
update!(**args)
|
120
|
+
end
|
121
|
+
|
122
|
+
# Update properties of this object
|
123
|
+
def update!(**args)
|
124
|
+
@cert_state = args[:cert_state] if args.key?(:cert_state)
|
125
|
+
@host_state = args[:host_state] if args.key?(:host_state)
|
126
|
+
@issues = args[:issues] if args.key?(:issues)
|
127
|
+
@live_migration_steps = args[:live_migration_steps] if args.key?(:live_migration_steps)
|
128
|
+
@ownership_state = args[:ownership_state] if args.key?(:ownership_state)
|
129
|
+
@quick_setup_updates = args[:quick_setup_updates] if args.key?(:quick_setup_updates)
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
# DNS records are resource records that define how systems and services should
|
134
|
+
# behave when handling requests for a domain name. For example, when you add `A`
|
135
|
+
# records to your domain name's DNS records, you're informing other systems (
|
136
|
+
# such as your users' web browsers) to contact those IPv4 addresses to retrieve
|
137
|
+
# resources relevant to your domain name (such as your Hosting site files).
|
138
|
+
class DnsRecord
|
139
|
+
include Google::Apis::Core::Hashable
|
140
|
+
|
141
|
+
# Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.
|
142
|
+
# Corresponds to the JSON property `domainName`
|
143
|
+
# @return [String]
|
144
|
+
attr_accessor :domain_name
|
145
|
+
|
146
|
+
# Output only. The data of the record. The meaning of the value depends on
|
147
|
+
# record type: - A and AAAA: IP addresses for the domain name. - CNAME: Another
|
148
|
+
# domain to check for records. - TXT: Arbitrary text strings associated with the
|
149
|
+
# domain name. Hosting uses TXT records to determine which Firebase projects
|
150
|
+
# have permission to act on the domain name's behalf. - CAA: The record's flags,
|
151
|
+
# tag, and value, e.g. `0 issue "pki.goog"`.
|
152
|
+
# Corresponds to the JSON property `rdata`
|
153
|
+
# @return [String]
|
154
|
+
attr_accessor :rdata
|
155
|
+
|
156
|
+
# Output only. An enum that indicates the a required action for this record.
|
157
|
+
# Corresponds to the JSON property `requiredAction`
|
158
|
+
# @return [String]
|
159
|
+
attr_accessor :required_action
|
160
|
+
|
161
|
+
# Output only. The record's type, which determines what data the record contains.
|
162
|
+
# Corresponds to the JSON property `type`
|
163
|
+
# @return [String]
|
164
|
+
attr_accessor :type
|
165
|
+
|
166
|
+
def initialize(**args)
|
167
|
+
update!(**args)
|
168
|
+
end
|
169
|
+
|
170
|
+
# Update properties of this object
|
171
|
+
def update!(**args)
|
172
|
+
@domain_name = args[:domain_name] if args.key?(:domain_name)
|
173
|
+
@rdata = args[:rdata] if args.key?(:rdata)
|
174
|
+
@required_action = args[:required_action] if args.key?(:required_action)
|
175
|
+
@type = args[:type] if args.key?(:type)
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
# A set of DNS records relevant to the setup and maintenance of a custom domain
|
180
|
+
# in Firebase Hosting.
|
181
|
+
class DnsRecordSet
|
182
|
+
include Google::Apis::Core::Hashable
|
183
|
+
|
184
|
+
# The `Status` type defines a logical error model that is suitable for different
|
185
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
186
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
187
|
+
# data: error code, error message, and error details. You can find out more
|
188
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
189
|
+
# //cloud.google.com/apis/design/errors).
|
190
|
+
# Corresponds to the JSON property `checkError`
|
191
|
+
# @return [Google::Apis::FirebasehostingV1::Status]
|
192
|
+
attr_accessor :check_error
|
193
|
+
|
194
|
+
# Output only. The domain name the record set pertains to.
|
195
|
+
# Corresponds to the JSON property `domainName`
|
196
|
+
# @return [String]
|
197
|
+
attr_accessor :domain_name
|
198
|
+
|
199
|
+
# Output only. Records on the domain.
|
200
|
+
# Corresponds to the JSON property `records`
|
201
|
+
# @return [Array<Google::Apis::FirebasehostingV1::DnsRecord>]
|
202
|
+
attr_accessor :records
|
203
|
+
|
204
|
+
def initialize(**args)
|
205
|
+
update!(**args)
|
206
|
+
end
|
207
|
+
|
208
|
+
# Update properties of this object
|
209
|
+
def update!(**args)
|
210
|
+
@check_error = args[:check_error] if args.key?(:check_error)
|
211
|
+
@domain_name = args[:domain_name] if args.key?(:domain_name)
|
212
|
+
@records = args[:records] if args.key?(:records)
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
216
|
+
# A set of DNS record updates that you should make to allow Hosting to serve
|
217
|
+
# secure content in response to requests against your domain name. These updates
|
218
|
+
# present the current state of your domain name's DNS records when Hosting last
|
219
|
+
# queried them, and the desired set of records that Hosting needs to see before
|
220
|
+
# your custom domain can be fully active.
|
221
|
+
class DnsUpdates
|
222
|
+
include Google::Apis::Core::Hashable
|
223
|
+
|
224
|
+
# The last time Hosting checked your custom domain's DNS records.
|
225
|
+
# Corresponds to the JSON property `checkTime`
|
226
|
+
# @return [String]
|
227
|
+
attr_accessor :check_time
|
228
|
+
|
229
|
+
# The set of DNS records Hosting needs to serve secure content on the domain.
|
230
|
+
# Corresponds to the JSON property `desired`
|
231
|
+
# @return [Array<Google::Apis::FirebasehostingV1::DnsRecordSet>]
|
232
|
+
attr_accessor :desired
|
233
|
+
|
234
|
+
# The set of DNS records Hosting discovered when inspecting a domain.
|
235
|
+
# Corresponds to the JSON property `discovered`
|
236
|
+
# @return [Array<Google::Apis::FirebasehostingV1::DnsRecordSet>]
|
237
|
+
attr_accessor :discovered
|
238
|
+
|
239
|
+
def initialize(**args)
|
240
|
+
update!(**args)
|
241
|
+
end
|
242
|
+
|
243
|
+
# Update properties of this object
|
244
|
+
def update!(**args)
|
245
|
+
@check_time = args[:check_time] if args.key?(:check_time)
|
246
|
+
@desired = args[:desired] if args.key?(:desired)
|
247
|
+
@discovered = args[:discovered] if args.key?(:discovered)
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
38
251
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
39
252
|
# messages in your APIs. A typical example is to use it as the request or the
|
40
253
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -51,6 +264,57 @@ module Google
|
|
51
264
|
end
|
52
265
|
end
|
53
266
|
|
267
|
+
# A file you can add to your existing, non-Hosting hosting service that confirms
|
268
|
+
# your intent to allow Hosting's Certificate Authorities to create an SSL
|
269
|
+
# certificate for your domain.
|
270
|
+
class HttpUpdate
|
271
|
+
include Google::Apis::Core::Hashable
|
272
|
+
|
273
|
+
# The `Status` type defines a logical error model that is suitable for different
|
274
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
275
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
276
|
+
# data: error code, error message, and error details. You can find out more
|
277
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
278
|
+
# //cloud.google.com/apis/design/errors).
|
279
|
+
# Corresponds to the JSON property `checkError`
|
280
|
+
# @return [Google::Apis::FirebasehostingV1::Status]
|
281
|
+
attr_accessor :check_error
|
282
|
+
|
283
|
+
# Output only. A text string to serve at the path.
|
284
|
+
# Corresponds to the JSON property `desired`
|
285
|
+
# @return [String]
|
286
|
+
attr_accessor :desired
|
287
|
+
|
288
|
+
# Output only. Whether Hosting was able to find the required file contents on
|
289
|
+
# the specified path during its last check.
|
290
|
+
# Corresponds to the JSON property `discovered`
|
291
|
+
# @return [String]
|
292
|
+
attr_accessor :discovered
|
293
|
+
|
294
|
+
# Output only. The last time Hosting systems checked for the file contents.
|
295
|
+
# Corresponds to the JSON property `lastCheckTime`
|
296
|
+
# @return [String]
|
297
|
+
attr_accessor :last_check_time
|
298
|
+
|
299
|
+
# Output only. The path to the file.
|
300
|
+
# Corresponds to the JSON property `path`
|
301
|
+
# @return [String]
|
302
|
+
attr_accessor :path
|
303
|
+
|
304
|
+
def initialize(**args)
|
305
|
+
update!(**args)
|
306
|
+
end
|
307
|
+
|
308
|
+
# Update properties of this object
|
309
|
+
def update!(**args)
|
310
|
+
@check_error = args[:check_error] if args.key?(:check_error)
|
311
|
+
@desired = args[:desired] if args.key?(:desired)
|
312
|
+
@discovered = args[:discovered] if args.key?(:discovered)
|
313
|
+
@last_check_time = args[:last_check_time] if args.key?(:last_check_time)
|
314
|
+
@path = args[:path] if args.key?(:path)
|
315
|
+
end
|
316
|
+
end
|
317
|
+
|
54
318
|
# The response message for Operations.ListOperations.
|
55
319
|
class ListOperationsResponse
|
56
320
|
include Google::Apis::Core::Hashable
|
@@ -76,6 +340,57 @@ module Google
|
|
76
340
|
end
|
77
341
|
end
|
78
342
|
|
343
|
+
# A set of updates including ACME challenges and DNS records that allow Hosting
|
344
|
+
# to create an SSL certificate and establish project ownership for your domain
|
345
|
+
# name before you direct traffic to Hosting servers. Use these updates to
|
346
|
+
# facilitate zero downtime migrations to Hosting from other services. After you'
|
347
|
+
# ve made the recommended updates, check your custom domain's `ownershipState`
|
348
|
+
# and `certState`. To avoid downtime, they should be `OWNERSHIP_ACTIVE` and `
|
349
|
+
# CERT_ACTIVE`, respectively, before you update your `A` and `AAAA` records.
|
350
|
+
class LiveMigrationStep
|
351
|
+
include Google::Apis::Core::Hashable
|
352
|
+
|
353
|
+
# A set of ACME challenges you can use to allow Hosting to create an SSL
|
354
|
+
# certificate for your domain name before directing traffic to Hosting servers.
|
355
|
+
# Use either the DNS or HTTP challenge; it's not necessary to provide both.
|
356
|
+
# Corresponds to the JSON property `certVerification`
|
357
|
+
# @return [Google::Apis::FirebasehostingV1::CertVerification]
|
358
|
+
attr_accessor :cert_verification
|
359
|
+
|
360
|
+
# A set of DNS record updates that you should make to allow Hosting to serve
|
361
|
+
# secure content in response to requests against your domain name. These updates
|
362
|
+
# present the current state of your domain name's DNS records when Hosting last
|
363
|
+
# queried them, and the desired set of records that Hosting needs to see before
|
364
|
+
# your custom domain can be fully active.
|
365
|
+
# Corresponds to the JSON property `dnsUpdates`
|
366
|
+
# @return [Google::Apis::FirebasehostingV1::DnsUpdates]
|
367
|
+
attr_accessor :dns_updates
|
368
|
+
|
369
|
+
# Output only. Issues that prevent the current step from completing.
|
370
|
+
# Corresponds to the JSON property `issues`
|
371
|
+
# @return [Array<Google::Apis::FirebasehostingV1::Status>]
|
372
|
+
attr_accessor :issues
|
373
|
+
|
374
|
+
# Output only. The state of the live migration step, indicates whether you
|
375
|
+
# should work to complete the step now, in the future, or have already completed
|
376
|
+
# it.
|
377
|
+
# Corresponds to the JSON property `state`
|
378
|
+
# @return [String]
|
379
|
+
attr_accessor :state
|
380
|
+
|
381
|
+
def initialize(**args)
|
382
|
+
update!(**args)
|
383
|
+
end
|
384
|
+
|
385
|
+
# Update properties of this object
|
386
|
+
def update!(**args)
|
387
|
+
@cert_verification = args[:cert_verification] if args.key?(:cert_verification)
|
388
|
+
@dns_updates = args[:dns_updates] if args.key?(:dns_updates)
|
389
|
+
@issues = args[:issues] if args.key?(:issues)
|
390
|
+
@state = args[:state] if args.key?(:state)
|
391
|
+
end
|
392
|
+
end
|
393
|
+
|
79
394
|
# This resource represents a long-running operation that is the result of a
|
80
395
|
# network API call.
|
81
396
|
class Operation
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module FirebasehostingV1
|
18
18
|
# Version of the google-apis-firebasehosting_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.18.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230913"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,18 +28,60 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class CertVerification
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class CustomDomainMetadata
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class DnsRecord
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class DnsRecordSet
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class DnsUpdates
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
31
61
|
class Empty
|
32
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
63
|
|
34
64
|
include Google::Apis::Core::JsonObjectSupport
|
35
65
|
end
|
36
66
|
|
67
|
+
class HttpUpdate
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
37
73
|
class ListOperationsResponse
|
38
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
75
|
|
40
76
|
include Google::Apis::Core::JsonObjectSupport
|
41
77
|
end
|
42
78
|
|
79
|
+
class LiveMigrationStep
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
43
85
|
class Operation
|
44
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
87
|
|
@@ -58,12 +100,81 @@ module Google
|
|
58
100
|
end
|
59
101
|
end
|
60
102
|
|
103
|
+
class CertVerification
|
104
|
+
# @private
|
105
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
106
|
+
property :dns, as: 'dns', class: Google::Apis::FirebasehostingV1::DnsUpdates, decorator: Google::Apis::FirebasehostingV1::DnsUpdates::Representation
|
107
|
+
|
108
|
+
property :http, as: 'http', class: Google::Apis::FirebasehostingV1::HttpUpdate, decorator: Google::Apis::FirebasehostingV1::HttpUpdate::Representation
|
109
|
+
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
class CustomDomainMetadata
|
114
|
+
# @private
|
115
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
116
|
+
property :cert_state, as: 'certState'
|
117
|
+
property :host_state, as: 'hostState'
|
118
|
+
collection :issues, as: 'issues', class: Google::Apis::FirebasehostingV1::Status, decorator: Google::Apis::FirebasehostingV1::Status::Representation
|
119
|
+
|
120
|
+
collection :live_migration_steps, as: 'liveMigrationSteps', class: Google::Apis::FirebasehostingV1::LiveMigrationStep, decorator: Google::Apis::FirebasehostingV1::LiveMigrationStep::Representation
|
121
|
+
|
122
|
+
property :ownership_state, as: 'ownershipState'
|
123
|
+
property :quick_setup_updates, as: 'quickSetupUpdates', class: Google::Apis::FirebasehostingV1::DnsUpdates, decorator: Google::Apis::FirebasehostingV1::DnsUpdates::Representation
|
124
|
+
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
class DnsRecord
|
129
|
+
# @private
|
130
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
131
|
+
property :domain_name, as: 'domainName'
|
132
|
+
property :rdata, as: 'rdata'
|
133
|
+
property :required_action, as: 'requiredAction'
|
134
|
+
property :type, as: 'type'
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
class DnsRecordSet
|
139
|
+
# @private
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
141
|
+
property :check_error, as: 'checkError', class: Google::Apis::FirebasehostingV1::Status, decorator: Google::Apis::FirebasehostingV1::Status::Representation
|
142
|
+
|
143
|
+
property :domain_name, as: 'domainName'
|
144
|
+
collection :records, as: 'records', class: Google::Apis::FirebasehostingV1::DnsRecord, decorator: Google::Apis::FirebasehostingV1::DnsRecord::Representation
|
145
|
+
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
class DnsUpdates
|
150
|
+
# @private
|
151
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
152
|
+
property :check_time, as: 'checkTime'
|
153
|
+
collection :desired, as: 'desired', class: Google::Apis::FirebasehostingV1::DnsRecordSet, decorator: Google::Apis::FirebasehostingV1::DnsRecordSet::Representation
|
154
|
+
|
155
|
+
collection :discovered, as: 'discovered', class: Google::Apis::FirebasehostingV1::DnsRecordSet, decorator: Google::Apis::FirebasehostingV1::DnsRecordSet::Representation
|
156
|
+
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
61
160
|
class Empty
|
62
161
|
# @private
|
63
162
|
class Representation < Google::Apis::Core::JsonRepresentation
|
64
163
|
end
|
65
164
|
end
|
66
165
|
|
166
|
+
class HttpUpdate
|
167
|
+
# @private
|
168
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
169
|
+
property :check_error, as: 'checkError', class: Google::Apis::FirebasehostingV1::Status, decorator: Google::Apis::FirebasehostingV1::Status::Representation
|
170
|
+
|
171
|
+
property :desired, as: 'desired'
|
172
|
+
property :discovered, as: 'discovered'
|
173
|
+
property :last_check_time, as: 'lastCheckTime'
|
174
|
+
property :path, as: 'path'
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
67
178
|
class ListOperationsResponse
|
68
179
|
# @private
|
69
180
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -73,6 +184,19 @@ module Google
|
|
73
184
|
end
|
74
185
|
end
|
75
186
|
|
187
|
+
class LiveMigrationStep
|
188
|
+
# @private
|
189
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
190
|
+
property :cert_verification, as: 'certVerification', class: Google::Apis::FirebasehostingV1::CertVerification, decorator: Google::Apis::FirebasehostingV1::CertVerification::Representation
|
191
|
+
|
192
|
+
property :dns_updates, as: 'dnsUpdates', class: Google::Apis::FirebasehostingV1::DnsUpdates, decorator: Google::Apis::FirebasehostingV1::DnsUpdates::Representation
|
193
|
+
|
194
|
+
collection :issues, as: 'issues', class: Google::Apis::FirebasehostingV1::Status, decorator: Google::Apis::FirebasehostingV1::Status::Representation
|
195
|
+
|
196
|
+
property :state, as: 'state'
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
76
200
|
class Operation
|
77
201
|
# @private
|
78
202
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -164,6 +164,71 @@ module Google
|
|
164
164
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
165
165
|
execute_or_queue_command(command, &block)
|
166
166
|
end
|
167
|
+
|
168
|
+
# CancelOperation is a part of the google.longrunning.Operations interface, but
|
169
|
+
# is not implemented for CustomDomain resources.
|
170
|
+
# @param [String] name
|
171
|
+
# The name of the operation resource to be cancelled.
|
172
|
+
# @param [Google::Apis::FirebasehostingV1::CancelOperationRequest] cancel_operation_request_object
|
173
|
+
# @param [String] fields
|
174
|
+
# Selector specifying which fields to include in a partial response.
|
175
|
+
# @param [String] quota_user
|
176
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
177
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
178
|
+
# @param [Google::Apis::RequestOptions] options
|
179
|
+
# Request-specific options
|
180
|
+
#
|
181
|
+
# @yield [result, err] Result & error if block supplied
|
182
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1::Empty] parsed result object
|
183
|
+
# @yieldparam err [StandardError] error object if request failed
|
184
|
+
#
|
185
|
+
# @return [Google::Apis::FirebasehostingV1::Empty]
|
186
|
+
#
|
187
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
188
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
189
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
190
|
+
def cancel_project_site_custom_domain_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
191
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
192
|
+
command.request_representation = Google::Apis::FirebasehostingV1::CancelOperationRequest::Representation
|
193
|
+
command.request_object = cancel_operation_request_object
|
194
|
+
command.response_representation = Google::Apis::FirebasehostingV1::Empty::Representation
|
195
|
+
command.response_class = Google::Apis::FirebasehostingV1::Empty
|
196
|
+
command.params['name'] = name unless name.nil?
|
197
|
+
command.query['fields'] = fields unless fields.nil?
|
198
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
199
|
+
execute_or_queue_command(command, &block)
|
200
|
+
end
|
201
|
+
|
202
|
+
# DeleteOperation is a part of the google.longrunning.Operations interface, but
|
203
|
+
# is not implemented for CustomDomain resources.
|
204
|
+
# @param [String] name
|
205
|
+
# The name of the operation resource to be deleted.
|
206
|
+
# @param [String] fields
|
207
|
+
# Selector specifying which fields to include in a partial response.
|
208
|
+
# @param [String] quota_user
|
209
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
210
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
211
|
+
# @param [Google::Apis::RequestOptions] options
|
212
|
+
# Request-specific options
|
213
|
+
#
|
214
|
+
# @yield [result, err] Result & error if block supplied
|
215
|
+
# @yieldparam result [Google::Apis::FirebasehostingV1::Empty] parsed result object
|
216
|
+
# @yieldparam err [StandardError] error object if request failed
|
217
|
+
#
|
218
|
+
# @return [Google::Apis::FirebasehostingV1::Empty]
|
219
|
+
#
|
220
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
221
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
222
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
223
|
+
def delete_project_site_custom_domain_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
224
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
225
|
+
command.response_representation = Google::Apis::FirebasehostingV1::Empty::Representation
|
226
|
+
command.response_class = Google::Apis::FirebasehostingV1::Empty
|
227
|
+
command.params['name'] = name unless name.nil?
|
228
|
+
command.query['fields'] = fields unless fields.nil?
|
229
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
230
|
+
execute_or_queue_command(command, &block)
|
231
|
+
end
|
167
232
|
|
168
233
|
protected
|
169
234
|
|
@@ -31,6 +31,12 @@ module Google
|
|
31
31
|
# Version of the Firebase Hosting API this client connects to.
|
32
32
|
# This is NOT the gem version.
|
33
33
|
VERSION = 'V1'
|
34
|
+
|
35
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
36
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
37
|
+
|
38
|
+
# View and administer all your Firebase data and settings
|
39
|
+
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'
|
34
40
|
end
|
35
41
|
end
|
36
42
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-firebasehosting_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.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: 2023-
|
11
|
+
date: 2023-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebasehosting_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firebasehosting_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firebasehosting_v1/v0.18.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebasehosting_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Firebase Hosting API V1
|