Autogenerated update (2019-05-10)
Update: - cloudsearch_v1 - dataflow_v1b3 - dataproc_v1 - dataproc_v1beta2 - dialogflow_v2beta1 - logging_v2 - monitoring_v3 - remotebuildexecution_v1 - remotebuildexecution_v1alpha - remotebuildexecution_v2 - serviceconsumermanagement_v1 - servicemanagement_v1 - servicenetworking_v1 - servicenetworking_v1beta - serviceusage_v1 - serviceusage_v1beta1 - sheets_v4 - toolresults_v1beta3 - tpu_v1 - tpu_v1alpha1 - vision_v1 - vision_v1p1beta1
This commit is contained in:
1 parent
69fb4a0b11
commit
cb0b81f794
299 files changed
+14537
-7263
No files matched your search
@@ -3713,6 +3713,11 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :source_job_id
|
||||
|
||||
# State of the snapshot.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
||||
# The time after which this snapshot will be automatically deleted.
|
||||
# Corresponds to the JSON property `ttl`
|
||||
# @return [String]
|
||||
@@ -3728,6 +3733,7 @@ module Google
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@project_id = args[:project_id] if args.key?(:project_id)
|
||||
@source_job_id = args[:source_job_id] if args.key?(:source_job_id)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
@ttl = args[:ttl] if args.key?(:ttl)
|
||||
end
|
||||
end
|
||||
@@ -5359,6 +5365,11 @@ module Google
|
||||
class WorkerHealthReport
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A message describing any unusual health reports.
|
||||
# Corresponds to the JSON property `msg`
|
||||
# @return [String]
|
||||
attr_accessor :msg
|
||||
|
||||
# The pods running on the worker. See:
|
||||
# http://kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod
|
||||
# This field is used by the worker to send the status of the indvidual
|
||||
@@ -5374,7 +5385,15 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :report_interval
|
||||
|
||||
# Whether the VM is healthy.
|
||||
# Whether the VM is in a permanently broken state.
|
||||
# Broken VMs should be abandoned or deleted ASAP to avoid assigning or
|
||||
# completing any work.
|
||||
# Corresponds to the JSON property `vmIsBroken`
|
||||
# @return [Boolean]
|
||||
attr_accessor :vm_is_broken
|
||||
alias_method :vm_is_broken?, :vm_is_broken
|
||||
|
||||
# Whether the VM is currently healthy.
|
||||
# Corresponds to the JSON property `vmIsHealthy`
|
||||
# @return [Boolean]
|
||||
attr_accessor :vm_is_healthy
|
||||
@@ -5391,8 +5410,10 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@msg = args[:msg] if args.key?(:msg)
|
||||
@pods = args[:pods] if args.key?(:pods)
|
||||
@report_interval = args[:report_interval] if args.key?(:report_interval)
|
||||
@vm_is_broken = args[:vm_is_broken] if args.key?(:vm_is_broken)
|
||||
@vm_is_healthy = args[:vm_is_healthy] if args.key?(:vm_is_healthy)
|
||||
@vm_startup_time = args[:vm_startup_time] if args.key?(:vm_startup_time)
|
||||
end
|
||||
|
||||
@@ -1864,6 +1864,7 @@ module Google
|
||||
property :id, as: 'id'
|
||||
property :project_id, as: 'projectId'
|
||||
property :source_job_id, as: 'sourceJobId'
|
||||
property :state, as: 'state'
|
||||
property :ttl, as: 'ttl'
|
||||
end
|
||||
end
|
||||
@@ -2301,8 +2302,10 @@ module Google
|
||||
class WorkerHealthReport
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :msg, as: 'msg'
|
||||
collection :pods, as: 'pods'
|
||||
property :report_interval, as: 'reportInterval'
|
||||
property :vm_is_broken, as: 'vmIsBroken'
|
||||
property :vm_is_healthy, as: 'vmIsHealthy'
|
||||
property :vm_startup_time, as: 'vmStartupTime'
|
||||
end
|
||||
|
||||
@@ -72,7 +72,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def delete_project_snapshots(project_id, location: nil, snapshot_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1b3/projects/{projectId}/snapshots', options)
|
||||
command = make_simple_command(:delete, 'v1b3/projects/{projectId}/snapshots', options)
|
||||
command.response_representation = Google::Apis::DataflowV1b3::DeleteSnapshotResponse::Representation
|
||||
command.response_class = Google::Apis::DataflowV1b3::DeleteSnapshotResponse
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
@@ -105,7 +105,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def worker_project_messages(project_id, send_worker_messages_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/WorkerMessages', options)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/WorkerMessages', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::SendWorkerMessagesRequest::Representation
|
||||
command.request_object = send_worker_messages_request_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::SendWorkerMessagesResponse::Representation
|
||||
@@ -152,7 +152,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def aggregated_project_job(project_id, filter: nil, location: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs:aggregated', options)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs:aggregated', options)
|
||||
command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation
|
||||
command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
@@ -201,7 +201,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_project_job(project_id, job_object = nil, location: nil, replace_job_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs', options)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::Job::Representation
|
||||
command.request_object = job_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
||||
@@ -249,7 +249,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_job(project_id, job_id, location: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}', options)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}', options)
|
||||
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
||||
command.response_class = Google::Apis::DataflowV1b3::Job
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
@@ -296,7 +296,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_job_metrics(project_id, job_id, location: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/metrics', options)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/metrics', options)
|
||||
command.response_representation = Google::Apis::DataflowV1b3::JobMetrics::Representation
|
||||
command.response_class = Google::Apis::DataflowV1b3::JobMetrics
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
@@ -350,7 +350,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_project_jobs(project_id, filter: nil, location: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs', options)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs', options)
|
||||
command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation
|
||||
command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
@@ -388,7 +388,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def snapshot_project_job(project_id, job_id, snapshot_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}:snapshot', options)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}:snapshot', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::SnapshotJobRequest::Representation
|
||||
command.request_object = snapshot_job_request_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::Snapshot::Representation
|
||||
@@ -433,7 +433,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def update_project_job(project_id, job_id, job_object = nil, location: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:put, 'v1b3/projects/{projectId}/jobs/{jobId}', options)
|
||||
command = make_simple_command(:put, 'v1b3/projects/{projectId}/jobs/{jobId}', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::Job::Representation
|
||||
command.request_object = job_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
||||
@@ -470,7 +470,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_job_debug_config(project_id, job_id, get_debug_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig', options)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::GetDebugConfigRequest::Representation
|
||||
command.request_object = get_debug_config_request_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::GetDebugConfigResponse::Representation
|
||||
@@ -506,7 +506,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def send_project_job_debug_capture(project_id, job_id, send_debug_capture_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture', options)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::SendDebugCaptureRequest::Representation
|
||||
command.request_object = send_debug_capture_request_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::SendDebugCaptureResponse::Representation
|
||||
@@ -566,7 +566,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_project_job_messages(project_id, job_id, end_time: nil, location: nil, minimum_importance: nil, page_size: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/messages', options)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/messages', options)
|
||||
command.response_representation = Google::Apis::DataflowV1b3::ListJobMessagesResponse::Representation
|
||||
command.response_class = Google::Apis::DataflowV1b3::ListJobMessagesResponse
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
@@ -606,7 +606,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def lease_project_work_item(project_id, job_id, lease_work_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease', options)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::LeaseWorkItemRequest::Representation
|
||||
command.request_object = lease_work_item_request_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::LeaseWorkItemResponse::Representation
|
||||
@@ -642,7 +642,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def report_project_job_work_item_status(project_id, job_id, report_work_item_status_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus', options)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest::Representation
|
||||
command.request_object = report_work_item_status_request_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse::Representation
|
||||
@@ -680,7 +680,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def worker_project_location_messages(project_id, location, send_worker_messages_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/WorkerMessages', options)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/WorkerMessages', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::SendWorkerMessagesRequest::Representation
|
||||
command.request_object = send_worker_messages_request_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::SendWorkerMessagesResponse::Representation
|
||||
@@ -727,7 +727,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_project_location_job(project_id, location, job_object = nil, replace_job_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs', options)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::Job::Representation
|
||||
command.request_object = job_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
||||
@@ -775,7 +775,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_location_job(project_id, location, job_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', options)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', options)
|
||||
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
||||
command.response_class = Google::Apis::DataflowV1b3::Job
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
@@ -822,7 +822,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_location_job_metrics(project_id, location, job_id, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics', options)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics', options)
|
||||
command.response_representation = Google::Apis::DataflowV1b3::JobMetrics::Representation
|
||||
command.response_class = Google::Apis::DataflowV1b3::JobMetrics
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
@@ -876,7 +876,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_project_location_jobs(project_id, location, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs', options)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs', options)
|
||||
command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation
|
||||
command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
@@ -916,7 +916,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def snapshot_project_location_job(project_id, location, job_id, snapshot_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}:snapshot', options)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}:snapshot', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::SnapshotJobRequest::Representation
|
||||
command.request_object = snapshot_job_request_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::Snapshot::Representation
|
||||
@@ -962,7 +962,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def update_project_location_job(project_id, location, job_id, job_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:put, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', options)
|
||||
command = make_simple_command(:put, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::Job::Representation
|
||||
command.request_object = job_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
||||
@@ -1003,7 +1003,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_location_job_debug_config(project_id, location, job_id, get_debug_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getConfig', options)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getConfig', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::GetDebugConfigRequest::Representation
|
||||
command.request_object = get_debug_config_request_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::GetDebugConfigResponse::Representation
|
||||
@@ -1044,7 +1044,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def send_project_location_job_debug_capture(project_id, location, job_id, send_debug_capture_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/sendCapture', options)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/sendCapture', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::SendDebugCaptureRequest::Representation
|
||||
command.request_object = send_debug_capture_request_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::SendDebugCaptureResponse::Representation
|
||||
@@ -1105,7 +1105,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_project_location_job_messages(project_id, location, job_id, end_time: nil, minimum_importance: nil, page_size: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages', options)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages', options)
|
||||
command.response_representation = Google::Apis::DataflowV1b3::ListJobMessagesResponse::Representation
|
||||
command.response_class = Google::Apis::DataflowV1b3::ListJobMessagesResponse
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
@@ -1149,7 +1149,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def lease_project_location_work_item(project_id, location, job_id, lease_work_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease', options)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::LeaseWorkItemRequest::Representation
|
||||
command.request_object = lease_work_item_request_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::LeaseWorkItemResponse::Representation
|
||||
@@ -1190,7 +1190,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def report_project_location_job_work_item_status(project_id, location, job_id, report_work_item_status_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus', options)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest::Representation
|
||||
command.request_object = report_work_item_status_request_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse::Representation
|
||||
@@ -1228,7 +1228,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def delete_project_location_snapshot(project_id, location, snapshot_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}', options)
|
||||
command = make_simple_command(:delete, 'v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}', options)
|
||||
command.response_representation = Google::Apis::DataflowV1b3::DeleteSnapshotResponse::Representation
|
||||
command.response_class = Google::Apis::DataflowV1b3::DeleteSnapshotResponse
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
@@ -1264,7 +1264,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_location_snapshot(project_id, location, snapshot_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}', options)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}', options)
|
||||
command.response_representation = Google::Apis::DataflowV1b3::Snapshot::Representation
|
||||
command.response_class = Google::Apis::DataflowV1b3::Snapshot
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
@@ -1298,7 +1298,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_project_location_snapshots(project_id, location, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/snapshots', options)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/snapshots', options)
|
||||
command.response_representation = Google::Apis::DataflowV1b3::ListSnapshotsResponse::Representation
|
||||
command.response_class = Google::Apis::DataflowV1b3::ListSnapshotsResponse
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
@@ -1338,7 +1338,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def validate_project_location_sql(project_id, location, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/sql:validate', options)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/sql:validate', options)
|
||||
command.response_representation = Google::Apis::DataflowV1b3::ValidateResponse::Representation
|
||||
command.response_class = Google::Apis::DataflowV1b3::ValidateResponse
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
@@ -1375,7 +1375,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_job_from_template_with_location(project_id, location, create_job_from_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/templates', options)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/templates', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest::Representation
|
||||
command.request_object = create_job_from_template_request_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
||||
@@ -1418,7 +1418,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_location_template(project_id, location, gcs_path: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/templates:get', options)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/templates:get', options)
|
||||
command.response_representation = Google::Apis::DataflowV1b3::GetTemplateResponse::Representation
|
||||
command.response_class = Google::Apis::DataflowV1b3::GetTemplateResponse
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
@@ -1469,7 +1469,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def launch_project_location_template(project_id, location, launch_template_parameters_object = nil, dynamic_template_gcs_path: nil, dynamic_template_staging_location: nil, gcs_path: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/templates:launch', options)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/templates:launch', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::LaunchTemplateParameters::Representation
|
||||
command.request_object = launch_template_parameters_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::LaunchTemplateResponse::Representation
|
||||
@@ -1510,7 +1510,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_snapshot(project_id, snapshot_id, location: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/snapshots/{snapshotId}', options)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/snapshots/{snapshotId}', options)
|
||||
command.response_representation = Google::Apis::DataflowV1b3::Snapshot::Representation
|
||||
command.response_class = Google::Apis::DataflowV1b3::Snapshot
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
@@ -1544,7 +1544,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_project_snapshots(project_id, location: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/snapshots', options)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/snapshots', options)
|
||||
command.response_representation = Google::Apis::DataflowV1b3::ListSnapshotsResponse::Representation
|
||||
command.response_class = Google::Apis::DataflowV1b3::ListSnapshotsResponse
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
@@ -1576,7 +1576,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_job_from_template(project_id, create_job_from_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/templates', options)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/templates', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest::Representation
|
||||
command.request_object = create_job_from_template_request_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::Job::Representation
|
||||
@@ -1618,7 +1618,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_template(project_id, gcs_path: nil, location: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/templates:get', options)
|
||||
command = make_simple_command(:get, 'v1b3/projects/{projectId}/templates:get', options)
|
||||
command.response_representation = Google::Apis::DataflowV1b3::GetTemplateResponse::Representation
|
||||
command.response_class = Google::Apis::DataflowV1b3::GetTemplateResponse
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
@@ -1669,7 +1669,7 @@ module Google
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def launch_project_template(project_id, launch_template_parameters_object = nil, dynamic_template_gcs_path: nil, dynamic_template_staging_location: nil, gcs_path: nil, location: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/templates:launch', options)
|
||||
command = make_simple_command(:post, 'v1b3/projects/{projectId}/templates:launch', options)
|
||||
command.request_representation = Google::Apis::DataflowV1b3::LaunchTemplateParameters::Representation
|
||||
command.request_object = launch_template_parameters_object
|
||||
command.response_representation = Google::Apis::DataflowV1b3::LaunchTemplateResponse::Representation
|
||||
|
||||
Reference in new issue
Block a user