Autogenerated update (2019-01-31)
Update: - cloudasset_v1beta1 - cloudresourcemanager_v1 - cloudresourcemanager_v1beta1 - dlp_v2 - iam_v1 - storagetransfer_v1 - youtube_v3
This commit is contained in:
1 parent
9b43faa06e
commit
b2eff01c7f
22 files changed
+4929
-30
No files matched your search
@@ -47,11 +47,84 @@ module Google
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Exports assets with time and resource types to a given Cloud Storage
|
||||
# location. The output format is newline-delimited JSON.
|
||||
# This API implements the google.longrunning.Operation API allowing you
|
||||
# to keep track of the export.
|
||||
# @param [String] parent
|
||||
# Required. The relative name of the root asset. This can only be an
|
||||
# organization number (such as "organizations/123"), a project ID (such as
|
||||
# "projects/my-project-id"), a project number (such as "projects/12345"), or
|
||||
# a folder number (such as "folders/123").
|
||||
# @param [Google::Apis::CloudassetV1beta1::ExportAssetsRequest] export_assets_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::CloudassetV1beta1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudassetV1beta1::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 export_folder_assets(parent, export_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+parent}:exportAssets', options)
|
||||
command.request_representation = Google::Apis::CloudassetV1beta1::ExportAssetsRequest::Representation
|
||||
command.request_object = export_assets_request_object
|
||||
command.response_representation = Google::Apis::CloudassetV1beta1::Operation::Representation
|
||||
command.response_class = Google::Apis::CloudassetV1beta1::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
|
||||
|
||||
# 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.
|
||||
# @param [String] name
|
||||
# The name of the operation resource.
|
||||
# @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::CloudassetV1beta1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudassetV1beta1::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 get_folder_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
||||
command.response_representation = Google::Apis::CloudassetV1beta1::Operation::Representation
|
||||
command.response_class = Google::Apis::CloudassetV1beta1::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
|
||||
|
||||
# Batch gets the update history of assets that overlap a time window.
|
||||
# For RESOURCE content, this API outputs history with asset in both
|
||||
# non-delete or deleted status.
|
||||
# For IAM_POLICY content, this API outputs history when the asset and its
|
||||
# attached IAM POLICY both exist. This can create gaps in the output history.
|
||||
# If a specified asset does not exist, this API returns an INVALID_ARGUMENT
|
||||
# error.
|
||||
# @param [String] parent
|
||||
# Required. The relative name of the root asset. It can only be an
|
||||
# organization number (such as "organizations/123"), a project ID (such as
|
||||
@@ -109,9 +182,9 @@ module Google
|
||||
# to keep track of the export.
|
||||
# @param [String] parent
|
||||
# Required. The relative name of the root asset. This can only be an
|
||||
# organization
|
||||
# number (such as "organizations/123"), a project ID (such as
|
||||
# "projects/my-project-id"), or a project number (such as "projects/12345").
|
||||
# organization number (such as "organizations/123"), a project ID (such as
|
||||
# "projects/my-project-id"), a project number (such as "projects/12345"), or
|
||||
# a folder number (such as "folders/123").
|
||||
# @param [Google::Apis::CloudassetV1beta1::ExportAssetsRequest] export_assets_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -179,6 +252,8 @@ module Google
|
||||
# non-delete or deleted status.
|
||||
# For IAM_POLICY content, this API outputs history when the asset and its
|
||||
# attached IAM POLICY both exist. This can create gaps in the output history.
|
||||
# If a specified asset does not exist, this API returns an INVALID_ARGUMENT
|
||||
# error.
|
||||
# @param [String] parent
|
||||
# Required. The relative name of the root asset. It can only be an
|
||||
# organization number (such as "organizations/123"), a project ID (such as
|
||||
@@ -236,9 +311,9 @@ module Google
|
||||
# to keep track of the export.
|
||||
# @param [String] parent
|
||||
# Required. The relative name of the root asset. This can only be an
|
||||
# organization
|
||||
# number (such as "organizations/123"), a project ID (such as
|
||||
# "projects/my-project-id"), or a project number (such as "projects/12345").
|
||||
# organization number (such as "organizations/123"), a project ID (such as
|
||||
# "projects/my-project-id"), a project number (such as "projects/12345"), or
|
||||
# a folder number (such as "folders/123").
|
||||
# @param [Google::Apis::CloudassetV1beta1::ExportAssetsRequest] export_assets_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
||||
Reference in new issue
Block a user