Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::DataplexService::Rest::Client.
REST client for the DataplexService service.
Dataplex service provides data lakes as a service. The primary resources offered by this service are Lakes, Zones and Assets which collectively allow a data administrator to organize, manage, secure and catalog data across their organization located across cloud projects in a variety of storage systems including Cloud Storage and BigQuery.
Inherits
- Object
Methods
.configure
def self.configure() { |config| ... } -> Client::Configuration
Configure the DataplexService Client class.
See Configuration for a description of the configuration fields.
- (config) — Configure the Client client.
- config (Client::Configuration)
# Modify the configuration for all DataplexService clients ::Google::Cloud::Dataplex::V1::DataplexService::Rest::Client.configure do |config| config.timeout = 10.0 end
#cancel_job
def cancel_job(request, options = nil) -> ::Google::Protobuf::Empty
def cancel_job(name: nil) -> ::Google::Protobuf::Empty
Cancel jobs running for the task resource.
def cancel_job(request, options = nil) -> ::Google::Protobuf::Empty
cancel_job
via a request object, either of type
CancelJobRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::CancelJobRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def cancel_job(name: nil) -> ::Google::Protobuf::Empty
cancel_job
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
name (::String) — Required. The resource name of the job:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}
.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#configure
def configure() { |config| ... } -> Client::Configuration
Configure the DataplexService Client instance.
The configuration is set to the derived mode, meaning that values can be changed, but structural changes (adding new fields, etc.) are not allowed. Structural changes should be made on Client.configure.
See Configuration for a description of the configuration fields.
- (config) — Configure the Client client.
- config (Client::Configuration)
#create_asset
def create_asset(request, options = nil) -> ::Gapic::Operation
def create_asset(parent: nil, asset_id: nil, asset: nil, validate_only: nil) -> ::Gapic::Operation
Creates an asset resource.
def create_asset(request, options = nil) -> ::Gapic::Operation
create_asset
via a request object, either of type
CreateAssetRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::CreateAssetRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def create_asset(parent: nil, asset_id: nil, asset: nil, validate_only: nil) -> ::Gapic::Operation
create_asset
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
parent (::String) — Required. The resource name of the parent zone:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}
. -
asset_id (::String) —
Required. Asset identifier. This ID will be used to generate names such as table names when publishing metadata to Hive Metastore and BigQuery.
- Must contain only lowercase letters, numbers and hyphens.
- Must start with a letter.
- Must end with a number or a letter.
- Must be between 1-63 characters.
- Must be unique within the zone.
- asset (::Google::Cloud::Dataplex::V1::Asset, ::Hash) — Required. Asset resource.
- validate_only (::Boolean) — Optional. Only validate the request, but do not perform mutations. The default is false.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#create_environment
def create_environment(request, options = nil) -> ::Gapic::Operation
def create_environment(parent: nil, environment_id: nil, environment: nil, validate_only: nil) -> ::Gapic::Operation
Create an environment resource.
def create_environment(request, options = nil) -> ::Gapic::Operation
create_environment
via a request object, either of type
CreateEnvironmentRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::CreateEnvironmentRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def create_environment(parent: nil, environment_id: nil, environment: nil, validate_only: nil) -> ::Gapic::Operation
create_environment
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
parent (::String) — Required. The resource name of the parent lake:
projects/{project_id}/locations/{location_id}/lakes/{lake_id}
. -
environment_id (::String) —
Required. Environment identifier.
- Must contain only lowercase letters, numbers and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
- Must end with a number or a letter.
- Must be unique within the lake.
- environment (::Google::Cloud::Dataplex::V1::Environment, ::Hash) — Required. Environment resource.
- validate_only (::Boolean) — Optional. Only validate the request, but do not perform mutations. The default is false.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#create_lake
def create_lake(request, options = nil) -> ::Gapic::Operation
def create_lake(parent: nil, lake_id: nil, lake: nil, validate_only: nil) -> ::Gapic::Operation
Creates a lake resource.
def create_lake(request, options = nil) -> ::Gapic::Operation
create_lake
via a request object, either of type
CreateLakeRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::CreateLakeRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def create_lake(parent: nil, lake_id: nil, lake: nil, validate_only: nil) -> ::Gapic::Operation
create_lake
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
parent (::String) — Required. The resource name of the lake location, of the form:
projects/{project_number}/locations/{location_id}
where
location_id
refers to a GCP region. -
lake_id (::String) —
Required. Lake identifier. This ID will be used to generate names such as database and dataset names when publishing metadata to Hive Metastore and BigQuery.
- Must contain only lowercase letters, numbers and hyphens.
- Must start with a letter.
- Must end with a number or a letter.
- Must be between 1-63 characters.
- Must be unique within the customer project / location.
- lake (::Google::Cloud::Dataplex::V1::Lake, ::Hash) — Required. Lake resource
- validate_only (::Boolean) — Optional. Only validate the request, but do not perform mutations. The default is false.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#create_task
def create_task(request, options = nil) -> ::Gapic::Operation
def create_task(parent: nil, task_id: nil, task: nil, validate_only: nil) -> ::Gapic::Operation
Creates a task resource within a lake.
def create_task(request, options = nil) -> ::Gapic::Operation
create_task
via a request object, either of type
CreateTaskRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::CreateTaskRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def create_task(parent: nil, task_id: nil, task: nil, validate_only: nil) -> ::Gapic::Operation
create_task
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
parent (::String) — Required. The resource name of the parent lake:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}
. - task_id (::String) — Required. Task identifier.
- task (::Google::Cloud::Dataplex::V1::Task, ::Hash) — Required. Task resource.
- validate_only (::Boolean) — Optional. Only validate the request, but do not perform mutations. The default is false.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#create_zone
def create_zone(request, options = nil) -> ::Gapic::Operation
def create_zone(parent: nil, zone_id: nil, zone: nil, validate_only: nil) -> ::Gapic::Operation
Creates a zone resource within a lake.
def create_zone(request, options = nil) -> ::Gapic::Operation
create_zone
via a request object, either of type
CreateZoneRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::CreateZoneRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def create_zone(parent: nil, zone_id: nil, zone: nil, validate_only: nil) -> ::Gapic::Operation
create_zone
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
parent (::String) — Required. The resource name of the parent lake:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}
. -
zone_id (::String) —
Required. Zone identifier. This ID will be used to generate names such as database and dataset names when publishing metadata to Hive Metastore and BigQuery.
- Must contain only lowercase letters, numbers and hyphens.
- Must start with a letter.
- Must end with a number or a letter.
- Must be between 1-63 characters.
- Must be unique across all lakes from all locations in a project.
- Must not be one of the reserved IDs (i.e. "default", "global-temp")
- zone (::Google::Cloud::Dataplex::V1::Zone, ::Hash) — Required. Zone resource.
- validate_only (::Boolean) — Optional. Only validate the request, but do not perform mutations. The default is false.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#delete_asset
def delete_asset(request, options = nil) -> ::Gapic::Operation
def delete_asset(name: nil) -> ::Gapic::Operation
Deletes an asset resource. The referenced storage resource is detached (default) or deleted based on the associated Lifecycle policy.
def delete_asset(request, options = nil) -> ::Gapic::Operation
delete_asset
via a request object, either of type
Google::Cloud::Dataplex::V1::DeleteAssetRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::DeleteAssetRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def delete_asset(name: nil) -> ::Gapic::Operation
delete_asset
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
name (::String) — Required. The resource name of the asset:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}
.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#delete_environment
def delete_environment(request, options = nil) -> ::Gapic::Operation
def delete_environment(name: nil) -> ::Gapic::Operation
Delete the environment resource. All the child resources must have been deleted before environment deletion can be initiated.
def delete_environment(request, options = nil) -> ::Gapic::Operation
delete_environment
via a request object, either of type
Google::Cloud::Dataplex::V1::DeleteEnvironmentRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::DeleteEnvironmentRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def delete_environment(name: nil) -> ::Gapic::Operation
delete_environment
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
name (::String) — Required. The resource name of the environment:
projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}
.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#delete_lake
def delete_lake(request, options = nil) -> ::Gapic::Operation
def delete_lake(name: nil) -> ::Gapic::Operation
Deletes a lake resource. All zones within the lake must be deleted before the lake can be deleted.
def delete_lake(request, options = nil) -> ::Gapic::Operation
delete_lake
via a request object, either of type
Google::Cloud::Dataplex::V1::DeleteLakeRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::DeleteLakeRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def delete_lake(name: nil) -> ::Gapic::Operation
delete_lake
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
name (::String) — Required. The resource name of the lake:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}
.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#delete_task
def delete_task(request, options = nil) -> ::Gapic::Operation
def delete_task(name: nil) -> ::Gapic::Operation
Delete the task resource.
def delete_task(request, options = nil) -> ::Gapic::Operation
delete_task
via a request object, either of type
Google::Cloud::Dataplex::V1::DeleteTaskRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::DeleteTaskRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def delete_task(name: nil) -> ::Gapic::Operation
delete_task
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
name (::String) — Required. The resource name of the task:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}
.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#delete_zone
def delete_zone(request, options = nil) -> ::Gapic::Operation
def delete_zone(name: nil) -> ::Gapic::Operation
Deletes a zone resource. All assets within a zone must be deleted before the zone can be deleted.
def delete_zone(request, options = nil) -> ::Gapic::Operation
delete_zone
via a request object, either of type
Google::Cloud::Dataplex::V1::DeleteZoneRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::DeleteZoneRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def delete_zone(name: nil) -> ::Gapic::Operation
delete_zone
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
name (::String) — Required. The resource name of the zone:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}
.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#get_asset
def get_asset(request, options = nil) -> ::Google::Cloud::Dataplex::V1::Asset
def get_asset(name: nil) -> ::Google::Cloud::Dataplex::V1::Asset
Retrieves an asset resource.
def get_asset(request, options = nil) -> ::Google::Cloud::Dataplex::V1::Asset
get_asset
via a request object, either of type
GetAssetRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::GetAssetRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def get_asset(name: nil) -> ::Google::Cloud::Dataplex::V1::Asset
get_asset
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
name (::String) — Required. The resource name of the asset:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}
.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Dataplex::V1::Asset)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#get_environment
def get_environment(request, options = nil) -> ::Google::Cloud::Dataplex::V1::Environment
def get_environment(name: nil) -> ::Google::Cloud::Dataplex::V1::Environment
Get environment resource.
def get_environment(request, options = nil) -> ::Google::Cloud::Dataplex::V1::Environment
get_environment
via a request object, either of type
GetEnvironmentRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::GetEnvironmentRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def get_environment(name: nil) -> ::Google::Cloud::Dataplex::V1::Environment
get_environment
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
name (::String) — Required. The resource name of the environment:
projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}
.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Dataplex::V1::Environment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#get_job
def get_job(request, options = nil) -> ::Google::Cloud::Dataplex::V1::Job
def get_job(name: nil) -> ::Google::Cloud::Dataplex::V1::Job
Get job resource.
def get_job(request, options = nil) -> ::Google::Cloud::Dataplex::V1::Job
get_job
via a request object, either of type
GetJobRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::GetJobRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def get_job(name: nil) -> ::Google::Cloud::Dataplex::V1::Job
get_job
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
name (::String) — Required. The resource name of the job:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}
.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Dataplex::V1::Job)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#get_lake
def get_lake(request, options = nil) -> ::Google::Cloud::Dataplex::V1::Lake
def get_lake(name: nil) -> ::Google::Cloud::Dataplex::V1::Lake
Retrieves a lake resource.
def get_lake(request, options = nil) -> ::Google::Cloud::Dataplex::V1::Lake
get_lake
via a request object, either of type
GetLakeRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::GetLakeRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def get_lake(name: nil) -> ::Google::Cloud::Dataplex::V1::Lake
get_lake
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
name (::String) — Required. The resource name of the lake:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}
.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Dataplex::V1::Lake)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#get_task
def get_task(request, options = nil) -> ::Google::Cloud::Dataplex::V1::Task
def get_task(name: nil) -> ::Google::Cloud::Dataplex::V1::Task
Get task resource.
def get_task(request, options = nil) -> ::Google::Cloud::Dataplex::V1::Task
get_task
via a request object, either of type
GetTaskRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::GetTaskRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def get_task(name: nil) -> ::Google::Cloud::Dataplex::V1::Task
get_task
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
name (::String) — Required. The resource name of the task:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}
.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Dataplex::V1::Task)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#get_zone
def get_zone(request, options = nil) -> ::Google::Cloud::Dataplex::V1::Zone
def get_zone(name: nil) -> ::Google::Cloud::Dataplex::V1::Zone
Retrieves a zone resource.
def get_zone(request, options = nil) -> ::Google::Cloud::Dataplex::V1::Zone
get_zone
via a request object, either of type
GetZoneRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::GetZoneRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def get_zone(name: nil) -> ::Google::Cloud::Dataplex::V1::Zone
get_zone
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
name (::String) — Required. The resource name of the zone:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}
.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Dataplex::V1::Zone)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#iam_policy_client
def iam_policy_client() -> Google::Iam::V1::IAMPolicy::Rest::Client
Get the associated client for mix-in of the IAMPolicy.
- (Google::Iam::V1::IAMPolicy::Rest::Client)
#initialize
def initialize() { |config| ... } -> Client
Create a new DataplexService REST client object.
- (config) — Configure the DataplexService client.
- config (Client::Configuration)
- (Client) — a new instance of Client
# Create a client using the default configuration client = ::Google::Cloud::Dataplex::V1::DataplexService::Rest::Client.new # Create a client using a custom configuration client = ::Google::Cloud::Dataplex::V1::DataplexService::Rest::Client.new do |config| config.timeout = 10.0 end
#list_asset_actions
def list_asset_actions(request, options = nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Action>
def list_asset_actions(parent: nil, page_size: nil, page_token: nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Action>
Lists action resources in an asset.
def list_asset_actions(request, options = nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Action>
list_asset_actions
via a request object, either of type
ListAssetActionsRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::ListAssetActionsRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def list_asset_actions(parent: nil, page_size: nil, page_token: nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Action>
list_asset_actions
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
parent (::String) — Required. The resource name of the parent asset:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}
. - page_size (::Integer) — Optional. Maximum number of actions to return. The service may return fewer than this value. If unspecified, at most 10 actions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
-
page_token (::String) — Optional. Page token received from a previous
ListAssetActions
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListAssetActions
must match the call that provided the page token.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Action>)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Action>)
- (::Google::Cloud::Error) — if the REST call is aborted.
#list_assets
def list_assets(request, options = nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Asset>
def list_assets(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Asset>
Lists asset resources in a zone.
def list_assets(request, options = nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Asset>
list_assets
via a request object, either of type
ListAssetsRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::ListAssetsRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def list_assets(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Asset>
list_assets
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
parent (::String) — Required. The resource name of the parent zone:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}
. - page_size (::Integer) — Optional. Maximum number of asset to return. The service may return fewer than this value. If unspecified, at most 10 assets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
-
page_token (::String) — Optional. Page token received from a previous
ListAssets
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListAssets
must match the call that provided the page token. - filter (::String) — Optional. Filter request.
- order_by (::String) — Optional. Order by fields for the result.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Asset>)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Asset>)
- (::Google::Cloud::Error) — if the REST call is aborted.
#list_environments
def list_environments(request, options = nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Environment>
def list_environments(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Environment>
Lists environments under the given lake.
def list_environments(request, options = nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Environment>
list_environments
via a request object, either of type
ListEnvironmentsRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::ListEnvironmentsRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def list_environments(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Environment>
list_environments
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
parent (::String) — Required. The resource name of the parent lake:
projects/{project_id}/locations/{location_id}/lakes/{lake_id}
. - page_size (::Integer) — Optional. Maximum number of environments to return. The service may return fewer than this value. If unspecified, at most 10 environments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
-
page_token (::String) — Optional. Page token received from a previous
ListEnvironments
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListEnvironments
must match the call that provided the page token. - filter (::String) — Optional. Filter request.
- order_by (::String) — Optional. Order by fields for the result.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Environment>)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Environment>)
- (::Google::Cloud::Error) — if the REST call is aborted.
#list_jobs
def list_jobs(request, options = nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Job>
def list_jobs(parent: nil, page_size: nil, page_token: nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Job>
Lists Jobs under the given task.
def list_jobs(request, options = nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Job>
list_jobs
via a request object, either of type
ListJobsRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::ListJobsRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def list_jobs(parent: nil, page_size: nil, page_token: nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Job>
list_jobs
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
parent (::String) — Required. The resource name of the parent environment:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}
. - page_size (::Integer) — Optional. Maximum number of jobs to return. The service may return fewer than this value. If unspecified, at most 10 jobs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
-
page_token (::String) — Optional. Page token received from a previous
ListJobs
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListJobs
must match the call that provided the page token.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Job>)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Job>)
- (::Google::Cloud::Error) — if the REST call is aborted.
#list_lake_actions
def list_lake_actions(request, options = nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Action>
def list_lake_actions(parent: nil, page_size: nil, page_token: nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Action>
Lists action resources in a lake.
def list_lake_actions(request, options = nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Action>
list_lake_actions
via a request object, either of type
ListLakeActionsRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::ListLakeActionsRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def list_lake_actions(parent: nil, page_size: nil, page_token: nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Action>
list_lake_actions
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
parent (::String) — Required. The resource name of the parent lake:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}
. - page_size (::Integer) — Optional. Maximum number of actions to return. The service may return fewer than this value. If unspecified, at most 10 actions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
-
page_token (::String) — Optional. Page token received from a previous
ListLakeActions
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListLakeActions
must match the call that provided the page token.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Action>)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Action>)
- (::Google::Cloud::Error) — if the REST call is aborted.
#list_lakes
def list_lakes(request, options = nil) -> ::Google::Cloud::Dataplex::V1::ListLakesResponse
def list_lakes(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Google::Cloud::Dataplex::V1::ListLakesResponse
Lists lake resources in a project and location.
def list_lakes(request, options = nil) -> ::Google::Cloud::Dataplex::V1::ListLakesResponse
list_lakes
via a request object, either of type
ListLakesRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::ListLakesRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def list_lakes(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Google::Cloud::Dataplex::V1::ListLakesResponse
list_lakes
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
parent (::String) — Required. The resource name of the lake location, of the form:
projects/{project_number}/locations/{location_id}
wherelocation_id
refers to a GCP region. - page_size (::Integer) — Optional. Maximum number of Lakes to return. The service may return fewer than this value. If unspecified, at most 10 lakes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
-
page_token (::String) — Optional. Page token received from a previous
ListLakes
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListLakes
must match the call that provided the page token. - filter (::String) — Optional. Filter request.
- order_by (::String) — Optional. Order by fields for the result.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Dataplex::V1::ListLakesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#list_sessions
def list_sessions(request, options = nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Session>
def list_sessions(parent: nil, page_size: nil, page_token: nil, filter: nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Session>
Lists session resources in an environment.
def list_sessions(request, options = nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Session>
list_sessions
via a request object, either of type
ListSessionsRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::ListSessionsRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def list_sessions(parent: nil, page_size: nil, page_token: nil, filter: nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Session>
list_sessions
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
parent (::String) — Required. The resource name of the parent environment:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
. - page_size (::Integer) — Optional. Maximum number of sessions to return. The service may return fewer than this value. If unspecified, at most 10 sessions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
-
page_token (::String) — Optional. Page token received from a previous
ListSessions
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListSessions
must match the call that provided the page token. -
filter (::String) — Optional. Filter request. The following
mode
filter is supported to return only the sessions belonging to the requester when the mode is USER and return sessions of all the users when the mode is ADMIN. When no filter is sent default to USER mode. NOTE: When the mode is ADMIN, the requester should havedataplex.environments.listAllSessions
permission to list all sessions, in absence of the permission, the request fails.mode = ADMIN | USER
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Session>)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Session>)
- (::Google::Cloud::Error) — if the REST call is aborted.
#list_tasks
def list_tasks(request, options = nil) -> ::Google::Cloud::Dataplex::V1::ListTasksResponse
def list_tasks(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Google::Cloud::Dataplex::V1::ListTasksResponse
Lists tasks under the given lake.
def list_tasks(request, options = nil) -> ::Google::Cloud::Dataplex::V1::ListTasksResponse
list_tasks
via a request object, either of type
ListTasksRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::ListTasksRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def list_tasks(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Google::Cloud::Dataplex::V1::ListTasksResponse
list_tasks
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
parent (::String) — Required. The resource name of the parent lake:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}
. - page_size (::Integer) — Optional. Maximum number of tasks to return. The service may return fewer than this value. If unspecified, at most 10 tasks will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
-
page_token (::String) — Optional. Page token received from a previous
ListZones
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListZones
must match the call that provided the page token. - filter (::String) — Optional. Filter request.
- order_by (::String) — Optional. Order by fields for the result.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Dataplex::V1::ListTasksResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#list_zone_actions
def list_zone_actions(request, options = nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Action>
def list_zone_actions(parent: nil, page_size: nil, page_token: nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Action>
Lists action resources in a zone.
def list_zone_actions(request, options = nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Action>
list_zone_actions
via a request object, either of type
ListZoneActionsRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::ListZoneActionsRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def list_zone_actions(parent: nil, page_size: nil, page_token: nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Action>
list_zone_actions
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
parent (::String) — Required. The resource name of the parent zone:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}
. - page_size (::Integer) — Optional. Maximum number of actions to return. The service may return fewer than this value. If unspecified, at most 10 actions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
-
page_token (::String) — Optional. Page token received from a previous
ListZoneActions
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListZoneActions
must match the call that provided the page token.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Action>)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Action>)
- (::Google::Cloud::Error) — if the REST call is aborted.
#list_zones
def list_zones(request, options = nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Zone>
def list_zones(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Zone>
Lists zone resources in a lake.
def list_zones(request, options = nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Zone>
list_zones
via a request object, either of type
ListZonesRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::ListZonesRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def list_zones(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Zone>
list_zones
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
parent (::String) — Required. The resource name of the parent lake:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}
. - page_size (::Integer) — Optional. Maximum number of zones to return. The service may return fewer than this value. If unspecified, at most 10 zones will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
-
page_token (::String) — Optional. Page token received from a previous
ListZones
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListZones
must match the call that provided the page token. - filter (::String) — Optional. Filter request.
- order_by (::String) — Optional. Order by fields for the result.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Zone>)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Zone>)
- (::Google::Cloud::Error) — if the REST call is aborted.
#location_client
def location_client() -> Google::Cloud::Location::Locations::Rest::Client
Get the associated client for mix-in of the Locations.
- (Google::Cloud::Location::Locations::Rest::Client)
#operations_client
def operations_client() -> ::Google::Cloud::Dataplex::V1::DataplexService::Rest::Operations
Get the associated client for long-running operations.
#run_task
def run_task(request, options = nil) -> ::Google::Cloud::Dataplex::V1::RunTaskResponse
def run_task(name: nil) -> ::Google::Cloud::Dataplex::V1::RunTaskResponse
Run an on demand execution of a Task.
def run_task(request, options = nil) -> ::Google::Cloud::Dataplex::V1::RunTaskResponse
run_task
via a request object, either of type
RunTaskRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::RunTaskRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def run_task(name: nil) -> ::Google::Cloud::Dataplex::V1::RunTaskResponse
run_task
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
name (::String) — Required. The resource name of the task:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}
.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Dataplex::V1::RunTaskResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#update_asset
def update_asset(request, options = nil) -> ::Gapic::Operation
def update_asset(update_mask: nil, asset: nil, validate_only: nil) -> ::Gapic::Operation
Updates an asset resource.
def update_asset(request, options = nil) -> ::Gapic::Operation
update_asset
via a request object, either of type
UpdateAssetRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::UpdateAssetRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def update_asset(update_mask: nil, asset: nil, validate_only: nil) -> ::Gapic::Operation
update_asset
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- update_mask (::Google::Protobuf::FieldMask, ::Hash) — Required. Mask of fields to update.
-
asset (::Google::Cloud::Dataplex::V1::Asset, ::Hash) — Required. Update description.
Only fields specified in
update_mask
are updated. - validate_only (::Boolean) — Optional. Only validate the request, but do not perform mutations. The default is false.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#update_environment
def update_environment(request, options = nil) -> ::Gapic::Operation
def update_environment(update_mask: nil, environment: nil, validate_only: nil) -> ::Gapic::Operation
Update the environment resource.
def update_environment(request, options = nil) -> ::Gapic::Operation
update_environment
via a request object, either of type
UpdateEnvironmentRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::UpdateEnvironmentRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def update_environment(update_mask: nil, environment: nil, validate_only: nil) -> ::Gapic::Operation
update_environment
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- update_mask (::Google::Protobuf::FieldMask, ::Hash) — Required. Mask of fields to update.
-
environment (::Google::Cloud::Dataplex::V1::Environment, ::Hash) — Required. Update description.
Only fields specified in
update_mask
are updated. - validate_only (::Boolean) — Optional. Only validate the request, but do not perform mutations. The default is false.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#update_lake
def update_lake(request, options = nil) -> ::Gapic::Operation
def update_lake(update_mask: nil, lake: nil, validate_only: nil) -> ::Gapic::Operation
Updates a lake resource.
def update_lake(request, options = nil) -> ::Gapic::Operation
update_lake
via a request object, either of type
UpdateLakeRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::UpdateLakeRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def update_lake(update_mask: nil, lake: nil, validate_only: nil) -> ::Gapic::Operation
update_lake
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- update_mask (::Google::Protobuf::FieldMask, ::Hash) — Required. Mask of fields to update.
-
lake (::Google::Cloud::Dataplex::V1::Lake, ::Hash) — Required. Update description.
Only fields specified in
update_mask
are updated. - validate_only (::Boolean) — Optional. Only validate the request, but do not perform mutations. The default is false.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#update_task
def update_task(request, options = nil) -> ::Gapic::Operation
def update_task(update_mask: nil, task: nil, validate_only: nil) -> ::Gapic::Operation
Update the task resource.
def update_task(request, options = nil) -> ::Gapic::Operation
update_task
via a request object, either of type
UpdateTaskRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::UpdateTaskRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def update_task(update_mask: nil, task: nil, validate_only: nil) -> ::Gapic::Operation
update_task
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- update_mask (::Google::Protobuf::FieldMask, ::Hash) — Required. Mask of fields to update.
-
task (::Google::Cloud::Dataplex::V1::Task, ::Hash) — Required. Update description.
Only fields specified in
update_mask
are updated. - validate_only (::Boolean) — Optional. Only validate the request, but do not perform mutations. The default is false.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.
#update_zone
def update_zone(request, options = nil) -> ::Gapic::Operation
def update_zone(update_mask: nil, zone: nil, validate_only: nil) -> ::Gapic::Operation
Updates a zone resource.
def update_zone(request, options = nil) -> ::Gapic::Operation
update_zone
via a request object, either of type
UpdateZoneRequest or an equivalent Hash.
- request (::Google::Cloud::Dataplex::V1::UpdateZoneRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
def update_zone(update_mask: nil, zone: nil, validate_only: nil) -> ::Gapic::Operation
update_zone
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- update_mask (::Google::Protobuf::FieldMask, ::Hash) — Required. Mask of fields to update.
-
zone (::Google::Cloud::Dataplex::V1::Zone, ::Hash) — Required. Update description.
Only fields specified in
update_mask
are updated. - validate_only (::Boolean) — Optional. Only validate the request, but do not perform mutations. The default is false.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Gapic::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the REST call is aborted.