Bump version, regen APIs
This commit is contained in:
1 parent
b8f6f7c2fe
commit
9237ba59cb
241 files changed
+53894
-50212
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -22,72 +22,6 @@ module Google
|
||||
module Apis
|
||||
module AppengineV1
|
||||
|
||||
class StaticFilesHandler
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DiskUtilization
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BasicScaling
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CpuUtilization
|
||||
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 IdentityAwareProxy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManualScaling
|
||||
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
|
||||
|
||||
class Service
|
||||
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 OperationMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ErrorHandler
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -124,13 +58,13 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Location
|
||||
class NetworkUtilization
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NetworkUtilization
|
||||
class Location
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
@@ -172,13 +106,13 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ScriptHandler
|
||||
class FileInfo
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class FileInfo
|
||||
class ScriptHandler
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
@@ -208,13 +142,13 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Deployment
|
||||
class Resources
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Resources
|
||||
class Deployment
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
@@ -250,13 +184,13 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AutomaticScaling
|
||||
class ZipInfo
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ZipInfo
|
||||
class AutomaticScaling
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
@@ -311,107 +245,69 @@ module Google
|
||||
end
|
||||
|
||||
class StaticFilesHandler
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :expiration, as: 'expiration'
|
||||
property :application_readable, as: 'applicationReadable'
|
||||
hash :http_headers, as: 'httpHeaders'
|
||||
property :upload_path_regex, as: 'uploadPathRegex'
|
||||
property :path, as: 'path'
|
||||
property :mime_type, as: 'mimeType'
|
||||
property :require_matching_file, as: 'requireMatchingFile'
|
||||
end
|
||||
end
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class DiskUtilization
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :target_read_bytes_per_second, as: 'targetReadBytesPerSecond'
|
||||
property :target_read_ops_per_second, as: 'targetReadOpsPerSecond'
|
||||
property :target_write_ops_per_second, as: 'targetWriteOpsPerSecond'
|
||||
property :target_write_bytes_per_second, as: 'targetWriteBytesPerSecond'
|
||||
end
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BasicScaling
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :max_instances, as: 'maxInstances'
|
||||
property :idle_timeout, as: 'idleTimeout'
|
||||
end
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DiskUtilization
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CpuUtilization
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :aggregation_window_length, as: 'aggregationWindowLength'
|
||||
property :target_utilization, as: 'targetUtilization'
|
||||
end
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Status
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
property :message, as: 'message'
|
||||
collection :details, as: 'details'
|
||||
end
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class IdentityAwareProxy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :oauth2_client_secret, as: 'oauth2ClientSecret'
|
||||
property :oauth2_client_id, as: 'oauth2ClientId'
|
||||
property :oauth2_client_secret_sha256, as: 'oauth2ClientSecretSha256'
|
||||
property :enabled, as: 'enabled'
|
||||
end
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManualScaling
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :instances, as: 'instances'
|
||||
end
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LocationMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :flexible_environment_available, as: 'flexibleEnvironmentAvailable'
|
||||
property :standard_environment_available, as: 'standardEnvironmentAvailable'
|
||||
end
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Service
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
property :split, as: 'split', class: Google::Apis::AppengineV1::TrafficSplit, decorator: Google::Apis::AppengineV1::TrafficSplit::Representation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
property :id, as: 'id'
|
||||
end
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListOperationsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :operations, as: 'operations', class: Google::Apis::AppengineV1::Operation, decorator: Google::Apis::AppengineV1::Operation::Representation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
end
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OperationMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :operation_type, as: 'operationType'
|
||||
property :insert_time, as: 'insertTime'
|
||||
property :user, as: 'user'
|
||||
property :target, as: 'target'
|
||||
property :method_prop, as: 'method'
|
||||
property :end_time, as: 'endTime'
|
||||
end
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ErrorHandler
|
||||
@@ -426,13 +322,13 @@ module Google
|
||||
class OperationMetadataV1
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :method_prop, as: 'method'
|
||||
property :end_time, as: 'endTime'
|
||||
property :insert_time, as: 'insertTime'
|
||||
collection :warning, as: 'warning'
|
||||
property :target, as: 'target'
|
||||
property :user, as: 'user'
|
||||
property :ephemeral_message, as: 'ephemeralMessage'
|
||||
property :method_prop, as: 'method'
|
||||
property :end_time, as: 'endTime'
|
||||
collection :warning, as: 'warning'
|
||||
property :insert_time, as: 'insertTime'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -449,10 +345,12 @@ module Google
|
||||
class Application
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :dispatch_rules, as: 'dispatchRules', class: Google::Apis::AppengineV1::UrlDispatchRule, decorator: Google::Apis::AppengineV1::UrlDispatchRule::Representation
|
||||
|
||||
property :gcr_domain, as: 'gcrDomain'
|
||||
property :name, as: 'name'
|
||||
property :id, as: 'id'
|
||||
property :default_cookie_expiration, as: 'defaultCookieExpiration'
|
||||
property :id, as: 'id'
|
||||
property :location_id, as: 'locationId'
|
||||
property :serving_status, as: 'servingStatus'
|
||||
property :default_hostname, as: 'defaultHostname'
|
||||
@@ -461,88 +359,86 @@ module Google
|
||||
property :auth_domain, as: 'authDomain'
|
||||
property :code_bucket, as: 'codeBucket'
|
||||
property :default_bucket, as: 'defaultBucket'
|
||||
collection :dispatch_rules, as: 'dispatchRules', class: Google::Apis::AppengineV1::UrlDispatchRule, decorator: Google::Apis::AppengineV1::UrlDispatchRule::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class Instance
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :vm_debug_enabled, as: 'vmDebugEnabled'
|
||||
property :requests, as: 'requests'
|
||||
property :app_engine_release, as: 'appEngineRelease'
|
||||
property :vm_name, as: 'vmName'
|
||||
property :vm_id, as: 'vmId'
|
||||
property :qps, as: 'qps'
|
||||
property :vm_id, as: 'vmId'
|
||||
property :vm_zone_name, as: 'vmZoneName'
|
||||
property :name, as: 'name'
|
||||
property :average_latency, as: 'averageLatency'
|
||||
property :vm_ip, as: 'vmIp'
|
||||
property :id, as: 'id'
|
||||
property :memory_usage, :numeric_string => true, as: 'memoryUsage'
|
||||
property :vm_status, as: 'vmStatus'
|
||||
property :id, as: 'id'
|
||||
property :availability, as: 'availability'
|
||||
property :errors, as: 'errors'
|
||||
property :vm_status, as: 'vmStatus'
|
||||
property :start_time, as: 'startTime'
|
||||
property :vm_debug_enabled, as: 'vmDebugEnabled'
|
||||
property :requests, as: 'requests'
|
||||
property :app_engine_release, as: 'appEngineRelease'
|
||||
end
|
||||
end
|
||||
|
||||
class LivenessCheck
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :timeout, as: 'timeout'
|
||||
property :failure_threshold, as: 'failureThreshold'
|
||||
property :initial_delay, as: 'initialDelay'
|
||||
property :path, as: 'path'
|
||||
property :host, as: 'host'
|
||||
property :success_threshold, as: 'successThreshold'
|
||||
property :check_interval, as: 'checkInterval'
|
||||
property :failure_threshold, as: 'failureThreshold'
|
||||
property :timeout, as: 'timeout'
|
||||
end
|
||||
end
|
||||
|
||||
class Location
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
property :location_id, as: 'locationId'
|
||||
hash :metadata, as: 'metadata'
|
||||
hash :labels, as: 'labels'
|
||||
end
|
||||
end
|
||||
|
||||
class NetworkUtilization
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :target_sent_bytes_per_second, as: 'targetSentBytesPerSecond'
|
||||
property :target_sent_packets_per_second, as: 'targetSentPacketsPerSecond'
|
||||
property :target_received_bytes_per_second, as: 'targetReceivedBytesPerSecond'
|
||||
property :target_received_packets_per_second, as: 'targetReceivedPacketsPerSecond'
|
||||
property :target_sent_bytes_per_second, as: 'targetSentBytesPerSecond'
|
||||
end
|
||||
end
|
||||
|
||||
class Location
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :location_id, as: 'locationId'
|
||||
hash :metadata, as: 'metadata'
|
||||
hash :labels, as: 'labels'
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class HealthCheck
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :check_interval, as: 'checkInterval'
|
||||
property :timeout, as: 'timeout'
|
||||
property :unhealthy_threshold, as: 'unhealthyThreshold'
|
||||
property :disable_health_check, as: 'disableHealthCheck'
|
||||
property :host, as: 'host'
|
||||
property :restart_threshold, as: 'restartThreshold'
|
||||
property :healthy_threshold, as: 'healthyThreshold'
|
||||
property :check_interval, as: 'checkInterval'
|
||||
property :timeout, as: 'timeout'
|
||||
end
|
||||
end
|
||||
|
||||
class ReadinessCheck
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :check_interval, as: 'checkInterval'
|
||||
property :timeout, as: 'timeout'
|
||||
property :failure_threshold, as: 'failureThreshold'
|
||||
property :path, as: 'path'
|
||||
property :host, as: 'host'
|
||||
property :success_threshold, as: 'successThreshold'
|
||||
property :check_interval, as: 'checkInterval'
|
||||
property :timeout, as: 'timeout'
|
||||
property :failure_threshold, as: 'failureThreshold'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -567,6 +463,34 @@ module Google
|
||||
class Version
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :instance_class, as: 'instanceClass'
|
||||
property :serving_status, as: 'servingStatus'
|
||||
property :deployment, as: 'deployment', class: Google::Apis::AppengineV1::Deployment, decorator: Google::Apis::AppengineV1::Deployment::Representation
|
||||
|
||||
property :create_time, as: 'createTime'
|
||||
property :resources, as: 'resources', class: Google::Apis::AppengineV1::Resources, decorator: Google::Apis::AppengineV1::Resources::Representation
|
||||
|
||||
collection :inbound_services, as: 'inboundServices'
|
||||
collection :error_handlers, as: 'errorHandlers', class: Google::Apis::AppengineV1::ErrorHandler, decorator: Google::Apis::AppengineV1::ErrorHandler::Representation
|
||||
|
||||
property :default_expiration, as: 'defaultExpiration'
|
||||
collection :libraries, as: 'libraries', class: Google::Apis::AppengineV1::Library, decorator: Google::Apis::AppengineV1::Library::Representation
|
||||
|
||||
property :nobuild_files_regex, as: 'nobuildFilesRegex'
|
||||
property :basic_scaling, as: 'basicScaling', class: Google::Apis::AppengineV1::BasicScaling, decorator: Google::Apis::AppengineV1::BasicScaling::Representation
|
||||
|
||||
property :runtime, as: 'runtime'
|
||||
property :created_by, as: 'createdBy'
|
||||
property :id, as: 'id'
|
||||
hash :env_variables, as: 'envVariables'
|
||||
property :liveness_check, as: 'livenessCheck', class: Google::Apis::AppengineV1::LivenessCheck, decorator: Google::Apis::AppengineV1::LivenessCheck::Representation
|
||||
|
||||
property :network, as: 'network', class: Google::Apis::AppengineV1::Network, decorator: Google::Apis::AppengineV1::Network::Representation
|
||||
|
||||
hash :beta_settings, as: 'betaSettings'
|
||||
property :env, as: 'env'
|
||||
collection :handlers, as: 'handlers', class: Google::Apis::AppengineV1::UrlMap, decorator: Google::Apis::AppengineV1::UrlMap::Representation
|
||||
|
||||
property :automatic_scaling, as: 'automaticScaling', class: Google::Apis::AppengineV1::AutomaticScaling, decorator: Google::Apis::AppengineV1::AutomaticScaling::Representation
|
||||
|
||||
property :disk_usage_bytes, :numeric_string => true, as: 'diskUsageBytes'
|
||||
@@ -584,34 +508,6 @@ module Google
|
||||
|
||||
property :version_url, as: 'versionUrl'
|
||||
property :vm, as: 'vm'
|
||||
property :instance_class, as: 'instanceClass'
|
||||
property :serving_status, as: 'servingStatus'
|
||||
property :deployment, as: 'deployment', class: Google::Apis::AppengineV1::Deployment, decorator: Google::Apis::AppengineV1::Deployment::Representation
|
||||
|
||||
property :create_time, as: 'createTime'
|
||||
collection :inbound_services, as: 'inboundServices'
|
||||
property :resources, as: 'resources', class: Google::Apis::AppengineV1::Resources, decorator: Google::Apis::AppengineV1::Resources::Representation
|
||||
|
||||
collection :error_handlers, as: 'errorHandlers', class: Google::Apis::AppengineV1::ErrorHandler, decorator: Google::Apis::AppengineV1::ErrorHandler::Representation
|
||||
|
||||
property :default_expiration, as: 'defaultExpiration'
|
||||
collection :libraries, as: 'libraries', class: Google::Apis::AppengineV1::Library, decorator: Google::Apis::AppengineV1::Library::Representation
|
||||
|
||||
property :nobuild_files_regex, as: 'nobuildFilesRegex'
|
||||
property :basic_scaling, as: 'basicScaling', class: Google::Apis::AppengineV1::BasicScaling, decorator: Google::Apis::AppengineV1::BasicScaling::Representation
|
||||
|
||||
property :runtime, as: 'runtime'
|
||||
property :id, as: 'id'
|
||||
property :created_by, as: 'createdBy'
|
||||
hash :env_variables, as: 'envVariables'
|
||||
property :liveness_check, as: 'livenessCheck', class: Google::Apis::AppengineV1::LivenessCheck, decorator: Google::Apis::AppengineV1::LivenessCheck::Representation
|
||||
|
||||
property :network, as: 'network', class: Google::Apis::AppengineV1::Network, decorator: Google::Apis::AppengineV1::Network::Representation
|
||||
|
||||
hash :beta_settings, as: 'betaSettings'
|
||||
property :env, as: 'env'
|
||||
collection :handlers, as: 'handlers', class: Google::Apis::AppengineV1::UrlMap, decorator: Google::Apis::AppengineV1::UrlMap::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
@@ -621,13 +517,6 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class ScriptHandler
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :script_path, as: 'scriptPath'
|
||||
end
|
||||
end
|
||||
|
||||
class FileInfo
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -637,14 +526,21 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class ScriptHandler
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :script_path, as: 'scriptPath'
|
||||
end
|
||||
end
|
||||
|
||||
class OperationMetadataExperimental
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :user, as: 'user'
|
||||
property :target, as: 'target'
|
||||
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
|
||||
|
||||
@@ -659,13 +555,13 @@ module Google
|
||||
class OperationMetadataV1Beta
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :target, as: 'target'
|
||||
property :user, as: 'user'
|
||||
property :ephemeral_message, as: 'ephemeralMessage'
|
||||
property :method_prop, as: 'method'
|
||||
property :end_time, as: 'endTime'
|
||||
collection :warning, as: 'warning'
|
||||
property :insert_time, as: 'insertTime'
|
||||
property :user, as: 'user'
|
||||
property :target, as: 'target'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -678,18 +574,6 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class Deployment
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
hash :files, as: 'files', class: Google::Apis::AppengineV1::FileInfo, decorator: Google::Apis::AppengineV1::FileInfo::Representation
|
||||
|
||||
property :zip, as: 'zip', class: Google::Apis::AppengineV1::ZipInfo, decorator: Google::Apis::AppengineV1::ZipInfo::Representation
|
||||
|
||||
property :container, as: 'container', class: Google::Apis::AppengineV1::ContainerInfo, decorator: Google::Apis::AppengineV1::ContainerInfo::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class Resources
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -701,6 +585,18 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class Deployment
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :zip, as: 'zip', class: Google::Apis::AppengineV1::ZipInfo, decorator: Google::Apis::AppengineV1::ZipInfo::Representation
|
||||
|
||||
property :container, as: 'container', class: Google::Apis::AppengineV1::ContainerInfo, decorator: Google::Apis::AppengineV1::ContainerInfo::Representation
|
||||
|
||||
hash :files, as: 'files', class: Google::Apis::AppengineV1::FileInfo, decorator: Google::Apis::AppengineV1::FileInfo::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class Volume
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -744,9 +640,19 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class ZipInfo
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :source_url, as: 'sourceUrl'
|
||||
property :files_count, as: 'filesCount'
|
||||
end
|
||||
end
|
||||
|
||||
class AutomaticScaling
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :disk_utilization, as: 'diskUtilization', class: Google::Apis::AppengineV1::DiskUtilization, decorator: Google::Apis::AppengineV1::DiskUtilization::Representation
|
||||
|
||||
property :min_pending_latency, as: 'minPendingLatency'
|
||||
property :request_utilization, as: 'requestUtilization', class: Google::Apis::AppengineV1::RequestUtilization, decorator: Google::Apis::AppengineV1::RequestUtilization::Representation
|
||||
|
||||
@@ -761,24 +667,14 @@ module Google
|
||||
property :max_pending_latency, as: 'maxPendingLatency'
|
||||
property :cpu_utilization, as: 'cpuUtilization', class: Google::Apis::AppengineV1::CpuUtilization, decorator: Google::Apis::AppengineV1::CpuUtilization::Representation
|
||||
|
||||
property :disk_utilization, as: 'diskUtilization', class: Google::Apis::AppengineV1::DiskUtilization, decorator: Google::Apis::AppengineV1::DiskUtilization::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ZipInfo
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :source_url, as: 'sourceUrl'
|
||||
property :files_count, as: 'filesCount'
|
||||
end
|
||||
end
|
||||
|
||||
class Library
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
property :version, as: 'version'
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -817,6 +713,7 @@ module Google
|
||||
class UrlMap
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :login, as: 'login'
|
||||
property :api_endpoint, as: 'apiEndpoint', class: Google::Apis::AppengineV1::ApiEndpointHandler, decorator: Google::Apis::AppengineV1::ApiEndpointHandler::Representation
|
||||
|
||||
property :static_files, as: 'staticFiles', class: Google::Apis::AppengineV1::StaticFilesHandler, decorator: Google::Apis::AppengineV1::StaticFilesHandler::Representation
|
||||
@@ -827,7 +724,6 @@ module Google
|
||||
property :script, as: 'script', class: Google::Apis::AppengineV1::ScriptHandler, decorator: Google::Apis::AppengineV1::ScriptHandler::Representation
|
||||
|
||||
property :url_regex, as: 'urlRegex'
|
||||
property :login, as: 'login'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -845,12 +741,116 @@ module Google
|
||||
class Operation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :done, as: 'done'
|
||||
hash :response, as: 'response'
|
||||
property :name, as: 'name'
|
||||
property :error, as: 'error', class: Google::Apis::AppengineV1::Status, decorator: Google::Apis::AppengineV1::Status::Representation
|
||||
|
||||
hash :metadata, as: 'metadata'
|
||||
property :done, as: 'done'
|
||||
hash :response, as: 'response'
|
||||
end
|
||||
end
|
||||
|
||||
class StaticFilesHandler
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :expiration, as: 'expiration'
|
||||
property :application_readable, as: 'applicationReadable'
|
||||
hash :http_headers, as: 'httpHeaders'
|
||||
property :upload_path_regex, as: 'uploadPathRegex'
|
||||
property :path, as: 'path'
|
||||
property :mime_type, as: 'mimeType'
|
||||
property :require_matching_file, as: 'requireMatchingFile'
|
||||
end
|
||||
end
|
||||
|
||||
class BasicScaling
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :max_instances, as: 'maxInstances'
|
||||
property :idle_timeout, as: 'idleTimeout'
|
||||
end
|
||||
end
|
||||
|
||||
class DiskUtilization
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :target_write_bytes_per_second, as: 'targetWriteBytesPerSecond'
|
||||
property :target_read_bytes_per_second, as: 'targetReadBytesPerSecond'
|
||||
property :target_read_ops_per_second, as: 'targetReadOpsPerSecond'
|
||||
property :target_write_ops_per_second, as: 'targetWriteOpsPerSecond'
|
||||
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 Status
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
property :message, as: 'message'
|
||||
collection :details, as: 'details'
|
||||
end
|
||||
end
|
||||
|
||||
class IdentityAwareProxy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :oauth2_client_secret, as: 'oauth2ClientSecret'
|
||||
property :oauth2_client_id, as: 'oauth2ClientId'
|
||||
property :oauth2_client_secret_sha256, as: 'oauth2ClientSecretSha256'
|
||||
property :enabled, as: 'enabled'
|
||||
end
|
||||
end
|
||||
|
||||
class ManualScaling
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :instances, as: 'instances'
|
||||
end
|
||||
end
|
||||
|
||||
class LocationMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :standard_environment_available, as: 'standardEnvironmentAvailable'
|
||||
property :flexible_environment_available, as: 'flexibleEnvironmentAvailable'
|
||||
end
|
||||
end
|
||||
|
||||
class Service
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
property :name, as: 'name'
|
||||
property :split, as: 'split', class: Google::Apis::AppengineV1::TrafficSplit, decorator: Google::Apis::AppengineV1::TrafficSplit::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ListOperationsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :operations, as: 'operations', class: Google::Apis::AppengineV1::Operation, decorator: Google::Apis::AppengineV1::Operation::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class OperationMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :insert_time, as: 'insertTime'
|
||||
property :target, as: 'target'
|
||||
property :user, as: 'user'
|
||||
property :method_prop, as: 'method'
|
||||
property :end_time, as: 'endTime'
|
||||
property :operation_type, as: 'operationType'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -48,42 +48,6 @@ module Google
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Recreates the required App Engine features for the specified App Engine
|
||||
# application, for example a Cloud Storage bucket or App Engine service account.
|
||||
# Use this method if you receive an error message about a missing feature, for
|
||||
# example, Error retrieving the App Engine service account.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the application to repair. Example: apps/myapp
|
||||
# @param [Google::Apis::AppengineV1::RepairApplicationRequest] repair_application_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::AppengineV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def repair_application(apps_id, repair_application_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/apps/{appsId}:repair', options)
|
||||
command.request_representation = Google::Apis::AppengineV1::RepairApplicationRequest::Representation
|
||||
command.request_object = repair_application_request_object
|
||||
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::Operation
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets information about an application.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the Application resource to get. Example: apps/myapp.
|
||||
@@ -191,6 +155,190 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Recreates the required App Engine features for the specified App Engine
|
||||
# application, for example a Cloud Storage bucket or App Engine service account.
|
||||
# Use this method if you receive an error message about a missing feature, for
|
||||
# example, Error retrieving the App Engine service account.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the application to repair. Example: apps/myapp
|
||||
# @param [Google::Apis::AppengineV1::RepairApplicationRequest] repair_application_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::AppengineV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def repair_application(apps_id, repair_application_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/apps/{appsId}:repair', options)
|
||||
command.request_representation = Google::Apis::AppengineV1::RepairApplicationRequest::Representation
|
||||
command.request_object = repair_application_request_object
|
||||
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::Operation
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists operations that match the specified filter in the request. If the server
|
||||
# doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding
|
||||
# below allows API services to override the binding to use different resource
|
||||
# name schemes, such as users/*/operations.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. The name of the operation collection.
|
||||
# @param [String] page_token
|
||||
# The standard list page token.
|
||||
# @param [Fixnum] page_size
|
||||
# The standard list page size.
|
||||
# @param [String] filter
|
||||
# The standard list filter.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::AppengineV1::ListOperationsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::ListOperationsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_app_operations(apps_id, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/apps/{appsId}/operations', options)
|
||||
command.response_representation = Google::Apis::AppengineV1::ListOperationsResponse::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::ListOperationsResponse
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the latest state of a long-running operation. Clients can use this method
|
||||
# to poll the operation result at intervals as recommended by the API service.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. The name of the operation resource.
|
||||
# @param [String] operations_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::AppengineV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/apps/{appsId}/operations/{operationsId}', options)
|
||||
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::Operation
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.params['operationsId'] = operations_id unless operations_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists information about the supported locations for this service.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. The resource that owns the locations collection, if applicable.
|
||||
# @param [String] filter
|
||||
# The standard list filter.
|
||||
# @param [String] page_token
|
||||
# The standard list page token.
|
||||
# @param [Fixnum] page_size
|
||||
# The standard list page size.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::AppengineV1::ListLocationsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::ListLocationsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_app_locations(apps_id, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/apps/{appsId}/locations', options)
|
||||
command.response_representation = Google::Apis::AppengineV1::ListLocationsResponse::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::ListLocationsResponse
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Get information about a location.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Resource name for the location.
|
||||
# @param [String] locations_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::AppengineV1::Location] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::Location]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_app_location(apps_id, locations_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/apps/{appsId}/locations/{locationsId}', options)
|
||||
command.response_representation = Google::Apis::AppengineV1::Location::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::Location
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.params['locationsId'] = locations_id unless locations_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes the specified service and all enclosed versions.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
||||
@@ -228,10 +376,10 @@ module Google
|
||||
# Lists all the services in the application.
|
||||
# @param [String] apps_id
|
||||
# Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
|
||||
# @param [Fixnum] page_size
|
||||
# Maximum results to return per page.
|
||||
# @param [String] page_token
|
||||
# Continuation token for fetching the next page of results.
|
||||
# @param [Fixnum] page_size
|
||||
# Maximum results to return per page.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -249,13 +397,13 @@ module Google
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_app_services(apps_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def list_app_services(apps_id, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/apps/{appsId}/services', options)
|
||||
command.response_representation = Google::Apis::AppengineV1::ListServicesResponse::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::ListServicesResponse
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
@@ -739,154 +887,6 @@ module Google
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists operations that match the specified filter in the request. If the server
|
||||
# doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding
|
||||
# below allows API services to override the binding to use different resource
|
||||
# name schemes, such as users/*/operations.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. The name of the operation collection.
|
||||
# @param [Fixnum] page_size
|
||||
# The standard list page size.
|
||||
# @param [String] filter
|
||||
# The standard list filter.
|
||||
# @param [String] page_token
|
||||
# The standard list page token.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::AppengineV1::ListOperationsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::ListOperationsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_app_operations(apps_id, page_size: nil, filter: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/apps/{appsId}/operations', options)
|
||||
command.response_representation = Google::Apis::AppengineV1::ListOperationsResponse::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::ListOperationsResponse
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the latest state of a long-running operation. Clients can use this method
|
||||
# to poll the operation result at intervals as recommended by the API service.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. The name of the operation resource.
|
||||
# @param [String] operations_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::AppengineV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_app_operation(apps_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/apps/{appsId}/operations/{operationsId}', options)
|
||||
command.response_representation = Google::Apis::AppengineV1::Operation::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::Operation
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.params['operationsId'] = operations_id unless operations_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists information about the supported locations for this service.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. The resource that owns the locations collection, if applicable.
|
||||
# @param [String] filter
|
||||
# The standard list filter.
|
||||
# @param [String] page_token
|
||||
# The standard list page token.
|
||||
# @param [Fixnum] page_size
|
||||
# The standard list page size.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::AppengineV1::ListLocationsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::ListLocationsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_app_locations(apps_id, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/apps/{appsId}/locations', options)
|
||||
command.response_representation = Google::Apis::AppengineV1::ListLocationsResponse::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::ListLocationsResponse
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Get information about a location.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Resource name for the location.
|
||||
# @param [String] locations_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::AppengineV1::Location] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1::Location]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_app_location(apps_id, locations_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/apps/{appsId}/locations/{locationsId}', options)
|
||||
command.response_representation = Google::Apis::AppengineV1::Location::Representation
|
||||
command.response_class = Google::Apis::AppengineV1::Location
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.params['locationsId'] = locations_id unless locations_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
|
||||
Reference in new issue
Block a user