Class: Google::Apis::FirebasehostingV1beta1::FirebaseHostingService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::FirebasehostingV1beta1::FirebaseHostingService
- Defined in:
- lib/google/apis/firebasehosting_v1beta1/service.rb
Overview
Firebase Hosting API
The Firebase Hosting REST API enables programmatic and customizable management and deployments to your Firebase-hosted sites. Use this REST API to create and manage channels and sites as well as to deploy new or updated hosting configurations and content files.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#clone_project_site_version(parent, clone_version_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Operation
Creates a new version on the specified target site using the content of the specified version.
-
#clone_site_version(parent, clone_version_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Operation
Creates a new version on the specified target site using the content of the specified version.
-
#create_project_site(parent, site_object = nil, site_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Site
Creates a new Hosting Site in the specified parent Firebase project.
-
#create_project_site_channel(parent, channel_object = nil, channel_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Channel
Creates a new channel in the specified site.
-
#create_project_site_channel_release(parent, release_object = nil, version_name: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Release
Creates a new release, which makes the content of the specified version actively display on the appropriate URL(s).
-
#create_project_site_domain(parent, domain_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Domain
Creates a domain mapping on the specified site.
-
#create_project_site_release(parent, release_object = nil, version_name: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Release
Creates a new release, which makes the content of the specified version actively display on the appropriate URL(s).
-
#create_project_site_version(parent, version_object = nil, size_bytes: nil, version_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Version
Creates a new version for the specified site.
-
#create_site_channel(parent, channel_object = nil, channel_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Channel
Creates a new channel in the specified site.
-
#create_site_channel_release(parent, release_object = nil, version_name: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Release
Creates a new release, which makes the content of the specified version actively display on the appropriate URL(s).
-
#create_site_domain(parent, domain_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Domain
Creates a domain mapping on the specified site.
-
#create_site_release(parent, release_object = nil, version_name: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Release
Creates a new release, which makes the content of the specified version actively display on the appropriate URL(s).
-
#create_site_version(parent, version_object = nil, size_bytes: nil, version_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Version
Creates a new version for the specified site.
-
#delete_project_site(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Empty
Deletes the specified Hosting Site from the specified parent Firebase project.
-
#delete_project_site_channel(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Empty
Deletes the specified channel of the specified site.
-
#delete_project_site_domain(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Empty
Deletes the existing domain mapping on the specified site.
-
#delete_project_site_version(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Empty
Deletes the specified version.
-
#delete_site_channel(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Empty
Deletes the specified channel of the specified site.
-
#delete_site_domain(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Empty
Deletes the existing domain mapping on the specified site.
-
#delete_site_version(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Empty
Deletes the specified version.
-
#get_project_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Operation
Gets the latest state of a long-running operation.
-
#get_project_site(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Site
Gets the specified Hosting Site.
-
#get_project_site_channel(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Channel
Retrieves information for the specified channel of the specified site.
-
#get_project_site_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::SiteConfig
Gets the Hosting metadata for a specific site.
-
#get_project_site_domain(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Domain
Gets a domain mapping on the specified site.
-
#get_site_channel(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Channel
Retrieves information for the specified channel of the specified site.
-
#get_site_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::SiteConfig
Gets the Hosting metadata for a specific site.
-
#get_site_domain(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Domain
Gets a domain mapping on the specified site.
-
#initialize ⇒ FirebaseHostingService
constructor
A new instance of FirebaseHostingService.
-
#list_project_site_channel_releases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListReleasesResponse
Lists the releases that have been created for the specified site or channel.
-
#list_project_site_channels(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListChannelsResponse
Lists the channels for the specified site.
-
#list_project_site_domains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListDomainsResponse
Lists the domains for the specified site.
-
#list_project_site_releases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListReleasesResponse
Lists the releases that have been created for the specified site or channel.
-
#list_project_site_version_files(parent, page_size: nil, page_token: nil, status: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListVersionFilesResponse
Lists the remaining files to be uploaded for the specified version.
-
#list_project_site_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListVersionsResponse
Lists the versions that have been created for the specified site.
-
#list_project_sites(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListSitesResponse
Lists each Hosting Site associated with the specified parent Firebase project.
-
#list_site_channel_releases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListReleasesResponse
Lists the releases that have been created for the specified site or channel.
-
#list_site_channels(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListChannelsResponse
Lists the channels for the specified site.
-
#list_site_domains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListDomainsResponse
Lists the domains for the specified site.
-
#list_site_releases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListReleasesResponse
Lists the releases that have been created for the specified site or channel.
-
#list_site_version_files(parent, page_size: nil, page_token: nil, status: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListVersionFilesResponse
Lists the remaining files to be uploaded for the specified version.
-
#list_site_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListVersionsResponse
Lists the versions that have been created for the specified site.
-
#patch_project_site(name, site_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Site
Updates attributes of the specified Hosting Site.
-
#patch_project_site_channel(name, channel_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Channel
Updates information for the specified channel of the specified site.
-
#patch_project_site_version(name, version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Version
Updates the specified metadata for the specified version.
-
#patch_site_channel(name, channel_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Channel
Updates information for the specified channel of the specified site.
-
#patch_site_version(name, version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Version
Updates the specified metadata for the specified version.
-
#populate_project_site_version_files(parent, populate_version_files_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesResponse
Adds content files to the specified version.
-
#populate_site_version_files(parent, populate_version_files_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesResponse
Adds content files to the specified version.
-
#update_project_site_config(name, site_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::SiteConfig
Sets the Hosting metadata for a specific site.
-
#update_project_site_domain(name, domain_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Domain
Updates the specified domain mapping, creating the mapping as if it does not exist.
-
#update_site_config(name, site_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::SiteConfig
Sets the Hosting metadata for a specific site.
-
#update_site_domain(name, domain_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Domain
Updates the specified domain mapping, creating the mapping as if it does not exist.
Constructor Details
#initialize ⇒ FirebaseHostingService
Returns a new instance of FirebaseHostingService.
48 49 50 51 52 53 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 48 def initialize super('https://firebasehosting.googleapis.com/', '', client_name: 'google-apis-firebasehosting_v1beta1', client_version: Google::Apis::FirebasehostingV1beta1::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
41 42 43 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 41 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
46 47 48 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 46 def quota_user @quota_user end |
Instance Method Details
#clone_project_site_version(parent, clone_version_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Operation
Creates a new version on the specified target site using the content of the specified version.
886 887 888 889 890 891 892 893 894 895 896 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 886 def clone_project_site_version(parent, clone_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/versions:clone', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::CloneVersionRequest::Representation command.request_object = clone_version_request_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Operation::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Operation command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#clone_site_version(parent, clone_version_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Operation
Creates a new version on the specified target site using the content of the specified version.
1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1749 def clone_site_version(parent, clone_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/versions:clone', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::CloneVersionRequest::Representation command.request_object = clone_version_request_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Operation::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Operation command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_site(parent, site_object = nil, site_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Site
Creates a new Hosting Site in the specified parent Firebase project. Note that Hosting sites can take several minutes to propagate through Firebase systems.
114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 114 def create_project_site(parent, site_object = nil, site_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/sites', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::Site::Representation command.request_object = site_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Site::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Site command.params['parent'] = parent unless parent.nil? command.query['siteId'] = site_id unless site_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_site_channel(parent, channel_object = nil, channel_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Channel
Creates a new channel in the specified site.
374 375 376 377 378 379 380 381 382 383 384 385 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 374 def create_project_site_channel(parent, channel_object = nil, channel_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/channels', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::Channel::Representation command.request_object = channel_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Channel::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Channel command.params['parent'] = parent unless parent.nil? command.query['channelId'] = channel_id unless channel_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_site_channel_release(parent, release_object = nil, version_name: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Release
Creates a new release, which makes the content of the specified version actively display on the appropriate URL(s).
557 558 559 560 561 562 563 564 565 566 567 568 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 557 def create_project_site_channel_release(parent, release_object = nil, version_name: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/releases', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::Release::Representation command.request_object = release_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Release::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Release command.params['parent'] = parent unless parent.nil? command.query['versionName'] = version_name unless version_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_site_domain(parent, domain_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Domain
Creates a domain mapping on the specified site.
635 636 637 638 639 640 641 642 643 644 645 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 635 def create_project_site_domain(parent, domain_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/domains', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::Domain::Representation command.request_object = domain_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Domain::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Domain command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_site_release(parent, release_object = nil, version_name: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Release
Creates a new release, which makes the content of the specified version actively display on the appropriate URL(s).
807 808 809 810 811 812 813 814 815 816 817 818 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 807 def create_project_site_release(parent, release_object = nil, version_name: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/releases', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::Release::Representation command.request_object = release_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Release::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Release command.params['parent'] = parent unless parent.nil? command.query['versionName'] = version_name unless version_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_site_version(parent, version_object = nil, size_bytes: nil, version_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Version
Creates a new version for the specified site.
926 927 928 929 930 931 932 933 934 935 936 937 938 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 926 def create_project_site_version(parent, version_object = nil, size_bytes: nil, version_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/versions', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::Version::Representation command.request_object = version_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Version::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Version command.params['parent'] = parent unless parent.nil? command.query['sizeBytes'] = size_bytes unless size_bytes.nil? command.query['versionId'] = version_id unless version_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_site_channel(parent, channel_object = nil, channel_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Channel
Creates a new channel in the specified site.
1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1237 def create_site_channel(parent, channel_object = nil, channel_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/channels', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::Channel::Representation command.request_object = channel_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Channel::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Channel command.params['parent'] = parent unless parent.nil? command.query['channelId'] = channel_id unless channel_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_site_channel_release(parent, release_object = nil, version_name: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Release
Creates a new release, which makes the content of the specified version actively display on the appropriate URL(s).
1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1420 def create_site_channel_release(parent, release_object = nil, version_name: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/releases', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::Release::Representation command.request_object = release_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Release::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Release command.params['parent'] = parent unless parent.nil? command.query['versionName'] = version_name unless version_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_site_domain(parent, domain_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Domain
Creates a domain mapping on the specified site.
1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1498 def create_site_domain(parent, domain_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/domains', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::Domain::Representation command.request_object = domain_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Domain::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Domain command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_site_release(parent, release_object = nil, version_name: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Release
Creates a new release, which makes the content of the specified version actively display on the appropriate URL(s).
1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1670 def create_site_release(parent, release_object = nil, version_name: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/releases', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::Release::Representation command.request_object = release_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Release::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Release command.params['parent'] = parent unless parent.nil? command.query['versionName'] = version_name unless version_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_site_version(parent, version_object = nil, size_bytes: nil, version_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Version
Creates a new version for the specified site.
1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1789 def create_site_version(parent, version_object = nil, size_bytes: nil, version_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/versions', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::Version::Representation command.request_object = version_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Version::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Version command.params['parent'] = parent unless parent.nil? command.query['sizeBytes'] = size_bytes unless size_bytes.nil? command.query['versionId'] = version_id unless version_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_site(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Empty
Deletes the specified Hosting Site from the specified parent Firebase project.
150 151 152 153 154 155 156 157 158 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 150 def delete_project_site(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::Empty::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_site_channel(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Empty
Deletes the specified channel of the specified site. The live
channel cannot
be deleted.
409 410 411 412 413 414 415 416 417 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 409 def delete_project_site_channel(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::Empty::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_site_domain(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Empty
Deletes the existing domain mapping on the specified site.
667 668 669 670 671 672 673 674 675 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 667 def delete_project_site_domain(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::Empty::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_site_version(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Empty
Deletes the specified version.
961 962 963 964 965 966 967 968 969 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 961 def delete_project_site_version(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::Empty::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_site_channel(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Empty
Deletes the specified channel of the specified site. The live
channel cannot
be deleted.
1272 1273 1274 1275 1276 1277 1278 1279 1280 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1272 def delete_site_channel(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::Empty::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_site_domain(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Empty
Deletes the existing domain mapping on the specified site.
1530 1531 1532 1533 1534 1535 1536 1537 1538 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1530 def delete_site_domain(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::Empty::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_site_version(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Empty
Deletes the specified version.
1824 1825 1826 1827 1828 1829 1830 1831 1832 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1824 def delete_site_version(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::Empty::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Operation
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
76 77 78 79 80 81 82 83 84 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 76 def get_project_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::Operation::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_site(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Site
Gets the specified Hosting Site.
185 186 187 188 189 190 191 192 193 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 185 def get_project_site(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::Site::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Site command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_site_channel(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Channel
Retrieves information for the specified channel of the specified site.
440 441 442 443 444 445 446 447 448 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 440 def get_project_site_channel(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::Channel::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Channel command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_site_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::SiteConfig
Gets the Hosting metadata for a specific site.
216 217 218 219 220 221 222 223 224 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 216 def get_project_site_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::SiteConfig::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::SiteConfig command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_site_domain(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Domain
Gets a domain mapping on the specified site.
697 698 699 700 701 702 703 704 705 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 697 def get_project_site_domain(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::Domain::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Domain command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_site_channel(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Channel
Retrieves information for the specified channel of the specified site.
1303 1304 1305 1306 1307 1308 1309 1310 1311 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1303 def get_site_channel(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::Channel::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Channel command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_site_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::SiteConfig
Gets the Hosting metadata for a specific site.
1163 1164 1165 1166 1167 1168 1169 1170 1171 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1163 def get_site_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::SiteConfig::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::SiteConfig command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_site_domain(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Domain
Gets a domain mapping on the specified site.
1560 1561 1562 1563 1564 1565 1566 1567 1568 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1560 def get_site_domain(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::Domain::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Domain command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_site_channel_releases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListReleasesResponse
Lists the releases that have been created for the specified site or channel.
When used to list releases for a site, this list includes releases for both
the default live
channel and any active preview channels for the specified
site.
601 602 603 604 605 606 607 608 609 610 611 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 601 def list_project_site_channel_releases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/releases', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::ListReleasesResponse::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::ListReleasesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_site_channels(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListChannelsResponse
Lists the channels for the specified site. All sites have a default live
channel.
479 480 481 482 483 484 485 486 487 488 489 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 479 def list_project_site_channels(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/channels', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::ListChannelsResponse::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::ListChannelsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_site_domains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListDomainsResponse
Lists the domains for the specified site.
732 733 734 735 736 737 738 739 740 741 742 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 732 def list_project_site_domains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/domains', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::ListDomainsResponse::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::ListDomainsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_site_releases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListReleasesResponse
Lists the releases that have been created for the specified site or channel.
When used to list releases for a site, this list includes releases for both
the default live
channel and any active preview channels for the specified
site.
851 852 853 854 855 856 857 858 859 860 861 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 851 def list_project_site_releases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/releases', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::ListReleasesResponse::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::ListReleasesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_site_version_files(parent, page_size: nil, page_token: nil, status: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListVersionFilesResponse
Lists the remaining files to be uploaded for the specified version.
1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1129 def list_project_site_version_files(parent, page_size: nil, page_token: nil, status: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/files', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::ListVersionFilesResponse::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::ListVersionFilesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['status'] = status unless status.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_site_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListVersionsResponse
Lists the versions that have been created for the specified site. This list
includes versions for both the default live
channel and any active preview
channels for the specified site.
1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1007 def list_project_site_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/versions', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::ListVersionsResponse::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::ListVersionsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_sites(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListSitesResponse
Lists each Hosting Site associated with the specified parent Firebase project.
255 256 257 258 259 260 261 262 263 264 265 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 255 def list_project_sites(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/sites', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::ListSitesResponse::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::ListSitesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_site_channel_releases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListReleasesResponse
Lists the releases that have been created for the specified site or channel.
When used to list releases for a site, this list includes releases for both
the default live
channel and any active preview channels for the specified
site.
1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1464 def list_site_channel_releases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/releases', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::ListReleasesResponse::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::ListReleasesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_site_channels(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListChannelsResponse
Lists the channels for the specified site. All sites have a default live
channel.
1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1342 def list_site_channels(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/channels', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::ListChannelsResponse::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::ListChannelsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_site_domains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListDomainsResponse
Lists the domains for the specified site.
1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1595 def list_site_domains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/domains', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::ListDomainsResponse::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::ListDomainsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_site_releases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListReleasesResponse
Lists the releases that have been created for the specified site or channel.
When used to list releases for a site, this list includes releases for both
the default live
channel and any active preview channels for the specified
site.
1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1714 def list_site_releases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/releases', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::ListReleasesResponse::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::ListReleasesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_site_version_files(parent, page_size: nil, page_token: nil, status: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListVersionFilesResponse
Lists the remaining files to be uploaded for the specified version.
1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1992 def list_site_version_files(parent, page_size: nil, page_token: nil, status: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/files', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::ListVersionFilesResponse::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::ListVersionFilesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['status'] = status unless status.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_site_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::ListVersionsResponse
Lists the versions that have been created for the specified site. This list
includes versions for both the default live
channel and any active preview
channels for the specified site.
1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1870 def list_site_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/versions', ) command.response_representation = Google::Apis::FirebasehostingV1beta1::ListVersionsResponse::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::ListVersionsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_site(name, site_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Site
Updates attributes of the specified Hosting Site.
297 298 299 300 301 302 303 304 305 306 307 308 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 297 def patch_project_site(name, site_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::Site::Representation command.request_object = site_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Site::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Site command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_site_channel(name, channel_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Channel
Updates information for the specified channel of the specified site. Implicitly creates the channel if it doesn't already exist.
516 517 518 519 520 521 522 523 524 525 526 527 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 516 def patch_project_site_channel(name, channel_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::Channel::Representation command.request_object = channel_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Channel::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Channel command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_site_version(name, version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Version
Updates the specified metadata for the specified version. This method will
fail with FAILED_PRECONDITION
in the event of an invalid state transition.
The supported state transitions for a
version are from CREATED
to FINALIZED
. Use DeleteVersion
to
set the status of a version to DELETED
.
1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1052 def patch_project_site_version(name, version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::Version::Representation command.request_object = version_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Version::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Version command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_site_channel(name, channel_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Channel
Updates information for the specified channel of the specified site. Implicitly creates the channel if it doesn't already exist.
1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1379 def patch_site_channel(name, channel_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::Channel::Representation command.request_object = channel_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Channel::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Channel command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_site_version(name, version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Version
Updates the specified metadata for the specified version. This method will
fail with FAILED_PRECONDITION
in the event of an invalid state transition.
The supported state transitions for a
version are from CREATED
to FINALIZED
. Use DeleteVersion
to
set the status of a version to DELETED
.
1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1915 def patch_site_version(name, version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::Version::Representation command.request_object = version_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Version::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Version command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#populate_project_site_version_files(parent, populate_version_files_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesResponse
Adds content files to the specified version. Each file must be under 2 GB.
1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1087 def populate_project_site_version_files(parent, populate_version_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}:populateFiles', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesRequest::Representation command.request_object = populate_version_files_request_object command.response_representation = Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesResponse::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesResponse command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#populate_site_version_files(parent, populate_version_files_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesResponse
Adds content files to the specified version. Each file must be under 2 GB.
1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1950 def populate_site_version_files(parent, populate_version_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}:populateFiles', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesRequest::Representation command.request_object = populate_version_files_request_object command.response_representation = Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesResponse::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesResponse command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_project_site_config(name, site_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::SiteConfig
Sets the Hosting metadata for a specific site.
337 338 339 340 341 342 343 344 345 346 347 348 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 337 def update_project_site_config(name, site_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::SiteConfig::Representation command.request_object = site_config_object command.response_representation = Google::Apis::FirebasehostingV1beta1::SiteConfig::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::SiteConfig command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_project_site_domain(name, domain_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Domain
Updates the specified domain mapping, creating the mapping as if it does not exist.
767 768 769 770 771 772 773 774 775 776 777 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 767 def update_project_site_domain(name, domain_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::Domain::Representation command.request_object = domain_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Domain::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Domain command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_site_config(name, site_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::SiteConfig
Sets the Hosting metadata for a specific site.
1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1200 def update_site_config(name, site_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::SiteConfig::Representation command.request_object = site_config_object command.response_representation = Google::Apis::FirebasehostingV1beta1::SiteConfig::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::SiteConfig command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_site_domain(name, domain_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebasehostingV1beta1::Domain
Updates the specified domain mapping, creating the mapping as if it does not exist.
1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 |
# File 'lib/google/apis/firebasehosting_v1beta1/service.rb', line 1630 def update_site_domain(name, domain_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::FirebasehostingV1beta1::Domain::Representation command.request_object = domain_object command.response_representation = Google::Apis::FirebasehostingV1beta1::Domain::Representation command.response_class = Google::Apis::FirebasehostingV1beta1::Domain command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |