Autogenerated update (2017-10-29)

Update:
- compute_alpha
- compute_v1
- deploymentmanager_alpha
- deploymentmanager_v2beta
This commit is contained in:
Google APIs committed 2017-10-29 00:35:51 +00:00
1 parent c13dcc9a81
commit 6ef7cd2315
11 files changed
+195 -4

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeAlpha
VERSION = 'Alpha'
REVISION = '20171010'
REVISION = '20171026'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -8572,6 +8572,11 @@ module Google
# @return [String]
attr_accessor :machine_type
# Maintenance policies applied to this instance.
# Corresponds to the JSON property `maintenancePolicies`
# @return [Array<String>]
attr_accessor :maintenance_policies
# A metadata key/value entry.
# Corresponds to the JSON property `metadata`
# @return [Google::Apis::ComputeAlpha::Metadata]
@@ -8669,6 +8674,7 @@ module Google
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
@labels = args[:labels] if args.key?(:labels)
@machine_type = args[:machine_type] if args.key?(:machine_type)
@maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
@metadata = args[:metadata] if args.key?(:metadata)
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
@name = args[:name] if args.key?(:name)
@@ -5505,6 +5505,7 @@ module Google
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
hash :labels, as: 'labels'
property :machine_type, as: 'machineType'
collection :maintenance_policies, as: 'maintenancePolicies'
property :metadata, as: 'metadata', class: Google::Apis::ComputeAlpha::Metadata, decorator: Google::Apis::ComputeAlpha::Metadata::Representation
property :min_cpu_platform, as: 'minCpuPlatform'
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeV1
VERSION = 'V1'
REVISION = '20171010'
REVISION = '20171026'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/deployment-manager/
module DeploymentmanagerAlpha
VERSION = 'Alpha'
REVISION = '20170925'
REVISION = '20171025'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,6 +22,31 @@ module Google
module Apis
module DeploymentmanagerAlpha
# Async options that determine when a resource should finish.
class AsyncOptions
include Google::Apis::Core::Hashable
# Method regex where this policy will apply.
# Corresponds to the JSON property `methodMatch`
# @return [String]
attr_accessor :method_match
#
# Corresponds to the JSON property `pollingOptions`
# @return [Google::Apis::DeploymentmanagerAlpha::PollingOptions]
attr_accessor :polling_options
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@method_match = args[:method_match] if args.key?(:method_match)
@polling_options = args[:polling_options] if args.key?(:polling_options)
end
end
# Specifies the audit configuration for a service. The configuration determines
# which permission types are logged, and what identities, if any, are exempted
# from logging. An AuditConfig must have one or more AuditLogConfigs.
@@ -794,6 +819,32 @@ module Google
end
end
#
class Diagnostic
include Google::Apis::Core::Hashable
# JsonPath expression on the resource that if non empty, indicates that this
# field needs to be extracted as a diagnostic.
# Corresponds to the JSON property `field`
# @return [String]
attr_accessor :field
# Level to record this diagnostic.
# Corresponds to the JSON property `level`
# @return [String]
attr_accessor :level
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@field = args[:field] if args.key?(:field)
@level = args[:level] if args.key?(:level)
end
end
# Represents an expression text. Example:
# title: "User account presence" description: "Determines whether the request
# has a user account" expression: "size(request.user) > 0"
@@ -1438,6 +1489,11 @@ module Google
class Options
include Google::Apis::Core::Hashable
# Options regarding how to thread async requests.
# Corresponds to the JSON property `asyncOptions`
# @return [Array<Google::Apis::DeploymentmanagerAlpha::AsyncOptions>]
attr_accessor :async_options
# The mappings that apply for requests.
# Corresponds to the JSON property `inputMappings`
# @return [Array<Google::Apis::DeploymentmanagerAlpha::InputMapping>]
@@ -1461,6 +1517,7 @@ module Google
# Update properties of this object
def update!(**args)
@async_options = args[:async_options] if args.key?(:async_options)
@input_mappings = args[:input_mappings] if args.key?(:input_mappings)
@name_property = args[:name_property] if args.key?(:name_property)
@validation_options = args[:validation_options] if args.key?(:validation_options)
@@ -1545,6 +1602,51 @@ module Google
end
end
#
class PollingOptions
include Google::Apis::Core::Hashable
# An array of diagnostics to be collected by Deployment Manager, these
# diagnostics will be displayed to the user.
# Corresponds to the JSON property `diagnostics`
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Diagnostic>]
attr_accessor :diagnostics
# JsonPath expression that determines if the request failed.
# Corresponds to the JSON property `failCondition`
# @return [String]
attr_accessor :fail_condition
# JsonPath expression that determines if the request is completed.
# Corresponds to the JSON property `finishCondition`
# @return [String]
attr_accessor :finish_condition
# JsonPath expression that evaluates to string, it indicates where to poll.
# Corresponds to the JSON property `pollingLink`
# @return [String]
attr_accessor :polling_link
# JsonPath expression, after polling is completed, indicates where to fetch the
# resource.
# Corresponds to the JSON property `targetLink`
# @return [String]
attr_accessor :target_link
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@diagnostics = args[:diagnostics] if args.key?(:diagnostics)
@fail_condition = args[:fail_condition] if args.key?(:fail_condition)
@finish_condition = args[:finish_condition] if args.key?(:finish_condition)
@polling_link = args[:polling_link] if args.key?(:polling_link)
@target_link = args[:target_link] if args.key?(:target_link)
end
end
#
class Resource
include Google::Apis::Core::Hashable
@@ -2063,6 +2165,11 @@ module Google
# @return [String]
attr_accessor :interpreter
# The filename of the mainTemplate
# Corresponds to the JSON property `mainTemplate`
# @return [String]
attr_accessor :main_template
# The contents of the template schema.
# Corresponds to the JSON property `schema`
# @return [String]
@@ -2081,6 +2188,7 @@ module Google
def update!(**args)
@imports = args[:imports] if args.key?(:imports)
@interpreter = args[:interpreter] if args.key?(:interpreter)
@main_template = args[:main_template] if args.key?(:main_template)
@schema = args[:schema] if args.key?(:schema)
@template = args[:template] if args.key?(:template)
end
@@ -22,6 +22,12 @@ module Google
module Apis
module DeploymentmanagerAlpha
class AsyncOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AuditConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -148,6 +154,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Diagnostic
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Expr
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -250,6 +262,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class PollingOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Resource
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -406,6 +424,15 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AsyncOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :method_match, as: 'methodMatch'
property :polling_options, as: 'pollingOptions', class: Google::Apis::DeploymentmanagerAlpha::PollingOptions, decorator: Google::Apis::DeploymentmanagerAlpha::PollingOptions::Representation
end
end
class AuditConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -620,6 +647,14 @@ module Google
end
end
class Diagnostic
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :field, as: 'field'
property :level, as: 'level'
end
end
class Expr
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -787,6 +822,8 @@ module Google
class Options
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :async_options, as: 'asyncOptions', class: Google::Apis::DeploymentmanagerAlpha::AsyncOptions, decorator: Google::Apis::DeploymentmanagerAlpha::AsyncOptions::Representation
collection :input_mappings, as: 'inputMappings', class: Google::Apis::DeploymentmanagerAlpha::InputMapping, decorator: Google::Apis::DeploymentmanagerAlpha::InputMapping::Representation
property :name_property, as: 'nameProperty'
@@ -810,6 +847,18 @@ module Google
end
end
class PollingOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :diagnostics, as: 'diagnostics', class: Google::Apis::DeploymentmanagerAlpha::Diagnostic, decorator: Google::Apis::DeploymentmanagerAlpha::Diagnostic::Representation
property :fail_condition, as: 'failCondition'
property :finish_condition, as: 'finishCondition'
property :polling_link, as: 'pollingLink'
property :target_link, as: 'targetLink'
end
end
class Resource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -959,6 +1008,7 @@ module Google
collection :imports, as: 'imports', class: Google::Apis::DeploymentmanagerAlpha::ImportFile, decorator: Google::Apis::DeploymentmanagerAlpha::ImportFile::Representation
property :interpreter, as: 'interpreter'
property :main_template, as: 'mainTemplate'
property :schema, as: 'schema'
property :template, as: 'template'
end
@@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/deployment-manager/
module DeploymentmanagerV2beta
VERSION = 'V2beta'
REVISION = '20170925'
REVISION = '20171025'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2008,6 +2008,11 @@ module Google
# @return [String]
attr_accessor :interpreter
# The filename of the mainTemplate
# Corresponds to the JSON property `mainTemplate`
# @return [String]
attr_accessor :main_template
# The contents of the template schema.
# Corresponds to the JSON property `schema`
# @return [String]
@@ -2026,6 +2031,7 @@ module Google
def update!(**args)
@imports = args[:imports] if args.key?(:imports)
@interpreter = args[:interpreter] if args.key?(:interpreter)
@main_template = args[:main_template] if args.key?(:main_template)
@schema = args[:schema] if args.key?(:schema)
@template = args[:template] if args.key?(:template)
end
@@ -935,6 +935,7 @@ module Google
collection :imports, as: 'imports', class: Google::Apis::DeploymentmanagerV2beta::ImportFile, decorator: Google::Apis::DeploymentmanagerV2beta::ImportFile::Representation
property :interpreter, as: 'interpreter'
property :main_template, as: 'mainTemplate'
property :schema, as: 'schema'
property :template, as: 'template'
end