google-apis-firebasehosting_v1beta1 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 844401c7c68444118d1899dbaf94e935379797e0ba22c708392106abafa8831f
|
4
|
+
data.tar.gz: 5cfeef0f4c7d1bd1da4ac70fdc86f5c487ace7d561417869e77ebf038fb156a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e24c6adfb7ceccd8c5f85074104e54db63ed2f5f3c91d06e7583aa0d41d44b715088e14cac96cfc86d7e07ee872d0c10ddc57b2b16c7f9a428636a89247a34b
|
7
|
+
data.tar.gz: 29d99d40d2059c79a642b8215bdddf30f6dfedd19bd95f7759fdbef2c7fedb9e603fb6cdcf5bda7e7cbfd5ef705bf0e880e746448f6135323772520e770c860e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-firebasehosting_v1beta1
|
2
2
|
|
3
|
+
### v0.2.0 (2021-02-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210129
|
6
|
+
* Regenerated using generator version 0.1.2
|
7
|
+
|
3
8
|
### v0.1.0 (2021-01-07)
|
4
9
|
|
5
10
|
* Regenerated using generator version 0.1.1
|
@@ -404,14 +404,14 @@ module Google
|
|
404
404
|
end
|
405
405
|
end
|
406
406
|
|
407
|
-
# A [`
|
408
|
-
# URL pattern that, if matched to the request URL path, triggers
|
409
|
-
# apply the specified custom response headers.
|
407
|
+
# A [`Header`](https://firebase.google.com/docs/hosting/full-config#headers)
|
408
|
+
# specifies a URL pattern that, if matched to the request URL path, triggers
|
409
|
+
# Hosting to apply the specified custom response headers.
|
410
410
|
class Header
|
411
411
|
include Google::Apis::Core::Hashable
|
412
412
|
|
413
|
-
# The user-supplied [glob](/docs/hosting/full-config#
|
414
|
-
# match against the request URL path.
|
413
|
+
# The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#
|
414
|
+
# glob_pattern_matching) to match against the request URL path.
|
415
415
|
# Corresponds to the JSON property `glob`
|
416
416
|
# @return [String]
|
417
417
|
attr_accessor :glob
|
@@ -514,9 +514,9 @@ module Google
|
|
514
514
|
class ListReleasesResponse
|
515
515
|
include Google::Apis::Core::Hashable
|
516
516
|
|
517
|
-
#
|
518
|
-
#
|
519
|
-
#
|
517
|
+
# The pagination token, if more results exist beyond the ones in this response.
|
518
|
+
# Include this token in your next call to `ListReleases`. Page tokens are short-
|
519
|
+
# lived and should not be stored.
|
520
520
|
# Corresponds to the JSON property `nextPageToken`
|
521
521
|
# @return [String]
|
522
522
|
attr_accessor :next_page_token
|
@@ -541,12 +541,14 @@ module Google
|
|
541
541
|
class ListVersionFilesResponse
|
542
542
|
include Google::Apis::Core::Hashable
|
543
543
|
|
544
|
-
# The list
|
544
|
+
# The list of paths to the hashes of the files in the specified version.
|
545
545
|
# Corresponds to the JSON property `files`
|
546
546
|
# @return [Array<Google::Apis::FirebasehostingV1beta1::VersionFile>]
|
547
547
|
attr_accessor :files
|
548
548
|
|
549
|
-
# The pagination token, if more results exist.
|
549
|
+
# The pagination token, if more results exist beyond the ones in this response.
|
550
|
+
# Include this token in your next call to `ListVersionFiles`. Page tokens are
|
551
|
+
# short-lived and should not be stored.
|
550
552
|
# Corresponds to the JSON property `nextPageToken`
|
551
553
|
# @return [String]
|
552
554
|
attr_accessor :next_page_token
|
@@ -668,14 +670,14 @@ module Google
|
|
668
670
|
end
|
669
671
|
end
|
670
672
|
|
671
|
-
#
|
673
|
+
#
|
672
674
|
class PopulateVersionFilesRequest
|
673
675
|
include Google::Apis::Core::Hashable
|
674
676
|
|
675
677
|
# A set of file paths to the hashes corresponding to assets that should be added
|
676
|
-
# to the version.
|
677
|
-
#
|
678
|
-
#
|
678
|
+
# to the version. A file path to an empty hash will remove the path from the
|
679
|
+
# version. Calculate a hash by Gzipping the file then taking the SHA256 hash of
|
680
|
+
# the newly compressed file.
|
679
681
|
# Corresponds to the JSON property `files`
|
680
682
|
# @return [Hash<String,String>]
|
681
683
|
attr_accessor :files
|
@@ -695,14 +697,14 @@ module Google
|
|
695
697
|
include Google::Apis::Core::Hashable
|
696
698
|
|
697
699
|
# The content hashes of the specified files that need to be uploaded to the
|
698
|
-
# specified
|
700
|
+
# specified URL.
|
699
701
|
# Corresponds to the JSON property `uploadRequiredHashes`
|
700
702
|
# @return [Array<String>]
|
701
703
|
attr_accessor :upload_required_hashes
|
702
704
|
|
703
705
|
# The URL to which the files should be uploaded, in the format: "https://upload-
|
704
|
-
# firebasehosting.googleapis.com/upload/sites/
|
705
|
-
# files"
|
706
|
+
# firebasehosting.googleapis.com/upload/sites/SITE_NAME /versions/VERSION_ID/
|
707
|
+
# files" Perform a multipart `POST` of the Gzipped file contents to the URL
|
706
708
|
# using a forward slash and the hash of the file appended to the end.
|
707
709
|
# Corresponds to the JSON property `uploadUrl`
|
708
710
|
# @return [String]
|
@@ -748,14 +750,14 @@ module Google
|
|
748
750
|
end
|
749
751
|
end
|
750
752
|
|
751
|
-
# A [`
|
752
|
-
# pattern that, if matched to the request URL path, triggers
|
753
|
-
# with a redirect to the specified destination path.
|
753
|
+
# A [`Redirect`](https://firebase.google.com/docs/hosting/full-config#redirects)
|
754
|
+
# specifies a URL pattern that, if matched to the request URL path, triggers
|
755
|
+
# Hosting to respond with a redirect to the specified destination path.
|
754
756
|
class Redirect
|
755
757
|
include Google::Apis::Core::Hashable
|
756
758
|
|
757
|
-
# The user-supplied [glob](/docs/hosting/full-config#
|
758
|
-
# match against the request URL path.
|
759
|
+
# The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#
|
760
|
+
# glob_pattern_matching) to match against the request URL path.
|
759
761
|
# Corresponds to the JSON property `glob`
|
760
762
|
# @return [String]
|
761
763
|
attr_accessor :glob
|
@@ -804,9 +806,9 @@ module Google
|
|
804
806
|
# @return [String]
|
805
807
|
attr_accessor :message
|
806
808
|
|
807
|
-
# Output only. The unique identifier for the release, in the format: sites/
|
808
|
-
#
|
809
|
-
# call
|
809
|
+
# Output only. The unique identifier for the release, in the format: sites/
|
810
|
+
# SITE_NAME/releases/RELEASE_ID This name is provided in the response body when
|
811
|
+
# you call [`CreateRelease`](sites.releases/create).
|
810
812
|
# Corresponds to the JSON property `name`
|
811
813
|
# @return [String]
|
812
814
|
attr_accessor :name
|
@@ -828,8 +830,8 @@ module Google
|
|
828
830
|
# @return [String]
|
829
831
|
attr_accessor :type
|
830
832
|
|
831
|
-
# A `Version` is
|
832
|
-
#
|
833
|
+
# A `Version` is a configuration and a collection of static files which
|
834
|
+
# determine how a site is displayed.
|
833
835
|
# Corresponds to the JSON property `version`
|
834
836
|
# @return [Google::Apis::FirebasehostingV1beta1::Version]
|
835
837
|
attr_accessor :version
|
@@ -849,9 +851,9 @@ module Google
|
|
849
851
|
end
|
850
852
|
end
|
851
853
|
|
852
|
-
# A [`
|
853
|
-
# pattern that, if matched to the request URL path, triggers
|
854
|
-
# as if the service were given the specified destination URL.
|
854
|
+
# A [`Rewrite`](https://firebase.google.com/docs/hosting/full-config#rewrites)
|
855
|
+
# specifies a URL pattern that, if matched to the request URL path, triggers
|
856
|
+
# Hosting to respond as if the service were given the specified destination URL.
|
855
857
|
class Rewrite
|
856
858
|
include Google::Apis::Core::Hashable
|
857
859
|
|
@@ -867,8 +869,8 @@ module Google
|
|
867
869
|
# @return [String]
|
868
870
|
attr_accessor :function
|
869
871
|
|
870
|
-
# The user-supplied [glob](/docs/hosting/full-config#
|
871
|
-
# match against the request URL path.
|
872
|
+
# The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#
|
873
|
+
# glob_pattern_matching) to match against the request URL path.
|
872
874
|
# Corresponds to the JSON property `glob`
|
873
875
|
# @return [String]
|
874
876
|
attr_accessor :glob
|
@@ -910,8 +912,8 @@ module Google
|
|
910
912
|
# The configuration for how incoming requests to a site should be routed and
|
911
913
|
# processed before serving content. The URL request paths are matched against
|
912
914
|
# the specified URL patterns in the configuration, then Hosting applies the
|
913
|
-
# applicable configuration according to a specific [priority order](
|
914
|
-
# hosting/full-config#hosting_priority_order).
|
915
|
+
# applicable configuration according to a specific [priority order](https://
|
916
|
+
# firebase.google.com/docs/hosting/full-config#hosting_priority_order).
|
915
917
|
class ServingConfig
|
916
918
|
include Google::Apis::Core::Hashable
|
917
919
|
|
@@ -1043,16 +1045,16 @@ module Google
|
|
1043
1045
|
end
|
1044
1046
|
end
|
1045
1047
|
|
1046
|
-
# A `Version` is
|
1047
|
-
#
|
1048
|
+
# A `Version` is a configuration and a collection of static files which
|
1049
|
+
# determine how a site is displayed.
|
1048
1050
|
class Version
|
1049
1051
|
include Google::Apis::Core::Hashable
|
1050
1052
|
|
1051
1053
|
# The configuration for how incoming requests to a site should be routed and
|
1052
1054
|
# processed before serving content. The URL request paths are matched against
|
1053
1055
|
# the specified URL patterns in the configuration, then Hosting applies the
|
1054
|
-
# applicable configuration according to a specific [priority order](
|
1055
|
-
# hosting/full-config#hosting_priority_order).
|
1056
|
+
# applicable configuration according to a specific [priority order](https://
|
1057
|
+
# firebase.google.com/docs/hosting/full-config#hosting_priority_order).
|
1056
1058
|
# Corresponds to the JSON property `config`
|
1057
1059
|
# @return [Google::Apis::FirebasehostingV1beta1::ServingConfig]
|
1058
1060
|
attr_accessor :config
|
@@ -1101,9 +1103,9 @@ module Google
|
|
1101
1103
|
# @return [Hash<String,String>]
|
1102
1104
|
attr_accessor :labels
|
1103
1105
|
|
1104
|
-
# The unique identifier for a version, in the format: sites/
|
1105
|
-
#
|
1106
|
-
# CreateVersion`](
|
1106
|
+
# The unique identifier for a version, in the format: sites/SITE_NAME /versions/
|
1107
|
+
# VERSION_ID This name is provided in the response body when you call [`
|
1108
|
+
# CreateVersion`](sites.versions/create).
|
1107
1109
|
# Corresponds to the JSON property `name`
|
1108
1110
|
# @return [String]
|
1109
1111
|
attr_accessor :name
|
@@ -1115,14 +1117,14 @@ module Google
|
|
1115
1117
|
# @return [Google::Apis::FirebasehostingV1beta1::PreviewConfig]
|
1116
1118
|
attr_accessor :preview
|
1117
1119
|
|
1118
|
-
# The deploy status of a version. For a successful deploy, call
|
1119
|
-
#
|
1120
|
-
#
|
1121
|
-
#
|
1122
|
-
#
|
1123
|
-
#
|
1124
|
-
#
|
1125
|
-
#
|
1120
|
+
# The deploy status of a version. For a successful deploy, call [`CreateVersion`]
|
1121
|
+
# (sites.versions/create) to make a new version (`CREATED` status), [upload all
|
1122
|
+
# desired files](sites.versions/populateFiles) to the version, then [update](
|
1123
|
+
# sites.versions/patch) the version to the `FINALIZED` status. Note that if you
|
1124
|
+
# leave the version in the `CREATED` state for more than 12 hours, the system
|
1125
|
+
# will automatically mark the version as `ABANDONED`. You can also change the
|
1126
|
+
# status of a version to `DELETED` by calling [`DeleteVersion`](sites.versions/
|
1127
|
+
# delete).
|
1126
1128
|
# Corresponds to the JSON property `status`
|
1127
1129
|
# @return [String]
|
1128
1130
|
attr_accessor :status
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module FirebasehostingV1beta1
|
18
18
|
# Version of the google-apis-firebasehosting_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.2.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.1.
|
22
|
+
GENERATOR_VERSION = "0.1.2"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210129"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -325,17 +325,17 @@ module Google
|
|
325
325
|
execute_or_queue_command(command, &block)
|
326
326
|
end
|
327
327
|
|
328
|
-
# Creates a new release which makes the content of the specified version
|
328
|
+
# Creates a new release, which makes the content of the specified version
|
329
329
|
# actively display on the appropriate URL(s).
|
330
330
|
# @param [String] parent
|
331
|
-
# Required. The site
|
332
|
-
#
|
331
|
+
# Required. The site to which the release belongs, in the format: sites/
|
332
|
+
# SITE_NAME
|
333
333
|
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
334
334
|
# @param [String] version_name
|
335
|
-
# The unique identifier for a version, in the format:
|
336
|
-
#
|
337
|
-
# the `parent` parameter. This query parameter must be empty if the `type`
|
338
|
-
# in the request body is `SITE_DISABLE`.
|
335
|
+
# The unique identifier for a version, in the format: sites/SITE_NAME /versions/
|
336
|
+
# VERSION_ID The SITE_NAME in this version identifier must match the SITE_NAME
|
337
|
+
# in the `parent` parameter. This query parameter must be empty if the `type`
|
338
|
+
# field in the request body is `SITE_DISABLE`.
|
339
339
|
# @param [String] fields
|
340
340
|
# Selector specifying which fields to include in a partial response.
|
341
341
|
# @param [String] quota_user
|
@@ -368,11 +368,14 @@ module Google
|
|
368
368
|
|
369
369
|
# Lists the releases that have been created on the specified site.
|
370
370
|
# @param [String] parent
|
371
|
-
# Required. The
|
371
|
+
# Required. The site for which to list releases, in the format: sites/ SITE_NAME
|
372
372
|
# @param [Fixnum] page_size
|
373
|
-
# The
|
373
|
+
# The maximum number of releases to return. The service may return a lower
|
374
|
+
# number if fewer releases exist than this maximum number. If unspecified,
|
375
|
+
# defaults to 100.
|
374
376
|
# @param [String] page_token
|
375
|
-
#
|
377
|
+
# A token from a previous call to `ListReleases` that tells the server where to
|
378
|
+
# resume listing.
|
376
379
|
# @param [String] fields
|
377
380
|
# Selector specifying which fields to include in a partial response.
|
378
381
|
# @param [String] quota_user
|
@@ -568,17 +571,17 @@ module Google
|
|
568
571
|
execute_or_queue_command(command, &block)
|
569
572
|
end
|
570
573
|
|
571
|
-
# Creates a new release which makes the content of the specified version
|
574
|
+
# Creates a new release, which makes the content of the specified version
|
572
575
|
# actively display on the appropriate URL(s).
|
573
576
|
# @param [String] parent
|
574
|
-
# Required. The site
|
575
|
-
#
|
577
|
+
# Required. The site to which the release belongs, in the format: sites/
|
578
|
+
# SITE_NAME
|
576
579
|
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
577
580
|
# @param [String] version_name
|
578
|
-
# The unique identifier for a version, in the format:
|
579
|
-
#
|
580
|
-
# the `parent` parameter. This query parameter must be empty if the `type`
|
581
|
-
# in the request body is `SITE_DISABLE`.
|
581
|
+
# The unique identifier for a version, in the format: sites/SITE_NAME /versions/
|
582
|
+
# VERSION_ID The SITE_NAME in this version identifier must match the SITE_NAME
|
583
|
+
# in the `parent` parameter. This query parameter must be empty if the `type`
|
584
|
+
# field in the request body is `SITE_DISABLE`.
|
582
585
|
# @param [String] fields
|
583
586
|
# Selector specifying which fields to include in a partial response.
|
584
587
|
# @param [String] quota_user
|
@@ -611,11 +614,14 @@ module Google
|
|
611
614
|
|
612
615
|
# Lists the releases that have been created on the specified site.
|
613
616
|
# @param [String] parent
|
614
|
-
# Required. The
|
617
|
+
# Required. The site for which to list releases, in the format: sites/ SITE_NAME
|
615
618
|
# @param [Fixnum] page_size
|
616
|
-
# The
|
619
|
+
# The maximum number of releases to return. The service may return a lower
|
620
|
+
# number if fewer releases exist than this maximum number. If unspecified,
|
621
|
+
# defaults to 100.
|
617
622
|
# @param [String] page_token
|
618
|
-
#
|
623
|
+
# A token from a previous call to `ListReleases` that tells the server where to
|
624
|
+
# resume listing.
|
619
625
|
# @param [String] fields
|
620
626
|
# Selector specifying which fields to include in a partial response.
|
621
627
|
# @param [String] quota_user
|
@@ -680,10 +686,10 @@ module Google
|
|
680
686
|
execute_or_queue_command(command, &block)
|
681
687
|
end
|
682
688
|
|
683
|
-
# Creates a new version for
|
689
|
+
# Creates a new version for the specified site.
|
684
690
|
# @param [String] parent
|
685
|
-
# Required. The
|
686
|
-
#
|
691
|
+
# Required. The site in which to create the version, in the format: sites/
|
692
|
+
# SITE_NAME
|
687
693
|
# @param [Google::Apis::FirebasehostingV1beta1::Version] version_object
|
688
694
|
# @param [Fixnum] size_bytes
|
689
695
|
# The self-reported size of the version. This value is used for a pre-emptive
|
@@ -724,8 +730,8 @@ module Google
|
|
724
730
|
|
725
731
|
# Deletes the specified version.
|
726
732
|
# @param [String] name
|
727
|
-
# Required. The name of the version to be deleted, in the format: sites/
|
728
|
-
#
|
733
|
+
# Required. The name of the version to be deleted, in the format: sites/
|
734
|
+
# SITE_NAME/versions/VERSION_ID
|
729
735
|
# @param [String] fields
|
730
736
|
# Selector specifying which fields to include in a partial response.
|
731
737
|
# @param [String] quota_user
|
@@ -797,15 +803,15 @@ module Google
|
|
797
803
|
execute_or_queue_command(command, &block)
|
798
804
|
end
|
799
805
|
|
800
|
-
# Updates the specified metadata for
|
801
|
-
# with `FAILED_PRECONDITION` in the event of an invalid state transition.
|
802
|
-
# only valid transition for a version is currently from a `CREATED` status
|
803
|
-
# FINALIZED` status. Use [`DeleteVersion`](
|
804
|
-
#
|
806
|
+
# Updates the specified metadata for the specified version. This method will
|
807
|
+
# fail with `FAILED_PRECONDITION` in the event of an invalid state transition.
|
808
|
+
# The only valid transition for a version is currently from a `CREATED` status
|
809
|
+
# to a `FINALIZED` status. Use [`DeleteVersion`](delete) to set the status of a
|
810
|
+
# version to `DELETED`.
|
805
811
|
# @param [String] name
|
806
|
-
# The unique identifier for a version, in the format: sites/
|
807
|
-
#
|
808
|
-
# CreateVersion`](
|
812
|
+
# The unique identifier for a version, in the format: sites/SITE_NAME /versions/
|
813
|
+
# VERSION_ID This name is provided in the response body when you call [`
|
814
|
+
# CreateVersion`](sites.versions/create).
|
809
815
|
# @param [Google::Apis::FirebasehostingV1beta1::Version] version_object
|
810
816
|
# @param [String] update_mask
|
811
817
|
# A set of field names from your [version](../sites.versions) that you want to
|
@@ -842,10 +848,10 @@ module Google
|
|
842
848
|
execute_or_queue_command(command, &block)
|
843
849
|
end
|
844
850
|
|
845
|
-
# Adds content files to
|
851
|
+
# Adds content files to the specified version. Each file must be under 2 GB.
|
846
852
|
# @param [String] parent
|
847
|
-
# Required. The version to add files
|
848
|
-
# versions/
|
853
|
+
# Required. The version to which to add files, in the format: sites/SITE_NAME /
|
854
|
+
# versions/VERSION_ID
|
849
855
|
# @param [Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesRequest] populate_version_files_request_object
|
850
856
|
# @param [String] fields
|
851
857
|
# Selector specifying which fields to include in a partial response.
|
@@ -878,15 +884,17 @@ module Google
|
|
878
884
|
|
879
885
|
# Lists the remaining files to be uploaded for the specified version.
|
880
886
|
# @param [String] parent
|
881
|
-
# Required. The
|
882
|
-
# versions/
|
887
|
+
# Required. The version for which to list files, in the format: sites/ SITE_NAME/
|
888
|
+
# versions/VERSION_ID
|
883
889
|
# @param [Fixnum] page_size
|
884
|
-
# The
|
890
|
+
# The maximum number of version files to return. The service may return a lower
|
891
|
+
# number if fewer version files exist than this maximum number. If unspecified,
|
892
|
+
# defaults to 1000.
|
885
893
|
# @param [String] page_token
|
886
|
-
#
|
887
|
-
#
|
894
|
+
# A token from a previous call to `ListVersionFiles` that tells the server where
|
895
|
+
# to resume listing.
|
888
896
|
# @param [String] status
|
889
|
-
# The type of files
|
897
|
+
# The type of files that should be listed for the specified version.
|
890
898
|
# @param [String] fields
|
891
899
|
# Selector specifying which fields to include in a partial response.
|
892
900
|
# @param [String] quota_user
|
@@ -1160,17 +1168,17 @@ module Google
|
|
1160
1168
|
execute_or_queue_command(command, &block)
|
1161
1169
|
end
|
1162
1170
|
|
1163
|
-
# Creates a new release which makes the content of the specified version
|
1171
|
+
# Creates a new release, which makes the content of the specified version
|
1164
1172
|
# actively display on the appropriate URL(s).
|
1165
1173
|
# @param [String] parent
|
1166
|
-
# Required. The site
|
1167
|
-
#
|
1174
|
+
# Required. The site to which the release belongs, in the format: sites/
|
1175
|
+
# SITE_NAME
|
1168
1176
|
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
1169
1177
|
# @param [String] version_name
|
1170
|
-
# The unique identifier for a version, in the format:
|
1171
|
-
#
|
1172
|
-
# the `parent` parameter. This query parameter must be empty if the `type`
|
1173
|
-
# in the request body is `SITE_DISABLE`.
|
1178
|
+
# The unique identifier for a version, in the format: sites/SITE_NAME /versions/
|
1179
|
+
# VERSION_ID The SITE_NAME in this version identifier must match the SITE_NAME
|
1180
|
+
# in the `parent` parameter. This query parameter must be empty if the `type`
|
1181
|
+
# field in the request body is `SITE_DISABLE`.
|
1174
1182
|
# @param [String] fields
|
1175
1183
|
# Selector specifying which fields to include in a partial response.
|
1176
1184
|
# @param [String] quota_user
|
@@ -1203,11 +1211,14 @@ module Google
|
|
1203
1211
|
|
1204
1212
|
# Lists the releases that have been created on the specified site.
|
1205
1213
|
# @param [String] parent
|
1206
|
-
# Required. The
|
1214
|
+
# Required. The site for which to list releases, in the format: sites/ SITE_NAME
|
1207
1215
|
# @param [Fixnum] page_size
|
1208
|
-
# The
|
1216
|
+
# The maximum number of releases to return. The service may return a lower
|
1217
|
+
# number if fewer releases exist than this maximum number. If unspecified,
|
1218
|
+
# defaults to 100.
|
1209
1219
|
# @param [String] page_token
|
1210
|
-
#
|
1220
|
+
# A token from a previous call to `ListReleases` that tells the server where to
|
1221
|
+
# resume listing.
|
1211
1222
|
# @param [String] fields
|
1212
1223
|
# Selector specifying which fields to include in a partial response.
|
1213
1224
|
# @param [String] quota_user
|
@@ -1403,17 +1414,17 @@ module Google
|
|
1403
1414
|
execute_or_queue_command(command, &block)
|
1404
1415
|
end
|
1405
1416
|
|
1406
|
-
# Creates a new release which makes the content of the specified version
|
1417
|
+
# Creates a new release, which makes the content of the specified version
|
1407
1418
|
# actively display on the appropriate URL(s).
|
1408
1419
|
# @param [String] parent
|
1409
|
-
# Required. The site
|
1410
|
-
#
|
1420
|
+
# Required. The site to which the release belongs, in the format: sites/
|
1421
|
+
# SITE_NAME
|
1411
1422
|
# @param [Google::Apis::FirebasehostingV1beta1::Release] release_object
|
1412
1423
|
# @param [String] version_name
|
1413
|
-
# The unique identifier for a version, in the format:
|
1414
|
-
#
|
1415
|
-
# the `parent` parameter. This query parameter must be empty if the `type`
|
1416
|
-
# in the request body is `SITE_DISABLE`.
|
1424
|
+
# The unique identifier for a version, in the format: sites/SITE_NAME /versions/
|
1425
|
+
# VERSION_ID The SITE_NAME in this version identifier must match the SITE_NAME
|
1426
|
+
# in the `parent` parameter. This query parameter must be empty if the `type`
|
1427
|
+
# field in the request body is `SITE_DISABLE`.
|
1417
1428
|
# @param [String] fields
|
1418
1429
|
# Selector specifying which fields to include in a partial response.
|
1419
1430
|
# @param [String] quota_user
|
@@ -1446,11 +1457,14 @@ module Google
|
|
1446
1457
|
|
1447
1458
|
# Lists the releases that have been created on the specified site.
|
1448
1459
|
# @param [String] parent
|
1449
|
-
# Required. The
|
1460
|
+
# Required. The site for which to list releases, in the format: sites/ SITE_NAME
|
1450
1461
|
# @param [Fixnum] page_size
|
1451
|
-
# The
|
1462
|
+
# The maximum number of releases to return. The service may return a lower
|
1463
|
+
# number if fewer releases exist than this maximum number. If unspecified,
|
1464
|
+
# defaults to 100.
|
1452
1465
|
# @param [String] page_token
|
1453
|
-
#
|
1466
|
+
# A token from a previous call to `ListReleases` that tells the server where to
|
1467
|
+
# resume listing.
|
1454
1468
|
# @param [String] fields
|
1455
1469
|
# Selector specifying which fields to include in a partial response.
|
1456
1470
|
# @param [String] quota_user
|
@@ -1515,10 +1529,10 @@ module Google
|
|
1515
1529
|
execute_or_queue_command(command, &block)
|
1516
1530
|
end
|
1517
1531
|
|
1518
|
-
# Creates a new version for
|
1532
|
+
# Creates a new version for the specified site.
|
1519
1533
|
# @param [String] parent
|
1520
|
-
# Required. The
|
1521
|
-
#
|
1534
|
+
# Required. The site in which to create the version, in the format: sites/
|
1535
|
+
# SITE_NAME
|
1522
1536
|
# @param [Google::Apis::FirebasehostingV1beta1::Version] version_object
|
1523
1537
|
# @param [Fixnum] size_bytes
|
1524
1538
|
# The self-reported size of the version. This value is used for a pre-emptive
|
@@ -1559,8 +1573,8 @@ module Google
|
|
1559
1573
|
|
1560
1574
|
# Deletes the specified version.
|
1561
1575
|
# @param [String] name
|
1562
|
-
# Required. The name of the version to be deleted, in the format: sites/
|
1563
|
-
#
|
1576
|
+
# Required. The name of the version to be deleted, in the format: sites/
|
1577
|
+
# SITE_NAME/versions/VERSION_ID
|
1564
1578
|
# @param [String] fields
|
1565
1579
|
# Selector specifying which fields to include in a partial response.
|
1566
1580
|
# @param [String] quota_user
|
@@ -1632,15 +1646,15 @@ module Google
|
|
1632
1646
|
execute_or_queue_command(command, &block)
|
1633
1647
|
end
|
1634
1648
|
|
1635
|
-
# Updates the specified metadata for
|
1636
|
-
# with `FAILED_PRECONDITION` in the event of an invalid state transition.
|
1637
|
-
# only valid transition for a version is currently from a `CREATED` status
|
1638
|
-
# FINALIZED` status. Use [`DeleteVersion`](
|
1639
|
-
#
|
1649
|
+
# Updates the specified metadata for the specified version. This method will
|
1650
|
+
# fail with `FAILED_PRECONDITION` in the event of an invalid state transition.
|
1651
|
+
# The only valid transition for a version is currently from a `CREATED` status
|
1652
|
+
# to a `FINALIZED` status. Use [`DeleteVersion`](delete) to set the status of a
|
1653
|
+
# version to `DELETED`.
|
1640
1654
|
# @param [String] name
|
1641
|
-
# The unique identifier for a version, in the format: sites/
|
1642
|
-
#
|
1643
|
-
# CreateVersion`](
|
1655
|
+
# The unique identifier for a version, in the format: sites/SITE_NAME /versions/
|
1656
|
+
# VERSION_ID This name is provided in the response body when you call [`
|
1657
|
+
# CreateVersion`](sites.versions/create).
|
1644
1658
|
# @param [Google::Apis::FirebasehostingV1beta1::Version] version_object
|
1645
1659
|
# @param [String] update_mask
|
1646
1660
|
# A set of field names from your [version](../sites.versions) that you want to
|
@@ -1677,10 +1691,10 @@ module Google
|
|
1677
1691
|
execute_or_queue_command(command, &block)
|
1678
1692
|
end
|
1679
1693
|
|
1680
|
-
# Adds content files to
|
1694
|
+
# Adds content files to the specified version. Each file must be under 2 GB.
|
1681
1695
|
# @param [String] parent
|
1682
|
-
# Required. The version to add files
|
1683
|
-
# versions/
|
1696
|
+
# Required. The version to which to add files, in the format: sites/SITE_NAME /
|
1697
|
+
# versions/VERSION_ID
|
1684
1698
|
# @param [Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesRequest] populate_version_files_request_object
|
1685
1699
|
# @param [String] fields
|
1686
1700
|
# Selector specifying which fields to include in a partial response.
|
@@ -1713,15 +1727,17 @@ module Google
|
|
1713
1727
|
|
1714
1728
|
# Lists the remaining files to be uploaded for the specified version.
|
1715
1729
|
# @param [String] parent
|
1716
|
-
# Required. The
|
1717
|
-
# versions/
|
1730
|
+
# Required. The version for which to list files, in the format: sites/ SITE_NAME/
|
1731
|
+
# versions/VERSION_ID
|
1718
1732
|
# @param [Fixnum] page_size
|
1719
|
-
# The
|
1733
|
+
# The maximum number of version files to return. The service may return a lower
|
1734
|
+
# number if fewer version files exist than this maximum number. If unspecified,
|
1735
|
+
# defaults to 1000.
|
1720
1736
|
# @param [String] page_token
|
1721
|
-
#
|
1722
|
-
#
|
1737
|
+
# A token from a previous call to `ListVersionFiles` that tells the server where
|
1738
|
+
# to resume listing.
|
1723
1739
|
# @param [String] status
|
1724
|
-
# The type of files
|
1740
|
+
# The type of files that should be listed for the specified version.
|
1725
1741
|
# @param [String] fields
|
1726
1742
|
# Selector specifying which fields to include in a partial response.
|
1727
1743
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-firebasehosting_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.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-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-firebasehosting_v1beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firebasehosting_v1beta1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firebasehosting_v1beta1/v0.2.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-firebasehosting_v1beta1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
72
|
+
rubygems_version: 3.2.6
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Firebase Hosting API V1beta1
|