# 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 ApiLayerServer class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class AvailabilityGroup class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BackendServer 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 CancelOperationRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class CloudResource class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Cluster class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Database 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 FrontEndServer 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 Instance class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Layer 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 ListWorkloadProfilesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class LoadBalancerServer 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 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 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 SapComponent 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 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 SapWorkload class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SapWorkloadOverview 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 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 SqlserverWorkload class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SqlserverWorkloadOverview 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 ThreeTierWorkload class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ThreeTierWorkloadOverview 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 WorkloadProfile class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class WorkloadProfileOverview 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 ApiLayerServer # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' property :os_version, as: 'osVersion' collection :resources, as: 'resources', class: Google::Apis::WorkloadmanagerV1::CloudResource, decorator: Google::Apis::WorkloadmanagerV1::CloudResource::Representation end end class AvailabilityGroup # @private class Representation < Google::Apis::Core::JsonRepresentation collection :databases, as: 'databases' property :name, as: 'name' property :primary_server, as: 'primaryServer' collection :secondary_servers, as: 'secondaryServers' end end class BackendServer # @private class Representation < Google::Apis::Core::JsonRepresentation property :backup_file, as: 'backupFile' property :backup_schedule, as: 'backupSchedule' property :name, as: 'name' property :os_version, as: 'osVersion' collection :resources, as: 'resources', class: Google::Apis::WorkloadmanagerV1::CloudResource, decorator: Google::Apis::WorkloadmanagerV1::CloudResource::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 CancelOperationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end class CloudResource # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' property :name, as: 'name' end end class Cluster # @private class Representation < Google::Apis::Core::JsonRepresentation collection :nodes, as: 'nodes' property :witness_server, as: 'witnessServer' end end class Database # @private class Representation < Google::Apis::Core::JsonRepresentation property :backup_file, as: 'backupFile' property :backup_schedule, as: 'backupSchedule' property :host_vm, as: 'hostVm' property :name, as: 'name' 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' 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 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 FrontEndServer # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' property :os_version, as: 'osVersion' collection :resources, as: 'resources', class: Google::Apis::WorkloadmanagerV1::CloudResource, decorator: Google::Apis::WorkloadmanagerV1::CloudResource::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 Instance # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' property :region, as: 'region' property :status, as: 'status' end end class Layer # @private class Representation < Google::Apis::Core::JsonRepresentation property :application_type, as: 'applicationType' property :database_type, as: 'databaseType' collection :instances, as: 'instances', class: Google::Apis::WorkloadmanagerV1::Instance, decorator: Google::Apis::WorkloadmanagerV1::Instance::Representation property :sid, as: 'sid' 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 ListWorkloadProfilesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' collection :unreachable, as: 'unreachable' collection :workload_overviews, as: 'workloadOverviews', class: Google::Apis::WorkloadmanagerV1::WorkloadProfileOverview, decorator: Google::Apis::WorkloadmanagerV1::WorkloadProfileOverview::Representation end end class LoadBalancerServer # @private class Representation < Google::Apis::Core::JsonRepresentation property :ip, as: 'ip' property :vm, as: 'vm' 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 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 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 SapComponent # @private class Representation < Google::Apis::Core::JsonRepresentation collection :ha_hosts, as: 'haHosts' collection :resources, as: 'resources', class: Google::Apis::WorkloadmanagerV1::CloudResource, decorator: Google::Apis::WorkloadmanagerV1::CloudResource::Representation property :sid, as: 'sid' property :topology_type, as: 'topologyType' 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 :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 :application_type, as: 'applicationType' property :ascs_uri, as: 'ascsUri' property :kernel_version, as: 'kernelVersion' property :nfs_uri, as: 'nfsUri' end end class SapDiscoveryComponentDatabaseProperties # @private class Representation < Google::Apis::Core::JsonRepresentation property :database_type, as: 'databaseType' property :database_version, as: 'databaseVersion' 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 :cluster_instances, as: 'clusterInstances' property :virtual_hostname, as: 'virtualHostname' 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 SapWorkload # @private class Representation < Google::Apis::Core::JsonRepresentation property :application, as: 'application', class: Google::Apis::WorkloadmanagerV1::SapComponent, decorator: Google::Apis::WorkloadmanagerV1::SapComponent::Representation property :database, as: 'database', class: Google::Apis::WorkloadmanagerV1::SapComponent, decorator: Google::Apis::WorkloadmanagerV1::SapComponent::Representation hash :metadata, as: 'metadata' end end class SapWorkloadOverview # @private class Representation < Google::Apis::Core::JsonRepresentation property :app_sid, as: 'appSid' property :db_sid, as: 'dbSid' property :sap_system_id, as: 'sapSystemId' end end class ScannedResource # @private class Representation < Google::Apis::Core::JsonRepresentation property :resource, as: 'resource' property :type, as: 'type' 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 SqlserverWorkload # @private class Representation < Google::Apis::Core::JsonRepresentation collection :ags, as: 'ags', class: Google::Apis::WorkloadmanagerV1::AvailabilityGroup, decorator: Google::Apis::WorkloadmanagerV1::AvailabilityGroup::Representation property :cluster, as: 'cluster', class: Google::Apis::WorkloadmanagerV1::Cluster, decorator: Google::Apis::WorkloadmanagerV1::Cluster::Representation collection :databases, as: 'databases', class: Google::Apis::WorkloadmanagerV1::Database, decorator: Google::Apis::WorkloadmanagerV1::Database::Representation property :load_balancer_server, as: 'loadBalancerServer', class: Google::Apis::WorkloadmanagerV1::LoadBalancerServer, decorator: Google::Apis::WorkloadmanagerV1::LoadBalancerServer::Representation end end class SqlserverWorkloadOverview # @private class Representation < Google::Apis::Core::JsonRepresentation collection :availability_group, as: 'availabilityGroup' property :sqlserver_system_id, as: 'sqlserverSystemId' 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 ThreeTierWorkload # @private class Representation < Google::Apis::Core::JsonRepresentation property :api_layer, as: 'apiLayer', class: Google::Apis::WorkloadmanagerV1::ApiLayerServer, decorator: Google::Apis::WorkloadmanagerV1::ApiLayerServer::Representation property :backend, as: 'backend', class: Google::Apis::WorkloadmanagerV1::BackendServer, decorator: Google::Apis::WorkloadmanagerV1::BackendServer::Representation property :endpoint, as: 'endpoint' property :frontend, as: 'frontend', class: Google::Apis::WorkloadmanagerV1::FrontEndServer, decorator: Google::Apis::WorkloadmanagerV1::FrontEndServer::Representation end end class ThreeTierWorkloadOverview # @private class Representation < Google::Apis::Core::JsonRepresentation property :three_tier_system_id, as: 'threeTierSystemId' 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 WorkloadProfile # @private class Representation < Google::Apis::Core::JsonRepresentation property :application, as: 'application', class: Google::Apis::WorkloadmanagerV1::Layer, decorator: Google::Apis::WorkloadmanagerV1::Layer::Representation property :ascs, as: 'ascs', class: Google::Apis::WorkloadmanagerV1::Layer, decorator: Google::Apis::WorkloadmanagerV1::Layer::Representation property :database, as: 'database', class: Google::Apis::WorkloadmanagerV1::Layer, decorator: Google::Apis::WorkloadmanagerV1::Layer::Representation hash :labels, as: 'labels' property :name, as: 'name' property :refreshed_time, as: 'refreshedTime' property :sap_workload, as: 'sapWorkload', class: Google::Apis::WorkloadmanagerV1::SapWorkload, decorator: Google::Apis::WorkloadmanagerV1::SapWorkload::Representation property :sqlserver_workload, as: 'sqlserverWorkload', class: Google::Apis::WorkloadmanagerV1::SqlserverWorkload, decorator: Google::Apis::WorkloadmanagerV1::SqlserverWorkload::Representation property :state, as: 'state' property :three_tier_workload, as: 'threeTierWorkload', class: Google::Apis::WorkloadmanagerV1::ThreeTierWorkload, decorator: Google::Apis::WorkloadmanagerV1::ThreeTierWorkload::Representation property :workload_type, as: 'workloadType' end end class WorkloadProfileOverview # @private class Representation < Google::Apis::Core::JsonRepresentation property :sap_workload_overview, as: 'sapWorkloadOverview', class: Google::Apis::WorkloadmanagerV1::SapWorkloadOverview, decorator: Google::Apis::WorkloadmanagerV1::SapWorkloadOverview::Representation property :sqlserver_workload_overview, as: 'sqlserverWorkloadOverview', class: Google::Apis::WorkloadmanagerV1::SqlserverWorkloadOverview, decorator: Google::Apis::WorkloadmanagerV1::SqlserverWorkloadOverview::Representation property :three_tier_workload_overview, as: 'threeTierWorkloadOverview', class: Google::Apis::WorkloadmanagerV1::ThreeTierWorkloadOverview, decorator: Google::Apis::WorkloadmanagerV1::ThreeTierWorkloadOverview::Representation end end class WriteInsightRequest # @private class Representation < Google::Apis::Core::JsonRepresentation 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 end end end