google-apis-firebasehosting_v1beta1 0.25.0 → 0.27.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 +8 -0
- data/lib/google/apis/firebasehosting_v1beta1/classes.rb +598 -0
- data/lib/google/apis/firebasehosting_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/firebasehosting_v1beta1/representations.rb +219 -0
- data/lib/google/apis/firebasehosting_v1beta1/service.rb +312 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 125ebebe2fdb3a74ebc899f6d7b21919e2d5a4a636a2a6318058f6ba2333dfac
|
4
|
+
data.tar.gz: d61ea356567b15f826c080d1729c8c3838c00226ea75d0050557681126f2b3d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6aba4ac71c9b7b25136c2cb7a9d9b331eaaf433bf62982c80840b901b603fdcc28763b2151a29680b43e14009da54ec94bf6201842d7570fd11ffbd44b5fc183
|
7
|
+
data.tar.gz: 6255514f3c660ab53a1ec17711a603079f71e18292d797ba73c0c9ee530f269833ef2bc005758dd8a9093846ac3182724d63dd3604b090ffd6239df55d45c437
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-firebasehosting_v1beta1
|
2
2
|
|
3
|
+
### v0.27.0 (2024-01-23)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.13.0
|
6
|
+
|
7
|
+
### v0.26.0 (2023-09-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230913
|
10
|
+
|
3
11
|
### v0.25.0 (2023-09-03)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230827
|
@@ -102,6 +102,102 @@ module Google
|
|
102
102
|
end
|
103
103
|
end
|
104
104
|
|
105
|
+
# A set of ACME challenges you can use to allow Hosting to create an SSL
|
106
|
+
# certificate for your domain name before directing traffic to Hosting servers.
|
107
|
+
# Use either the DNS or HTTP challenge; it's not necessary to provide both.
|
108
|
+
class CertVerification
|
109
|
+
include Google::Apis::Core::Hashable
|
110
|
+
|
111
|
+
# A set of DNS record updates that you should make to allow Hosting to serve
|
112
|
+
# secure content in response to requests against your domain name. These updates
|
113
|
+
# present the current state of your domain name's DNS records when Hosting last
|
114
|
+
# queried them, and the desired set of records that Hosting needs to see before
|
115
|
+
# your custom domain can be fully active.
|
116
|
+
# Corresponds to the JSON property `dns`
|
117
|
+
# @return [Google::Apis::FirebasehostingV1beta1::DnsUpdates]
|
118
|
+
attr_accessor :dns
|
119
|
+
|
120
|
+
# A file you can add to your existing, non-Hosting hosting service that confirms
|
121
|
+
# your intent to allow Hosting's Certificate Authorities to create an SSL
|
122
|
+
# certificate for your domain.
|
123
|
+
# Corresponds to the JSON property `http`
|
124
|
+
# @return [Google::Apis::FirebasehostingV1beta1::HttpUpdate]
|
125
|
+
attr_accessor :http
|
126
|
+
|
127
|
+
def initialize(**args)
|
128
|
+
update!(**args)
|
129
|
+
end
|
130
|
+
|
131
|
+
# Update properties of this object
|
132
|
+
def update!(**args)
|
133
|
+
@dns = args[:dns] if args.key?(:dns)
|
134
|
+
@http = args[:http] if args.key?(:http)
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
# An SSL certificate used to provide end-to-end encryption for requests against
|
139
|
+
# your domain name. A `Certificate` can be an actual SSL certificate or, for
|
140
|
+
# newly-created custom domains, Hosting's intent to create one.
|
141
|
+
class Certificate
|
142
|
+
include Google::Apis::Core::Hashable
|
143
|
+
|
144
|
+
# Output only. The certificate's creation time. For `TEMPORARY` certs this is
|
145
|
+
# the time Hosting first generated challenges for your domain name. For all
|
146
|
+
# other cert types, it's the time the actual cert was created.
|
147
|
+
# Corresponds to the JSON property `createTime`
|
148
|
+
# @return [String]
|
149
|
+
attr_accessor :create_time
|
150
|
+
|
151
|
+
# Output only. The certificate's expiration time. After this time, the cert can
|
152
|
+
# no longer be used to provide secure communication between Hosting and your
|
153
|
+
# site's visitors.
|
154
|
+
# Corresponds to the JSON property `expireTime`
|
155
|
+
# @return [String]
|
156
|
+
attr_accessor :expire_time
|
157
|
+
|
158
|
+
# Output only. A set of errors Hosting encountered when attempting to create a
|
159
|
+
# cert for your domain name. Resolve these issues to ensure Hosting is able to
|
160
|
+
# provide secure communication with your site's visitors.
|
161
|
+
# Corresponds to the JSON property `issues`
|
162
|
+
# @return [Array<Google::Apis::FirebasehostingV1beta1::Status>]
|
163
|
+
attr_accessor :issues
|
164
|
+
|
165
|
+
# Output only. The state of the certificate. Only the `CERT_ACTIVE` and `
|
166
|
+
# CERT_EXPIRING_SOON` states provide SSL coverage for a domain name. If the
|
167
|
+
# state is `PROPAGATING` and Hosting had an active cert for the domain name
|
168
|
+
# before, that formerly-active cert provides SSL coverage for the domain name
|
169
|
+
# until the current cert propagates.
|
170
|
+
# Corresponds to the JSON property `state`
|
171
|
+
# @return [String]
|
172
|
+
attr_accessor :state
|
173
|
+
|
174
|
+
# Output only. The certificate's type.
|
175
|
+
# Corresponds to the JSON property `type`
|
176
|
+
# @return [String]
|
177
|
+
attr_accessor :type
|
178
|
+
|
179
|
+
# A set of ACME challenges you can use to allow Hosting to create an SSL
|
180
|
+
# certificate for your domain name before directing traffic to Hosting servers.
|
181
|
+
# Use either the DNS or HTTP challenge; it's not necessary to provide both.
|
182
|
+
# Corresponds to the JSON property `verification`
|
183
|
+
# @return [Google::Apis::FirebasehostingV1beta1::CertVerification]
|
184
|
+
attr_accessor :verification
|
185
|
+
|
186
|
+
def initialize(**args)
|
187
|
+
update!(**args)
|
188
|
+
end
|
189
|
+
|
190
|
+
# Update properties of this object
|
191
|
+
def update!(**args)
|
192
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
193
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
194
|
+
@issues = args[:issues] if args.key?(:issues)
|
195
|
+
@state = args[:state] if args.key?(:state)
|
196
|
+
@type = args[:type] if args.key?(:type)
|
197
|
+
@verification = args[:verification] if args.key?(:verification)
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
105
201
|
# A `Channel` represents a stream of releases for a site. All sites have a
|
106
202
|
# default `live` channel that serves content to the Firebase-provided subdomains
|
107
203
|
# and any connected custom domains.
|
@@ -261,6 +357,324 @@ module Google
|
|
261
357
|
end
|
262
358
|
end
|
263
359
|
|
360
|
+
# A `CustomDomain` is an entity that links a domain name to a Firebase Hosting
|
361
|
+
# site. Add a `CustomDomain` to your site to allow Hosting to serve the site's
|
362
|
+
# content in response to requests against your domain name.
|
363
|
+
class CustomDomain
|
364
|
+
include Google::Apis::Core::Hashable
|
365
|
+
|
366
|
+
# Annotations you can add to leave both human- and machine-readable metadata
|
367
|
+
# about your `CustomDomain`.
|
368
|
+
# Corresponds to the JSON property `annotations`
|
369
|
+
# @return [Hash<String,String>]
|
370
|
+
attr_accessor :annotations
|
371
|
+
|
372
|
+
# An SSL certificate used to provide end-to-end encryption for requests against
|
373
|
+
# your domain name. A `Certificate` can be an actual SSL certificate or, for
|
374
|
+
# newly-created custom domains, Hosting's intent to create one.
|
375
|
+
# Corresponds to the JSON property `cert`
|
376
|
+
# @return [Google::Apis::FirebasehostingV1beta1::Certificate]
|
377
|
+
attr_accessor :cert
|
378
|
+
|
379
|
+
# A field that lets you specify which SSL certificate type Hosting creates for
|
380
|
+
# your domain name. Spark plan custom domains only have access to the `GROUPED`
|
381
|
+
# cert type, while Blaze plan domains can select any option.
|
382
|
+
# Corresponds to the JSON property `certPreference`
|
383
|
+
# @return [String]
|
384
|
+
attr_accessor :cert_preference
|
385
|
+
|
386
|
+
# Output only. The custom domain's create time.
|
387
|
+
# Corresponds to the JSON property `createTime`
|
388
|
+
# @return [String]
|
389
|
+
attr_accessor :create_time
|
390
|
+
|
391
|
+
# Output only. The time the `CustomDomain` was deleted; null for custom domains
|
392
|
+
# that haven't been deleted. Deleted custom domains persist for approximately 30
|
393
|
+
# days, after which time Hosting removes them completely. To restore a deleted
|
394
|
+
# custom domain, make an `UndeleteCustomDomain` request.
|
395
|
+
# Corresponds to the JSON property `deleteTime`
|
396
|
+
# @return [String]
|
397
|
+
attr_accessor :delete_time
|
398
|
+
|
399
|
+
# Output only. A string that represents the current state of the `CustomDomain`
|
400
|
+
# and allows you to confirm its initial state in requests that would modify it.
|
401
|
+
# Use the tag to ensure consistency when making `UpdateCustomDomain`, `
|
402
|
+
# DeleteCustomDomain`, and `UndeleteCustomDomain` requests.
|
403
|
+
# Corresponds to the JSON property `etag`
|
404
|
+
# @return [String]
|
405
|
+
attr_accessor :etag
|
406
|
+
|
407
|
+
# Output only. The minimum time before a soft-deleted `CustomDomain` is
|
408
|
+
# completely removed from Hosting; null for custom domains that haven't been
|
409
|
+
# deleted.
|
410
|
+
# Corresponds to the JSON property `expireTime`
|
411
|
+
# @return [String]
|
412
|
+
attr_accessor :expire_time
|
413
|
+
|
414
|
+
# Output only. The `HostState` of the domain name this `CustomDomain` refers to.
|
415
|
+
# Corresponds to the JSON property `hostState`
|
416
|
+
# @return [String]
|
417
|
+
attr_accessor :host_state
|
418
|
+
|
419
|
+
# Output only. A set of errors Hosting systems encountered when trying to
|
420
|
+
# establish Hosting's ability to serve secure content for your domain name.
|
421
|
+
# Resolve these issues to ensure your `CustomDomain` behaves properly.
|
422
|
+
# Corresponds to the JSON property `issues`
|
423
|
+
# @return [Array<Google::Apis::FirebasehostingV1beta1::Status>]
|
424
|
+
attr_accessor :issues
|
425
|
+
|
426
|
+
# Labels used for extra metadata and/or filtering.
|
427
|
+
# Corresponds to the JSON property `labels`
|
428
|
+
# @return [Hash<String,String>]
|
429
|
+
attr_accessor :labels
|
430
|
+
|
431
|
+
# Output only. The fully-qualified name of the `CustomDomain`.
|
432
|
+
# Corresponds to the JSON property `name`
|
433
|
+
# @return [String]
|
434
|
+
attr_accessor :name
|
435
|
+
|
436
|
+
# Output only. The `OwnershipState` of the domain name this `CustomDomain`
|
437
|
+
# refers to.
|
438
|
+
# Corresponds to the JSON property `ownershipState`
|
439
|
+
# @return [String]
|
440
|
+
attr_accessor :ownership_state
|
441
|
+
|
442
|
+
# Output only. A field that, if true, indicates that Hosting's systems are
|
443
|
+
# attmepting to make the custom domain's state match your preferred state. This
|
444
|
+
# is most frequently `true` when initially provisioning a `CustomDomain` after a
|
445
|
+
# `CreateCustomDomain` request or when creating a new SSL certificate to match
|
446
|
+
# an updated `cert_preference` after an `UpdateCustomDomain` request.
|
447
|
+
# Corresponds to the JSON property `reconciling`
|
448
|
+
# @return [Boolean]
|
449
|
+
attr_accessor :reconciling
|
450
|
+
alias_method :reconciling?, :reconciling
|
451
|
+
|
452
|
+
# A domain name that this `CustomDomain` should direct traffic towards. If
|
453
|
+
# specified, Hosting will respond to requests against this custom domain with an
|
454
|
+
# HTTP 301 code, and route traffic to the specified `redirect_target` instead.
|
455
|
+
# Corresponds to the JSON property `redirectTarget`
|
456
|
+
# @return [String]
|
457
|
+
attr_accessor :redirect_target
|
458
|
+
|
459
|
+
# A set of DNS record updates that you should make to allow Hosting to serve
|
460
|
+
# secure content in response to requests against your domain name. These updates
|
461
|
+
# present the current state of your domain name's DNS records when Hosting last
|
462
|
+
# queried them, and the desired set of records that Hosting needs to see before
|
463
|
+
# your custom domain can be fully active.
|
464
|
+
# Corresponds to the JSON property `requiredDnsUpdates`
|
465
|
+
# @return [Google::Apis::FirebasehostingV1beta1::DnsUpdates]
|
466
|
+
attr_accessor :required_dns_updates
|
467
|
+
|
468
|
+
# Output only. The last time the `CustomDomain` was updated.
|
469
|
+
# Corresponds to the JSON property `updateTime`
|
470
|
+
# @return [String]
|
471
|
+
attr_accessor :update_time
|
472
|
+
|
473
|
+
def initialize(**args)
|
474
|
+
update!(**args)
|
475
|
+
end
|
476
|
+
|
477
|
+
# Update properties of this object
|
478
|
+
def update!(**args)
|
479
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
480
|
+
@cert = args[:cert] if args.key?(:cert)
|
481
|
+
@cert_preference = args[:cert_preference] if args.key?(:cert_preference)
|
482
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
483
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
484
|
+
@etag = args[:etag] if args.key?(:etag)
|
485
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
486
|
+
@host_state = args[:host_state] if args.key?(:host_state)
|
487
|
+
@issues = args[:issues] if args.key?(:issues)
|
488
|
+
@labels = args[:labels] if args.key?(:labels)
|
489
|
+
@name = args[:name] if args.key?(:name)
|
490
|
+
@ownership_state = args[:ownership_state] if args.key?(:ownership_state)
|
491
|
+
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
492
|
+
@redirect_target = args[:redirect_target] if args.key?(:redirect_target)
|
493
|
+
@required_dns_updates = args[:required_dns_updates] if args.key?(:required_dns_updates)
|
494
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
498
|
+
# Metadata associated with a`CustomDomain` operation.
|
499
|
+
class CustomDomainMetadata
|
500
|
+
include Google::Apis::Core::Hashable
|
501
|
+
|
502
|
+
# The `CertState` of the domain name's SSL certificate.
|
503
|
+
# Corresponds to the JSON property `certState`
|
504
|
+
# @return [String]
|
505
|
+
attr_accessor :cert_state
|
506
|
+
|
507
|
+
# The `HostState` of the domain name this `CustomDomain` refers to.
|
508
|
+
# Corresponds to the JSON property `hostState`
|
509
|
+
# @return [String]
|
510
|
+
attr_accessor :host_state
|
511
|
+
|
512
|
+
# A list of issues that are currently preventing Hosting from completing the
|
513
|
+
# operation. These are generally DNS-related issues that Hosting encounters when
|
514
|
+
# querying a domain name's records or attempting to mint an SSL certificate.
|
515
|
+
# Corresponds to the JSON property `issues`
|
516
|
+
# @return [Array<Google::Apis::FirebasehostingV1beta1::Status>]
|
517
|
+
attr_accessor :issues
|
518
|
+
|
519
|
+
# A set of DNS record updates and ACME challenges that allow you to transition
|
520
|
+
# domain names to Firebase Hosting with zero downtime. These updates allow
|
521
|
+
# Hosting to create an SSL certificate and establish ownership for your custom
|
522
|
+
# domain before Hosting begins serving traffic on it. If your domain name is
|
523
|
+
# already in active use with another provider, add one of the challenges and
|
524
|
+
# make the recommended DNS updates. After adding challenges and adjusting DNS
|
525
|
+
# records as necessary, wait for the `ownershipState` to be `OWNERSHIP_ACTIVE`
|
526
|
+
# and the `certState` to be `CERT_ACTIVE` before sending traffic to Hosting.
|
527
|
+
# Corresponds to the JSON property `liveMigrationSteps`
|
528
|
+
# @return [Array<Google::Apis::FirebasehostingV1beta1::LiveMigrationStep>]
|
529
|
+
attr_accessor :live_migration_steps
|
530
|
+
|
531
|
+
# The `OwnershipState` of the domain name this `CustomDomain` refers to.
|
532
|
+
# Corresponds to the JSON property `ownershipState`
|
533
|
+
# @return [String]
|
534
|
+
attr_accessor :ownership_state
|
535
|
+
|
536
|
+
# A set of DNS record updates that you should make to allow Hosting to serve
|
537
|
+
# secure content in response to requests against your domain name. These updates
|
538
|
+
# present the current state of your domain name's DNS records when Hosting last
|
539
|
+
# queried them, and the desired set of records that Hosting needs to see before
|
540
|
+
# your custom domain can be fully active.
|
541
|
+
# Corresponds to the JSON property `quickSetupUpdates`
|
542
|
+
# @return [Google::Apis::FirebasehostingV1beta1::DnsUpdates]
|
543
|
+
attr_accessor :quick_setup_updates
|
544
|
+
|
545
|
+
def initialize(**args)
|
546
|
+
update!(**args)
|
547
|
+
end
|
548
|
+
|
549
|
+
# Update properties of this object
|
550
|
+
def update!(**args)
|
551
|
+
@cert_state = args[:cert_state] if args.key?(:cert_state)
|
552
|
+
@host_state = args[:host_state] if args.key?(:host_state)
|
553
|
+
@issues = args[:issues] if args.key?(:issues)
|
554
|
+
@live_migration_steps = args[:live_migration_steps] if args.key?(:live_migration_steps)
|
555
|
+
@ownership_state = args[:ownership_state] if args.key?(:ownership_state)
|
556
|
+
@quick_setup_updates = args[:quick_setup_updates] if args.key?(:quick_setup_updates)
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
560
|
+
# DNS records are resource records that define how systems and services should
|
561
|
+
# behave when handling requests for a domain name. For example, when you add `A`
|
562
|
+
# records to your domain name's DNS records, you're informing other systems (
|
563
|
+
# such as your users' web browsers) to contact those IPv4 addresses to retrieve
|
564
|
+
# resources relevant to your domain name (such as your Hosting site files).
|
565
|
+
class DnsRecord
|
566
|
+
include Google::Apis::Core::Hashable
|
567
|
+
|
568
|
+
# Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.
|
569
|
+
# Corresponds to the JSON property `domainName`
|
570
|
+
# @return [String]
|
571
|
+
attr_accessor :domain_name
|
572
|
+
|
573
|
+
# Output only. The data of the record. The meaning of the value depends on
|
574
|
+
# record type: - A and AAAA: IP addresses for the domain name. - CNAME: Another
|
575
|
+
# domain to check for records. - TXT: Arbitrary text strings associated with the
|
576
|
+
# domain name. Hosting uses TXT records to determine which Firebase projects
|
577
|
+
# have permission to act on the domain name's behalf. - CAA: The record's flags,
|
578
|
+
# tag, and value, e.g. `0 issue "pki.goog"`.
|
579
|
+
# Corresponds to the JSON property `rdata`
|
580
|
+
# @return [String]
|
581
|
+
attr_accessor :rdata
|
582
|
+
|
583
|
+
# Output only. An enum that indicates the a required action for this record.
|
584
|
+
# Corresponds to the JSON property `requiredAction`
|
585
|
+
# @return [String]
|
586
|
+
attr_accessor :required_action
|
587
|
+
|
588
|
+
# Output only. The record's type, which determines what data the record contains.
|
589
|
+
# Corresponds to the JSON property `type`
|
590
|
+
# @return [String]
|
591
|
+
attr_accessor :type
|
592
|
+
|
593
|
+
def initialize(**args)
|
594
|
+
update!(**args)
|
595
|
+
end
|
596
|
+
|
597
|
+
# Update properties of this object
|
598
|
+
def update!(**args)
|
599
|
+
@domain_name = args[:domain_name] if args.key?(:domain_name)
|
600
|
+
@rdata = args[:rdata] if args.key?(:rdata)
|
601
|
+
@required_action = args[:required_action] if args.key?(:required_action)
|
602
|
+
@type = args[:type] if args.key?(:type)
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
606
|
+
# A set of DNS records relevant to the setup and maintenance of a custom domain
|
607
|
+
# in Firebase Hosting.
|
608
|
+
class DnsRecordSet
|
609
|
+
include Google::Apis::Core::Hashable
|
610
|
+
|
611
|
+
# The `Status` type defines a logical error model that is suitable for different
|
612
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
613
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
614
|
+
# data: error code, error message, and error details. You can find out more
|
615
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
616
|
+
# //cloud.google.com/apis/design/errors).
|
617
|
+
# Corresponds to the JSON property `checkError`
|
618
|
+
# @return [Google::Apis::FirebasehostingV1beta1::Status]
|
619
|
+
attr_accessor :check_error
|
620
|
+
|
621
|
+
# Output only. The domain name the record set pertains to.
|
622
|
+
# Corresponds to the JSON property `domainName`
|
623
|
+
# @return [String]
|
624
|
+
attr_accessor :domain_name
|
625
|
+
|
626
|
+
# Output only. Records on the domain.
|
627
|
+
# Corresponds to the JSON property `records`
|
628
|
+
# @return [Array<Google::Apis::FirebasehostingV1beta1::DnsRecord>]
|
629
|
+
attr_accessor :records
|
630
|
+
|
631
|
+
def initialize(**args)
|
632
|
+
update!(**args)
|
633
|
+
end
|
634
|
+
|
635
|
+
# Update properties of this object
|
636
|
+
def update!(**args)
|
637
|
+
@check_error = args[:check_error] if args.key?(:check_error)
|
638
|
+
@domain_name = args[:domain_name] if args.key?(:domain_name)
|
639
|
+
@records = args[:records] if args.key?(:records)
|
640
|
+
end
|
641
|
+
end
|
642
|
+
|
643
|
+
# A set of DNS record updates that you should make to allow Hosting to serve
|
644
|
+
# secure content in response to requests against your domain name. These updates
|
645
|
+
# present the current state of your domain name's DNS records when Hosting last
|
646
|
+
# queried them, and the desired set of records that Hosting needs to see before
|
647
|
+
# your custom domain can be fully active.
|
648
|
+
class DnsUpdates
|
649
|
+
include Google::Apis::Core::Hashable
|
650
|
+
|
651
|
+
# The last time Hosting checked your custom domain's DNS records.
|
652
|
+
# Corresponds to the JSON property `checkTime`
|
653
|
+
# @return [String]
|
654
|
+
attr_accessor :check_time
|
655
|
+
|
656
|
+
# The set of DNS records Hosting needs to serve secure content on the domain.
|
657
|
+
# Corresponds to the JSON property `desired`
|
658
|
+
# @return [Array<Google::Apis::FirebasehostingV1beta1::DnsRecordSet>]
|
659
|
+
attr_accessor :desired
|
660
|
+
|
661
|
+
# The set of DNS records Hosting discovered when inspecting a domain.
|
662
|
+
# Corresponds to the JSON property `discovered`
|
663
|
+
# @return [Array<Google::Apis::FirebasehostingV1beta1::DnsRecordSet>]
|
664
|
+
attr_accessor :discovered
|
665
|
+
|
666
|
+
def initialize(**args)
|
667
|
+
update!(**args)
|
668
|
+
end
|
669
|
+
|
670
|
+
# Update properties of this object
|
671
|
+
def update!(**args)
|
672
|
+
@check_time = args[:check_time] if args.key?(:check_time)
|
673
|
+
@desired = args[:desired] if args.key?(:desired)
|
674
|
+
@discovered = args[:discovered] if args.key?(:discovered)
|
675
|
+
end
|
676
|
+
end
|
677
|
+
|
264
678
|
# The intended behavior and status information of a domain.
|
265
679
|
class Domain
|
266
680
|
include Google::Apis::Core::Hashable
|
@@ -452,6 +866,57 @@ module Google
|
|
452
866
|
end
|
453
867
|
end
|
454
868
|
|
869
|
+
# A file you can add to your existing, non-Hosting hosting service that confirms
|
870
|
+
# your intent to allow Hosting's Certificate Authorities to create an SSL
|
871
|
+
# certificate for your domain.
|
872
|
+
class HttpUpdate
|
873
|
+
include Google::Apis::Core::Hashable
|
874
|
+
|
875
|
+
# The `Status` type defines a logical error model that is suitable for different
|
876
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
877
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
878
|
+
# data: error code, error message, and error details. You can find out more
|
879
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
880
|
+
# //cloud.google.com/apis/design/errors).
|
881
|
+
# Corresponds to the JSON property `checkError`
|
882
|
+
# @return [Google::Apis::FirebasehostingV1beta1::Status]
|
883
|
+
attr_accessor :check_error
|
884
|
+
|
885
|
+
# Output only. A text string to serve at the path.
|
886
|
+
# Corresponds to the JSON property `desired`
|
887
|
+
# @return [String]
|
888
|
+
attr_accessor :desired
|
889
|
+
|
890
|
+
# Output only. Whether Hosting was able to find the required file contents on
|
891
|
+
# the specified path during its last check.
|
892
|
+
# Corresponds to the JSON property `discovered`
|
893
|
+
# @return [String]
|
894
|
+
attr_accessor :discovered
|
895
|
+
|
896
|
+
# Output only. The last time Hosting systems checked for the file contents.
|
897
|
+
# Corresponds to the JSON property `lastCheckTime`
|
898
|
+
# @return [String]
|
899
|
+
attr_accessor :last_check_time
|
900
|
+
|
901
|
+
# Output only. The path to the file.
|
902
|
+
# Corresponds to the JSON property `path`
|
903
|
+
# @return [String]
|
904
|
+
attr_accessor :path
|
905
|
+
|
906
|
+
def initialize(**args)
|
907
|
+
update!(**args)
|
908
|
+
end
|
909
|
+
|
910
|
+
# Update properties of this object
|
911
|
+
def update!(**args)
|
912
|
+
@check_error = args[:check_error] if args.key?(:check_error)
|
913
|
+
@desired = args[:desired] if args.key?(:desired)
|
914
|
+
@discovered = args[:discovered] if args.key?(:discovered)
|
915
|
+
@last_check_time = args[:last_check_time] if args.key?(:last_check_time)
|
916
|
+
@path = args[:path] if args.key?(:path)
|
917
|
+
end
|
918
|
+
end
|
919
|
+
|
455
920
|
# If provided, i18n rewrites are enabled.
|
456
921
|
class I18nConfig
|
457
922
|
include Google::Apis::Core::Hashable
|
@@ -499,6 +964,34 @@ module Google
|
|
499
964
|
end
|
500
965
|
end
|
501
966
|
|
967
|
+
# The response from `ListCustomDomains`.
|
968
|
+
class ListCustomDomainsResponse
|
969
|
+
include Google::Apis::Core::Hashable
|
970
|
+
|
971
|
+
# A list of `CustomDomain` entities associated with the specified Firebase `Site`
|
972
|
+
# .
|
973
|
+
# Corresponds to the JSON property `customDomains`
|
974
|
+
# @return [Array<Google::Apis::FirebasehostingV1beta1::CustomDomain>]
|
975
|
+
attr_accessor :custom_domains
|
976
|
+
|
977
|
+
# The pagination token, if more results exist beyond the ones in this response.
|
978
|
+
# Include this token in your next call to `ListCustomDomains`. Page tokens are
|
979
|
+
# short-lived and should not be stored.
|
980
|
+
# Corresponds to the JSON property `nextPageToken`
|
981
|
+
# @return [String]
|
982
|
+
attr_accessor :next_page_token
|
983
|
+
|
984
|
+
def initialize(**args)
|
985
|
+
update!(**args)
|
986
|
+
end
|
987
|
+
|
988
|
+
# Update properties of this object
|
989
|
+
def update!(**args)
|
990
|
+
@custom_domains = args[:custom_domains] if args.key?(:custom_domains)
|
991
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
992
|
+
end
|
993
|
+
end
|
994
|
+
|
502
995
|
# The response to listing Domains.
|
503
996
|
class ListDomainsResponse
|
504
997
|
include Google::Apis::Core::Hashable
|
@@ -524,6 +1017,31 @@ module Google
|
|
524
1017
|
end
|
525
1018
|
end
|
526
1019
|
|
1020
|
+
# The response message for Operations.ListOperations.
|
1021
|
+
class ListOperationsResponse
|
1022
|
+
include Google::Apis::Core::Hashable
|
1023
|
+
|
1024
|
+
# The standard List next-page token.
|
1025
|
+
# Corresponds to the JSON property `nextPageToken`
|
1026
|
+
# @return [String]
|
1027
|
+
attr_accessor :next_page_token
|
1028
|
+
|
1029
|
+
# A list of operations that matches the specified filter in the request.
|
1030
|
+
# Corresponds to the JSON property `operations`
|
1031
|
+
# @return [Array<Google::Apis::FirebasehostingV1beta1::Operation>]
|
1032
|
+
attr_accessor :operations
|
1033
|
+
|
1034
|
+
def initialize(**args)
|
1035
|
+
update!(**args)
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
# Update properties of this object
|
1039
|
+
def update!(**args)
|
1040
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1041
|
+
@operations = args[:operations] if args.key?(:operations)
|
1042
|
+
end
|
1043
|
+
end
|
1044
|
+
|
527
1045
|
#
|
528
1046
|
class ListReleasesResponse
|
529
1047
|
include Google::Apis::Core::Hashable
|
@@ -632,6 +1150,57 @@ module Google
|
|
632
1150
|
end
|
633
1151
|
end
|
634
1152
|
|
1153
|
+
# A set of updates including ACME challenges and DNS records that allow Hosting
|
1154
|
+
# to create an SSL certificate and establish project ownership for your domain
|
1155
|
+
# name before you direct traffic to Hosting servers. Use these updates to
|
1156
|
+
# facilitate zero downtime migrations to Hosting from other services. After you'
|
1157
|
+
# ve made the recommended updates, check your custom domain's `ownershipState`
|
1158
|
+
# and `certState`. To avoid downtime, they should be `OWNERSHIP_ACTIVE` and `
|
1159
|
+
# CERT_ACTIVE`, respectively, before you update your `A` and `AAAA` records.
|
1160
|
+
class LiveMigrationStep
|
1161
|
+
include Google::Apis::Core::Hashable
|
1162
|
+
|
1163
|
+
# A set of ACME challenges you can use to allow Hosting to create an SSL
|
1164
|
+
# certificate for your domain name before directing traffic to Hosting servers.
|
1165
|
+
# Use either the DNS or HTTP challenge; it's not necessary to provide both.
|
1166
|
+
# Corresponds to the JSON property `certVerification`
|
1167
|
+
# @return [Google::Apis::FirebasehostingV1beta1::CertVerification]
|
1168
|
+
attr_accessor :cert_verification
|
1169
|
+
|
1170
|
+
# A set of DNS record updates that you should make to allow Hosting to serve
|
1171
|
+
# secure content in response to requests against your domain name. These updates
|
1172
|
+
# present the current state of your domain name's DNS records when Hosting last
|
1173
|
+
# queried them, and the desired set of records that Hosting needs to see before
|
1174
|
+
# your custom domain can be fully active.
|
1175
|
+
# Corresponds to the JSON property `dnsUpdates`
|
1176
|
+
# @return [Google::Apis::FirebasehostingV1beta1::DnsUpdates]
|
1177
|
+
attr_accessor :dns_updates
|
1178
|
+
|
1179
|
+
# Output only. Issues that prevent the current step from completing.
|
1180
|
+
# Corresponds to the JSON property `issues`
|
1181
|
+
# @return [Array<Google::Apis::FirebasehostingV1beta1::Status>]
|
1182
|
+
attr_accessor :issues
|
1183
|
+
|
1184
|
+
# Output only. The state of the live migration step, indicates whether you
|
1185
|
+
# should work to complete the step now, in the future, or have already completed
|
1186
|
+
# it.
|
1187
|
+
# Corresponds to the JSON property `state`
|
1188
|
+
# @return [String]
|
1189
|
+
attr_accessor :state
|
1190
|
+
|
1191
|
+
def initialize(**args)
|
1192
|
+
update!(**args)
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
# Update properties of this object
|
1196
|
+
def update!(**args)
|
1197
|
+
@cert_verification = args[:cert_verification] if args.key?(:cert_verification)
|
1198
|
+
@dns_updates = args[:dns_updates] if args.key?(:dns_updates)
|
1199
|
+
@issues = args[:issues] if args.key?(:issues)
|
1200
|
+
@state = args[:state] if args.key?(:state)
|
1201
|
+
end
|
1202
|
+
end
|
1203
|
+
|
635
1204
|
# This resource represents a long-running operation that is the result of a
|
636
1205
|
# network API call.
|
637
1206
|
class Operation
|
@@ -1122,6 +1691,35 @@ module Google
|
|
1122
1691
|
end
|
1123
1692
|
end
|
1124
1693
|
|
1694
|
+
# The request sent to `UndeleteCustomDomain`.
|
1695
|
+
class UndeleteCustomDomainRequest
|
1696
|
+
include Google::Apis::Core::Hashable
|
1697
|
+
|
1698
|
+
# A tag that represents the state of the `CustomDomain` as you know it. If
|
1699
|
+
# present, the supplied tag must match the current value on your `CustomDomain`,
|
1700
|
+
# or the request fails.
|
1701
|
+
# Corresponds to the JSON property `etag`
|
1702
|
+
# @return [String]
|
1703
|
+
attr_accessor :etag
|
1704
|
+
|
1705
|
+
# If true, Hosting validates that it's possible to complete your request but
|
1706
|
+
# doesn't actually delete the `CustomDomain`.
|
1707
|
+
# Corresponds to the JSON property `validateOnly`
|
1708
|
+
# @return [Boolean]
|
1709
|
+
attr_accessor :validate_only
|
1710
|
+
alias_method :validate_only?, :validate_only
|
1711
|
+
|
1712
|
+
def initialize(**args)
|
1713
|
+
update!(**args)
|
1714
|
+
end
|
1715
|
+
|
1716
|
+
# Update properties of this object
|
1717
|
+
def update!(**args)
|
1718
|
+
@etag = args[:etag] if args.key?(:etag)
|
1719
|
+
@validate_only = args[:validate_only] if args.key?(:validate_only)
|
1720
|
+
end
|
1721
|
+
end
|
1722
|
+
|
1125
1723
|
# A `Version` is a configuration and a collection of static files which
|
1126
1724
|
# determine how a site is displayed.
|
1127
1725
|
class Version
|
@@ -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.27.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.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
|