Autogenerated update (2020-05-07)
Delete: - commentanalyzer_v1alpha1 - osconfig_v1beta Update: - adexchangebuyer2_v2beta1 - androidenterprise_v1 - androidpublisher_v1 - androidpublisher_v1_1 - androidpublisher_v2 - androidpublisher_v3 - bigquery_v2 - bigqueryconnection_v1beta1 - bigqueryreservation_v1 - bigqueryreservation_v1beta1 - binaryauthorization_v1 - binaryauthorization_v1beta1 - calendar_v3 - cloudasset_v1p1beta1 - cloudbilling_v1 - cloudbuild_v1 - clouddebugger_v2 - cloudidentity_v1beta1 - cloudiot_v1 - cloudresourcemanager_v1 - cloudresourcemanager_v1beta1 - cloudresourcemanager_v2 - cloudresourcemanager_v2beta1 - cloudscheduler_v1 - cloudscheduler_v1beta1 - cloudsearch_v1 - cloudshell_v1alpha1 - cloudtasks_v2 - cloudtasks_v2beta2 - cloudtasks_v2beta3 - cloudtrace_v2 - composer_v1beta1 - compute_alpha - compute_beta - compute_v1 - container_v1 - container_v1beta1 - containeranalysis_v1alpha1 - containeranalysis_v1beta1 - content_v2 - content_v2_1 - customsearch_v1 - datacatalog_v1beta1 - dataproc_v1 - dataproc_v1beta2 - dialogflow_v2 - dialogflow_v2beta1 - displayvideo_v1 - dlp_v2 - drive_v2 - drive_v3 - driveactivity_v2 - file_v1 - file_v1beta1 - firebase_v1beta1 - firebasehosting_v1beta1 - games_configuration_v1configuration - games_management_v1management - games_v1 - gameservices_v1beta - healthcare_v1 - healthcare_v1beta1 - homegraph_v1 - iamcredentials_v1 - managedidentities_v1 - managedidentities_v1alpha1 - managedidentities_v1beta1 - memcache_v1beta2 - ml_v1 - monitoring_v3 - people_v1 - policytroubleshooter_v1 - policytroubleshooter_v1beta - prod_tt_sasportal_v1alpha1 - remotebuildexecution_v1 - remotebuildexecution_v1alpha - remotebuildexecution_v2 - run_v1 - run_v1alpha1 - runtimeconfig_v1beta1 - sasportal_v1alpha1 - script_v1 - secretmanager_v1 - secretmanager_v1beta1 - serviceconsumermanagement_v1 - serviceconsumermanagement_v1beta1 - servicecontrol_v1 - servicedirectory_v1beta1 - servicemanagement_v1 - servicenetworking_v1 - servicenetworking_v1beta - serviceusage_v1 - serviceusage_v1beta1 - sheets_v4 - sourcerepo_v1 - speech_v1 - speech_v1p1beta1 - storage_v1 - tagmanager_v1 - tagmanager_v2 - testing_v1 - toolresults_v1beta3 - vault_v1 - videointelligence_v1 - videointelligence_v1beta2 - videointelligence_v1p1beta1 - videointelligence_v1p2beta1 - videointelligence_v1p3beta1 - youtube_partner_v1 - youtube_v3
This commit is contained in:
1 parent
334a41b6f9
commit
2aab01171a
308 files changed
+40747
-16123
No files matched your search
@@ -102,45 +102,6 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# The request sent to CloneVersion.
|
||||
class CloneVersionRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A representation of filter path.
|
||||
# Corresponds to the JSON property `exclude`
|
||||
# @return [Google::Apis::FirebasehostingV1beta1::PathFilter]
|
||||
attr_accessor :exclude
|
||||
|
||||
# If true, immediately finalize the version after cloning is complete.
|
||||
# Corresponds to the JSON property `finalize`
|
||||
# @return [Boolean]
|
||||
attr_accessor :finalize
|
||||
alias_method :finalize?, :finalize
|
||||
|
||||
# A representation of filter path.
|
||||
# Corresponds to the JSON property `include`
|
||||
# @return [Google::Apis::FirebasehostingV1beta1::PathFilter]
|
||||
attr_accessor :include
|
||||
|
||||
# Required. The name of the version to be cloned, in the format:
|
||||
# `sites/`site`/versions/`version``
|
||||
# Corresponds to the JSON property `sourceVersion`
|
||||
# @return [String]
|
||||
attr_accessor :source_version
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@exclude = args[:exclude] if args.key?(:exclude)
|
||||
@finalize = args[:finalize] if args.key?(:finalize)
|
||||
@include = args[:include] if args.key?(:include)
|
||||
@source_version = args[:source_version] if args.key?(:source_version)
|
||||
end
|
||||
end
|
||||
|
||||
# A configured rewrite that directs requests to a Cloud Run service. If the
|
||||
# Cloud Run service does not exist when setting or updating your Firebase
|
||||
# Hosting configuration, then the request fails. Any errors from the Cloud Run
|
||||
@@ -533,25 +494,6 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# A representation of filter path.
|
||||
class PathFilter
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An array of regexes to filter by.
|
||||
# Corresponds to the JSON property `regexes`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :regexes
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@regexes = args[:regexes] if args.key?(:regexes)
|
||||
end
|
||||
end
|
||||
|
||||
# The request to populate a Version's Files.
|
||||
class PopulateVersionFilesRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -864,6 +806,13 @@ module Google
|
||||
class SiteConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Whether or not web requests made by site visitors are logged via Cloud
|
||||
# Logging.
|
||||
# Corresponds to the JSON property `cloudLoggingEnabled`
|
||||
# @return [Boolean]
|
||||
attr_accessor :cloud_logging_enabled
|
||||
alias_method :cloud_logging_enabled?, :cloud_logging_enabled
|
||||
|
||||
# The number of FINALIZED versions that will be held for a site before
|
||||
# automatic deletion. When a new version is deployed, content for versions
|
||||
# in storage in excess of this number will be deleted, and will no longer be
|
||||
@@ -879,6 +828,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@cloud_logging_enabled = args[:cloud_logging_enabled] if args.key?(:cloud_logging_enabled)
|
||||
@max_versions = args[:max_versions] if args.key?(:max_versions)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -40,12 +40,6 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CloneVersionRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CloudRunRewrite
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -112,12 +106,6 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PathFilter
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PopulateVersionFilesRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -208,18 +196,6 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class CloneVersionRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :exclude, as: 'exclude', class: Google::Apis::FirebasehostingV1beta1::PathFilter, decorator: Google::Apis::FirebasehostingV1beta1::PathFilter::Representation
|
||||
|
||||
property :finalize, as: 'finalize'
|
||||
property :include, as: 'include', class: Google::Apis::FirebasehostingV1beta1::PathFilter, decorator: Google::Apis::FirebasehostingV1beta1::PathFilter::Representation
|
||||
|
||||
property :source_version, as: 'sourceVersion'
|
||||
end
|
||||
end
|
||||
|
||||
class CloudRunRewrite
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -329,13 +305,6 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class PathFilter
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :regexes, as: 'regexes'
|
||||
end
|
||||
end
|
||||
|
||||
class PopulateVersionFilesRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -414,6 +383,7 @@ module Google
|
||||
class SiteConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :cloud_logging_enabled, as: 'cloudLoggingEnabled'
|
||||
property :max_versions, :numeric_string => true, as: 'maxVersions'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -481,41 +481,6 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a new version on the target site using the content
|
||||
# of the specified version.
|
||||
# @param [String] parent
|
||||
# Required. The target site where the cloned version will reside,
|
||||
# in the format: `sites/`site``
|
||||
# @param [Google::Apis::FirebasehostingV1beta1::CloneVersionRequest] clone_version_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# 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.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::FirebasehostingV1beta1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
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', options)
|
||||
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
|
||||
|
||||
# Creates a new version for a site.
|
||||
# @param [String] parent
|
||||
# Required. The parent to create the version for, in the format:
|
||||
@@ -1159,41 +1124,6 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a new version on the target site using the content
|
||||
# of the specified version.
|
||||
# @param [String] parent
|
||||
# Required. The target site where the cloned version will reside,
|
||||
# in the format: `sites/`site``
|
||||
# @param [Google::Apis::FirebasehostingV1beta1::CloneVersionRequest] clone_version_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# 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.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::FirebasehostingV1beta1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::FirebasehostingV1beta1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
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', options)
|
||||
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
|
||||
|
||||
# Creates a new version for a site.
|
||||
# @param [String] parent
|
||||
# Required. The parent to create the version for, in the format:
|
||||
|
||||
Reference in new issue
Block a user