# 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 WorkloadmanagerV1 class AgentCommand class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AssetLocation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BigQueryDestination class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BlobstoreLocation 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 CloudAsset class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CloudAssetComposition class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Command class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class DirectLocationAssignment 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 Evaluation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Execution class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ExecutionResult class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ExternalDataSources class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ExtraParameter class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class GceInstanceFilter class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Insight class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class IsolationExpectations class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListEvaluationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListExecutionResultsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListExecutionsResponse 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 ListOperationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListRulesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ListScannedResourcesResponse 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 LocationAssignment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class LocationData 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 PlacerLocation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RegionalMigDistributionPolicy class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Resource class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ResourceFilter class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ResourceStatus class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Rule class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class RunEvaluationRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SapDiscovery class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SapDiscoveryComponent class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SapDiscoveryComponentApplicationProperties class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SapDiscoveryComponentDatabaseProperties class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SapDiscoveryMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SapDiscoveryResource class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SapDiscoveryResourceInstanceProperties class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SapDiscoveryResourceInstancePropertiesAppInstance class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SapDiscoveryWorkloadProperties class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SapDiscoveryWorkloadPropertiesProductVersion class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SapDiscoveryWorkloadPropertiesSoftwareComponentProperties class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SapValidation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SapValidationValidationDetail class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ScannedResource class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ShellCommand class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SpannerLocation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SqlserverValidation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SqlserverValidationDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SqlserverValidationValidationDetail 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 TenantProjectProxy class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ViolationDetails class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class WriteInsightRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class WriteInsightResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ZoneConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AgentCommand # @private class Representation < Google::Apis::Core::JsonRepresentation property :command, as: 'command' hash :parameters, as: 'parameters' end end class AssetLocation # @private class Representation < Google::Apis::Core::JsonRepresentation property :ccfe_rms_path, as: 'ccfeRmsPath' property :expected, as: 'expected', class: Google::Apis::WorkloadmanagerV1::IsolationExpectations, decorator: Google::Apis::WorkloadmanagerV1::IsolationExpectations::Representation collection :extra_parameters, as: 'extraParameters', class: Google::Apis::WorkloadmanagerV1::ExtraParameter, decorator: Google::Apis::WorkloadmanagerV1::ExtraParameter::Representation collection :location_data, as: 'locationData', class: Google::Apis::WorkloadmanagerV1::LocationData, decorator: Google::Apis::WorkloadmanagerV1::LocationData::Representation collection :parent_asset, as: 'parentAsset', class: Google::Apis::WorkloadmanagerV1::CloudAsset, decorator: Google::Apis::WorkloadmanagerV1::CloudAsset::Representation end end class BigQueryDestination # @private class Representation < Google::Apis::Core::JsonRepresentation property :create_new_results_table, as: 'createNewResultsTable' property :destination_dataset, as: 'destinationDataset' end end class BlobstoreLocation # @private class Representation < Google::Apis::Core::JsonRepresentation collection :policy_id, as: 'policyId' end end class CancelOperationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end class CloudAsset # @private class Representation < Google::Apis::Core::JsonRepresentation property :asset_name, as: 'assetName' property :asset_type, as: 'assetType' end end class CloudAssetComposition # @private class Representation < Google::Apis::Core::JsonRepresentation collection :child_asset, as: 'childAsset', class: Google::Apis::WorkloadmanagerV1::CloudAsset, decorator: Google::Apis::WorkloadmanagerV1::CloudAsset::Representation end end class Command # @private class Representation < Google::Apis::Core::JsonRepresentation property :agent_command, as: 'agentCommand', class: Google::Apis::WorkloadmanagerV1::AgentCommand, decorator: Google::Apis::WorkloadmanagerV1::AgentCommand::Representation property :shell_command, as: 'shellCommand', class: Google::Apis::WorkloadmanagerV1::ShellCommand, decorator: Google::Apis::WorkloadmanagerV1::ShellCommand::Representation end end class DirectLocationAssignment # @private class Representation < Google::Apis::Core::JsonRepresentation collection :location, as: 'location', class: Google::Apis::WorkloadmanagerV1::LocationAssignment, decorator: Google::Apis::WorkloadmanagerV1::LocationAssignment::Representation end end class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation end end class Evaluation # @private class Representation < Google::Apis::Core::JsonRepresentation property :big_query_destination, as: 'bigQueryDestination', class: Google::Apis::WorkloadmanagerV1::BigQueryDestination, decorator: Google::Apis::WorkloadmanagerV1::BigQueryDestination::Representation property :create_time, as: 'createTime' property :custom_rules_bucket, as: 'customRulesBucket' property :description, as: 'description' hash :labels, as: 'labels' property :name, as: 'name' property :resource_filter, as: 'resourceFilter', class: Google::Apis::WorkloadmanagerV1::ResourceFilter, decorator: Google::Apis::WorkloadmanagerV1::ResourceFilter::Representation property :resource_status, as: 'resourceStatus', class: Google::Apis::WorkloadmanagerV1::ResourceStatus, decorator: Google::Apis::WorkloadmanagerV1::ResourceStatus::Representation collection :rule_names, as: 'ruleNames' collection :rule_versions, as: 'ruleVersions' property :schedule, as: 'schedule' property :update_time, as: 'updateTime' end end class Execution # @private class Representation < Google::Apis::Core::JsonRepresentation property :end_time, as: 'endTime' property :evaluation_id, as: 'evaluationId' collection :external_data_sources, as: 'externalDataSources', class: Google::Apis::WorkloadmanagerV1::ExternalDataSources, decorator: Google::Apis::WorkloadmanagerV1::ExternalDataSources::Representation property :inventory_time, as: 'inventoryTime' hash :labels, as: 'labels' property :name, as: 'name' property :run_type, as: 'runType' property :start_time, as: 'startTime' property :state, as: 'state' end end class ExecutionResult # @private class Representation < Google::Apis::Core::JsonRepresentation collection :commands, as: 'commands', class: Google::Apis::WorkloadmanagerV1::Command, decorator: Google::Apis::WorkloadmanagerV1::Command::Representation property :documentation_url, as: 'documentationUrl' property :resource, as: 'resource', class: Google::Apis::WorkloadmanagerV1::Resource, decorator: Google::Apis::WorkloadmanagerV1::Resource::Representation property :rule, as: 'rule' property :severity, as: 'severity' property :violation_details, as: 'violationDetails', class: Google::Apis::WorkloadmanagerV1::ViolationDetails, decorator: Google::Apis::WorkloadmanagerV1::ViolationDetails::Representation property :violation_message, as: 'violationMessage' end end class ExternalDataSources # @private class Representation < Google::Apis::Core::JsonRepresentation property :asset_type, as: 'assetType' property :name, as: 'name' property :type, as: 'type' property :uri, as: 'uri' end end class ExtraParameter # @private class Representation < Google::Apis::Core::JsonRepresentation property :regional_mig_distribution_policy, as: 'regionalMigDistributionPolicy', class: Google::Apis::WorkloadmanagerV1::RegionalMigDistributionPolicy, decorator: Google::Apis::WorkloadmanagerV1::RegionalMigDistributionPolicy::Representation end end class GceInstanceFilter # @private class Representation < Google::Apis::Core::JsonRepresentation collection :service_accounts, as: 'serviceAccounts' end end class Insight # @private class Representation < Google::Apis::Core::JsonRepresentation property :instance_id, as: 'instanceId' property :sap_discovery, as: 'sapDiscovery', class: Google::Apis::WorkloadmanagerV1::SapDiscovery, decorator: Google::Apis::WorkloadmanagerV1::SapDiscovery::Representation property :sap_validation, as: 'sapValidation', class: Google::Apis::WorkloadmanagerV1::SapValidation, decorator: Google::Apis::WorkloadmanagerV1::SapValidation::Representation property :sent_time, as: 'sentTime' property :sqlserver_validation, as: 'sqlserverValidation', class: Google::Apis::WorkloadmanagerV1::SqlserverValidation, decorator: Google::Apis::WorkloadmanagerV1::SqlserverValidation::Representation end end class IsolationExpectations # @private class Representation < Google::Apis::Core::JsonRepresentation property :zi_org_policy, as: 'ziOrgPolicy' property :zi_region_policy, as: 'ziRegionPolicy' property :zi_region_state, as: 'ziRegionState' property :zone_isolation, as: 'zoneIsolation' property :zone_separation, as: 'zoneSeparation' property :zs_org_policy, as: 'zsOrgPolicy' property :zs_region_state, as: 'zsRegionState' end end class ListEvaluationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :evaluations, as: 'evaluations', class: Google::Apis::WorkloadmanagerV1::Evaluation, decorator: Google::Apis::WorkloadmanagerV1::Evaluation::Representation property :next_page_token, as: 'nextPageToken' collection :unreachable, as: 'unreachable' end end class ListExecutionResultsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :execution_results, as: 'executionResults', class: Google::Apis::WorkloadmanagerV1::ExecutionResult, decorator: Google::Apis::WorkloadmanagerV1::ExecutionResult::Representation property :next_page_token, as: 'nextPageToken' end end class ListExecutionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation collection :executions, as: 'executions', class: Google::Apis::WorkloadmanagerV1::Execution, decorator: Google::Apis::WorkloadmanagerV1::Execution::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::WorkloadmanagerV1::Location, decorator: Google::Apis::WorkloadmanagerV1::Location::Representation property :next_page_token, as: 'nextPageToken' end end class ListOperationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' collection :operations, as: 'operations', class: Google::Apis::WorkloadmanagerV1::Operation, decorator: Google::Apis::WorkloadmanagerV1::Operation::Representation end end class ListRulesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' collection :rules, as: 'rules', class: Google::Apis::WorkloadmanagerV1::Rule, decorator: Google::Apis::WorkloadmanagerV1::Rule::Representation end end class ListScannedResourcesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' collection :scanned_resources, as: 'scannedResources', class: Google::Apis::WorkloadmanagerV1::ScannedResource, decorator: Google::Apis::WorkloadmanagerV1::ScannedResource::Representation 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 LocationAssignment # @private class Representation < Google::Apis::Core::JsonRepresentation property :location, as: 'location' property :location_type, as: 'locationType' end end class LocationData # @private class Representation < Google::Apis::Core::JsonRepresentation property :blobstore_location, as: 'blobstoreLocation', class: Google::Apis::WorkloadmanagerV1::BlobstoreLocation, decorator: Google::Apis::WorkloadmanagerV1::BlobstoreLocation::Representation property :child_asset_location, as: 'childAssetLocation', class: Google::Apis::WorkloadmanagerV1::CloudAssetComposition, decorator: Google::Apis::WorkloadmanagerV1::CloudAssetComposition::Representation property :direct_location, as: 'directLocation', class: Google::Apis::WorkloadmanagerV1::DirectLocationAssignment, decorator: Google::Apis::WorkloadmanagerV1::DirectLocationAssignment::Representation property :gcp_project_proxy, as: 'gcpProjectProxy', class: Google::Apis::WorkloadmanagerV1::TenantProjectProxy, decorator: Google::Apis::WorkloadmanagerV1::TenantProjectProxy::Representation property :placer_location, as: 'placerLocation', class: Google::Apis::WorkloadmanagerV1::PlacerLocation, decorator: Google::Apis::WorkloadmanagerV1::PlacerLocation::Representation property :spanner_location, as: 'spannerLocation', class: Google::Apis::WorkloadmanagerV1::SpannerLocation, decorator: Google::Apis::WorkloadmanagerV1::SpannerLocation::Representation end end class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation property :done, as: 'done' property :error, as: 'error', class: Google::Apis::WorkloadmanagerV1::Status, decorator: Google::Apis::WorkloadmanagerV1::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 PlacerLocation # @private class Representation < Google::Apis::Core::JsonRepresentation property :placer_config, as: 'placerConfig' end end class RegionalMigDistributionPolicy # @private class Representation < Google::Apis::Core::JsonRepresentation property :target_shape, as: 'targetShape' collection :zones, as: 'zones', class: Google::Apis::WorkloadmanagerV1::ZoneConfiguration, decorator: Google::Apis::WorkloadmanagerV1::ZoneConfiguration::Representation end end class Resource # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' property :service_account, as: 'serviceAccount' property :type, as: 'type' end end class ResourceFilter # @private class Representation < Google::Apis::Core::JsonRepresentation property :gce_instance_filter, as: 'gceInstanceFilter', class: Google::Apis::WorkloadmanagerV1::GceInstanceFilter, decorator: Google::Apis::WorkloadmanagerV1::GceInstanceFilter::Representation hash :inclusion_labels, as: 'inclusionLabels' collection :resource_id_patterns, as: 'resourceIdPatterns' collection :scopes, as: 'scopes' end end class ResourceStatus # @private class Representation < Google::Apis::Core::JsonRepresentation collection :rules_newer_versions, as: 'rulesNewerVersions' property :state, as: 'state' end end class Rule # @private class Representation < Google::Apis::Core::JsonRepresentation property :description, as: 'description' property :display_name, as: 'displayName' property :error_message, as: 'errorMessage' property :name, as: 'name' property :primary_category, as: 'primaryCategory' property :remediation, as: 'remediation' property :revision_id, as: 'revisionId' property :secondary_category, as: 'secondaryCategory' property :severity, as: 'severity' collection :tags, as: 'tags' property :uri, as: 'uri' end end class RunEvaluationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :execution, as: 'execution', class: Google::Apis::WorkloadmanagerV1::Execution, decorator: Google::Apis::WorkloadmanagerV1::Execution::Representation property :execution_id, as: 'executionId' property :request_id, as: 'requestId' end end class SapDiscovery # @private class Representation < Google::Apis::Core::JsonRepresentation property :application_layer, as: 'applicationLayer', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent::Representation property :database_layer, as: 'databaseLayer', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent::Representation property :metadata, as: 'metadata', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryMetadata, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryMetadata::Representation property :project_number, as: 'projectNumber' property :system_id, as: 'systemId' property :update_time, as: 'updateTime' property :workload_properties, as: 'workloadProperties', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadProperties, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadProperties::Representation end end class SapDiscoveryComponent # @private class Representation < Google::Apis::Core::JsonRepresentation property :application_properties, as: 'applicationProperties', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentApplicationProperties, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentApplicationProperties::Representation property :database_properties, as: 'databaseProperties', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentDatabaseProperties, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentDatabaseProperties::Representation collection :ha_hosts, as: 'haHosts' property :host_project, as: 'hostProject' collection :replication_sites, as: 'replicationSites', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent::Representation collection :resources, as: 'resources', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResource, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryResource::Representation property :sid, as: 'sid' property :topology_type, as: 'topologyType' end end class SapDiscoveryComponentApplicationProperties # @private class Representation < Google::Apis::Core::JsonRepresentation property :abap, as: 'abap' property :app_instance_number, as: 'appInstanceNumber' property :application_type, as: 'applicationType' property :ascs_instance_number, as: 'ascsInstanceNumber' property :ascs_uri, as: 'ascsUri' property :ers_instance_number, as: 'ersInstanceNumber' property :kernel_version, as: 'kernelVersion' property :nfs_uri, as: 'nfsUri' end end class SapDiscoveryComponentDatabaseProperties # @private class Representation < Google::Apis::Core::JsonRepresentation property :database_sid, as: 'databaseSid' property :database_type, as: 'databaseType' property :database_version, as: 'databaseVersion' property :instance_number, as: 'instanceNumber' property :primary_instance_uri, as: 'primaryInstanceUri' property :shared_nfs_uri, as: 'sharedNfsUri' end end class SapDiscoveryMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation property :customer_region, as: 'customerRegion' property :defined_system, as: 'definedSystem' property :environment_type, as: 'environmentType' property :sap_product, as: 'sapProduct' end end class SapDiscoveryResource # @private class Representation < Google::Apis::Core::JsonRepresentation property :instance_properties, as: 'instanceProperties', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstanceProperties, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstanceProperties::Representation collection :related_resources, as: 'relatedResources' property :resource_kind, as: 'resourceKind' property :resource_type, as: 'resourceType' property :resource_uri, as: 'resourceUri' property :update_time, as: 'updateTime' end end class SapDiscoveryResourceInstanceProperties # @private class Representation < Google::Apis::Core::JsonRepresentation collection :app_instances, as: 'appInstances', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesAppInstance, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesAppInstance::Representation collection :cluster_instances, as: 'clusterInstances' property :instance_number, :numeric_string => true, as: 'instanceNumber' property :instance_role, as: 'instanceRole' property :virtual_hostname, as: 'virtualHostname' end end class SapDiscoveryResourceInstancePropertiesAppInstance # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' property :number, as: 'number' end end class SapDiscoveryWorkloadProperties # @private class Representation < Google::Apis::Core::JsonRepresentation collection :product_versions, as: 'productVersions', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadPropertiesProductVersion, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadPropertiesProductVersion::Representation collection :software_component_versions, as: 'softwareComponentVersions', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadPropertiesSoftwareComponentProperties, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadPropertiesSoftwareComponentProperties::Representation end end class SapDiscoveryWorkloadPropertiesProductVersion # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' property :version, as: 'version' end end class SapDiscoveryWorkloadPropertiesSoftwareComponentProperties # @private class Representation < Google::Apis::Core::JsonRepresentation property :ext_version, as: 'extVersion' property :name, as: 'name' property :type, as: 'type' property :version, as: 'version' end end class SapValidation # @private class Representation < Google::Apis::Core::JsonRepresentation property :project_id, as: 'projectId' collection :validation_details, as: 'validationDetails', class: Google::Apis::WorkloadmanagerV1::SapValidationValidationDetail, decorator: Google::Apis::WorkloadmanagerV1::SapValidationValidationDetail::Representation property :zone, as: 'zone' end end class SapValidationValidationDetail # @private class Representation < Google::Apis::Core::JsonRepresentation hash :details, as: 'details' property :is_present, as: 'isPresent' property :sap_validation_type, as: 'sapValidationType' end end class ScannedResource # @private class Representation < Google::Apis::Core::JsonRepresentation property :resource, as: 'resource' property :type, as: 'type' end end class ShellCommand # @private class Representation < Google::Apis::Core::JsonRepresentation property :args, as: 'args' property :command, as: 'command' property :timeout_seconds, as: 'timeoutSeconds' end end class SpannerLocation # @private class Representation < Google::Apis::Core::JsonRepresentation collection :backup_name, as: 'backupName' collection :db_name, as: 'dbName' end end class SqlserverValidation # @private class Representation < Google::Apis::Core::JsonRepresentation property :agent_version, as: 'agentVersion' property :instance, as: 'instance' property :project_id, as: 'projectId' collection :validation_details, as: 'validationDetails', class: Google::Apis::WorkloadmanagerV1::SqlserverValidationValidationDetail, decorator: Google::Apis::WorkloadmanagerV1::SqlserverValidationValidationDetail::Representation end end class SqlserverValidationDetails # @private class Representation < Google::Apis::Core::JsonRepresentation hash :fields, as: 'fields' end end class SqlserverValidationValidationDetail # @private class Representation < Google::Apis::Core::JsonRepresentation collection :details, as: 'details', class: Google::Apis::WorkloadmanagerV1::SqlserverValidationDetails, decorator: Google::Apis::WorkloadmanagerV1::SqlserverValidationDetails::Representation property :type, as: 'type' 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 TenantProjectProxy # @private class Representation < Google::Apis::Core::JsonRepresentation collection :project_numbers, as: 'projectNumbers' end end class ViolationDetails # @private class Representation < Google::Apis::Core::JsonRepresentation property :asset, as: 'asset' hash :observed, as: 'observed' property :service_account, as: 'serviceAccount' end end class WriteInsightRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :agent_version, as: 'agentVersion' property :insight, as: 'insight', class: Google::Apis::WorkloadmanagerV1::Insight, decorator: Google::Apis::WorkloadmanagerV1::Insight::Representation property :request_id, as: 'requestId' end end class WriteInsightResponse # @private class Representation < Google::Apis::Core::JsonRepresentation end end class ZoneConfiguration # @private class Representation < Google::Apis::Core::JsonRepresentation property :zone, as: 'zone' end end end end end