# Copyright 2020 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 'date' require 'google/apis/core/base_service' require 'google/apis/core/json_representation' require 'google/apis/core/hashable' require 'google/apis/errors' module Google module Apis module VmmigrationV1alpha1 class AddGroupMigrationRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ApplianceVersion class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AppliedLicense class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AvailableUpdates class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CancelCloneJobRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CancelCutoverJobRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CancelOperationRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CloneJob class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ComputeEngineTargetDefaults class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ComputeEngineTargetDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ComputeScheduling class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CutoverJob class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CycleStep class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DatacenterConnector class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Empty class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class FetchInventoryResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class FinalizeMigrationRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Group class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class InitializingReplicationStep class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Link class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListCloneJobsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListCutoverJobsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListDatacenterConnectorsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListGroupsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListLocationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListMigratingVmsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListOperationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListSourcesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListTargetProjectsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListUtilizationReportsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class LocalizedMessage class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Location class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class MigratingVm class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class MigrationError class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class NetworkInterface class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Operation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class OperationMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PauseMigrationRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class PostProcessingStep class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RemoveGroupMigrationRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ReplicatingStep class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ReplicationCycle class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ReplicationSync class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ResumeMigrationRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SchedulePolicy class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SchedulingNodeAffinity class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Source class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class StartMigrationRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Status class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TargetProject class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class TargetVmDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class UpgradeApplianceRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class UpgradeStatus class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class UtilizationReport class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class VmUtilizationInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class VmUtilizationMetrics class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class VmwareSourceDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class VmwareVmDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class VmwareVmsDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AddGroupMigrationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :migrating_vm, as: 'migratingVm' end end class ApplianceVersion # @private class Representation < Google::Apis::Core::JsonRepresentation property :critical, as: 'critical' property :release_notes_uri, as: 'releaseNotesUri' property :uri, as: 'uri' property :version, as: 'version' end end class AppliedLicense # @private class Representation < Google::Apis::Core::JsonRepresentation property :os_license, as: 'osLicense' property :type, as: 'type' end end class AvailableUpdates # @private class Representation < Google::Apis::Core::JsonRepresentation property :in_place_update, as: 'inPlaceUpdate', class: Google::Apis::VmmigrationV1alpha1::ApplianceVersion, decorator: Google::Apis::VmmigrationV1alpha1::ApplianceVersion::Representation property :new_deployable_appliance, as: 'newDeployableAppliance', class: Google::Apis::VmmigrationV1alpha1::ApplianceVersion, decorator: Google::Apis::VmmigrationV1alpha1::ApplianceVersion::Representation end end class CancelCloneJobRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end class CancelCutoverJobRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end class CancelOperationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end class CloneJob # @private class Representation < Google::Apis::Core::JsonRepresentation property :compute_engine_target_details, as: 'computeEngineTargetDetails', class: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDetails, decorator: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDetails::Representation property :compute_engine_vm_details, as: 'computeEngineVmDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation property :create_time, as: 'createTime' property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation property :name, as: 'name' property :state, as: 'state' property :state_time, as: 'stateTime' property :target_details, as: 'targetDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation end end class ComputeEngineTargetDefaults # @private class Representation < Google::Apis::Core::JsonRepresentation collection :additional_licenses, as: 'additionalLicenses' property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1alpha1::AppliedLicense, decorator: Google::Apis::VmmigrationV1alpha1::AppliedLicense::Representation property :boot_option, as: 'bootOption' property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1alpha1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1alpha1::ComputeScheduling::Representation property :disk_type, as: 'diskType' hash :labels, as: 'labels' property :license_type, as: 'licenseType' property :machine_type, as: 'machineType' property :machine_type_series, as: 'machineTypeSeries' hash :metadata, as: 'metadata' collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::VmmigrationV1alpha1::NetworkInterface, decorator: Google::Apis::VmmigrationV1alpha1::NetworkInterface::Representation collection :network_tags, as: 'networkTags' property :secure_boot, as: 'secureBoot' property :service_account, as: 'serviceAccount' property :target_project, as: 'targetProject' property :vm_name, as: 'vmName' property :zone, as: 'zone' end end class ComputeEngineTargetDetails # @private class Representation < Google::Apis::Core::JsonRepresentation collection :additional_licenses, as: 'additionalLicenses' property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1alpha1::AppliedLicense, decorator: Google::Apis::VmmigrationV1alpha1::AppliedLicense::Representation property :boot_option, as: 'bootOption' property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1alpha1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1alpha1::ComputeScheduling::Representation property :disk_type, as: 'diskType' hash :labels, as: 'labels' property :license_type, as: 'licenseType' property :machine_type, as: 'machineType' property :machine_type_series, as: 'machineTypeSeries' hash :metadata, as: 'metadata' collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::VmmigrationV1alpha1::NetworkInterface, decorator: Google::Apis::VmmigrationV1alpha1::NetworkInterface::Representation collection :network_tags, as: 'networkTags' property :project, as: 'project' property :secure_boot, as: 'secureBoot' property :service_account, as: 'serviceAccount' property :vm_name, as: 'vmName' property :zone, as: 'zone' end end class ComputeScheduling # @private class Representation < Google::Apis::Core::JsonRepresentation property :automatic_restart, as: 'automaticRestart' property :min_node_cpus, as: 'minNodeCpus' collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::VmmigrationV1alpha1::SchedulingNodeAffinity, decorator: Google::Apis::VmmigrationV1alpha1::SchedulingNodeAffinity::Representation property :on_host_maintenance, as: 'onHostMaintenance' property :restart_type, as: 'restartType' end end class CutoverJob # @private class Representation < Google::Apis::Core::JsonRepresentation property :compute_engine_target_details, as: 'computeEngineTargetDetails', class: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDetails, decorator: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDetails::Representation property :compute_engine_vm_details, as: 'computeEngineVmDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation property :create_time, as: 'createTime' property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation property :name, as: 'name' property :progress, as: 'progress' property :progress_percent, as: 'progressPercent' property :state, as: 'state' property :state_message, as: 'stateMessage' property :state_time, as: 'stateTime' property :target_details, as: 'targetDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation end end class CycleStep # @private class Representation < Google::Apis::Core::JsonRepresentation property :end_time, as: 'endTime' property :initializing_replication, as: 'initializingReplication', class: Google::Apis::VmmigrationV1alpha1::InitializingReplicationStep, decorator: Google::Apis::VmmigrationV1alpha1::InitializingReplicationStep::Representation property :post_processing, as: 'postProcessing', class: Google::Apis::VmmigrationV1alpha1::PostProcessingStep, decorator: Google::Apis::VmmigrationV1alpha1::PostProcessingStep::Representation property :replicating, as: 'replicating', class: Google::Apis::VmmigrationV1alpha1::ReplicatingStep, decorator: Google::Apis::VmmigrationV1alpha1::ReplicatingStep::Representation property :start_time, as: 'startTime' end end class DatacenterConnector # @private class Representation < Google::Apis::Core::JsonRepresentation property :appliance_infrastructure_version, as: 'applianceInfrastructureVersion' property :appliance_software_version, as: 'applianceSoftwareVersion' property :available_versions, as: 'availableVersions', class: Google::Apis::VmmigrationV1alpha1::AvailableUpdates, decorator: Google::Apis::VmmigrationV1alpha1::AvailableUpdates::Representation property :bucket, as: 'bucket' property :create_time, as: 'createTime' property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation property :name, as: 'name' property :registration_id, as: 'registrationId' property :service_account, as: 'serviceAccount' property :state, as: 'state' property :state_time, as: 'stateTime' property :update_time, as: 'updateTime' property :upgrade_status, as: 'upgradeStatus', class: Google::Apis::VmmigrationV1alpha1::UpgradeStatus, decorator: Google::Apis::VmmigrationV1alpha1::UpgradeStatus::Representation property :version, as: 'version' end end class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation end end class FetchInventoryResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :update_time, as: 'updateTime' property :vmware_vms, as: 'vmwareVms', class: Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails::Representation end end class FinalizeMigrationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end class Group # @private class Representation < Google::Apis::Core::JsonRepresentation property :create_time, as: 'createTime' property :description, as: 'description' property :display_name, as: 'displayName' property :name, as: 'name' property :update_time, as: 'updateTime' end end class InitializingReplicationStep # @private class Representation < Google::Apis::Core::JsonRepresentation end end class Link # @private class Representation < Google::Apis::Core::JsonRepresentation property :description, as: 'description' property :url, as: 'url' end end class ListCloneJobsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :clone_jobs, as: 'cloneJobs', class: Google::Apis::VmmigrationV1alpha1::CloneJob, decorator: Google::Apis::VmmigrationV1alpha1::CloneJob::Representation property :next_page_token, as: 'nextPageToken' collection :unreachable, as: 'unreachable' end end class ListCutoverJobsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :cutover_jobs, as: 'cutoverJobs', class: Google::Apis::VmmigrationV1alpha1::CutoverJob, decorator: Google::Apis::VmmigrationV1alpha1::CutoverJob::Representation property :next_page_token, as: 'nextPageToken' collection :unreachable, as: 'unreachable' end end class ListDatacenterConnectorsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :datacenter_connectors, as: 'datacenterConnectors', class: Google::Apis::VmmigrationV1alpha1::DatacenterConnector, decorator: Google::Apis::VmmigrationV1alpha1::DatacenterConnector::Representation property :next_page_token, as: 'nextPageToken' collection :unreachable, as: 'unreachable' end end class ListGroupsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :groups, as: 'groups', class: Google::Apis::VmmigrationV1alpha1::Group, decorator: Google::Apis::VmmigrationV1alpha1::Group::Representation property :next_page_token, as: 'nextPageToken' collection :unreachable, as: 'unreachable' end end class ListLocationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :locations, as: 'locations', class: Google::Apis::VmmigrationV1alpha1::Location, decorator: Google::Apis::VmmigrationV1alpha1::Location::Representation property :next_page_token, as: 'nextPageToken' end end class ListMigratingVmsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :migrating_vms, as: 'migratingVms', class: Google::Apis::VmmigrationV1alpha1::MigratingVm, decorator: Google::Apis::VmmigrationV1alpha1::MigratingVm::Representation property :next_page_token, as: 'nextPageToken' collection :unreachable, as: 'unreachable' end end class ListOperationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' collection :operations, as: 'operations', class: Google::Apis::VmmigrationV1alpha1::Operation, decorator: Google::Apis::VmmigrationV1alpha1::Operation::Representation end end class ListSourcesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' collection :sources, as: 'sources', class: Google::Apis::VmmigrationV1alpha1::Source, decorator: Google::Apis::VmmigrationV1alpha1::Source::Representation collection :unreachable, as: 'unreachable' end end class ListTargetProjectsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' collection :target_projects, as: 'targetProjects', class: Google::Apis::VmmigrationV1alpha1::TargetProject, decorator: Google::Apis::VmmigrationV1alpha1::TargetProject::Representation collection :unreachable, as: 'unreachable' end end class ListUtilizationReportsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' collection :unreachable, as: 'unreachable' collection :utilization_reports, as: 'utilizationReports', class: Google::Apis::VmmigrationV1alpha1::UtilizationReport, decorator: Google::Apis::VmmigrationV1alpha1::UtilizationReport::Representation end end class LocalizedMessage # @private class Representation < Google::Apis::Core::JsonRepresentation property :locale, as: 'locale' property :message, as: 'message' end end class Location # @private class Representation < Google::Apis::Core::JsonRepresentation property :display_name, as: 'displayName' hash :labels, as: 'labels' property :location_id, as: 'locationId' hash :metadata, as: 'metadata' property :name, as: 'name' end end class MigratingVm # @private class Representation < Google::Apis::Core::JsonRepresentation property :compute_engine_target_defaults, as: 'computeEngineTargetDefaults', class: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDefaults, decorator: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDefaults::Representation property :compute_engine_vm_defaults, as: 'computeEngineVmDefaults', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation property :create_time, as: 'createTime' property :current_sync_info, as: 'currentSyncInfo', class: Google::Apis::VmmigrationV1alpha1::ReplicationCycle, decorator: Google::Apis::VmmigrationV1alpha1::ReplicationCycle::Representation property :description, as: 'description' property :display_name, as: 'displayName' property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation property :group, as: 'group' hash :labels, as: 'labels' property :last_sync, as: 'lastSync', class: Google::Apis::VmmigrationV1alpha1::ReplicationSync, decorator: Google::Apis::VmmigrationV1alpha1::ReplicationSync::Representation property :name, as: 'name' property :policy, as: 'policy', class: Google::Apis::VmmigrationV1alpha1::SchedulePolicy, decorator: Google::Apis::VmmigrationV1alpha1::SchedulePolicy::Representation collection :recent_clone_jobs, as: 'recentCloneJobs', class: Google::Apis::VmmigrationV1alpha1::CloneJob, decorator: Google::Apis::VmmigrationV1alpha1::CloneJob::Representation collection :recent_cutover_jobs, as: 'recentCutoverJobs', class: Google::Apis::VmmigrationV1alpha1::CutoverJob, decorator: Google::Apis::VmmigrationV1alpha1::CutoverJob::Representation property :source_vm_id, as: 'sourceVmId' property :state, as: 'state' property :state_time, as: 'stateTime' property :target_defaults, as: 'targetDefaults', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation property :update_time, as: 'updateTime' end end class MigrationError # @private class Representation < Google::Apis::Core::JsonRepresentation property :action_item, as: 'actionItem', class: Google::Apis::VmmigrationV1alpha1::LocalizedMessage, decorator: Google::Apis::VmmigrationV1alpha1::LocalizedMessage::Representation property :code, as: 'code' property :error_message, as: 'errorMessage', class: Google::Apis::VmmigrationV1alpha1::LocalizedMessage, decorator: Google::Apis::VmmigrationV1alpha1::LocalizedMessage::Representation property :error_time, as: 'errorTime' collection :help_links, as: 'helpLinks', class: Google::Apis::VmmigrationV1alpha1::Link, decorator: Google::Apis::VmmigrationV1alpha1::Link::Representation end end class NetworkInterface # @private class Representation < Google::Apis::Core::JsonRepresentation property :external_ip, as: 'externalIp' property :internal_ip, as: 'internalIp' property :network, as: 'network' property :subnetwork, as: 'subnetwork' end end class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation property :done, as: 'done' property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation hash :metadata, as: 'metadata' property :name, as: 'name' hash :response, as: 'response' end end class OperationMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation property :api_version, as: 'apiVersion' property :create_time, as: 'createTime' property :end_time, as: 'endTime' property :requested_cancellation, as: 'requestedCancellation' property :status_message, as: 'statusMessage' property :target, as: 'target' property :verb, as: 'verb' end end class PauseMigrationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end class PostProcessingStep # @private class Representation < Google::Apis::Core::JsonRepresentation end end class RemoveGroupMigrationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :migrating_vm, as: 'migratingVm' end end class ReplicatingStep # @private class Representation < Google::Apis::Core::JsonRepresentation property :last_thirty_minutes_average_bytes_per_second, :numeric_string => true, as: 'lastThirtyMinutesAverageBytesPerSecond' property :last_two_minutes_average_bytes_per_second, :numeric_string => true, as: 'lastTwoMinutesAverageBytesPerSecond' property :replicated_bytes, :numeric_string => true, as: 'replicatedBytes' property :total_bytes, :numeric_string => true, as: 'totalBytes' end end class ReplicationCycle # @private class Representation < Google::Apis::Core::JsonRepresentation property :progress, as: 'progress' property :progress_percent, as: 'progressPercent' property :start_time, as: 'startTime' collection :steps, as: 'steps', class: Google::Apis::VmmigrationV1alpha1::CycleStep, decorator: Google::Apis::VmmigrationV1alpha1::CycleStep::Representation property :total_pause_duration, as: 'totalPauseDuration' end end class ReplicationSync # @private class Representation < Google::Apis::Core::JsonRepresentation property :last_sync_time, as: 'lastSyncTime' end end class ResumeMigrationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end class SchedulePolicy # @private class Representation < Google::Apis::Core::JsonRepresentation property :idle_duration, as: 'idleDuration' property :skip_os_adaptation, as: 'skipOsAdaptation' end end class SchedulingNodeAffinity # @private class Representation < Google::Apis::Core::JsonRepresentation property :key, as: 'key' property :operator, as: 'operator' collection :values, as: 'values' end end class Source # @private class Representation < Google::Apis::Core::JsonRepresentation property :create_time, as: 'createTime' property :description, as: 'description' property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation hash :labels, as: 'labels' property :name, as: 'name' property :update_time, as: 'updateTime' property :vmware, as: 'vmware', class: Google::Apis::VmmigrationV1alpha1::VmwareSourceDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareSourceDetails::Representation end end class StartMigrationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end class Status # @private class Representation < Google::Apis::Core::JsonRepresentation property :code, as: 'code' collection :details, as: 'details' property :message, as: 'message' end end class TargetProject # @private class Representation < Google::Apis::Core::JsonRepresentation property :create_time, as: 'createTime' property :description, as: 'description' property :name, as: 'name' property :project, as: 'project' property :update_time, as: 'updateTime' end end class TargetVmDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1alpha1::AppliedLicense, decorator: Google::Apis::VmmigrationV1alpha1::AppliedLicense::Representation property :boot_option, as: 'bootOption' property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1alpha1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1alpha1::ComputeScheduling::Representation property :disk_type, as: 'diskType' property :external_ip, as: 'externalIp' property :internal_ip, as: 'internalIp' hash :labels, as: 'labels' property :license_type, as: 'licenseType' property :machine_type, as: 'machineType' property :machine_type_series, as: 'machineTypeSeries' hash :metadata, as: 'metadata' property :name, as: 'name' property :network, as: 'network' collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::VmmigrationV1alpha1::NetworkInterface, decorator: Google::Apis::VmmigrationV1alpha1::NetworkInterface::Representation collection :network_tags, as: 'networkTags' property :project, as: 'project' property :secure_boot, as: 'secureBoot' property :service_account, as: 'serviceAccount' property :subnetwork, as: 'subnetwork' property :target_project, as: 'targetProject' property :zone, as: 'zone' end end class UpgradeApplianceRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :request_id, as: 'requestId' end end class UpgradeStatus # @private class Representation < Google::Apis::Core::JsonRepresentation property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation property :previous_version, as: 'previousVersion' property :start_time, as: 'startTime' property :state, as: 'state' property :version, as: 'version' end end class UtilizationReport # @private class Representation < Google::Apis::Core::JsonRepresentation property :create_time, as: 'createTime' property :display_name, as: 'displayName' property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation property :frame_end_time, as: 'frameEndTime' property :name, as: 'name' property :state, as: 'state' property :state_time, as: 'stateTime' property :time_frame, as: 'timeFrame' property :vm_count, as: 'vmCount' collection :vms, as: 'vms', class: Google::Apis::VmmigrationV1alpha1::VmUtilizationInfo, decorator: Google::Apis::VmmigrationV1alpha1::VmUtilizationInfo::Representation property :vms_count, as: 'vmsCount' end end class VmUtilizationInfo # @private class Representation < Google::Apis::Core::JsonRepresentation property :utilization, as: 'utilization', class: Google::Apis::VmmigrationV1alpha1::VmUtilizationMetrics, decorator: Google::Apis::VmmigrationV1alpha1::VmUtilizationMetrics::Representation property :vm_id, as: 'vmId' property :vmware_vm_details, as: 'vmwareVmDetails', class: Google::Apis::VmmigrationV1alpha1::VmwareVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareVmDetails::Representation end end class VmUtilizationMetrics # @private class Representation < Google::Apis::Core::JsonRepresentation property :cpu_average, as: 'cpuAverage' property :cpu_average_percent, as: 'cpuAveragePercent' property :cpu_max, as: 'cpuMax' property :cpu_max_percent, as: 'cpuMaxPercent' property :disk_io_rate_average, :numeric_string => true, as: 'diskIoRateAverage' property :disk_io_rate_average_kbps, :numeric_string => true, as: 'diskIoRateAverageKbps' property :disk_io_rate_max, :numeric_string => true, as: 'diskIoRateMax' property :disk_io_rate_max_kbps, :numeric_string => true, as: 'diskIoRateMaxKbps' property :memory_average, as: 'memoryAverage' property :memory_average_percent, as: 'memoryAveragePercent' property :memory_max, as: 'memoryMax' property :memory_max_percent, as: 'memoryMaxPercent' property :network_throughput_average, :numeric_string => true, as: 'networkThroughputAverage' property :network_throughput_average_kbps, :numeric_string => true, as: 'networkThroughputAverageKbps' property :network_throughput_max, :numeric_string => true, as: 'networkThroughputMax' property :network_throughput_max_kbps, :numeric_string => true, as: 'networkThroughputMaxKbps' end end class VmwareSourceDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :password, as: 'password' property :thumbprint, as: 'thumbprint' property :username, as: 'username' property :vcenter_ip, as: 'vcenterIp' end end class VmwareVmDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :boot_option, as: 'bootOption' property :committed_storage, :numeric_string => true, as: 'committedStorage' property :committed_storage_mb, :numeric_string => true, as: 'committedStorageMb' property :cpu_count, as: 'cpuCount' property :datacenter_description, as: 'datacenterDescription' property :datacenter_id, as: 'datacenterId' property :disk_count, as: 'diskCount' property :display_name, as: 'displayName' property :guest_description, as: 'guestDescription' property :memory_mb, as: 'memoryMb' property :power_state, as: 'powerState' property :uuid, as: 'uuid' property :vm_id, as: 'vmId' end end class VmwareVmsDetails # @private class Representation < Google::Apis::Core::JsonRepresentation collection :details, as: 'details', class: Google::Apis::VmmigrationV1alpha1::VmwareVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareVmDetails::Representation end end end end end