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
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_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::Operation
Deletes an asset.
-
#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_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.
-
#initialize ⇒ MigrationCenterAPIService
constructor
A new instance of MigrationCenterAPIService.
-
#list_project_location_assets(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::ListAssetsResponse
Lists all the assets 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_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::Operation
Updates the parameters of an asset.
-
#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_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.
-
#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.
45 46 47 48 49 50 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 45 def initialize super('https://migrationcenter.googleapis.com/', '', 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.
38 39 40 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 38 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.
43 44 45 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 43 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.
537 538 539 540 541 542 543 544 545 546 547 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 537 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.
228 229 230 231 232 233 234 235 236 237 238 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 228 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.
261 262 263 264 265 266 267 268 269 270 271 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 261 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.
294 295 296 297 298 299 300 301 302 303 304 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 294 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.
1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1287 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_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.
587 588 589 590 591 592 593 594 595 596 597 598 599 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 587 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.
835 836 837 838 839 840 841 842 843 844 845 846 847 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 835 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.
1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1126 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.
1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1436 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.
1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1653 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.
1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1825 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.
1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1998 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::Operation
Deletes an asset. Deprecated: Please use BatchDeleteAssets API instead.
337 338 339 340 341 342 343 344 345 346 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 337 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::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.
632 633 634 635 636 637 638 639 640 641 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 632 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.
883 884 885 886 887 888 889 890 891 892 893 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 883 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.
1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1171 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.
1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1322 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.
1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1481 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.
1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1702 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.
1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1870 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.
2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2043 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.
72 73 74 75 76 77 78 79 80 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 72 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.
370 371 372 373 374 375 376 377 378 379 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 370 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_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MigrationcenterV1alpha1::Group
Gets the details of a group.
663 664 665 666 667 668 669 670 671 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 663 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.
917 918 919 920 921 922 923 924 925 926 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 917 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.
1202 1203 1204 1205 1206 1207 1208 1209 1210 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1202 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.
1353 1354 1355 1356 1357 1358 1359 1360 1361 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1353 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.
1512 1513 1514 1515 1516 1517 1518 1519 1520 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1512 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.
1734 1735 1736 1737 1738 1739 1740 1741 1742 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1734 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.
1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1903 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.
102 103 104 105 106 107 108 109 110 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 102 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.
2074 2075 2076 2077 2078 2079 2080 2081 2082 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2074 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 |
#list_project_location_assets(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::ListAssetsResponse
Lists all the assets in a given project and location.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 412 def list_project_location_assets(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}/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['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_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.
702 703 704 705 706 707 708 709 710 711 712 713 714 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 702 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.
1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1245 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.
959 960 961 962 963 964 965 966 967 968 969 970 971 972 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 959 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.
1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1390 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.
1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1550 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.
1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1945 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.
1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1773 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_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.
2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2113 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.
142 143 144 145 146 147 148 149 150 151 152 153 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 142 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::Operation
Updates the parameters of an asset. Deprecated: Please use BatchUpdateAssets API instead.
466 467 468 469 470 471 472 473 474 475 476 477 478 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 466 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::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.
754 755 756 757 758 759 760 761 762 763 764 765 766 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 754 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.
1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1012 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.
1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1601 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.
2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 2165 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.
789 790 791 792 793 794 795 796 797 798 799 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 789 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.
503 504 505 506 507 508 509 510 511 512 513 514 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 503 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_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.
1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1047 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 |
#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.
193 194 195 196 197 198 199 200 201 202 203 204 205 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 193 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.
1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 |
# File 'lib/google/apis/migrationcenter_v1alpha1/service.rb', line 1080 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 |