Class: Google::Apis::MigrationcenterV1alpha1::MigrationCenterAPIService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::MigrationcenterV1alpha1::MigrationCenterAPIService
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/service.rb
Overview
Migration Center API
A unified platform that helps you accelerate your end-to-end cloud journey from your current on-premises or cloud environments to Google Cloud.
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://migrationcenter.$UNIVERSE_DOMAIN$/"
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#add_assets_to_group(group, add_assets_to_group_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Adds assets to a group.
-
#aggregate_project_location_asset_values(parent, aggregate_assets_values_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::AggregateAssetsValuesResponse
Aggregates the requested fields based on provided function.
-
#batch_delete_assets(parent, batch_delete_assets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Empty
Deletes list of Assets.
-
#batch_update_assets(parent, batch_update_assets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::BatchUpdateAssetsResponse
Updates the parameters of a list of assets.
-
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Empty
Starts asynchronous cancellation on a long-running operation.
-
#create_project_location_assets_export_job(parent, assets_export_job_object = nil, assets_export_job_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Creates a new assets export job.
-
#create_project_location_discovery_client(parent, discovery_client_object = nil, discovery_client_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Creates a new discovery client.
-
#create_project_location_group(parent, group_object = nil, group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Creates a new group in a given project and location.
-
#create_project_location_import_job(parent, import_job_object = nil, import_job_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Creates an import job.
-
#create_project_location_import_job_import_data_file(parent, import_data_file_object = nil, import_data_file_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Creates an import data file.
-
#create_project_location_preference_set(parent, preference_set_object = nil, preference_set_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Creates a new preference set in a given project and location.
-
#create_project_location_report_config(parent, report_config_object = nil, report_config_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Creates a report configuration.
-
#create_project_location_report_config_report(parent, report_object = nil, report_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Creates a report.
-
#create_project_location_report_config_report_report_export_job(parent, report_export_job_object = nil, report_export_job_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Export a Report into a supported destination.
-
#create_project_location_source(parent, source_object = nil, request_id: nil, source_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Creates a new source in a given project and location.
-
#delete_project_location_asset(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Empty
Deletes an asset.
-
#delete_project_location_assets_export_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Deletes an assets export job.
-
#delete_project_location_discovery_client(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Deletes a discovery client.
-
#delete_project_location_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Deletes a group.
-
#delete_project_location_import_job(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Deletes an import job.
-
#delete_project_location_import_job_import_data_file(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Delete an import data file.
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Empty
Deletes a long-running operation.
-
#delete_project_location_preference_set(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Deletes a preference set.
-
#delete_project_location_report_config(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Deletes a ReportConfig.
-
#delete_project_location_report_config_report(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Deletes a Report.
-
#delete_project_location_report_config_report_report_export_job(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Deletes an report export job.
-
#delete_project_location_source(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Deletes a source.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Location
Gets information about a location.
-
#get_project_location_asset(name, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Asset
Gets the details of an asset.
-
#get_project_location_assets_export_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::AssetsExportJob
Gets the details of an assets export job.
-
#get_project_location_discovery_client(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::DiscoveryClient
Gets the details of a discovery client.
-
#get_project_location_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Group
Gets the details of a group.
-
#get_project_location_import_job(name, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ImportJob
Gets the details of an import job.
-
#get_project_location_import_job_import_data_file(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ImportDataFile
Gets an import data file.
-
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Gets the latest state of a long-running operation.
-
#get_project_location_preference_set(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::PreferenceSet
Gets the details of a preference set.
-
#get_project_location_relation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Relation
Gets the details of an relation.
-
#get_project_location_report_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ReportConfig
Gets details of a single ReportConfig.
-
#get_project_location_report_config_report(name, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Report
Gets details of a single Report.
-
#get_project_location_report_config_report_report_export_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ReportExportJob
Gets the details of a report export job.
-
#get_project_location_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Settings
Gets the details of regional settings.
-
#get_project_location_source(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Source
Gets the details of a source.
-
#get_project_location_source_error_frame(name, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ErrorFrame
Gets the details of an error frame.
-
#initialize ⇒ MigrationCenterAPIService
constructor
A new instance of MigrationCenterAPIService.
-
#list_project_location_assets(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, show_hidden: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListAssetsResponse
Lists all the assets in a given project and location.
-
#list_project_location_assets_export_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListAssetsExportJobsResponse
Lists all the assets export jobs in a given project and location.
-
#list_project_location_discovery_clients(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListDiscoveryClientsResponse
Lists all the discovery clients in a given project and location.
-
#list_project_location_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListGroupsResponse
Lists all groups in a given project and location.
-
#list_project_location_import_job_import_data_files(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListImportDataFilesResponse
List import data files.
-
#list_project_location_import_jobs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListImportJobsResponse
Lists all import jobs.
-
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListOperationsResponse
Lists operations that match the specified filter in the request.
-
#list_project_location_preference_sets(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListPreferenceSetsResponse
Lists all the preference sets in a given project and location.
-
#list_project_location_relations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListRelationsResponse
Lists all the relations in a given project and location.
-
#list_project_location_report_config_report_report_export_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListReportExportJobsResponse
Lists all the report export jobs for a given report.
-
#list_project_location_report_config_reports(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListReportsResponse
Lists Reports in a given ReportConfig.
-
#list_project_location_report_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListReportConfigsResponse
Lists ReportConfigs in a given project and location.
-
#list_project_location_source_error_frames(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListErrorFramesResponse
Lists all error frames in a given source and location.
-
#list_project_location_sources(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListSourcesResponse
Lists all the sources in a given project and location.
-
#list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListLocationsResponse
Lists information about the supported locations for this service.
-
#patch_project_location_asset(name, asset_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Asset
Updates the parameters of an asset.
-
#patch_project_location_discovery_client(name, discovery_client_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Updates a discovery client.
-
#patch_project_location_group(name, group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Updates the parameters of a group.
-
#patch_project_location_import_job(name, import_job_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Updates an import job.
-
#patch_project_location_preference_set(name, preference_set_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Updates the parameters of a preference set.
-
#patch_project_location_source(name, source_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Updates the parameters of a source.
-
#remove_assets_from_group(group, remove_assets_from_group_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Removes assets from a group.
-
#report_project_location_asset_asset_frames(parent, frames_object = nil, source: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ReportAssetFramesResponse
Reports a set of frames.
-
#run_assets_export_job(name, run_assets_export_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Runs an assets export job, returning an AssetsExportJobExecution.
-
#run_import_job(name, run_import_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Runs an import job.
-
#run_report_export_job(name, run_report_export_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Runs a report export job.
-
#send_project_location_discovery_client_heartbeat(name, send_discovery_client_heartbeat_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Sends a discovery client heartbeat.
-
#update_project_location_settings(name, settings_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Updates the regional-level project settings.
-
#validate_import_job(name, validate_import_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Validates an import job.
Constructor Details
#initialize ⇒ MigrationCenterAPIService
Returns a new instance of MigrationCenterAPIService.
48 49 50 51 52 53 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 48 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-migrationcenter_v1alpha1', client_version: Google::Apis::MigrationcenterV1alpha1::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
41 42 43 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 41 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
46 47 48 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 46 def quota_user @quota_user end |
Instance Method Details
#add_assets_to_group(group, add_assets_to_group_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Adds assets to a group.
991 992 993 994 995 996 997 998 999 1000 1001 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 991 def add_assets_to_group(group, add_assets_to_group_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+group}:addAssets', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::AddAssetsToGroupRequest::Representation command.request_object = add_assets_to_group_request_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['group'] = group unless group.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#aggregate_project_location_asset_values(parent, aggregate_assets_values_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::AggregateAssetsValuesResponse
Aggregates the requested fields based on provided function.
244 245 246 247 248 249 250 251 252 253 254 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 244 def aggregate_project_location_asset_values(parent, aggregate_assets_values_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/assets:aggregateValues', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::AggregateAssetsValuesRequest::Representation command.request_object = aggregate_assets_values_request_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::AggregateAssetsValuesResponse::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::AggregateAssetsValuesResponse command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#batch_delete_assets(parent, batch_delete_assets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Empty
Deletes list of Assets.
277 278 279 280 281 282 283 284 285 286 287 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 277 def batch_delete_assets(parent, batch_delete_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/assets:batchDelete', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::BatchDeleteAssetsRequest::Representation command.request_object = batch_delete_assets_request_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Empty::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Empty command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#batch_update_assets(parent, batch_update_assets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::BatchUpdateAssetsResponse
Updates the parameters of a list of assets.
310 311 312 313 314 315 316 317 318 319 320 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 310 def batch_update_assets(parent, batch_update_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/assets:batchUpdate', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::BatchUpdateAssetsRequest::Representation command.request_object = batch_update_assets_request_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::BatchUpdateAssetsResponse::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::BatchUpdateAssetsResponse command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Empty
Starts asynchronous cancellation on a long-running operation. The server makes
a best effort to cancel the operation, but success is not guaranteed. If the
server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
Clients can use Operations.GetOperation or other methods to check whether the
cancellation succeeded or whether the operation completed despite cancellation.
On successful cancellation, the operation is not deleted; instead, it becomes
an operation with an Operation.error value with a google.rpc.Status.code of 1
, corresponding to Code.CANCELLED.
1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1741 def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+name}:cancel', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Empty::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_assets_export_job(parent, assets_export_job_object = nil, assets_export_job_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Creates a new assets export job.
569 570 571 572 573 574 575 576 577 578 579 580 581 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 569 def create_project_location_assets_export_job(parent, assets_export_job_object = nil, assets_export_job_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/assetsExportJobs', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::AssetsExportJob::Representation command.request_object = assets_export_job_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['parent'] = parent unless parent.nil? command.query['assetsExportJobId'] = assets_export_job_id unless assets_export_job_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_discovery_client(parent, discovery_client_object = nil, discovery_client_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Creates a new discovery client.
751 752 753 754 755 756 757 758 759 760 761 762 763 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 751 def create_project_location_discovery_client(parent, discovery_client_object = nil, discovery_client_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/discoveryClients', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::DiscoveryClient::Representation command.request_object = discovery_client_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['parent'] = parent unless parent.nil? command.query['discoveryClientId'] = discovery_client_id unless discovery_client_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_group(parent, group_object = nil, group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Creates a new group in a given project and location.
1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1041 def create_project_location_group(parent, group_object = nil, group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/groups', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::Group::Representation command.request_object = group_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['parent'] = parent unless parent.nil? command.query['groupId'] = group_id unless group_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_import_job(parent, import_job_object = nil, import_job_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Creates an import job.
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1289 def create_project_location_import_job(parent, import_job_object = nil, import_job_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/importJobs', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::ImportJob::Representation command.request_object = import_job_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['parent'] = parent unless parent.nil? command.query['importJobId'] = import_job_id unless import_job_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_import_job_import_data_file(parent, import_data_file_object = nil, import_data_file_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Creates an import data file.
1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1580 def create_project_location_import_job_import_data_file(parent, import_data_file_object = nil, import_data_file_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/importDataFiles', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::ImportDataFile::Representation command.request_object = import_data_file_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['parent'] = parent unless parent.nil? command.query['importDataFileId'] = import_data_file_id unless import_data_file_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_preference_set(parent, preference_set_object = nil, preference_set_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Creates a new preference set in a given project and location.
1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1899 def create_project_location_preference_set(parent, preference_set_object = nil, preference_set_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/preferenceSets', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::PreferenceSet::Representation command.request_object = preference_set_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['parent'] = parent unless parent.nil? command.query['preferenceSetId'] = preference_set_id unless preference_set_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_report_config(parent, report_config_object = nil, report_config_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Creates a report configuration.
2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2189 def create_project_location_report_config(parent, report_config_object = nil, report_config_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/reportConfigs', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::ReportConfig::Representation command.request_object = report_config_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['parent'] = parent unless parent.nil? command.query['reportConfigId'] = report_config_id unless report_config_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_report_config_report(parent, report_object = nil, report_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Creates a report.
2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2361 def create_project_location_report_config_report(parent, report_object = nil, report_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/reports', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::Report::Representation command.request_object = report_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['parent'] = parent unless parent.nil? command.query['reportId'] = report_id unless report_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_report_config_report_report_export_job(parent, report_export_job_object = nil, report_export_job_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Export a Report into a supported destination.
2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2530 def create_project_location_report_config_report_report_export_job(parent, report_export_job_object = nil, report_export_job_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/reportExportJobs', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::ReportExportJob::Representation command.request_object = report_export_job_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['parent'] = parent unless parent.nil? command.query['reportExportJobId'] = report_export_job_id unless report_export_job_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_source(parent, source_object = nil, request_id: nil, source_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Creates a new source in a given project and location.
2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2724 def create_project_location_source(parent, source_object = nil, request_id: nil, source_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/sources', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::Source::Representation command.request_object = source_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['parent'] = parent unless parent.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['sourceId'] = source_id unless source_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_asset(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Empty
Deletes an asset.
353 354 355 356 357 358 359 360 361 362 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 353 def delete_project_location_asset(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Empty::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Empty command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_assets_export_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Deletes an assets export job.
603 604 605 606 607 608 609 610 611 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 603 def delete_project_location_assets_export_job(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_discovery_client(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Deletes a discovery client.
796 797 798 799 800 801 802 803 804 805 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 796 def delete_project_location_discovery_client(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Deletes a group.
1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1086 def delete_project_location_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_import_job(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Deletes an import job.
1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1337 def delete_project_location_import_job(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['force'] = force unless force.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_import_job_import_data_file(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Delete an import data file.
1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1625 def delete_project_location_import_job_import_data_file(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Empty
Deletes a long-running operation. This method indicates that the client is no
longer interested in the operation result. It does not cancel the operation.
If the server doesn't support this method, it returns google.rpc.Code.
UNIMPLEMENTED.
1776 1777 1778 1779 1780 1781 1782 1783 1784 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1776 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Empty::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_preference_set(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Deletes a preference set.
1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1944 def delete_project_location_preference_set(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_report_config(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Deletes a ReportConfig.
2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2238 def delete_project_location_report_config(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['force'] = force unless force.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_report_config_report(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Deletes a Report.
2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2406 def delete_project_location_report_config_report(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_report_config_report_report_export_job(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Deletes an report export job.
2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2575 def delete_project_location_report_config_report_report_export_job(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_source(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Deletes a source.
2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2769 def delete_project_location_source(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Location
Gets information about a location.
75 76 77 78 79 80 81 82 83 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 75 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Location::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Location command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_asset(name, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Asset
Gets the details of an asset.
386 387 388 389 390 391 392 393 394 395 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 386 def get_project_location_asset(name, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Asset::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Asset command.params['name'] = name unless name.nil? command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_assets_export_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::AssetsExportJob
Gets the details of an assets export job.
633 634 635 636 637 638 639 640 641 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 633 def get_project_location_assets_export_job(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::AssetsExportJob::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::AssetsExportJob command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_discovery_client(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::DiscoveryClient
Gets the details of a discovery client.
827 828 829 830 831 832 833 834 835 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 827 def get_project_location_discovery_client(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::DiscoveryClient::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::DiscoveryClient command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Group
Gets the details of a group.
1117 1118 1119 1120 1121 1122 1123 1124 1125 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1117 def get_project_location_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Group::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Group command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_import_job(name, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ImportJob
Gets the details of an import job.
1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1371 def get_project_location_import_job(name, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ImportJob::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ImportJob command.params['name'] = name unless name.nil? command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_import_job_import_data_file(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ImportDataFile
Gets an import data file.
1656 1657 1658 1659 1660 1661 1662 1663 1664 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1656 def get_project_location_import_job_import_data_file(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ImportDataFile::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ImportDataFile command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
1807 1808 1809 1810 1811 1812 1813 1814 1815 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1807 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_preference_set(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::PreferenceSet
Gets the details of a preference set.
1975 1976 1977 1978 1979 1980 1981 1982 1983 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1975 def get_project_location_preference_set(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::PreferenceSet::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::PreferenceSet command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_relation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Relation
Gets the details of an relation.
2098 2099 2100 2101 2102 2103 2104 2105 2106 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2098 def get_project_location_relation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Relation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Relation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_report_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ReportConfig
Gets details of a single ReportConfig.
2270 2271 2272 2273 2274 2275 2276 2277 2278 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2270 def get_project_location_report_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ReportConfig::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ReportConfig command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_report_config_report(name, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Report
Gets details of a single Report.
2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2439 def get_project_location_report_config_report(name, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Report::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Report command.params['name'] = name unless name.nil? command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_report_config_report_report_export_job(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ReportExportJob
Gets the details of a report export job.
2606 2607 2608 2609 2610 2611 2612 2613 2614 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2606 def get_project_location_report_config_report_report_export_job(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ReportExportJob::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ReportExportJob command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Settings
Gets the details of regional settings.
105 106 107 108 109 110 111 112 113 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 105 def get_project_location_settings(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Settings::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Settings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_source(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Source
Gets the details of a source.
2800 2801 2802 2803 2804 2805 2806 2807 2808 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2800 def get_project_location_source(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::Source::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Source command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_source_error_frame(name, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ErrorFrame
Gets the details of an error frame.
2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2929 def get_project_location_source_error_frame(name, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ErrorFrame::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ErrorFrame command.params['name'] = name unless name.nil? command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_assets(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, show_hidden: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListAssetsResponse
Lists all the assets in a given project and location.
431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 431 def list_project_location_assets(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, show_hidden: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/assets', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListAssetsResponse::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ListAssetsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['showHidden'] = show_hidden unless show_hidden.nil? command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_assets_export_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListAssetsExportJobsResponse
Lists all the assets export jobs in a given project and location.
668 669 670 671 672 673 674 675 676 677 678 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 668 def list_project_location_assets_export_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/assetsExportJobs', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListAssetsExportJobsResponse::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ListAssetsExportJobsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_discovery_clients(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListDiscoveryClientsResponse
Lists all the discovery clients in a given project and location.
870 871 872 873 874 875 876 877 878 879 880 881 882 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 870 def list_project_location_discovery_clients(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/discoveryClients', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListDiscoveryClientsResponse::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ListDiscoveryClientsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListGroupsResponse
Lists all groups in a given project and location.
1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1156 def list_project_location_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/groups', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListGroupsResponse::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ListGroupsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_import_job_import_data_files(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListImportDataFilesResponse
List import data files.
1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1699 def list_project_location_import_job_import_data_files(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/importDataFiles', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListImportDataFilesResponse::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ListImportDataFilesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_import_jobs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListImportJobsResponse
Lists all import jobs.
1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1413 def list_project_location_import_jobs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/importJobs', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListImportJobsResponse::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ListImportJobsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED.
1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1852 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}/operations', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListOperationsResponse::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ListOperationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_preference_sets(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListPreferenceSetsResponse
Lists all the preference sets in a given project and location.
2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2013 def list_project_location_preference_sets(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/preferenceSets', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListPreferenceSetsResponse::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ListPreferenceSetsResponse command.params['parent'] = parent unless parent.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_relations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListRelationsResponse
Lists all the relations in a given project and location.
2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2137 def list_project_location_relations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/relations', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListRelationsResponse::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ListRelationsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_report_config_report_report_export_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListReportExportJobsResponse
Lists all the report export jobs for a given report.
2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2641 def list_project_location_report_config_report_report_export_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/reportExportJobs', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListReportExportJobsResponse::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ListReportExportJobsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_report_config_reports(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListReportsResponse
Lists Reports in a given ReportConfig.
2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2481 def list_project_location_report_config_reports(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/reports', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListReportsResponse::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ListReportsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_report_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListReportConfigsResponse
Lists ReportConfigs in a given project and location.
2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2309 def list_project_location_report_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/reportConfigs', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListReportConfigsResponse::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ListReportConfigsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_source_error_frames(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListErrorFramesResponse
Lists all error frames in a given source and location.
2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2968 def list_project_location_source_error_frames(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/errorFrames', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListErrorFramesResponse::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ListErrorFramesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_sources(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListSourcesResponse
Lists all the sources in a given project and location.
2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2839 def list_project_location_sources(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+parent}/sources', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListSourcesResponse::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ListSourcesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ListLocationsResponse
Lists information about the supported locations for this service. This method
lists locations based on the resource scope provided in the [
ListLocationsRequest.name] field: * Global locations: If name is empty,
the method lists the public locations available to all projects. * Project-
specific locations: If name follows the format projects/project`, the
method lists locations visible to that specific project. This includes public,
private, or other project-specific locations enabled for the project. For gRPC
and client library implementations, the resource name is passed as thename`
field. For direct service calls, the resource name is incorporated into the
request path based on the specific service implementation and version.
157 158 159 160 161 162 163 164 165 166 167 168 169 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 157 def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha1/{+name}/locations', ) command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListLocationsResponse::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ListLocationsResponse command.params['name'] = name unless name.nil? command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_asset(name, asset_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Asset
Updates the parameters of an asset.
485 486 487 488 489 490 491 492 493 494 495 496 497 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 485 def patch_project_location_asset(name, asset_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1alpha1/{+name}', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::Asset::Representation command.request_object = asset_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Asset::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Asset command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_discovery_client(name, discovery_client_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Updates a discovery client.
922 923 924 925 926 927 928 929 930 931 932 933 934 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 922 def patch_project_location_discovery_client(name, discovery_client_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1alpha1/{+name}', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::DiscoveryClient::Representation command.request_object = discovery_client_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_group(name, group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Updates the parameters of a group.
1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1208 def patch_project_location_group(name, group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1alpha1/{+name}', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::Group::Representation command.request_object = group_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_import_job(name, import_job_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Updates an import job.
1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1466 def patch_project_location_import_job(name, import_job_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1alpha1/{+name}', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::ImportJob::Representation command.request_object = import_job_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_preference_set(name, preference_set_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Updates the parameters of a preference set.
2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2064 def patch_project_location_preference_set(name, preference_set_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1alpha1/{+name}', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::PreferenceSet::Representation command.request_object = preference_set_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_source(name, source_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Updates the parameters of a source.
2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2891 def patch_project_location_source(name, source_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1alpha1/{+name}', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::Source::Representation command.request_object = source_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#remove_assets_from_group(group, remove_assets_from_group_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Removes assets from a group.
1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1243 def remove_assets_from_group(group, remove_assets_from_group_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+group}:removeAssets', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::RemoveAssetsFromGroupRequest::Representation command.request_object = remove_assets_from_group_request_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['group'] = group unless group.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#report_project_location_asset_asset_frames(parent, frames_object = nil, source: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ReportAssetFramesResponse
Reports a set of frames.
522 523 524 525 526 527 528 529 530 531 532 533 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 522 def report_project_location_asset_asset_frames(parent, frames_object = nil, source: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+parent}/assets:reportAssetFrames', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::Frames::Representation command.request_object = frames_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::ReportAssetFramesResponse::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::ReportAssetFramesResponse command.params['parent'] = parent unless parent.nil? command.query['source'] = source unless source.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#run_assets_export_job(name, run_assets_export_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Runs an assets export job, returning an AssetsExportJobExecution.
701 702 703 704 705 706 707 708 709 710 711 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 701 def run_assets_export_job(name, run_assets_export_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+name}:run', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::RunAssetsExportJobRequest::Representation command.request_object = run_assets_export_job_request_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#run_import_job(name, run_import_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Runs an import job.
1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1501 def run_import_job(name, run_import_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+name}:run', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::RunImportJobRequest::Representation command.request_object = run_import_job_request_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#run_report_export_job(name, run_report_export_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Runs a report export job.
2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2674 def run_report_export_job(name, run_report_export_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+name}:run', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::RunReportExportJobRequest::Representation command.request_object = run_report_export_job_request_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#send_project_location_discovery_client_heartbeat(name, send_discovery_client_heartbeat_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Sends a discovery client heartbeat. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
958 959 960 961 962 963 964 965 966 967 968 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 958 def send_project_location_discovery_client_heartbeat(name, send_discovery_client_heartbeat_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+name}:sendHeartbeat', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::SendDiscoveryClientHeartbeatRequest::Representation command.request_object = send_discovery_client_heartbeat_request_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_project_location_settings(name, settings_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Updates the regional-level project settings.
209 210 211 212 213 214 215 216 217 218 219 220 221 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 209 def update_project_location_settings(name, settings_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1alpha1/{+name}', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::Settings::Representation command.request_object = settings_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#validate_import_job(name, validate_import_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Validates an import job.
1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1534 def validate_import_job(name, validate_import_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha1/{+name}:validate', ) command.request_representation = Google::Apis::MigrationcenterV1alpha1::ValidateImportJobRequest::Representation command.request_object = validate_import_job_request_object command.response_representation = Google::Apis::MigrationcenterV1alpha1::Operation::Representation command.response_class = Google::Apis::MigrationcenterV1alpha1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |