Autogenerated update (2018-09-19)

Update:
- adexchangebuyer2_v2beta1
- compute_beta
- content_v2sandbox
- firestore_v1beta2
- games_v1
- serviceconsumermanagement_v1
- serviceusage_v1
- serviceusage_v1beta1
- speech_v1
- toolresults_v1beta3
This commit is contained in:
Google APIs committed 2018-09-19 00:36:24 +00:00
1 parent 3f92877e69
commit d2dc369860
27 files changed
+974 -42

No files matched your search

+221 -10
View File
@@ -8317,6 +8317,11 @@ module Google
# @return [String]
attr_accessor :service_account
# [Output Only] The status of this managed instance group.
# Corresponds to the JSON property `status`
# @return [Google::Apis::ComputeBeta::InstanceGroupManagerStatus]
attr_accessor :status
# The URLs for all TargetPool resources to which instances in the instanceGroup
# field are added. The target pools automatically apply to all of the instances
# in the managed instance group.
@@ -8378,6 +8383,7 @@ module Google
@region = args[:region] if args.key?(:region)
@self_link = args[:self_link] if args.key?(:self_link)
@service_account = args[:service_account] if args.key?(:service_account)
@status = args[:status] if args.key?(:status)
@target_pools = args[:target_pools] if args.key?(:target_pools)
@target_size = args[:target_size] if args.key?(:target_size)
@update_policy = args[:update_policy] if args.key?(:update_policy)
@@ -8781,6 +8787,31 @@ module Google
end
end
#
class InstanceGroupManagerStatus
include Google::Apis::Core::Hashable
# [Output Only] A bit indicating whether the managed instance group is in a
# stable state. A stable state means that: none of the instances in the managed
# instance group is currently undergoing any type of change (for example,
# creation, restart, or deletion); no future changes are scheduled for instances
# in the managed instance group; and the managed instance group itself is not
# being modified.
# Corresponds to the JSON property `isStable`
# @return [Boolean]
attr_accessor :is_stable
alias_method :is_stable?, :is_stable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@is_stable = args[:is_stable] if args.key?(:is_stable)
end
end
#
class InstanceGroupManagerUpdatePolicy
include Google::Apis::Core::Hashable
@@ -11154,6 +11185,172 @@ module Google
end
end
# Diagnostics information about interconnect, contains detailed and current
# technical information about Google?s side of the connection.
class InterconnectDiagnostics
include Google::Apis::Core::Hashable
# A list of InterconnectDiagnostics.ARPEntry objects, describing individual
# neighbors currently seen by the Google router in the ARP cache for the
# Interconnect. This will be empty when the Interconnect is not bundled.
# Corresponds to the JSON property `arpCaches`
# @return [Array<Google::Apis::ComputeBeta::InterconnectDiagnosticsArpEntry>]
attr_accessor :arp_caches
# A list of InterconnectDiagnostics.LinkStatus objects, describing the status
# for each link on the Interconnect.
# Corresponds to the JSON property `links`
# @return [Array<Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkStatus>]
attr_accessor :links
# The MAC address of the Interconnect's bundle interface.
# Corresponds to the JSON property `macAddress`
# @return [String]
attr_accessor :mac_address
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@arp_caches = args[:arp_caches] if args.key?(:arp_caches)
@links = args[:links] if args.key?(:links)
@mac_address = args[:mac_address] if args.key?(:mac_address)
end
end
# Describing the ARP neighbor entries seen on this link
class InterconnectDiagnosticsArpEntry
include Google::Apis::Core::Hashable
# The IP address of this ARP neighbor.
# Corresponds to the JSON property `ipAddress`
# @return [String]
attr_accessor :ip_address
# The MAC address of this ARP neighbor.
# Corresponds to the JSON property `macAddress`
# @return [String]
attr_accessor :mac_address
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@ip_address = args[:ip_address] if args.key?(:ip_address)
@mac_address = args[:mac_address] if args.key?(:mac_address)
end
end
#
class InterconnectDiagnosticsLinkLacpStatus
include Google::Apis::Core::Hashable
# System ID of the port on Google?s side of the LACP exchange.
# Corresponds to the JSON property `googleSystemId`
# @return [String]
attr_accessor :google_system_id
# System ID of the port on the neighbor?s side of the LACP exchange.
# Corresponds to the JSON property `neighborSystemId`
# @return [String]
attr_accessor :neighbor_system_id
#
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@google_system_id = args[:google_system_id] if args.key?(:google_system_id)
@neighbor_system_id = args[:neighbor_system_id] if args.key?(:neighbor_system_id)
@state = args[:state] if args.key?(:state)
end
end
#
class InterconnectDiagnosticsLinkOpticalPower
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
# Value of the current optical power, read in dBm.
# Corresponds to the JSON property `value`
# @return [Float]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@state = args[:state] if args.key?(:state)
@value = args[:value] if args.key?(:value)
end
end
#
class InterconnectDiagnosticsLinkStatus
include Google::Apis::Core::Hashable
# A list of InterconnectDiagnostics.ARPEntry objects, describing the ARP
# neighbor entries seen on this link. This will be empty if the link is bundled
# Corresponds to the JSON property `arpCaches`
# @return [Array<Google::Apis::ComputeBeta::InterconnectDiagnosticsArpEntry>]
attr_accessor :arp_caches
# The unique ID for this link assigned during turn up by Google.
# Corresponds to the JSON property `circuitId`
# @return [String]
attr_accessor :circuit_id
# The Demarc address assigned by Google and provided in the LoA.
# Corresponds to the JSON property `googleDemarc`
# @return [String]
attr_accessor :google_demarc
#
# Corresponds to the JSON property `lacpStatus`
# @return [Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkLacpStatus]
attr_accessor :lacp_status
#
# Corresponds to the JSON property `receivingOpticalPower`
# @return [Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower]
attr_accessor :receiving_optical_power
#
# Corresponds to the JSON property `transmittingOpticalPower`
# @return [Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower]
attr_accessor :transmitting_optical_power
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@arp_caches = args[:arp_caches] if args.key?(:arp_caches)
@circuit_id = args[:circuit_id] if args.key?(:circuit_id)
@google_demarc = args[:google_demarc] if args.key?(:google_demarc)
@lacp_status = args[:lacp_status] if args.key?(:lacp_status)
@receiving_optical_power = args[:receiving_optical_power] if args.key?(:receiving_optical_power)
@transmitting_optical_power = args[:transmitting_optical_power] if args.key?(:transmitting_optical_power)
end
end
# Response to the list request, and contains a list of interconnects.
class InterconnectList
include Google::Apis::Core::Hashable
@@ -11597,6 +11794,26 @@ module Google
end
end
# Response for the InterconnectsGetDiagnosticsRequest.
class InterconnectsGetDiagnosticsResponse
include Google::Apis::Core::Hashable
# Diagnostics information about interconnect, contains detailed and current
# technical information about Google?s side of the connection.
# Corresponds to the JSON property `result`
# @return [Google::Apis::ComputeBeta::InterconnectDiagnostics]
attr_accessor :result
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@result = args[:result] if args.key?(:result)
end
end
# A license resource.
class License
include Google::Apis::Core::Hashable
@@ -13076,24 +13293,25 @@ module Google
include Google::Apis::Core::Hashable
# The default port used if the port number is not specified in the network
# endpoint.
# endpoint. [Deprecated] This field is deprecated.
# Corresponds to the JSON property `defaultPort`
# @return [Fixnum]
attr_accessor :default_port
# The URL of the network to which all network endpoints in the NEG belong. Uses "
# default" project network if unspecified.
# default" project network if unspecified. [Deprecated] This field is deprecated.
# Corresponds to the JSON property `network`
# @return [String]
attr_accessor :network
# Optional URL of the subnetwork to which all network endpoints in the NEG
# belong.
# belong. [Deprecated] This field is deprecated.
# Corresponds to the JSON property `subnetwork`
# @return [String]
attr_accessor :subnetwork
# [Output Only] The URL of the zone where the network endpoint group is located.
# [Deprecated] This field is deprecated.
# Corresponds to the JSON property `zone`
# @return [String]
attr_accessor :zone
@@ -13904,12 +14122,6 @@ module Google
# @return [String]
attr_accessor :node_template
# [Deprecated] Use nodeGroups.listNodes instead. [Output Only] A list of nodes
# in this node group.
# Corresponds to the JSON property `nodes`
# @return [Array<Google::Apis::ComputeBeta::NodeGroupNode>]
attr_accessor :nodes
# [Output Only] Server-defined URL for the resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
@@ -13943,7 +14155,6 @@ module Google
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
@node_template = args[:node_template] if args.key?(:node_template)
@nodes = args[:nodes] if args.key?(:nodes)
@self_link = args[:self_link] if args.key?(:self_link)
@size = args[:size] if args.key?(:size)
@status = args[:status] if args.key?(:status)
@@ -1072,6 +1072,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagerStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagerUpdatePolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -1432,6 +1438,36 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InterconnectDiagnostics
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InterconnectDiagnosticsArpEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InterconnectDiagnosticsLinkLacpStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InterconnectDiagnosticsLinkOpticalPower
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InterconnectDiagnosticsLinkStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InterconnectList
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -1486,6 +1522,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InterconnectsGetDiagnosticsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class License
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -5540,6 +5582,8 @@ module Google
property :region, as: 'region'
property :self_link, as: 'selfLink'
property :service_account, as: 'serviceAccount'
property :status, as: 'status', class: Google::Apis::ComputeBeta::InstanceGroupManagerStatus, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStatus::Representation
collection :target_pools, as: 'targetPools'
property :target_size, as: 'targetSize'
property :update_policy, as: 'updatePolicy', class: Google::Apis::ComputeBeta::InstanceGroupManagerUpdatePolicy, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerUpdatePolicy::Representation
@@ -5647,6 +5691,13 @@ module Google
end
end
class InstanceGroupManagerStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :is_stable, as: 'isStable'
end
end
class InstanceGroupManagerUpdatePolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -6273,6 +6324,58 @@ module Google
end
end
class InterconnectDiagnostics
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :arp_caches, as: 'arpCaches', class: Google::Apis::ComputeBeta::InterconnectDiagnosticsArpEntry, decorator: Google::Apis::ComputeBeta::InterconnectDiagnosticsArpEntry::Representation
collection :links, as: 'links', class: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkStatus, decorator: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkStatus::Representation
property :mac_address, as: 'macAddress'
end
end
class InterconnectDiagnosticsArpEntry
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ip_address, as: 'ipAddress'
property :mac_address, as: 'macAddress'
end
end
class InterconnectDiagnosticsLinkLacpStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :google_system_id, as: 'googleSystemId'
property :neighbor_system_id, as: 'neighborSystemId'
property :state, as: 'state'
end
end
class InterconnectDiagnosticsLinkOpticalPower
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :state, as: 'state'
property :value, as: 'value'
end
end
class InterconnectDiagnosticsLinkStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :arp_caches, as: 'arpCaches', class: Google::Apis::ComputeBeta::InterconnectDiagnosticsArpEntry, decorator: Google::Apis::ComputeBeta::InterconnectDiagnosticsArpEntry::Representation
property :circuit_id, as: 'circuitId'
property :google_demarc, as: 'googleDemarc'
property :lacp_status, as: 'lacpStatus', class: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkLacpStatus, decorator: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkLacpStatus::Representation
property :receiving_optical_power, as: 'receivingOpticalPower', class: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower, decorator: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower::Representation
property :transmitting_optical_power, as: 'transmittingOpticalPower', class: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower, decorator: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower::Representation
end
end
class InterconnectList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -6381,6 +6484,14 @@ module Google
end
end
class InterconnectsGetDiagnosticsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :result, as: 'result', class: Google::Apis::ComputeBeta::InterconnectDiagnostics, decorator: Google::Apis::ComputeBeta::InterconnectDiagnostics::Representation
end
end
class License
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -6984,8 +7095,6 @@ module Google
property :kind, as: 'kind'
property :name, as: 'name'
property :node_template, as: 'nodeTemplate'
collection :nodes, as: 'nodes', class: Google::Apis::ComputeBeta::NodeGroupNode, decorator: Google::Apis::ComputeBeta::NodeGroupNode::Representation
property :self_link, as: 'selfLink'
property :size, as: 'size'
property :status, as: 'status'
+39 -3
View File
@@ -8545,10 +8545,10 @@ module Google
# Specifies instance template to create the instance.
# This field is optional. It can be a full or partial URL. For example, the
# following are all valid URLs to an instance template:
# - https://www.googleapis.com/compute/v1/projects/project/global/global/
# - https://www.googleapis.com/compute/v1/projects/project/global/
# instanceTemplates/instanceTemplate
# - projects/project/global/global/instanceTemplates/instanceTemplate
# - global/instancesTemplates/instanceTemplate
# - projects/project/global/instanceTemplates/instanceTemplate
# - global/instanceTemplates/instanceTemplate
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -10487,6 +10487,42 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns the interconnectDiagnostics for the specified interconnect.
# @param [String] project
# Project ID for this request.
# @param [String] interconnect
# Name of the interconnect resource to query.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeBeta::InterconnectsGetDiagnosticsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::InterconnectsGetDiagnosticsResponse]
#
# @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_interconnect_diagnostics(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/global/interconnects/{interconnect}/getDiagnostics', options)
command.response_representation = Google::Apis::ComputeBeta::InterconnectsGetDiagnosticsResponse::Representation
command.response_class = Google::Apis::ComputeBeta::InterconnectsGetDiagnosticsResponse
command.params['project'] = project unless project.nil?
command.params['interconnect'] = interconnect unless interconnect.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Creates a Interconnect in the specified project using the data included in the
# request.
# @param [String] project