Autogenerated update (2019-02-28)
Update: - compute_alpha - compute_beta - compute_v1 - containeranalysis_v1alpha1 - games_management_v1management - games_v1 - logging_v2 - logging_v2beta1 - oauth2_v1 - oauth2_v2 - plus_domains_v1 - plus_v1 - remotebuildexecution_v1 - remotebuildexecution_v1alpha - remotebuildexecution_v2 - servicemanagement_v1 - testing_v1
This commit is contained in:
1 parent
ca22914882
commit
463abfaad2
38 files changed
+2167
-150
No files matched your search
@@ -5769,6 +5769,257 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# External VPN gateway is the on-premises VPN gateway(s) or another cloud
|
||||
# provider?s VPN gateway that connects to your Google Cloud VPN gateway. To
|
||||
# create a highly available VPN from Google Cloud to your on-premises side or
|
||||
# another Cloud provider's VPN gateway, you must create a external VPN gateway
|
||||
# resource in GCP, which provides the information to GCP about your external VPN
|
||||
# gateway.
|
||||
class ExternalVpnGateway
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] Creation timestamp in RFC3339 text format.
|
||||
# Corresponds to the JSON property `creationTimestamp`
|
||||
# @return [String]
|
||||
attr_accessor :creation_timestamp
|
||||
|
||||
# An optional description of this resource. Provide this property when you
|
||||
# create the resource.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# [Output Only] The unique identifier for the resource. This identifier is
|
||||
# defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :id
|
||||
|
||||
# List of interfaces for this external VPN gateway.
|
||||
# Corresponds to the JSON property `interfaces`
|
||||
# @return [Array<Google::Apis::ComputeBeta::ExternalVpnGatewayInterface>]
|
||||
attr_accessor :interfaces
|
||||
|
||||
# [Output Only] Type of the resource. Always compute#externalVpnGateway for
|
||||
# externalVpnGateways.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# A fingerprint for the labels being applied to this ExternalVpnGateway, 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, otherwise the request
|
||||
# will fail with error 412 conditionNotMet.
|
||||
# To see the latest fingerprint, make a get() request to retrieve an
|
||||
# ExternalVpnGateway.
|
||||
# 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 ExternalVpnGateway 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-
|
||||
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
||||
# and all following characters must be a dash, lowercase letter, or digit,
|
||||
# except the last character, which cannot be a dash.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Indicates the user-supplied redundancy type of this external VPN gateway.
|
||||
# Corresponds to the JSON property `redundancyType`
|
||||
# @return [String]
|
||||
attr_accessor :redundancy_type
|
||||
|
||||
# [Output Only] Server-defined URL for the resource.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@interfaces = args[:interfaces] if args.key?(:interfaces)
|
||||
@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)
|
||||
@redundancy_type = args[:redundancy_type] if args.key?(:redundancy_type)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
end
|
||||
end
|
||||
|
||||
# The interface for the external VPN gateway.
|
||||
class ExternalVpnGatewayInterface
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The numeric ID of this interface. The allowed input values for this id for
|
||||
# different redundancy types of external VPN gateway:
|
||||
# SINGLE_IP_INTERNALLY_REDUNDANT - 0 TWO_IPS_REDUNDANCY - 0, 1
|
||||
# FOUR_IPS_REDUNDANCY - 0, 1, 2, 3
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :id
|
||||
|
||||
# IP address of the interface in the external VPN gateway. Only IPv4 is
|
||||
# supported. This IP address can be either from your on-premise gateway or
|
||||
# another Cloud provider?s VPN gateway, it cannot be an IP address from Google
|
||||
# Compute Engine.
|
||||
# Corresponds to the JSON property `ipAddress`
|
||||
# @return [String]
|
||||
attr_accessor :ip_address
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
||||
end
|
||||
end
|
||||
|
||||
# Response to the list request, and contains a list of externalVpnGateways.
|
||||
class ExternalVpnGatewayList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `etag`
|
||||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
# [Output Only] Unique identifier for the resource; defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# A list of ExternalVpnGateway resources.
|
||||
# Corresponds to the JSON property `items`
|
||||
# @return [Array<Google::Apis::ComputeBeta::ExternalVpnGateway>]
|
||||
attr_accessor :items
|
||||
|
||||
# [Output Only] Type of resource. Always compute#externalVpnGatewayList for
|
||||
# lists of externalVpnGateways.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# [Output Only] This token allows you to get the next page of results for list
|
||||
# requests. If the number of results is larger than maxResults, use the
|
||||
# nextPageToken as a value for the query parameter pageToken in the next list
|
||||
# request. Subsequent list requests will have their own nextPageToken to
|
||||
# continue paging through the results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# [Output Only] Server-defined URL for this resource.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# [Output Only] Informational warning message.
|
||||
# Corresponds to the JSON property `warning`
|
||||
# @return [Google::Apis::ComputeBeta::ExternalVpnGatewayList::Warning]
|
||||
attr_accessor :warning
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@etag = args[:etag] if args.key?(:etag)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@items = args[:items] if args.key?(:items)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@warning = args[:warning] if args.key?(:warning)
|
||||
end
|
||||
|
||||
# [Output Only] Informational warning message.
|
||||
class Warning
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
||||
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
||||
# Corresponds to the JSON property `code`
|
||||
# @return [String]
|
||||
attr_accessor :code
|
||||
|
||||
# [Output Only] Metadata about this warning in key: value format. For example:
|
||||
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
||||
# Corresponds to the JSON property `data`
|
||||
# @return [Array<Google::Apis::ComputeBeta::ExternalVpnGatewayList::Warning::Datum>]
|
||||
attr_accessor :data
|
||||
|
||||
# [Output Only] A human-readable description of the warning code.
|
||||
# Corresponds to the JSON property `message`
|
||||
# @return [String]
|
||||
attr_accessor :message
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@code = args[:code] if args.key?(:code)
|
||||
@data = args[:data] if args.key?(:data)
|
||||
@message = args[:message] if args.key?(:message)
|
||||
end
|
||||
|
||||
#
|
||||
class Datum
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A key that provides more detail on the warning being returned.
|
||||
# For example, for warnings where there are no results in a list request for a
|
||||
# particular zone, this key might be scope and the key value might be the zone
|
||||
# name. Other examples might be a key indicating a deprecated resource and a
|
||||
# suggested replacement, or a warning about invalid network settings (for
|
||||
# example, if an instance attempts to perform IP forwarding but is not enabled
|
||||
# for IP forwarding).
|
||||
# Corresponds to the JSON property `key`
|
||||
# @return [String]
|
||||
attr_accessor :key
|
||||
|
||||
# [Output Only] A warning data value corresponding to the key.
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@key = args[:key] if args.key?(:key)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# Represents a Firewall resource.
|
||||
class Firewall
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -6291,6 +6542,18 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Fingerprint of this resource. A hash of the contents stored in this object.
|
||||
# This field is used in optimistic locking. This field will be ignored when
|
||||
# inserting a ForwardingRule. Include the fingerprint in patch request to ensure
|
||||
# that you do not overwrite changes that were applied from another concurrent
|
||||
# request.
|
||||
# To see the latest fingerprint, make a get() request to retrieve a
|
||||
# ForwardingRule.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
||||
# [Output Only] The unique identifier for the resource. This identifier is
|
||||
# defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
@@ -6461,6 +6724,7 @@ module Google
|
||||
@backend_service = args[:backend_service] if args.key?(:backend_service)
|
||||
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@ip_version = args[:ip_version] if args.key?(:ip_version)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@@ -8331,8 +8595,8 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :container_type
|
||||
|
||||
# An optional SHA1 checksum of the disk image before unpackaging; provided by
|
||||
# the client when the disk image is created.
|
||||
# An optional SHA1 checksum of the disk image before unpackaging provided by the
|
||||
# client when the disk image is created.
|
||||
# Corresponds to the JSON property `sha1Checksum`
|
||||
# @return [String]
|
||||
attr_accessor :sha1_checksum
|
||||
@@ -11435,8 +11699,8 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :google_ip_address
|
||||
|
||||
# [Output Only] Google reference ID; to be used when raising support tickets
|
||||
# with Google or otherwise to debug backend connectivity issues.
|
||||
# [Output Only] Google reference ID to be used when raising support tickets with
|
||||
# Google or otherwise to debug backend connectivity issues.
|
||||
# Corresponds to the JSON property `googleReferenceId`
|
||||
# @return [String]
|
||||
attr_accessor :google_reference_id
|
||||
@@ -26784,6 +27048,452 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Represents a VPN gateway resource.
|
||||
class VpnGateway
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] Creation timestamp in RFC3339 text format.
|
||||
# Corresponds to the JSON property `creationTimestamp`
|
||||
# @return [String]
|
||||
attr_accessor :creation_timestamp
|
||||
|
||||
# An optional description of this resource. Provide this property when you
|
||||
# create the resource.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# [Output Only] The unique identifier for the resource. This identifier is
|
||||
# defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :id
|
||||
|
||||
# [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# A fingerprint for the labels being applied to this VpnGateway, 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, otherwise the request
|
||||
# will fail with error 412 conditionNotMet.
|
||||
# To see the latest fingerprint, make a get() request to retrieve an VpnGateway.
|
||||
# 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 VpnGateway 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-
|
||||
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
||||
# and all following characters must be a dash, lowercase letter, or digit,
|
||||
# except the last character, which cannot be a dash.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# URL of the network to which this VPN gateway is attached. Provided by the
|
||||
# client when the VPN gateway is created.
|
||||
# Corresponds to the JSON property `network`
|
||||
# @return [String]
|
||||
attr_accessor :network
|
||||
|
||||
# [Output Only] URL of the region where the VPN gateway resides.
|
||||
# Corresponds to the JSON property `region`
|
||||
# @return [String]
|
||||
attr_accessor :region
|
||||
|
||||
# [Output Only] Server-defined URL for the resource.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# [Output Only] A list of interfaces on this VPN gateway.
|
||||
# Corresponds to the JSON property `vpnInterfaces`
|
||||
# @return [Array<Google::Apis::ComputeBeta::VpnGatewayVpnGatewayInterface>]
|
||||
attr_accessor :vpn_interfaces
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@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)
|
||||
@network = args[:network] if args.key?(:network)
|
||||
@region = args[:region] if args.key?(:region)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@vpn_interfaces = args[:vpn_interfaces] if args.key?(:vpn_interfaces)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class VpnGatewayAggregatedList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] Unique identifier for the resource; defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# A list of VpnGateway resources.
|
||||
# Corresponds to the JSON property `items`
|
||||
# @return [Hash<String,Google::Apis::ComputeBeta::VpnGatewaysScopedList>]
|
||||
attr_accessor :items
|
||||
|
||||
# [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# [Output Only] This token allows you to get the next page of results for list
|
||||
# requests. If the number of results is larger than maxResults, use the
|
||||
# nextPageToken as a value for the query parameter pageToken in the next list
|
||||
# request. Subsequent list requests will have their own nextPageToken to
|
||||
# continue paging through the results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# [Output Only] Server-defined URL for this resource.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# [Output Only] Informational warning message.
|
||||
# Corresponds to the JSON property `warning`
|
||||
# @return [Google::Apis::ComputeBeta::VpnGatewayAggregatedList::Warning]
|
||||
attr_accessor :warning
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@items = args[:items] if args.key?(:items)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@warning = args[:warning] if args.key?(:warning)
|
||||
end
|
||||
|
||||
# [Output Only] Informational warning message.
|
||||
class Warning
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
||||
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
||||
# Corresponds to the JSON property `code`
|
||||
# @return [String]
|
||||
attr_accessor :code
|
||||
|
||||
# [Output Only] Metadata about this warning in key: value format. For example:
|
||||
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
||||
# Corresponds to the JSON property `data`
|
||||
# @return [Array<Google::Apis::ComputeBeta::VpnGatewayAggregatedList::Warning::Datum>]
|
||||
attr_accessor :data
|
||||
|
||||
# [Output Only] A human-readable description of the warning code.
|
||||
# Corresponds to the JSON property `message`
|
||||
# @return [String]
|
||||
attr_accessor :message
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@code = args[:code] if args.key?(:code)
|
||||
@data = args[:data] if args.key?(:data)
|
||||
@message = args[:message] if args.key?(:message)
|
||||
end
|
||||
|
||||
#
|
||||
class Datum
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A key that provides more detail on the warning being returned.
|
||||
# For example, for warnings where there are no results in a list request for a
|
||||
# particular zone, this key might be scope and the key value might be the zone
|
||||
# name. Other examples might be a key indicating a deprecated resource and a
|
||||
# suggested replacement, or a warning about invalid network settings (for
|
||||
# example, if an instance attempts to perform IP forwarding but is not enabled
|
||||
# for IP forwarding).
|
||||
# Corresponds to the JSON property `key`
|
||||
# @return [String]
|
||||
attr_accessor :key
|
||||
|
||||
# [Output Only] A warning data value corresponding to the key.
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@key = args[:key] if args.key?(:key)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# Contains a list of VpnGateway resources.
|
||||
class VpnGatewayList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] Unique identifier for the resource; defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# A list of VpnGateway resources.
|
||||
# Corresponds to the JSON property `items`
|
||||
# @return [Array<Google::Apis::ComputeBeta::VpnGateway>]
|
||||
attr_accessor :items
|
||||
|
||||
# [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# [Output Only] This token allows you to get the next page of results for list
|
||||
# requests. If the number of results is larger than maxResults, use the
|
||||
# nextPageToken as a value for the query parameter pageToken in the next list
|
||||
# request. Subsequent list requests will have their own nextPageToken to
|
||||
# continue paging through the results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# [Output Only] Server-defined URL for this resource.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# [Output Only] Informational warning message.
|
||||
# Corresponds to the JSON property `warning`
|
||||
# @return [Google::Apis::ComputeBeta::VpnGatewayList::Warning]
|
||||
attr_accessor :warning
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@items = args[:items] if args.key?(:items)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@warning = args[:warning] if args.key?(:warning)
|
||||
end
|
||||
|
||||
# [Output Only] Informational warning message.
|
||||
class Warning
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
||||
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
||||
# Corresponds to the JSON property `code`
|
||||
# @return [String]
|
||||
attr_accessor :code
|
||||
|
||||
# [Output Only] Metadata about this warning in key: value format. For example:
|
||||
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
||||
# Corresponds to the JSON property `data`
|
||||
# @return [Array<Google::Apis::ComputeBeta::VpnGatewayList::Warning::Datum>]
|
||||
attr_accessor :data
|
||||
|
||||
# [Output Only] A human-readable description of the warning code.
|
||||
# Corresponds to the JSON property `message`
|
||||
# @return [String]
|
||||
attr_accessor :message
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@code = args[:code] if args.key?(:code)
|
||||
@data = args[:data] if args.key?(:data)
|
||||
@message = args[:message] if args.key?(:message)
|
||||
end
|
||||
|
||||
#
|
||||
class Datum
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A key that provides more detail on the warning being returned.
|
||||
# For example, for warnings where there are no results in a list request for a
|
||||
# particular zone, this key might be scope and the key value might be the zone
|
||||
# name. Other examples might be a key indicating a deprecated resource and a
|
||||
# suggested replacement, or a warning about invalid network settings (for
|
||||
# example, if an instance attempts to perform IP forwarding but is not enabled
|
||||
# for IP forwarding).
|
||||
# Corresponds to the JSON property `key`
|
||||
# @return [String]
|
||||
attr_accessor :key
|
||||
|
||||
# [Output Only] A warning data value corresponding to the key.
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@key = args[:key] if args.key?(:key)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# A VPN gateway interface.
|
||||
class VpnGatewayVpnGatewayInterface
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The numeric ID of this VPN gateway interface.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :id
|
||||
|
||||
# The external IP address for this VPN gateway interface.
|
||||
# Corresponds to the JSON property `ipAddress`
|
||||
# @return [String]
|
||||
attr_accessor :ip_address
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class VpnGatewaysScopedList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A list of VPN gateways contained in this scope.
|
||||
# Corresponds to the JSON property `vpnGateways`
|
||||
# @return [Array<Google::Apis::ComputeBeta::VpnGateway>]
|
||||
attr_accessor :vpn_gateways
|
||||
|
||||
# [Output Only] Informational warning which replaces the list of addresses when
|
||||
# the list is empty.
|
||||
# Corresponds to the JSON property `warning`
|
||||
# @return [Google::Apis::ComputeBeta::VpnGatewaysScopedList::Warning]
|
||||
attr_accessor :warning
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@vpn_gateways = args[:vpn_gateways] if args.key?(:vpn_gateways)
|
||||
@warning = args[:warning] if args.key?(:warning)
|
||||
end
|
||||
|
||||
# [Output Only] Informational warning which replaces the list of addresses when
|
||||
# the list is empty.
|
||||
class Warning
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
||||
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
||||
# Corresponds to the JSON property `code`
|
||||
# @return [String]
|
||||
attr_accessor :code
|
||||
|
||||
# [Output Only] Metadata about this warning in key: value format. For example:
|
||||
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
||||
# Corresponds to the JSON property `data`
|
||||
# @return [Array<Google::Apis::ComputeBeta::VpnGatewaysScopedList::Warning::Datum>]
|
||||
attr_accessor :data
|
||||
|
||||
# [Output Only] A human-readable description of the warning code.
|
||||
# Corresponds to the JSON property `message`
|
||||
# @return [String]
|
||||
attr_accessor :message
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@code = args[:code] if args.key?(:code)
|
||||
@data = args[:data] if args.key?(:data)
|
||||
@message = args[:message] if args.key?(:message)
|
||||
end
|
||||
|
||||
#
|
||||
class Datum
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A key that provides more detail on the warning being returned.
|
||||
# For example, for warnings where there are no results in a list request for a
|
||||
# particular zone, this key might be scope and the key value might be the zone
|
||||
# name. Other examples might be a key indicating a deprecated resource and a
|
||||
# suggested replacement, or a warning about invalid network settings (for
|
||||
# example, if an instance attempts to perform IP forwarding but is not enabled
|
||||
# for IP forwarding).
|
||||
# Corresponds to the JSON property `key`
|
||||
# @return [String]
|
||||
attr_accessor :key
|
||||
|
||||
# [Output Only] A warning data value corresponding to the key.
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@key = args[:key] if args.key?(:key)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# VPN tunnel resource. (== resource_for beta.vpnTunnels ==) (== resource_for v1.
|
||||
# vpnTunnels ==)
|
||||
class VpnTunnel
|
||||
@@ -26932,6 +27642,18 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :target_vpn_gateway
|
||||
|
||||
# URL of the VPN gateway with which this VPN tunnel is associated. Provided by
|
||||
# the client when the VPN tunnel is created. This must be used (instead of
|
||||
# target_vpn_gateway) if a High Availability VPN gateway resource is created.
|
||||
# Corresponds to the JSON property `vpnGateway`
|
||||
# @return [String]
|
||||
attr_accessor :vpn_gateway
|
||||
|
||||
# The interface ID of the VPN gateway with which this VPN tunnel is associated.
|
||||
# Corresponds to the JSON property `vpnGatewayInterface`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :vpn_gateway_interface
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
@@ -26960,6 +27682,8 @@ module Google
|
||||
@shared_secret_hash = args[:shared_secret_hash] if args.key?(:shared_secret_hash)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
@target_vpn_gateway = args[:target_vpn_gateway] if args.key?(:target_vpn_gateway)
|
||||
@vpn_gateway = args[:vpn_gateway] if args.key?(:vpn_gateway)
|
||||
@vpn_gateway_interface = args[:vpn_gateway_interface] if args.key?(:vpn_gateway_interface)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user