Bump version, regen APIs

Revert api_names.yaml to pick up the manual overrides lost in v0.12.0
This commit is contained in:
Sai Cheemalapati committed 2017-06-14 10:06:42 -07:00
1 parent ebd954a53c
commit 749539e46a
314 files changed
+85436 -117727

No files matched your search

+163 -15
View File
@@ -385,6 +385,24 @@ module Google
# @return [String]
attr_accessor :kind
# A fingerprint for the labels being applied to this Address, which is
# essentially a hash of the labels set used for optimistic locking. The
# fingerprint is initially generated by Compute Engine and changes after every
# request to modify or update labels. You must always provide an up-to-date
# fingerprint hash in order to update or change labels.
# To see the latest fingerprint, make a get() request to retrieve an Address.
# Corresponds to the JSON property `labelFingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :label_fingerprint
# Labels to apply to this Address resource. These can be later modified by the
# setLabels method. Each label key/value must comply with RFC1035. Label values
# may be empty.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# Name of the resource. Provided by the client when the resource is created. The
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
@@ -431,6 +449,8 @@ module Google
@id = args[:id] if args.key?(:id)
@ip_version = args[:ip_version] if args.key?(:ip_version)
@kind = args[:kind] if args.key?(:kind)
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
@labels = args[:labels] if args.key?(:labels)
@name = args[:name] if args.key?(:name)
@region = args[:region] if args.key?(:region)
@self_link = args[:self_link] if args.key?(:self_link)
@@ -2051,6 +2071,13 @@ module Google
class Binding
include Google::Apis::Core::Hashable
# Represents an expression text. Example:
# title: "User account presence" description: "Determines whether the request
# has a user account" expression: "size(request.user) > 0"
# Corresponds to the JSON property `condition`
# @return [Google::Apis::ComputeBeta::Expr]
attr_accessor :condition
# Specifies the identities requesting access for a Cloud Platform resource. `
# members` can have the following values:
# * `allUsers`: A special identifier that represents anyone who is on the
@@ -2081,6 +2108,7 @@ module Google
# Update properties of this object
def update!(**args)
@condition = args[:condition] if args.key?(:condition)
@members = args[:members] if args.key?(:members)
@role = args[:role] if args.key?(:role)
end
@@ -3373,6 +3401,51 @@ module Google
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"
class Expr
include Google::Apis::Core::Hashable
# An optional description of the expression. This is a longer text which
# describes the expression, e.g. when hovered over it in a UI.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# Textual representation of an expression in [Common Expression Language](http://
# go/api-expr) syntax.
# The application context of the containing message determines which well-known
# feature set of CEL is supported.
# Corresponds to the JSON property `expression`
# @return [String]
attr_accessor :expression
# An optional string indicating the location of the expression for error
# reporting, e.g. a file name and a position in the file.
# Corresponds to the JSON property `location`
# @return [String]
attr_accessor :location
# An optional title for the expression, i.e. a short string describing its
# purpose. This can be used e.g. in UIs which allow to enter the expression.
# Corresponds to the JSON property `title`
# @return [String]
attr_accessor :title
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@description = args[:description] if args.key?(:description)
@expression = args[:expression] if args.key?(:expression)
@location = args[:location] if args.key?(:location)
@title = args[:title] if args.key?(:title)
end
end
# Represents a Firewall resource.
class Firewall
include Google::Apis::Core::Hashable
@@ -3692,6 +3765,25 @@ module Google
# @return [String]
attr_accessor :kind
# A fingerprint for the labels being applied to this resource, which is
# essentially a hash of the labels set used for optimistic locking. The
# fingerprint is initially generated by Compute Engine and changes after every
# request to modify or update labels. You must always provide an up-to-date
# fingerprint hash in order to update or change labels.
# To see the latest fingerprint, make a get() request to retrieve a
# ForwardingRule.
# Corresponds to the JSON property `labelFingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :label_fingerprint
# Labels to apply to this resource. These can be later modified by the setLabels
# method. Each label key/value pair must comply with RFC1035. Label values may
# be empty.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# This signifies what the ForwardingRule will be used for and can only take the
# following values: INTERNAL, EXTERNAL The value of INTERNAL means that this
# will be used for Internal Network Load Balancing (TCP, UDP). The value of
@@ -3728,7 +3820,8 @@ module Google
# Some types of forwarding target have constraints on the acceptable ports:
# - TargetHttpProxy: 80, 8080
# - TargetHttpsProxy: 443
# - TargetSslProxy: 443
# - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995
# - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995
# - TargetVpnGateway: 500, 4500
# -
# Corresponds to the JSON property `portRange`
@@ -3809,6 +3902,8 @@ module Google
@id = args[:id] if args.key?(:id)
@ip_version = args[:ip_version] if args.key?(:ip_version)
@kind = args[:kind] if args.key?(:kind)
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
@labels = args[:labels] if args.key?(:labels)
@load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
@name = args[:name] if args.key?(:name)
@network = args[:network] if args.key?(:network)
@@ -4050,7 +4145,7 @@ module Google
class GuestOsFeature
include Google::Apis::Core::Hashable
# The type of supported feature. Currenty only VIRTIO_SCSI_MULTIQUEUE is
# The type of supported feature. Currently only VIRTIO_SCSI_MULTIQUEUE is
# supported. For newer Windows images, the server might also populate this
# property with the value WINDOWS to indicate that this is a Windows image. This
# value is purely informational and does not enable or disable any features.
@@ -4871,6 +4966,27 @@ module Google
# @return [String]
attr_accessor :source_disk_id
# URL of the source image used to create this image. This can be a full or valid
# partial URL. You must provide exactly one of:
# - this property, or
# - the rawDisk.source property, or
# - the sourceDisk property in order to create an image.
# Corresponds to the JSON property `sourceImage`
# @return [String]
attr_accessor :source_image
# Represents a customer-supplied encryption key
# Corresponds to the JSON property `sourceImageEncryptionKey`
# @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
attr_accessor :source_image_encryption_key
# [Output Only] The ID value of the image used to create this image. This value
# may be used to determine whether the image was taken from the current or a
# previous instance of a given image name.
# Corresponds to the JSON property `sourceImageId`
# @return [String]
attr_accessor :source_image_id
# The type of the image used to create this disk. The default and only value is
# RAW
# Corresponds to the JSON property `sourceType`
@@ -4910,6 +5026,9 @@ module Google
@source_disk = args[:source_disk] if args.key?(:source_disk)
@source_disk_encryption_key = args[:source_disk_encryption_key] if args.key?(:source_disk_encryption_key)
@source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
@source_image = args[:source_image] if args.key?(:source_image)
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
@source_image_id = args[:source_image_id] if args.key?(:source_image_id)
@source_type = args[:source_type] if args.key?(:source_type)
@status = args[:status] if args.key?(:status)
end
@@ -6432,7 +6551,7 @@ module Google
end
#
class InstanceMoveRequest
class MoveInstanceRequest
include Google::Apis::Core::Hashable
# The URL of the destination zone to move the instance. This can be a full or
@@ -6957,8 +7076,8 @@ module Google
class License
include Google::Apis::Core::Hashable
# [Output Only] If true, the customer will be charged license fee for running
# software that contains this license on an instance.
# [Output Only] Deprecated. This field no longer reflects whether a license
# charges a usage fee.
# Corresponds to the JSON property `chargesUseFee`
# @return [Boolean]
attr_accessor :charges_use_fee
@@ -8522,9 +8641,8 @@ module Google
# @return [Array<Google::Apis::ComputeBeta::AuditConfig>]
attr_accessor :audit_configs
# Associates a list of `members` to a `role`. Multiple `bindings` must not be
# specified for the same `role`. `bindings` with no members will result in an
# error.
# Associates a list of `members` to a `role`. `bindings` with no members will
# result in an error.
# Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::ComputeBeta::Binding>]
attr_accessor :bindings
@@ -9361,6 +9479,36 @@ module Google
end
end
#
class RegionSetLabelsRequest
include Google::Apis::Core::Hashable
# The fingerprint of the previous set of labels for this resource, used to
# detect conflicts. The fingerprint is initially generated by Compute Engine and
# changes after every request to modify or update labels. You must always
# provide an up-to-date fingerprint hash in order to update or change labels.
# Make a get() request to the resource to get the latest fingerprint.
# Corresponds to the JSON property `labelFingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :label_fingerprint
# The labels to set for this resource.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
@labels = args[:labels] if args.key?(:labels)
end
end
# Commitment for a particular resource (a Commitment is composed of one or more
# of these).
class ResourceCommitment
@@ -9413,7 +9561,7 @@ module Google
# Represents a Route resource. A route specifies how certain packets should be
# handled by the network. Routes are associated with instances by tags and the
# set of routes for a particular instance is called its routing table.
# For each packet leaving a instance, the system searches that instance's
# For each packet leaving an instance, the system searches that instance's
# routing table for a single best matching route. Routes match packets by
# destination IP address, preferring smaller or more specific ranges over larger
# ones. If there is a tie, the system selects the route with the smallest
@@ -11970,7 +12118,7 @@ module Google
end
#
class TargetPoolsAddHealthCheckRequest
class AddTargetPoolsHealthCheckRequest
include Google::Apis::Core::Hashable
# The HttpHealthCheck to add to the target pool.
@@ -11989,7 +12137,7 @@ module Google
end
#
class TargetPoolsAddInstanceRequest
class AddTargetPoolsInstanceRequest
include Google::Apis::Core::Hashable
# A full or partial URL to an instance to add to this target pool. This can be a
@@ -12013,7 +12161,7 @@ module Google
end
#
class TargetPoolsRemoveHealthCheckRequest
class RemoveTargetPoolsHealthCheckRequest
include Google::Apis::Core::Hashable
# Health check URL to be removed. This can be a full or valid partial URL. For
@@ -12037,7 +12185,7 @@ module Google
end
#
class TargetPoolsRemoveInstanceRequest
class RemoveTargetPoolsInstanceRequest
include Google::Apis::Core::Hashable
# URLs of the instances to be removed from target pool.
@@ -13141,7 +13289,7 @@ module Google
end
#
class UrlMapsValidateRequest
class ValidateUrlMapsRequest
include Google::Apis::Core::Hashable
# A UrlMap resource. This resource defines the mapping from URL to the
@@ -13162,7 +13310,7 @@ module Google
end
#
class UrlMapsValidateResponse
class ValidateUrlMapsResponse
include Google::Apis::Core::Hashable
# Message representing the validation result for a UrlMap.
@@ -442,6 +442,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Expr
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Firewall
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -784,7 +790,7 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InstanceMoveRequest
class MoveInstanceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@@ -1228,6 +1234,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class RegionSetLabelsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourceCommitment
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -1552,25 +1564,25 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class TargetPoolsAddHealthCheckRequest
class AddTargetPoolsHealthCheckRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TargetPoolsAddInstanceRequest
class AddTargetPoolsInstanceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TargetPoolsRemoveHealthCheckRequest
class RemoveTargetPoolsHealthCheckRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TargetPoolsRemoveInstanceRequest
class RemoveTargetPoolsInstanceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@@ -1744,13 +1756,13 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class UrlMapsValidateRequest
class ValidateUrlMapsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UrlMapsValidateResponse
class ValidateUrlMapsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@@ -1923,6 +1935,8 @@ module Google
property :id, :numeric_string => true, as: 'id'
property :ip_version, as: 'ipVersion'
property :kind, as: 'kind'
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
hash :labels, as: 'labels'
property :name, as: 'name'
property :region, as: 'region'
property :self_link, as: 'selfLink'
@@ -2314,6 +2328,8 @@ module Google
class Binding
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :condition, as: 'condition', class: Google::Apis::ComputeBeta::Expr, decorator: Google::Apis::ComputeBeta::Expr::Representation
collection :members, as: 'members'
property :role, as: 'role'
end
@@ -2628,6 +2644,16 @@ module Google
end
end
class Expr
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :expression, as: 'expression'
property :location, as: 'location'
property :title, as: 'title'
end
end
class Firewall
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2690,6 +2716,8 @@ module Google
property :id, :numeric_string => true, as: 'id'
property :ip_version, as: 'ipVersion'
property :kind, as: 'kind'
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
hash :labels, as: 'labels'
property :load_balancing_scheme, as: 'loadBalancingScheme'
property :name, as: 'name'
property :network, as: 'network'
@@ -2947,6 +2975,10 @@ module Google
property :source_disk_encryption_key, as: 'sourceDiskEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
property :source_disk_id, as: 'sourceDiskId'
property :source_image, as: 'sourceImage'
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
property :source_image_id, as: 'sourceImageId'
property :source_type, as: 'sourceType'
property :status, as: 'status'
end
@@ -3324,7 +3356,7 @@ module Google
end
end
class InstanceMoveRequest
class MoveInstanceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :destination_zone, as: 'destinationZone'
@@ -4099,6 +4131,14 @@ module Google
end
end
class RegionSetLabelsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
hash :labels, as: 'labels'
end
end
class ResourceCommitment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -4720,7 +4760,7 @@ module Google
end
end
class TargetPoolsAddHealthCheckRequest
class AddTargetPoolsHealthCheckRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :health_checks, as: 'healthChecks', class: Google::Apis::ComputeBeta::HealthCheckReference, decorator: Google::Apis::ComputeBeta::HealthCheckReference::Representation
@@ -4728,7 +4768,7 @@ module Google
end
end
class TargetPoolsAddInstanceRequest
class AddTargetPoolsInstanceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :instances, as: 'instances', class: Google::Apis::ComputeBeta::InstanceReference, decorator: Google::Apis::ComputeBeta::InstanceReference::Representation
@@ -4736,7 +4776,7 @@ module Google
end
end
class TargetPoolsRemoveHealthCheckRequest
class RemoveTargetPoolsHealthCheckRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :health_checks, as: 'healthChecks', class: Google::Apis::ComputeBeta::HealthCheckReference, decorator: Google::Apis::ComputeBeta::HealthCheckReference::Representation
@@ -4744,7 +4784,7 @@ module Google
end
end
class TargetPoolsRemoveInstanceRequest
class RemoveTargetPoolsInstanceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :instances, as: 'instances', class: Google::Apis::ComputeBeta::InstanceReference, decorator: Google::Apis::ComputeBeta::InstanceReference::Representation
@@ -5038,7 +5078,7 @@ module Google
end
end
class UrlMapsValidateRequest
class ValidateUrlMapsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :resource, as: 'resource', class: Google::Apis::ComputeBeta::UrlMap, decorator: Google::Apis::ComputeBeta::UrlMap::Representation
@@ -5046,7 +5086,7 @@ module Google
end
end
class UrlMapsValidateResponse
class ValidateUrlMapsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :result, as: 'result', class: Google::Apis::ComputeBeta::UrlMapValidationResult, decorator: Google::Apis::ComputeBeta::UrlMapValidationResult::Representation
File diff suppressed because it is too large. Load diff