google-apis-firebasehosting_v1beta1 0.19.0 → 0.21.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: 2601fcebea47db73fe765fcf49ad4441f7f4c15f313c246f85b64e87ae7205d0
4
- data.tar.gz: f2b136f5eac3ad41dda01ee8bab4ad7a780397feb3fee8c18932c8ec53dd04be
3
+ metadata.gz: cd703eb5ba6cfb882381df3531c7db7fffd0f0b02ee02eeba33240ab50711470
4
+ data.tar.gz: 7c8d70a517366f43906d018e950ac4507c64d3adadbe86517bd5afcd9bab7227
5
5
  SHA512:
6
- metadata.gz: b8fb9d7d89afaa533f5001aacbba5178e49eed702f4a4a18a4b7d71ff2d3f7e2bc030281e59265b78d205ab17f97bb389a65b2e2e08a1080a9c18a614d38deb4
7
- data.tar.gz: bdbb302adacf18afb37dc215e2f8f168693fae97b15d9397b41dd026e53651df01408c78d402df7d821142d78a482005d37698a4ff7cddd0c0a6f8a33033518f
6
+ metadata.gz: b0655a650bb89fd3ea100e0b6db363b159695a477acc0c4ea71d4e7932b213b6dbe11f618144d3454ae8d3e87848ea1e357f58046c3d1934e4245578ca6efbd0
7
+ data.tar.gz: 22ec09ea7504e578b4aaaff785b50cc7eab3cedef8413cc654d98121b3c0ab8b70cf7a38a8d15628fe93eae56971ae4a85d673f54748c0805fead16d3ab58057
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-firebasehosting_v1beta1
2
2
 
3
+ ### v0.21.0 (2023-02-12)
4
+
5
+ * Regenerated from discovery document revision 20230205
6
+
7
+ ### v0.20.0 (2023-01-15)
8
+
9
+ * Regenerated from discovery document revision 20230107
10
+ * Regenerated using generator version 0.11.1
11
+
3
12
  ### v0.19.0 (2022-10-27)
4
13
 
5
14
  * Regenerated using generator version 0.11.0
@@ -995,9 +995,9 @@ module Google
995
995
  class Site
996
996
  include Google::Apis::Core::Hashable
997
997
 
998
- # Optional. The [ID of a Web App](https://firebase.google.com/docs/projects/api/
999
- # reference/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with
1000
- # the Hosting site.
998
+ # Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/
999
+ # firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id)
1000
+ # associated with the Hosting site.
1001
1001
  # Corresponds to the JSON property `appId`
1002
1002
  # @return [String]
1003
1003
  attr_accessor :app_id
@@ -1014,12 +1014,12 @@ module Google
1014
1014
 
1015
1015
  # Output only. The fully-qualified resource name of the Hosting site, in the
1016
1016
  # format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the
1017
- # Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/projects/
1018
- # api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) ***(
1019
- # recommended)*** or its [`ProjectId`](https://firebase.google.com/docs/projects/
1020
- # api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_id). Learn
1021
- # more about using project identifiers in Google's [AIP 2510 standard](https://
1022
- # google.aip.dev/cloud/2510).
1017
+ # Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/
1018
+ # reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.
1019
+ # project_number) ***(recommended)*** or its [`ProjectId`](https://firebase.
1020
+ # google.com/docs/reference/firebase-management/rest/v1beta1/projects#
1021
+ # FirebaseProject.FIELDS.project_id). Learn more about using project identifiers
1022
+ # in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).
1023
1023
  # Corresponds to the JSON property `name`
1024
1024
  # @return [String]
1025
1025
  attr_accessor :name
@@ -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.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220601"
25
+ REVISION = "20230205"
26
26
  end
27
27
  end
28
28
  end
@@ -268,12 +268,12 @@ module Google
268
268
  # @param [String] name
269
269
  # Output only. The fully-qualified resource name of the Hosting site, in the
270
270
  # format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the
271
- # Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/projects/
272
- # api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) ***(
273
- # recommended)*** or its [`ProjectId`](https://firebase.google.com/docs/projects/
274
- # api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_id). Learn
275
- # more about using project identifiers in Google's [AIP 2510 standard](https://
276
- # google.aip.dev/cloud/2510).
271
+ # Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/
272
+ # reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.
273
+ # project_number) ***(recommended)*** or its [`ProjectId`](https://firebase.
274
+ # google.com/docs/reference/firebase-management/rest/v1beta1/projects#
275
+ # FirebaseProject.FIELDS.project_id). Learn more about using project identifiers
276
+ # in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).
277
277
  # @param [Google::Apis::FirebasehostingV1beta1::Site] site_object
278
278
  # @param [String] update_mask
279
279
  # A set of field names from your Site that you want to update.
@@ -567,6 +567,40 @@ module Google
567
567
  execute_or_queue_command(command, &block)
568
568
  end
569
569
 
570
+ # Gets the specified release for a site or channel. When used to get a release
571
+ # for a site, this can get releases for both the default `live` channel and any
572
+ # active preview channels for the specified site.
573
+ # @param [String] name
574
+ # Required. The fully-qualified resource name for the Hosting release, in either
575
+ # of the following formats: - sites/SITE_ID/channels/CHANNEL_ID/releases/
576
+ # RELEASE_ID - sites/SITE_ID/releases/RELEASE_ID
577
+ # @param [String] fields
578
+ # Selector specifying which fields to include in a partial response.
579
+ # @param [String] quota_user
580
+ # Available to use for quota purposes for server-side applications. Can be any
581
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
582
+ # @param [Google::Apis::RequestOptions] options
583
+ # Request-specific options
584
+ #
585
+ # @yield [result, err] Result & error if block supplied
586
+ # @yieldparam result [Google::Apis::FirebasehostingV1beta1::Release] parsed result object
587
+ # @yieldparam err [StandardError] error object if request failed
588
+ #
589
+ # @return [Google::Apis::FirebasehostingV1beta1::Release]
590
+ #
591
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
592
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
593
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
594
+ def get_project_site_channel_release(name, fields: nil, quota_user: nil, options: nil, &block)
595
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
596
+ command.response_representation = Google::Apis::FirebasehostingV1beta1::Release::Representation
597
+ command.response_class = Google::Apis::FirebasehostingV1beta1::Release
598
+ command.params['name'] = name unless name.nil?
599
+ command.query['fields'] = fields unless fields.nil?
600
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
601
+ execute_or_queue_command(command, &block)
602
+ end
603
+
570
604
  # Lists the releases that have been created for the specified site or channel.
571
605
  # When used to list releases for a site, this list includes releases for both
572
606
  # the default `live` channel and any active preview channels for the specified
@@ -817,6 +851,40 @@ module Google
817
851
  execute_or_queue_command(command, &block)
818
852
  end
819
853
 
854
+ # Gets the specified release for a site or channel. When used to get a release
855
+ # for a site, this can get releases for both the default `live` channel and any
856
+ # active preview channels for the specified site.
857
+ # @param [String] name
858
+ # Required. The fully-qualified resource name for the Hosting release, in either
859
+ # of the following formats: - sites/SITE_ID/channels/CHANNEL_ID/releases/
860
+ # RELEASE_ID - sites/SITE_ID/releases/RELEASE_ID
861
+ # @param [String] fields
862
+ # Selector specifying which fields to include in a partial response.
863
+ # @param [String] quota_user
864
+ # Available to use for quota purposes for server-side applications. Can be any
865
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
866
+ # @param [Google::Apis::RequestOptions] options
867
+ # Request-specific options
868
+ #
869
+ # @yield [result, err] Result & error if block supplied
870
+ # @yieldparam result [Google::Apis::FirebasehostingV1beta1::Release] parsed result object
871
+ # @yieldparam err [StandardError] error object if request failed
872
+ #
873
+ # @return [Google::Apis::FirebasehostingV1beta1::Release]
874
+ #
875
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
876
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
877
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
878
+ def get_project_site_release(name, fields: nil, quota_user: nil, options: nil, &block)
879
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
880
+ command.response_representation = Google::Apis::FirebasehostingV1beta1::Release::Representation
881
+ command.response_class = Google::Apis::FirebasehostingV1beta1::Release
882
+ command.params['name'] = name unless name.nil?
883
+ command.query['fields'] = fields unless fields.nil?
884
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
885
+ execute_or_queue_command(command, &block)
886
+ end
887
+
820
888
  # Lists the releases that have been created for the specified site or channel.
821
889
  # When used to list releases for a site, this list includes releases for both
822
890
  # the default `live` channel and any active preview channels for the specified
@@ -968,6 +1036,39 @@ module Google
968
1036
  execute_or_queue_command(command, &block)
969
1037
  end
970
1038
 
1039
+ # Get the specified version that has been created for the specified site. This
1040
+ # can include versions that were created for the default `live` channel or for
1041
+ # any active preview channels for the specified site.
1042
+ # @param [String] name
1043
+ # Required. The fully-qualified resource name for the version, in the format:
1044
+ # sites/SITE_ID/versions/VERSION_ID
1045
+ # @param [String] fields
1046
+ # Selector specifying which fields to include in a partial response.
1047
+ # @param [String] quota_user
1048
+ # Available to use for quota purposes for server-side applications. Can be any
1049
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1050
+ # @param [Google::Apis::RequestOptions] options
1051
+ # Request-specific options
1052
+ #
1053
+ # @yield [result, err] Result & error if block supplied
1054
+ # @yieldparam result [Google::Apis::FirebasehostingV1beta1::Version] parsed result object
1055
+ # @yieldparam err [StandardError] error object if request failed
1056
+ #
1057
+ # @return [Google::Apis::FirebasehostingV1beta1::Version]
1058
+ #
1059
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1060
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1061
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1062
+ def get_project_site_version(name, fields: nil, quota_user: nil, options: nil, &block)
1063
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
1064
+ command.response_representation = Google::Apis::FirebasehostingV1beta1::Version::Representation
1065
+ command.response_class = Google::Apis::FirebasehostingV1beta1::Version
1066
+ command.params['name'] = name unless name.nil?
1067
+ command.query['fields'] = fields unless fields.nil?
1068
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1069
+ execute_or_queue_command(command, &block)
1070
+ end
1071
+
971
1072
  # Lists the versions that have been created for the specified site. This list
972
1073
  # includes versions for both the default `live` channel and any active preview
973
1074
  # channels for the specified site.
@@ -1430,6 +1531,40 @@ module Google
1430
1531
  execute_or_queue_command(command, &block)
1431
1532
  end
1432
1533
 
1534
+ # Gets the specified release for a site or channel. When used to get a release
1535
+ # for a site, this can get releases for both the default `live` channel and any
1536
+ # active preview channels for the specified site.
1537
+ # @param [String] name
1538
+ # Required. The fully-qualified resource name for the Hosting release, in either
1539
+ # of the following formats: - sites/SITE_ID/channels/CHANNEL_ID/releases/
1540
+ # RELEASE_ID - sites/SITE_ID/releases/RELEASE_ID
1541
+ # @param [String] fields
1542
+ # Selector specifying which fields to include in a partial response.
1543
+ # @param [String] quota_user
1544
+ # Available to use for quota purposes for server-side applications. Can be any
1545
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1546
+ # @param [Google::Apis::RequestOptions] options
1547
+ # Request-specific options
1548
+ #
1549
+ # @yield [result, err] Result & error if block supplied
1550
+ # @yieldparam result [Google::Apis::FirebasehostingV1beta1::Release] parsed result object
1551
+ # @yieldparam err [StandardError] error object if request failed
1552
+ #
1553
+ # @return [Google::Apis::FirebasehostingV1beta1::Release]
1554
+ #
1555
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1556
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1557
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1558
+ def get_site_channel_release(name, fields: nil, quota_user: nil, options: nil, &block)
1559
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
1560
+ command.response_representation = Google::Apis::FirebasehostingV1beta1::Release::Representation
1561
+ command.response_class = Google::Apis::FirebasehostingV1beta1::Release
1562
+ command.params['name'] = name unless name.nil?
1563
+ command.query['fields'] = fields unless fields.nil?
1564
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1565
+ execute_or_queue_command(command, &block)
1566
+ end
1567
+
1433
1568
  # Lists the releases that have been created for the specified site or channel.
1434
1569
  # When used to list releases for a site, this list includes releases for both
1435
1570
  # the default `live` channel and any active preview channels for the specified
@@ -1680,6 +1815,40 @@ module Google
1680
1815
  execute_or_queue_command(command, &block)
1681
1816
  end
1682
1817
 
1818
+ # Gets the specified release for a site or channel. When used to get a release
1819
+ # for a site, this can get releases for both the default `live` channel and any
1820
+ # active preview channels for the specified site.
1821
+ # @param [String] name
1822
+ # Required. The fully-qualified resource name for the Hosting release, in either
1823
+ # of the following formats: - sites/SITE_ID/channels/CHANNEL_ID/releases/
1824
+ # RELEASE_ID - sites/SITE_ID/releases/RELEASE_ID
1825
+ # @param [String] fields
1826
+ # Selector specifying which fields to include in a partial response.
1827
+ # @param [String] quota_user
1828
+ # Available to use for quota purposes for server-side applications. Can be any
1829
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1830
+ # @param [Google::Apis::RequestOptions] options
1831
+ # Request-specific options
1832
+ #
1833
+ # @yield [result, err] Result & error if block supplied
1834
+ # @yieldparam result [Google::Apis::FirebasehostingV1beta1::Release] parsed result object
1835
+ # @yieldparam err [StandardError] error object if request failed
1836
+ #
1837
+ # @return [Google::Apis::FirebasehostingV1beta1::Release]
1838
+ #
1839
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1840
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1841
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1842
+ def get_site_release(name, fields: nil, quota_user: nil, options: nil, &block)
1843
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
1844
+ command.response_representation = Google::Apis::FirebasehostingV1beta1::Release::Representation
1845
+ command.response_class = Google::Apis::FirebasehostingV1beta1::Release
1846
+ command.params['name'] = name unless name.nil?
1847
+ command.query['fields'] = fields unless fields.nil?
1848
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1849
+ execute_or_queue_command(command, &block)
1850
+ end
1851
+
1683
1852
  # Lists the releases that have been created for the specified site or channel.
1684
1853
  # When used to list releases for a site, this list includes releases for both
1685
1854
  # the default `live` channel and any active preview channels for the specified
@@ -1831,6 +2000,39 @@ module Google
1831
2000
  execute_or_queue_command(command, &block)
1832
2001
  end
1833
2002
 
2003
+ # Get the specified version that has been created for the specified site. This
2004
+ # can include versions that were created for the default `live` channel or for
2005
+ # any active preview channels for the specified site.
2006
+ # @param [String] name
2007
+ # Required. The fully-qualified resource name for the version, in the format:
2008
+ # sites/SITE_ID/versions/VERSION_ID
2009
+ # @param [String] fields
2010
+ # Selector specifying which fields to include in a partial response.
2011
+ # @param [String] quota_user
2012
+ # Available to use for quota purposes for server-side applications. Can be any
2013
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2014
+ # @param [Google::Apis::RequestOptions] options
2015
+ # Request-specific options
2016
+ #
2017
+ # @yield [result, err] Result & error if block supplied
2018
+ # @yieldparam result [Google::Apis::FirebasehostingV1beta1::Version] parsed result object
2019
+ # @yieldparam err [StandardError] error object if request failed
2020
+ #
2021
+ # @return [Google::Apis::FirebasehostingV1beta1::Version]
2022
+ #
2023
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2024
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2025
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2026
+ def get_site_version(name, fields: nil, quota_user: nil, options: nil, &block)
2027
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
2028
+ command.response_representation = Google::Apis::FirebasehostingV1beta1::Version::Representation
2029
+ command.response_class = Google::Apis::FirebasehostingV1beta1::Version
2030
+ command.params['name'] = name unless name.nil?
2031
+ command.query['fields'] = fields unless fields.nil?
2032
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2033
+ execute_or_queue_command(command, &block)
2034
+ end
2035
+
1834
2036
  # Lists the versions that have been created for the specified site. This list
1835
2037
  # includes versions for both the default `live` channel and any active preview
1836
2038
  # channels for the specified site.
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.19.0
4
+ version: 0.21.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: 2022-10-31 00:00:00.000000000 Z
11
+ date: 2023-02-12 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-firebasehosting_v1beta1/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebasehosting_v1beta1/v0.21.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebasehosting_v1beta1
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.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Firebase Hosting API V1beta1