Autogenerated update (2017-11-17)
Update: - admin_directory_v1 - appengine_v1 - appengine_v1beta - logging_v2beta1 - youtube_partner_v1
This commit is contained in:
1 parent
de77a320ee
commit
e22b24204b
18 files changed
+5703
-61
No files matched your search
@@ -370,6 +370,11 @@ module Google
|
||||
# @return [Google::Apis::AppengineV1::RequestUtilization]
|
||||
attr_accessor :request_utilization
|
||||
|
||||
# Scheduler settings for standard environment.
|
||||
# Corresponds to the JSON property `standardSchedulerSettings`
|
||||
# @return [Google::Apis::AppengineV1::StandardSchedulerSettings]
|
||||
attr_accessor :standard_scheduler_settings
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
@@ -388,6 +393,7 @@ module Google
|
||||
@min_total_instances = args[:min_total_instances] if args.key?(:min_total_instances)
|
||||
@network_utilization = args[:network_utilization] if args.key?(:network_utilization)
|
||||
@request_utilization = args[:request_utilization] if args.key?(:request_utilization)
|
||||
@standard_scheduler_settings = args[:standard_scheduler_settings] if args.key?(:standard_scheduler_settings)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -2177,6 +2183,45 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Scheduler settings for standard environment.
|
||||
class StandardSchedulerSettings
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Maximum number of instances for an app version. Set to a non-positive value (0
|
||||
# by convention) to disable max_instances configuration.
|
||||
# Corresponds to the JSON property `maxInstances`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :max_instances
|
||||
|
||||
# Minimum number of instances for an app version. Set to a non-positive value (0
|
||||
# by convention) to disable min_instances configuration.
|
||||
# Corresponds to the JSON property `minInstances`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :min_instances
|
||||
|
||||
# Target CPU utilization ratio to maintain when scaling.
|
||||
# Corresponds to the JSON property `targetCpuUtilization`
|
||||
# @return [Float]
|
||||
attr_accessor :target_cpu_utilization
|
||||
|
||||
# Target throughput utilization ratio to maintain when scaling
|
||||
# Corresponds to the JSON property `targetThroughputUtilization`
|
||||
# @return [Float]
|
||||
attr_accessor :target_throughput_utilization
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@max_instances = args[:max_instances] if args.key?(:max_instances)
|
||||
@min_instances = args[:min_instances] if args.key?(:min_instances)
|
||||
@target_cpu_utilization = args[:target_cpu_utilization] if args.key?(:target_cpu_utilization)
|
||||
@target_throughput_utilization = args[:target_throughput_utilization] if args.key?(:target_throughput_utilization)
|
||||
end
|
||||
end
|
||||
|
||||
# Files served directly to the user for a given URL, such as images, CSS
|
||||
# stylesheets, or JavaScript source files. Static file handlers describe which
|
||||
# files in the application directory are static files, and which URLs serve them.
|
||||
|
||||
@@ -352,6 +352,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StandardSchedulerSettings
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StaticFilesHandler
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -482,6 +488,8 @@ module Google
|
||||
|
||||
property :request_utilization, as: 'requestUtilization', class: Google::Apis::AppengineV1::RequestUtilization, decorator: Google::Apis::AppengineV1::RequestUtilization::Representation
|
||||
|
||||
property :standard_scheduler_settings, as: 'standardSchedulerSettings', class: Google::Apis::AppengineV1::StandardSchedulerSettings, decorator: Google::Apis::AppengineV1::StandardSchedulerSettings::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
@@ -959,6 +967,16 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class StandardSchedulerSettings
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :max_instances, as: 'maxInstances'
|
||||
property :min_instances, as: 'minInstances'
|
||||
property :target_cpu_utilization, as: 'targetCpuUtilization'
|
||||
property :target_throughput_utilization, as: 'targetThroughputUtilization'
|
||||
end
|
||||
end
|
||||
|
||||
class StaticFilesHandler
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
Reference in new issue
Block a user