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_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_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_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_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, 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_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, 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.
-
#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.
978 979 980 981 982 983 984 985 986 987 988 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 978 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.
231 232 233 234 235 236 237 238 239 240 241 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 231 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.
264 265 266 267 268 269 270 271 272 273 274 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 264 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.
297 298 299 300 301 302 303 304 305 306 307 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 297 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
.
1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1728 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.
556 557 558 559 560 561 562 563 564 565 566 567 568 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 556 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.
738 739 740 741 742 743 744 745 746 747 748 749 750 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 738 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.
1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1028 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.
1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1276 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.
1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1567 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.
1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1877 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.
2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2094 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.
2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2266 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_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.
2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2439 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.
340 341 342 343 344 345 346 347 348 349 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 340 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.
590 591 592 593 594 595 596 597 598 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 590 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.
783 784 785 786 787 788 789 790 791 792 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 783 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.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1073 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.
1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1324 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.
1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1612 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
.
1763 1764 1765 1766 1767 1768 1769 1770 1771 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1763 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.
1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1922 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.
2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2143 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.
2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2311 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_source(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Operation
Deletes a source.
2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2484 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.
373 374 375 376 377 378 379 380 381 382 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 373 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.
620 621 622 623 624 625 626 627 628 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 620 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.
814 815 816 817 818 819 820 821 822 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 814 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.
1104 1105 1106 1107 1108 1109 1110 1111 1112 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1104 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.
1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1358 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.
1643 1644 1645 1646 1647 1648 1649 1650 1651 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1643 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.
1794 1795 1796 1797 1798 1799 1800 1801 1802 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1794 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.
1953 1954 1955 1956 1957 1958 1959 1960 1961 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1953 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_report_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::ReportConfig
Gets details of a single ReportConfig.
2175 2176 2177 2178 2179 2180 2181 2182 2183 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2175 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.
2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2344 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_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.
2515 2516 2517 2518 2519 2520 2521 2522 2523 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2515 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.
2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2644 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.
418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 418 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.
655 656 657 658 659 660 661 662 663 664 665 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 655 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.
857 858 859 860 861 862 863 864 865 866 867 868 869 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 857 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.
1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1143 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.
1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1686 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.
1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1400 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, 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
.
1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1831 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: 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['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.
1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1991 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_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.
2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2386 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.
2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2214 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.
2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2683 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.
2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2554 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, 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.
145 146 147 148 149 150 151 152 153 154 155 156 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 145 def list_project_locations(name, 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['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.
472 473 474 475 476 477 478 479 480 481 482 483 484 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 472 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.
909 910 911 912 913 914 915 916 917 918 919 920 921 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 909 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.
1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1195 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.
1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1453 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.
2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2042 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.
2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2606 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.
1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1230 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.
509 510 511 512 513 514 515 516 517 518 519 520 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 509 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.
688 689 690 691 692 693 694 695 696 697 698 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 688 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.
1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1488 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 |
#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).
945 946 947 948 949 950 951 952 953 954 955 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 945 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.
196 197 198 199 200 201 202 203 204 205 206 207 208 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 196 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.
1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1521 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 |