# Generated by the protocol buffer compiler. DO NOT EDIT! # Source: google/cloud/migrationcenter/v1/migrationcenter.proto for package 'Google.Cloud.MigrationCenter.V1' # Original file comments: # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # require 'grpc' require 'google/cloud/migrationcenter/v1/migrationcenter_pb' module Google module Cloud module MigrationCenter module V1 module MigrationCenter # Service describing handlers for resources. class Service include ::GRPC::GenericService self.marshal_class_method = :encode self.unmarshal_class_method = :decode self.service_name = 'google.cloud.migrationcenter.v1.MigrationCenter' # Lists all the assets in a given project and location. rpc :ListAssets, ::Google::Cloud::MigrationCenter::V1::ListAssetsRequest, ::Google::Cloud::MigrationCenter::V1::ListAssetsResponse # Gets the details of an asset. rpc :GetAsset, ::Google::Cloud::MigrationCenter::V1::GetAssetRequest, ::Google::Cloud::MigrationCenter::V1::Asset # Updates the parameters of an asset. rpc :UpdateAsset, ::Google::Cloud::MigrationCenter::V1::UpdateAssetRequest, ::Google::Cloud::MigrationCenter::V1::Asset # Updates the parameters of a list of assets. rpc :BatchUpdateAssets, ::Google::Cloud::MigrationCenter::V1::BatchUpdateAssetsRequest, ::Google::Cloud::MigrationCenter::V1::BatchUpdateAssetsResponse # Deletes an asset. rpc :DeleteAsset, ::Google::Cloud::MigrationCenter::V1::DeleteAssetRequest, ::Google::Protobuf::Empty # Deletes list of Assets. rpc :BatchDeleteAssets, ::Google::Cloud::MigrationCenter::V1::BatchDeleteAssetsRequest, ::Google::Protobuf::Empty # Reports a set of frames. rpc :ReportAssetFrames, ::Google::Cloud::MigrationCenter::V1::ReportAssetFramesRequest, ::Google::Cloud::MigrationCenter::V1::ReportAssetFramesResponse # Aggregates the requested fields based on provided function. rpc :AggregateAssetsValues, ::Google::Cloud::MigrationCenter::V1::AggregateAssetsValuesRequest, ::Google::Cloud::MigrationCenter::V1::AggregateAssetsValuesResponse # Creates an import job. rpc :CreateImportJob, ::Google::Cloud::MigrationCenter::V1::CreateImportJobRequest, ::Google::Longrunning::Operation # Lists all import jobs. rpc :ListImportJobs, ::Google::Cloud::MigrationCenter::V1::ListImportJobsRequest, ::Google::Cloud::MigrationCenter::V1::ListImportJobsResponse # Gets the details of an import job. rpc :GetImportJob, ::Google::Cloud::MigrationCenter::V1::GetImportJobRequest, ::Google::Cloud::MigrationCenter::V1::ImportJob # Deletes an import job. rpc :DeleteImportJob, ::Google::Cloud::MigrationCenter::V1::DeleteImportJobRequest, ::Google::Longrunning::Operation # Updates an import job. rpc :UpdateImportJob, ::Google::Cloud::MigrationCenter::V1::UpdateImportJobRequest, ::Google::Longrunning::Operation # Validates an import job. rpc :ValidateImportJob, ::Google::Cloud::MigrationCenter::V1::ValidateImportJobRequest, ::Google::Longrunning::Operation # Runs an import job. rpc :RunImportJob, ::Google::Cloud::MigrationCenter::V1::RunImportJobRequest, ::Google::Longrunning::Operation # Gets an import data file. rpc :GetImportDataFile, ::Google::Cloud::MigrationCenter::V1::GetImportDataFileRequest, ::Google::Cloud::MigrationCenter::V1::ImportDataFile # List import data files. rpc :ListImportDataFiles, ::Google::Cloud::MigrationCenter::V1::ListImportDataFilesRequest, ::Google::Cloud::MigrationCenter::V1::ListImportDataFilesResponse # Creates an import data file. rpc :CreateImportDataFile, ::Google::Cloud::MigrationCenter::V1::CreateImportDataFileRequest, ::Google::Longrunning::Operation # Delete an import data file. rpc :DeleteImportDataFile, ::Google::Cloud::MigrationCenter::V1::DeleteImportDataFileRequest, ::Google::Longrunning::Operation # Lists all groups in a given project and location. rpc :ListGroups, ::Google::Cloud::MigrationCenter::V1::ListGroupsRequest, ::Google::Cloud::MigrationCenter::V1::ListGroupsResponse # Gets the details of a group. rpc :GetGroup, ::Google::Cloud::MigrationCenter::V1::GetGroupRequest, ::Google::Cloud::MigrationCenter::V1::Group # Creates a new group in a given project and location. rpc :CreateGroup, ::Google::Cloud::MigrationCenter::V1::CreateGroupRequest, ::Google::Longrunning::Operation # Updates the parameters of a group. rpc :UpdateGroup, ::Google::Cloud::MigrationCenter::V1::UpdateGroupRequest, ::Google::Longrunning::Operation # Deletes a group. rpc :DeleteGroup, ::Google::Cloud::MigrationCenter::V1::DeleteGroupRequest, ::Google::Longrunning::Operation # Adds assets to a group. rpc :AddAssetsToGroup, ::Google::Cloud::MigrationCenter::V1::AddAssetsToGroupRequest, ::Google::Longrunning::Operation # Removes assets from a group. rpc :RemoveAssetsFromGroup, ::Google::Cloud::MigrationCenter::V1::RemoveAssetsFromGroupRequest, ::Google::Longrunning::Operation # Lists all error frames in a given source and location. rpc :ListErrorFrames, ::Google::Cloud::MigrationCenter::V1::ListErrorFramesRequest, ::Google::Cloud::MigrationCenter::V1::ListErrorFramesResponse # Gets the details of an error frame. rpc :GetErrorFrame, ::Google::Cloud::MigrationCenter::V1::GetErrorFrameRequest, ::Google::Cloud::MigrationCenter::V1::ErrorFrame # Lists all the sources in a given project and location. rpc :ListSources, ::Google::Cloud::MigrationCenter::V1::ListSourcesRequest, ::Google::Cloud::MigrationCenter::V1::ListSourcesResponse # Gets the details of a source. rpc :GetSource, ::Google::Cloud::MigrationCenter::V1::GetSourceRequest, ::Google::Cloud::MigrationCenter::V1::Source # Creates a new source in a given project and location. rpc :CreateSource, ::Google::Cloud::MigrationCenter::V1::CreateSourceRequest, ::Google::Longrunning::Operation # Updates the parameters of a source. rpc :UpdateSource, ::Google::Cloud::MigrationCenter::V1::UpdateSourceRequest, ::Google::Longrunning::Operation # Deletes a source. rpc :DeleteSource, ::Google::Cloud::MigrationCenter::V1::DeleteSourceRequest, ::Google::Longrunning::Operation # Lists all the preference sets in a given project and location. rpc :ListPreferenceSets, ::Google::Cloud::MigrationCenter::V1::ListPreferenceSetsRequest, ::Google::Cloud::MigrationCenter::V1::ListPreferenceSetsResponse # Gets the details of a preference set. rpc :GetPreferenceSet, ::Google::Cloud::MigrationCenter::V1::GetPreferenceSetRequest, ::Google::Cloud::MigrationCenter::V1::PreferenceSet # Creates a new preference set in a given project and location. rpc :CreatePreferenceSet, ::Google::Cloud::MigrationCenter::V1::CreatePreferenceSetRequest, ::Google::Longrunning::Operation # Updates the parameters of a preference set. rpc :UpdatePreferenceSet, ::Google::Cloud::MigrationCenter::V1::UpdatePreferenceSetRequest, ::Google::Longrunning::Operation # Deletes a preference set. rpc :DeletePreferenceSet, ::Google::Cloud::MigrationCenter::V1::DeletePreferenceSetRequest, ::Google::Longrunning::Operation # Gets the details of regional settings. rpc :GetSettings, ::Google::Cloud::MigrationCenter::V1::GetSettingsRequest, ::Google::Cloud::MigrationCenter::V1::Settings # Updates the regional-level project settings. rpc :UpdateSettings, ::Google::Cloud::MigrationCenter::V1::UpdateSettingsRequest, ::Google::Longrunning::Operation # Creates a report configuration. rpc :CreateReportConfig, ::Google::Cloud::MigrationCenter::V1::CreateReportConfigRequest, ::Google::Longrunning::Operation # Gets details of a single ReportConfig. rpc :GetReportConfig, ::Google::Cloud::MigrationCenter::V1::GetReportConfigRequest, ::Google::Cloud::MigrationCenter::V1::ReportConfig # Lists ReportConfigs in a given project and location. rpc :ListReportConfigs, ::Google::Cloud::MigrationCenter::V1::ListReportConfigsRequest, ::Google::Cloud::MigrationCenter::V1::ListReportConfigsResponse # Deletes a ReportConfig. rpc :DeleteReportConfig, ::Google::Cloud::MigrationCenter::V1::DeleteReportConfigRequest, ::Google::Longrunning::Operation # Creates a report. rpc :CreateReport, ::Google::Cloud::MigrationCenter::V1::CreateReportRequest, ::Google::Longrunning::Operation # Gets details of a single Report. rpc :GetReport, ::Google::Cloud::MigrationCenter::V1::GetReportRequest, ::Google::Cloud::MigrationCenter::V1::Report # Lists Reports in a given ReportConfig. rpc :ListReports, ::Google::Cloud::MigrationCenter::V1::ListReportsRequest, ::Google::Cloud::MigrationCenter::V1::ListReportsResponse # Deletes a Report. rpc :DeleteReport, ::Google::Cloud::MigrationCenter::V1::DeleteReportRequest, ::Google::Longrunning::Operation end Stub = Service.rpc_stub_class end end end end end