google-api-ruby-client/generated/google/apis/appengine_v1beta5/representations.rb

803 lines
30 KiB
Ruby
Raw Normal View History

2016-01-29 22:32:46 +00:00
# Copyright 2015 Google Inc.
#
# 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 AppengineV1beta5
2016-11-08 23:43:14 +00:00
class ListOperationsResponse
2016-01-29 22:32:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
2016-11-08 23:43:14 +00:00
class Operation
2016-01-29 22:32:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
2016-11-08 23:43:14 +00:00
class Status
2016-01-29 22:32:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class Application
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class UrlDispatchRule
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
2017-03-27 22:14:47 +00:00
class IdentityAwareProxy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2016-01-29 22:32:46 +00:00
class Version
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class AutomaticScaling
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class CpuUtilization
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class RequestUtilization
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class DiskUtilization
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class NetworkUtilization
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class BasicScaling
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class ManualScaling
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class Network
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class Resources
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
2017-01-13 23:04:35 +00:00
class Volume
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2016-01-29 22:32:46 +00:00
class UrlMap
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class StaticFilesHandler
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class ScriptHandler
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class ApiEndpointHandler
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class ErrorHandler
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class Library
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class ApiConfigHandler
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class HealthCheck
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class Deployment
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class FileInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class ContainerInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class SourceReference
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
2017-01-13 23:04:35 +00:00
class EndpointsApiService
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2016-01-29 22:32:46 +00:00
class ListVersionsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class Service
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class TrafficSplit
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class ListServicesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
2016-08-08 20:25:38 +00:00
class Instance
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListInstancesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2016-08-08 20:25:38 +00:00
class DebugInstanceRequest
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 Location
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2016-11-08 23:43:14 +00:00
class OperationMetadataExperimental
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2016-01-29 22:32:46 +00:00
class OperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
class OperationMetadataV1Beta5
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2016-01-29 22:32:46 +00:00
end
2017-03-27 22:14:47 +00:00
class OperationMetadataV1Beta
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2016-06-23 19:42:56 +00:00
class OperationMetadataV1
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LocationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2016-11-08 23:43:14 +00:00
class ListOperationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :operations, as: 'operations', class: Google::Apis::AppengineV1beta5::Operation, decorator: Google::Apis::AppengineV1beta5::Operation::Representation
property :next_page_token, as: 'nextPageToken'
end
end
2016-01-29 22:32:46 +00:00
class Operation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
hash :metadata, as: 'metadata'
property :done, as: 'done'
property :error, as: 'error', class: Google::Apis::AppengineV1beta5::Status, decorator: Google::Apis::AppengineV1beta5::Status::Representation
hash :response, as: 'response'
end
end
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
property :message, as: 'message'
collection :details, as: 'details'
end
end
class Application
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :id, as: 'id'
collection :dispatch_rules, as: 'dispatchRules', class: Google::Apis::AppengineV1beta5::UrlDispatchRule, decorator: Google::Apis::AppengineV1beta5::UrlDispatchRule::Representation
2016-02-25 23:16:53 +00:00
property :auth_domain, as: 'authDomain'
2016-01-29 22:32:46 +00:00
property :location, as: 'location'
property :code_bucket, as: 'codeBucket'
2016-02-25 23:16:53 +00:00
property :default_cookie_expiration, as: 'defaultCookieExpiration'
property :default_hostname, as: 'defaultHostname'
2016-01-29 22:32:46 +00:00
property :default_bucket, as: 'defaultBucket'
2017-03-27 22:14:47 +00:00
property :iap, as: 'iap', class: Google::Apis::AppengineV1beta5::IdentityAwareProxy, decorator: Google::Apis::AppengineV1beta5::IdentityAwareProxy::Representation
2016-01-29 22:32:46 +00:00
end
end
class UrlDispatchRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :domain, as: 'domain'
property :path, as: 'path'
property :service, as: 'service'
end
end
2017-03-27 22:14:47 +00:00
class IdentityAwareProxy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
property :oauth2_client_id, as: 'oauth2ClientId'
property :oauth2_client_secret, as: 'oauth2ClientSecret'
property :oauth2_client_secret_sha256, as: 'oauth2ClientSecretSha256'
end
end
2016-01-29 22:32:46 +00:00
class Version
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :id, as: 'id'
property :automatic_scaling, as: 'automaticScaling', class: Google::Apis::AppengineV1beta5::AutomaticScaling, decorator: Google::Apis::AppengineV1beta5::AutomaticScaling::Representation
property :basic_scaling, as: 'basicScaling', class: Google::Apis::AppengineV1beta5::BasicScaling, decorator: Google::Apis::AppengineV1beta5::BasicScaling::Representation
property :manual_scaling, as: 'manualScaling', class: Google::Apis::AppengineV1beta5::ManualScaling, decorator: Google::Apis::AppengineV1beta5::ManualScaling::Representation
collection :inbound_services, as: 'inboundServices'
property :instance_class, as: 'instanceClass'
property :network, as: 'network', class: Google::Apis::AppengineV1beta5::Network, decorator: Google::Apis::AppengineV1beta5::Network::Representation
property :resources, as: 'resources', class: Google::Apis::AppengineV1beta5::Resources, decorator: Google::Apis::AppengineV1beta5::Resources::Representation
property :runtime, as: 'runtime'
property :threadsafe, as: 'threadsafe'
property :vm, as: 'vm'
hash :beta_settings, as: 'betaSettings'
property :env, as: 'env'
property :serving_status, as: 'servingStatus'
property :deployer, as: 'deployer'
property :creation_time, as: 'creationTime'
property :disk_usage_bytes, as: 'diskUsageBytes'
collection :handlers, as: 'handlers', class: Google::Apis::AppengineV1beta5::UrlMap, decorator: Google::Apis::AppengineV1beta5::UrlMap::Representation
collection :error_handlers, as: 'errorHandlers', class: Google::Apis::AppengineV1beta5::ErrorHandler, decorator: Google::Apis::AppengineV1beta5::ErrorHandler::Representation
collection :libraries, as: 'libraries', class: Google::Apis::AppengineV1beta5::Library, decorator: Google::Apis::AppengineV1beta5::Library::Representation
property :api_config, as: 'apiConfig', class: Google::Apis::AppengineV1beta5::ApiConfigHandler, decorator: Google::Apis::AppengineV1beta5::ApiConfigHandler::Representation
hash :env_variables, as: 'envVariables'
property :default_expiration, as: 'defaultExpiration'
property :health_check, as: 'healthCheck', class: Google::Apis::AppengineV1beta5::HealthCheck, decorator: Google::Apis::AppengineV1beta5::HealthCheck::Representation
property :nobuild_files_regex, as: 'nobuildFilesRegex'
property :deployment, as: 'deployment', class: Google::Apis::AppengineV1beta5::Deployment, decorator: Google::Apis::AppengineV1beta5::Deployment::Representation
2017-01-13 23:04:35 +00:00
property :endpoints_api_service, as: 'endpointsApiService', class: Google::Apis::AppengineV1beta5::EndpointsApiService, decorator: Google::Apis::AppengineV1beta5::EndpointsApiService::Representation
2016-01-29 22:32:46 +00:00
end
end
class AutomaticScaling
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cool_down_period, as: 'coolDownPeriod'
property :cpu_utilization, as: 'cpuUtilization', class: Google::Apis::AppengineV1beta5::CpuUtilization, decorator: Google::Apis::AppengineV1beta5::CpuUtilization::Representation
property :max_concurrent_requests, as: 'maxConcurrentRequests'
property :max_idle_instances, as: 'maxIdleInstances'
property :max_total_instances, as: 'maxTotalInstances'
property :max_pending_latency, as: 'maxPendingLatency'
property :min_idle_instances, as: 'minIdleInstances'
property :min_total_instances, as: 'minTotalInstances'
property :min_pending_latency, as: 'minPendingLatency'
property :request_utilization, as: 'requestUtilization', class: Google::Apis::AppengineV1beta5::RequestUtilization, decorator: Google::Apis::AppengineV1beta5::RequestUtilization::Representation
property :disk_utilization, as: 'diskUtilization', class: Google::Apis::AppengineV1beta5::DiskUtilization, decorator: Google::Apis::AppengineV1beta5::DiskUtilization::Representation
property :network_utilization, as: 'networkUtilization', class: Google::Apis::AppengineV1beta5::NetworkUtilization, decorator: Google::Apis::AppengineV1beta5::NetworkUtilization::Representation
end
end
class CpuUtilization
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :aggregation_window_length, as: 'aggregationWindowLength'
property :target_utilization, as: 'targetUtilization'
end
end
class RequestUtilization
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :target_request_count_per_sec, as: 'targetRequestCountPerSec'
property :target_concurrent_requests, as: 'targetConcurrentRequests'
end
end
class DiskUtilization
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :target_write_bytes_per_sec, as: 'targetWriteBytesPerSec'
property :target_write_ops_per_sec, as: 'targetWriteOpsPerSec'
property :target_read_bytes_per_sec, as: 'targetReadBytesPerSec'
property :target_read_ops_per_sec, as: 'targetReadOpsPerSec'
end
end
class NetworkUtilization
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :target_sent_bytes_per_sec, as: 'targetSentBytesPerSec'
property :target_sent_packets_per_sec, as: 'targetSentPacketsPerSec'
property :target_received_bytes_per_sec, as: 'targetReceivedBytesPerSec'
property :target_received_packets_per_sec, as: 'targetReceivedPacketsPerSec'
end
end
class BasicScaling
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :idle_timeout, as: 'idleTimeout'
property :max_instances, as: 'maxInstances'
end
end
class ManualScaling
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :instances, as: 'instances'
end
end
class Network
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :forwarded_ports, as: 'forwardedPorts'
property :instance_tag, as: 'instanceTag'
property :name, as: 'name'
2017-01-13 23:04:35 +00:00
property :subnetwork_name, as: 'subnetworkName'
2016-01-29 22:32:46 +00:00
end
end
class Resources
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cpu, as: 'cpu'
property :disk_gb, as: 'diskGb'
property :memory_gb, as: 'memoryGb'
2017-01-13 23:04:35 +00:00
collection :volumes, as: 'volumes', class: Google::Apis::AppengineV1beta5::Volume, decorator: Google::Apis::AppengineV1beta5::Volume::Representation
end
end
class Volume
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :volume_type, as: 'volumeType'
property :size_gb, as: 'sizeGb'
2016-01-29 22:32:46 +00:00
end
end
class UrlMap
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :url_regex, as: 'urlRegex'
property :static_files, as: 'staticFiles', class: Google::Apis::AppengineV1beta5::StaticFilesHandler, decorator: Google::Apis::AppengineV1beta5::StaticFilesHandler::Representation
property :script, as: 'script', class: Google::Apis::AppengineV1beta5::ScriptHandler, decorator: Google::Apis::AppengineV1beta5::ScriptHandler::Representation
property :api_endpoint, as: 'apiEndpoint', class: Google::Apis::AppengineV1beta5::ApiEndpointHandler, decorator: Google::Apis::AppengineV1beta5::ApiEndpointHandler::Representation
property :security_level, as: 'securityLevel'
property :login, as: 'login'
property :auth_fail_action, as: 'authFailAction'
property :redirect_http_response_code, as: 'redirectHttpResponseCode'
end
end
class StaticFilesHandler
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :path, as: 'path'
property :upload_path_regex, as: 'uploadPathRegex'
hash :http_headers, as: 'httpHeaders'
property :mime_type, as: 'mimeType'
property :expiration, as: 'expiration'
property :require_matching_file, as: 'requireMatchingFile'
property :application_readable, as: 'applicationReadable'
end
end
class ScriptHandler
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :script_path, as: 'scriptPath'
end
end
class ApiEndpointHandler
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :script_path, as: 'scriptPath'
end
end
class ErrorHandler
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :error_code, as: 'errorCode'
property :static_file, as: 'staticFile'
property :mime_type, as: 'mimeType'
end
end
class Library
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :version, as: 'version'
end
end
class ApiConfigHandler
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auth_fail_action, as: 'authFailAction'
property :login, as: 'login'
property :script, as: 'script'
property :security_level, as: 'securityLevel'
property :url, as: 'url'
end
end
class HealthCheck
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :disable_health_check, as: 'disableHealthCheck'
property :host, as: 'host'
property :healthy_threshold, as: 'healthyThreshold'
property :unhealthy_threshold, as: 'unhealthyThreshold'
property :restart_threshold, as: 'restartThreshold'
property :check_interval, as: 'checkInterval'
property :timeout, as: 'timeout'
end
end
class Deployment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :files, as: 'files', class: Google::Apis::AppengineV1beta5::FileInfo, decorator: Google::Apis::AppengineV1beta5::FileInfo::Representation
property :container, as: 'container', class: Google::Apis::AppengineV1beta5::ContainerInfo, decorator: Google::Apis::AppengineV1beta5::ContainerInfo::Representation
collection :source_references, as: 'sourceReferences', class: Google::Apis::AppengineV1beta5::SourceReference, decorator: Google::Apis::AppengineV1beta5::SourceReference::Representation
end
end
class FileInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :source_url, as: 'sourceUrl'
property :sha1_sum, as: 'sha1Sum'
property :mime_type, as: 'mimeType'
end
end
class ContainerInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image, as: 'image'
end
end
class SourceReference
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :repository, as: 'repository'
property :revision_id, as: 'revisionId'
end
end
2017-01-13 23:04:35 +00:00
class EndpointsApiService
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :config_id, as: 'configId'
end
end
2016-01-29 22:32:46 +00:00
class ListVersionsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :versions, as: 'versions', class: Google::Apis::AppengineV1beta5::Version, decorator: Google::Apis::AppengineV1beta5::Version::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class Service
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :id, as: 'id'
property :split, as: 'split', class: Google::Apis::AppengineV1beta5::TrafficSplit, decorator: Google::Apis::AppengineV1beta5::TrafficSplit::Representation
end
end
class TrafficSplit
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :shard_by, as: 'shardBy'
hash :allocations, as: 'allocations'
end
end
class ListServicesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :services, as: 'services', class: Google::Apis::AppengineV1beta5::Service, decorator: Google::Apis::AppengineV1beta5::Service::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class Instance
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :id, as: 'id'
property :app_engine_release, as: 'appEngineRelease'
property :availability, as: 'availability'
property :vm_name, as: 'vmName'
property :vm_zone_name, as: 'vmZoneName'
property :vm_id, as: 'vmId'
property :start_timestamp, as: 'startTimestamp'
property :requests, as: 'requests'
property :errors, as: 'errors'
property :qps, as: 'qps'
property :average_latency, as: 'averageLatency'
property :memory_usage, as: 'memoryUsage'
property :vm_status, as: 'vmStatus'
property :vm_unlocked, as: 'vmUnlocked'
2016-11-08 23:43:14 +00:00
property :vm_ip, as: 'vmIp'
end
end
2016-08-08 20:25:38 +00:00
class ListInstancesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :instances, as: 'instances', class: Google::Apis::AppengineV1beta5::Instance, decorator: Google::Apis::AppengineV1beta5::Instance::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class DebugInstanceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2016-11-08 23:43:14 +00:00
property :ssh_key, as: 'sshKey'
2016-08-08 20:25:38 +00:00
end
end
class ListLocationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :locations, as: 'locations', class: Google::Apis::AppengineV1beta5::Location, decorator: Google::Apis::AppengineV1beta5::Location::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class Location
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :location_id, as: 'locationId'
hash :labels, as: 'labels'
hash :metadata, as: 'metadata'
end
end
2016-11-08 23:43:14 +00:00
class OperationMetadataExperimental
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :method_prop, as: 'method'
property :insert_time, as: 'insertTime'
property :end_time, as: 'endTime'
property :user, as: 'user'
property :target, as: 'target'
end
end
2016-01-29 22:32:46 +00:00
class OperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :operation_type, as: 'operationType'
property :insert_time, as: 'insertTime'
property :end_time, as: 'endTime'
property :user, as: 'user'
property :target, as: 'target'
property :method_prop, as: 'method'
end
end
class OperationMetadataV1Beta5
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :method_prop, as: 'method'
property :insert_time, as: 'insertTime'
property :end_time, as: 'endTime'
property :user, as: 'user'
property :target, as: 'target'
end
end
2016-06-23 19:42:56 +00:00
2017-03-27 22:14:47 +00:00
class OperationMetadataV1Beta
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :method_prop, as: 'method'
property :insert_time, as: 'insertTime'
property :end_time, as: 'endTime'
property :user, as: 'user'
property :target, as: 'target'
property :ephemeral_message, as: 'ephemeralMessage'
collection :warning, as: 'warning'
end
end
2016-06-23 19:42:56 +00:00
class OperationMetadataV1
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :method_prop, as: 'method'
property :insert_time, as: 'insertTime'
property :end_time, as: 'endTime'
property :user, as: 'user'
property :target, as: 'target'
2017-01-13 23:04:35 +00:00
property :ephemeral_message, as: 'ephemeralMessage'
collection :warning, as: 'warning'
2016-06-23 19:42:56 +00:00
end
end
class LocationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2016-08-08 20:25:38 +00:00
property :standard_environment_available, as: 'standardEnvironmentAvailable'
property :flexible_environment_available, as: 'flexibleEnvironmentAvailable'
2016-06-23 19:42:56 +00:00
end
end
2016-01-29 22:32:46 +00:00
end
end
end