Autogenerated update (2020-07-05)
Update: - bigtableadmin_v2 - compute_alpha - compute_beta - compute_v1
This commit is contained in:
parent
b91d88d8a1
commit
9749c651b1
|
@ -27204,6 +27204,9 @@
|
|||
"/compute:alpha/Instance/labelFingerprint": label_fingerprint
|
||||
"/compute:alpha/Instance/labels": labels
|
||||
"/compute:alpha/Instance/labels/label": label
|
||||
"/compute:alpha/Instance/lastStartTimestamp": last_start_timestamp
|
||||
"/compute:alpha/Instance/lastStopTimestamp": last_stop_timestamp
|
||||
"/compute:alpha/Instance/lastSuspendedTimestamp": last_suspended_timestamp
|
||||
"/compute:alpha/Instance/machineType": machine_type
|
||||
"/compute:alpha/Instance/maintenancePolicies": maintenance_policies
|
||||
"/compute:alpha/Instance/maintenancePolicies/maintenance_policy": maintenance_policy
|
||||
|
@ -35305,6 +35308,8 @@
|
|||
"/compute:beta/Disk/resourcePolicies/resource_policy": resource_policy
|
||||
"/compute:beta/Disk/selfLink": self_link
|
||||
"/compute:beta/Disk/sizeGb": size_gb
|
||||
"/compute:beta/Disk/sourceDisk": source_disk
|
||||
"/compute:beta/Disk/sourceDiskId": source_disk_id
|
||||
"/compute:beta/Disk/sourceImage": source_image
|
||||
"/compute:beta/Disk/sourceImageEncryptionKey": source_image_encryption_key
|
||||
"/compute:beta/Disk/sourceImageId": source_image_id
|
||||
|
@ -39827,6 +39832,10 @@
|
|||
"/compute:beta/compute.images.list/orderBy": order_by
|
||||
"/compute:beta/compute.images.list/pageToken": page_token
|
||||
"/compute:beta/compute.images.list/project": project
|
||||
"/compute:beta/compute.images.patch": patch_image
|
||||
"/compute:beta/compute.images.patch/image": image
|
||||
"/compute:beta/compute.images.patch/project": project
|
||||
"/compute:beta/compute.images.patch/requestId": request_id
|
||||
"/compute:beta/compute.images.setIamPolicy": set_image_iam_policy
|
||||
"/compute:beta/compute.images.setIamPolicy/project": project
|
||||
"/compute:beta/compute.images.setIamPolicy/resource": resource
|
||||
|
@ -42660,6 +42669,8 @@
|
|||
"/compute:v1/Disk/resourcePolicies/resource_policy": resource_policy
|
||||
"/compute:v1/Disk/selfLink": self_link
|
||||
"/compute:v1/Disk/sizeGb": size_gb
|
||||
"/compute:v1/Disk/sourceDisk": source_disk
|
||||
"/compute:v1/Disk/sourceDiskId": source_disk_id
|
||||
"/compute:v1/Disk/sourceImage": source_image
|
||||
"/compute:v1/Disk/sourceImageEncryptionKey": source_image_encryption_key
|
||||
"/compute:v1/Disk/sourceImageId": source_image_id
|
||||
|
@ -43031,6 +43042,7 @@
|
|||
"/compute:v1/HealthCheck/httpsHealthCheck": https_health_check
|
||||
"/compute:v1/HealthCheck/id": id
|
||||
"/compute:v1/HealthCheck/kind": kind
|
||||
"/compute:v1/HealthCheck/logConfig": log_config
|
||||
"/compute:v1/HealthCheck/name": name
|
||||
"/compute:v1/HealthCheck/region": region
|
||||
"/compute:v1/HealthCheck/selfLink": self_link
|
||||
|
@ -43053,6 +43065,8 @@
|
|||
"/compute:v1/HealthCheckList/warning/data/datum/key": key
|
||||
"/compute:v1/HealthCheckList/warning/data/datum/value": value
|
||||
"/compute:v1/HealthCheckList/warning/message": message
|
||||
"/compute:v1/HealthCheckLogConfig": health_check_log_config
|
||||
"/compute:v1/HealthCheckLogConfig/enable": enable
|
||||
"/compute:v1/HealthCheckReference": health_check_reference
|
||||
"/compute:v1/HealthCheckReference/healthCheck": health_check
|
||||
"/compute:v1/HealthCheckService": health_check_service
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigtable/
|
||||
module BigtableadminV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20200512'
|
||||
REVISION = '20200609'
|
||||
|
||||
# Administer your Cloud Bigtable tables and clusters
|
||||
AUTH_BIGTABLE_ADMIN = 'https://www.googleapis.com/auth/bigtable.admin'
|
||||
|
|
|
@ -92,7 +92,7 @@ module Google
|
|||
# `
|
||||
# "audit_configs": [
|
||||
# `
|
||||
# "service": "allServices"
|
||||
# "service": "allServices",
|
||||
# "audit_log_configs": [
|
||||
# `
|
||||
# "log_type": "DATA_READ",
|
||||
|
@ -101,18 +101,18 @@ module Google
|
|||
# ]
|
||||
# `,
|
||||
# `
|
||||
# "log_type": "DATA_WRITE",
|
||||
# "log_type": "DATA_WRITE"
|
||||
# `,
|
||||
# `
|
||||
# "log_type": "ADMIN_READ",
|
||||
# "log_type": "ADMIN_READ"
|
||||
# `
|
||||
# ]
|
||||
# `,
|
||||
# `
|
||||
# "service": "sampleservice.googleapis.com"
|
||||
# "service": "sampleservice.googleapis.com",
|
||||
# "audit_log_configs": [
|
||||
# `
|
||||
# "log_type": "DATA_READ",
|
||||
# "log_type": "DATA_READ"
|
||||
# `,
|
||||
# `
|
||||
# "log_type": "DATA_WRITE",
|
||||
|
@ -164,7 +164,7 @@ module Google
|
|||
# ]
|
||||
# `,
|
||||
# `
|
||||
# "log_type": "DATA_WRITE",
|
||||
# "log_type": "DATA_WRITE"
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeAlpha
|
||||
VERSION = 'Alpha'
|
||||
REVISION = '20200606'
|
||||
REVISION = '20200612'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2559,7 +2559,9 @@ module Google
|
|||
# UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group
|
||||
# will serve up to 100% of its configured capacity (depending on balancingMode).
|
||||
# A setting of 0 means the group is completely drained, offering 0% of its
|
||||
# available Capacity. Valid range is [0.0,1.0].
|
||||
# available capacity. Valid range is 0.0 and [0.1,1.0]. You cannot configure a
|
||||
# setting larger than 0 and smaller than 0.1. You cannot configure a setting of
|
||||
# 0 when there is only one backend attached to the backend service.
|
||||
# This cannot be used for internal load balancing.
|
||||
# Corresponds to the JSON property `capacityScaler`
|
||||
# @return [Float]
|
||||
|
@ -2945,7 +2947,7 @@ module Google
|
|||
# scoped.
|
||||
# * [Global](/compute/docs/reference/rest/`$api_version`/backendServices) * [
|
||||
# Regional](/compute/docs/reference/rest/`$api_version`/regionBackendServices)
|
||||
# For more information, read Backend Services.
|
||||
# For more information, see Backend Services.
|
||||
# (== resource_for `$api_version`.backendService ==)
|
||||
class BackendService
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -3081,8 +3083,8 @@ module Google
|
|||
# redirected to the load balancer.
|
||||
# - MAGLEV: used as a drop in replacement for the ring hash load balancer.
|
||||
# Maglev is not as stable as ring hash but has faster table lookup build times
|
||||
# and host selection times. For more information about Maglev, refer to https://
|
||||
# ai.google/research/pubs/pub44824
|
||||
# and host selection times. For more information about Maglev, see https://ai.
|
||||
# google/research/pubs/pub44824
|
||||
# This field is applicable to either:
|
||||
# - A regional backend service with the service_protocol set to HTTP, HTTPS, or
|
||||
# HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED.
|
||||
|
@ -3194,8 +3196,8 @@ module Google
|
|||
attr_accessor :session_affinity
|
||||
|
||||
# The backend service timeout has a different meaning depending on the type of
|
||||
# load balancer. For more information read, Backend service settings The
|
||||
# default is 30 seconds.
|
||||
# load balancer. For more information see, Backend service settings The default
|
||||
# is 30 seconds.
|
||||
# Corresponds to the JSON property `timeoutSec`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :timeout_sec
|
||||
|
@ -12325,6 +12327,21 @@ module Google
|
|||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# [Output Only] Last start timestamp in RFC3339 text format.
|
||||
# Corresponds to the JSON property `lastStartTimestamp`
|
||||
# @return [String]
|
||||
attr_accessor :last_start_timestamp
|
||||
|
||||
# [Output Only] Last stop timestamp in RFC3339 text format.
|
||||
# Corresponds to the JSON property `lastStopTimestamp`
|
||||
# @return [String]
|
||||
attr_accessor :last_stop_timestamp
|
||||
|
||||
# [Output Only] Last suspended timestamp in RFC3339 text format.
|
||||
# Corresponds to the JSON property `lastSuspendedTimestamp`
|
||||
# @return [String]
|
||||
attr_accessor :last_suspended_timestamp
|
||||
|
||||
# Full or partial URL of the machine type resource to use for this instance, in
|
||||
# the format: zones/zone/machineTypes/machine-type. This is provided by the
|
||||
# client when the instance is created. For example, the following is a valid
|
||||
|
@ -12513,6 +12530,9 @@ module Google
|
|||
@kind = args[:kind] if args.key?(:kind)
|
||||
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@last_start_timestamp = args[:last_start_timestamp] if args.key?(:last_start_timestamp)
|
||||
@last_stop_timestamp = args[:last_stop_timestamp] if args.key?(:last_stop_timestamp)
|
||||
@last_suspended_timestamp = args[:last_suspended_timestamp] if args.key?(:last_suspended_timestamp)
|
||||
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
||||
@metadata = args[:metadata] if args.key?(:metadata)
|
||||
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
||||
|
@ -15145,9 +15165,9 @@ module Google
|
|||
class InstanceProperties
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Enables instances created based on this template to send packets with source
|
||||
# IP addresses other than their own and receive packets with destination IP
|
||||
# addresses other than their own. If these instances will be used as an IP
|
||||
# Enables instances created based on these properties to send packets with
|
||||
# source IP addresses other than their own and receive packets with destination
|
||||
# IP addresses other than their own. If these instances will be used as an IP
|
||||
# gateway or it will be set as the next-hop in a Route resource, specify true.
|
||||
# If unsure, leave this set to false. See the Enable IP forwarding documentation
|
||||
# for more information.
|
||||
|
@ -15161,14 +15181,14 @@ module Google
|
|||
# @return [Google::Apis::ComputeAlpha::ConfidentialInstanceConfig]
|
||||
attr_accessor :confidential_instance_config
|
||||
|
||||
# An optional text description for the instances that are created from this
|
||||
# instance template.
|
||||
# An optional text description for the instances that are created from these
|
||||
# properties.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# An array of disks that are associated with the instances that are created from
|
||||
# this template.
|
||||
# these properties.
|
||||
# Corresponds to the JSON property `disks`
|
||||
# @return [Array<Google::Apis::ComputeAlpha::AttachedDisk>]
|
||||
attr_accessor :disks
|
||||
|
@ -15179,17 +15199,17 @@ module Google
|
|||
attr_accessor :display_device
|
||||
|
||||
# A list of guest accelerator cards' type and count to use for instances created
|
||||
# from the instance template.
|
||||
# from these properties.
|
||||
# Corresponds to the JSON property `guestAccelerators`
|
||||
# @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
|
||||
attr_accessor :guest_accelerators
|
||||
|
||||
# Labels to apply to instances that are created from this template.
|
||||
# Labels to apply to instances that are created from these properties.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# The machine type to use for instances that are created from this template.
|
||||
# The machine type to use for instances that are created from these properties.
|
||||
# Corresponds to the JSON property `machineType`
|
||||
# @return [String]
|
||||
attr_accessor :machine_type
|
||||
|
@ -15199,11 +15219,11 @@ module Google
|
|||
# @return [Google::Apis::ComputeAlpha::Metadata]
|
||||
attr_accessor :metadata
|
||||
|
||||
# Minimum cpu/platform to be used by this instance. The instance may be
|
||||
# scheduled on the specified or newer cpu/platform. Applicable values are the
|
||||
# friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or
|
||||
# minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a
|
||||
# Minimum CPU Platform.
|
||||
# Minimum cpu/platform to be used by instances. The instance may be scheduled on
|
||||
# the specified or newer cpu/platform. Applicable values are the friendly names
|
||||
# of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "
|
||||
# Intel Sandy Bridge". For more information, read Specifying a Minimum CPU
|
||||
# Platform.
|
||||
# Corresponds to the JSON property `minCpuPlatform`
|
||||
# @return [String]
|
||||
attr_accessor :min_cpu_platform
|
||||
|
@ -15213,12 +15233,12 @@ module Google
|
|||
# @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
|
||||
attr_accessor :network_interfaces
|
||||
|
||||
# Specifies whether this instance will be shut down on key revocation.
|
||||
# Specifies whether instances will be shut down on key revocation.
|
||||
# Corresponds to the JSON property `postKeyRevocationActionType`
|
||||
# @return [String]
|
||||
attr_accessor :post_key_revocation_action_type
|
||||
|
||||
# The private IPv6 google access type for the VM. If not specified, use
|
||||
# The private IPv6 google access type for VMs. If not specified, use
|
||||
# INHERIT_FROM_SUBNETWORK as default.
|
||||
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
||||
# @return [String]
|
||||
|
@ -15229,8 +15249,8 @@ module Google
|
|||
# @return [Google::Apis::ComputeAlpha::ReservationAffinity]
|
||||
attr_accessor :reservation_affinity
|
||||
|
||||
# Resource policies (names, not ULRs) applied to instances created from this
|
||||
# template.
|
||||
# Resource policies (names, not ULRs) applied to instances created from these
|
||||
# properties.
|
||||
# Corresponds to the JSON property `resourcePolicies`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :resource_policies
|
||||
|
@ -15241,8 +15261,9 @@ module Google
|
|||
attr_accessor :scheduling
|
||||
|
||||
# A list of service accounts with specified scopes. Access tokens for these
|
||||
# service accounts are available to the instances that are created from this
|
||||
# template. Use metadata queries to obtain the access tokens for these instances.
|
||||
# service accounts are available to the instances that are created from these
|
||||
# properties. Use metadata queries to obtain the access tokens for these
|
||||
# instances.
|
||||
# Corresponds to the JSON property `serviceAccounts`
|
||||
# @return [Array<Google::Apis::ComputeAlpha::ServiceAccount>]
|
||||
attr_accessor :service_accounts
|
||||
|
@ -19702,10 +19723,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :i_pv4_range
|
||||
|
||||
# When set to true, the VPC network is created in "auto" mode. When set to false,
|
||||
# the VPC network is created in "custom" mode.
|
||||
# When set to true, the VPC network is created in auto mode. When set to false,
|
||||
# the VPC network is created in custom mode.
|
||||
# An auto mode VPC network starts with one subnet per region. Each subnet has a
|
||||
# predetermined range as described in Auto mode VPC network IP ranges.
|
||||
# For custom mode VPC networks, you can add subnets using the subnetworks insert
|
||||
# method.
|
||||
# Corresponds to the JSON property `autoCreateSubnetworks`
|
||||
# @return [Boolean]
|
||||
attr_accessor :auto_create_subnetworks
|
||||
|
@ -21337,7 +21360,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# The URL of the node template to which this node group belongs.
|
||||
# URL of the node template to create the node group from.
|
||||
# Corresponds to the JSON property `nodeTemplate`
|
||||
# @return [String]
|
||||
attr_accessor :node_template
|
||||
|
@ -34294,7 +34317,8 @@ module Google
|
|||
# The range of internal addresses that are owned by this subnetwork. Provide
|
||||
# this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.
|
||||
# 168.0.0/16. Ranges must be unique and non-overlapping within a network. Only
|
||||
# IPv4 is supported. This field can be set only at resource creation time.
|
||||
# IPv4 is supported. This field is set at resource creation time. The range can
|
||||
# be expanded after creation using expandIpCidrRange.
|
||||
# Corresponds to the JSON property `ipCidrRange`
|
||||
# @return [String]
|
||||
attr_accessor :ip_cidr_range
|
||||
|
|
|
@ -8288,6 +8288,9 @@ module Google
|
|||
property :kind, as: 'kind'
|
||||
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
||||
hash :labels, as: 'labels'
|
||||
property :last_start_timestamp, as: 'lastStartTimestamp'
|
||||
property :last_stop_timestamp, as: 'lastStopTimestamp'
|
||||
property :last_suspended_timestamp, as: 'lastSuspendedTimestamp'
|
||||
property :machine_type, as: 'machineType'
|
||||
property :metadata, as: 'metadata', class: Google::Apis::ComputeAlpha::Metadata, decorator: Google::Apis::ComputeAlpha::Metadata::Representation
|
||||
|
||||
|
|
|
@ -1962,9 +1962,7 @@ module Google
|
|||
end
|
||||
|
||||
# Creates a BackendService resource in the specified project using the data
|
||||
# included in the request. There are several restrictions and guidelines to keep
|
||||
# in mind when creating a backend service. Read Understanding backend services
|
||||
# for more information.
|
||||
# included in the request. For more information, see Backend services overview.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::BackendService] backend_service_object
|
||||
|
@ -2089,10 +2087,9 @@ module Google
|
|||
end
|
||||
|
||||
# Patches the specified BackendService resource with the data included in the
|
||||
# request. There are several Understanding backend services to keep in mind when
|
||||
# updating a backend service. Read Understanding backend services for more
|
||||
# information. This method supports PATCH semantics and uses the JSON merge
|
||||
# patch format and processing rules.
|
||||
# request. For more information, see Backend services overview. This method
|
||||
# supports PATCH semantics and uses the JSON merge patch format and processing
|
||||
# rules.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] backend_service
|
||||
|
@ -2235,9 +2232,7 @@ module Google
|
|||
end
|
||||
|
||||
# Updates the specified BackendService resource with the data included in the
|
||||
# request. There are several Understanding backend services to keep in mind when
|
||||
# updating a backend service. Read Understanding backend services for more
|
||||
# information.
|
||||
# request. For more information, see Backend services overview.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] backend_service
|
||||
|
@ -8406,7 +8401,7 @@ module Google
|
|||
end
|
||||
|
||||
# Lists all errors thrown by actions on instances for a given managed instance
|
||||
# group.
|
||||
# group. The filter and orderBy query parameters are not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
|
@ -8494,7 +8489,8 @@ module Google
|
|||
# list has a currentAction, which indicates the action that the managed instance
|
||||
# group is performing on the instance. For example, if the group is still
|
||||
# creating an instance, the currentAction is CREATING. If a previous action
|
||||
# failed, the list displays the errors for that failed action.
|
||||
# failed, the list displays the errors for that failed action. The orderBy query
|
||||
# parameter is not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
|
@ -8576,6 +8572,7 @@ module Google
|
|||
end
|
||||
|
||||
# Lists all of the per-instance configs defined for the managed instance group.
|
||||
# The orderBy query parameter is not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
|
@ -9662,7 +9659,8 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists the instances in the specified instance group.
|
||||
# Lists the instances in the specified instance group. The orderBy query
|
||||
# parameter is not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
|
@ -21436,9 +21434,8 @@ module Google
|
|||
end
|
||||
|
||||
# Creates a regional BackendService resource in the specified project using the
|
||||
# data included in the request. There are several restrictions and guidelines to
|
||||
# keep in mind when creating a regional backend service. Read Understanding
|
||||
# backend services for more information.
|
||||
# data included in the request. For more information, see Backend services
|
||||
# overview.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -21569,10 +21566,9 @@ module Google
|
|||
end
|
||||
|
||||
# Updates the specified regional BackendService resource with the data included
|
||||
# in the request. There are several Understanding backend services to keep in
|
||||
# mind when updating a backend service. Read Understanding backend services for
|
||||
# more information. This method supports PATCH semantics and uses the JSON merge
|
||||
# patch format and processing rules.
|
||||
# in the request. For more information, see Understanding backend services This
|
||||
# method supports PATCH semantics and uses the JSON merge patch format and
|
||||
# processing rules.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -21669,9 +21665,7 @@ module Google
|
|||
end
|
||||
|
||||
# Updates the specified regional BackendService resource with the data included
|
||||
# in the request. There are several Understanding backend services to keep in
|
||||
# mind when updating a backend service. Read Understanding backend services for
|
||||
# more information.
|
||||
# in the request. For more information, see Backend services overview.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -24426,7 +24420,7 @@ module Google
|
|||
end
|
||||
|
||||
# Lists all errors thrown by actions on instances for a given regional managed
|
||||
# instance group.
|
||||
# instance group. The filter and orderBy query parameters are not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -24511,7 +24505,7 @@ module Google
|
|||
|
||||
# Lists the instances in the managed instance group and instances that are
|
||||
# scheduled to be created. The list includes any current actions that the group
|
||||
# has scheduled for its instances.
|
||||
# has scheduled for its instances. The orderBy query parameter is not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -24593,6 +24587,7 @@ module Google
|
|||
end
|
||||
|
||||
# Lists all of the per-instance configs defined for the managed instance group.
|
||||
# The orderBy query parameter is not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -25354,7 +25349,8 @@ module Google
|
|||
|
||||
# Lists the instances in the specified instance group and displays information
|
||||
# about the named ports. Depending on the specified options, this method can
|
||||
# list all instances or only the instances that are running.
|
||||
# list all instances or only the instances that are running. The orderBy query
|
||||
# parameter is not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -31932,9 +31928,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves an aggregated list of all usable subnetworks in the project. The
|
||||
# list contains all of the subnetworks in the project and the subnetworks that
|
||||
# were shared by a Shared VPC host project.
|
||||
# Retrieves an aggregated list of all usable subnetworks in the project.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] filter
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeBeta
|
||||
VERSION = 'Beta'
|
||||
REVISION = '20200606'
|
||||
REVISION = '20200612'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2381,7 +2381,9 @@ module Google
|
|||
# UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group
|
||||
# will serve up to 100% of its configured capacity (depending on balancingMode).
|
||||
# A setting of 0 means the group is completely drained, offering 0% of its
|
||||
# available Capacity. Valid range is [0.0,1.0].
|
||||
# available capacity. Valid range is 0.0 and [0.1,1.0]. You cannot configure a
|
||||
# setting larger than 0 and smaller than 0.1. You cannot configure a setting of
|
||||
# 0 when there is only one backend attached to the backend service.
|
||||
# This cannot be used for internal load balancing.
|
||||
# Corresponds to the JSON property `capacityScaler`
|
||||
# @return [Float]
|
||||
|
@ -2761,7 +2763,7 @@ module Google
|
|||
# scoped.
|
||||
# * [Global](/compute/docs/reference/rest/`$api_version`/backendServices) * [
|
||||
# Regional](/compute/docs/reference/rest/`$api_version`/regionBackendServices)
|
||||
# For more information, read Backend Services.
|
||||
# For more information, see Backend Services.
|
||||
# (== resource_for `$api_version`.backendService ==)
|
||||
class BackendService
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -2897,8 +2899,8 @@ module Google
|
|||
# redirected to the load balancer.
|
||||
# - MAGLEV: used as a drop in replacement for the ring hash load balancer.
|
||||
# Maglev is not as stable as ring hash but has faster table lookup build times
|
||||
# and host selection times. For more information about Maglev, refer to https://
|
||||
# ai.google/research/pubs/pub44824
|
||||
# and host selection times. For more information about Maglev, see https://ai.
|
||||
# google/research/pubs/pub44824
|
||||
# This field is applicable to either:
|
||||
# - A regional backend service with the service_protocol set to HTTP, HTTPS, or
|
||||
# HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED.
|
||||
|
@ -3005,8 +3007,8 @@ module Google
|
|||
attr_accessor :session_affinity
|
||||
|
||||
# The backend service timeout has a different meaning depending on the type of
|
||||
# load balancer. For more information read, Backend service settings The
|
||||
# default is 30 seconds.
|
||||
# load balancer. For more information see, Backend service settings The default
|
||||
# is 30 seconds.
|
||||
# Corresponds to the JSON property `timeoutSec`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :timeout_sec
|
||||
|
@ -5038,6 +5040,24 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :size_gb
|
||||
|
||||
# The source disk used to create this disk. You can provide this as a partial or
|
||||
# full URL to the resource. For example, the following are valid values:
|
||||
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
|
||||
# - projects/project/zones/zone/disks/disk
|
||||
# - zones/zone/disks/disk
|
||||
# Corresponds to the JSON property `sourceDisk`
|
||||
# @return [String]
|
||||
attr_accessor :source_disk
|
||||
|
||||
# [Output Only] The unique ID of the disk used to create this disk. This value
|
||||
# identifies the exact disk that was used to create this persistent disk. For
|
||||
# example, if you created the persistent disk from a disk that was later deleted
|
||||
# and recreated under the same name, the source disk ID would identify the exact
|
||||
# version of the disk that was used.
|
||||
# Corresponds to the JSON property `sourceDiskId`
|
||||
# @return [String]
|
||||
attr_accessor :source_disk_id
|
||||
|
||||
# The source image used to create this disk. If the source image is deleted,
|
||||
# this field will not be set.
|
||||
# To create a disk with one of the public operating system images, specify the
|
||||
|
@ -5157,6 +5177,8 @@ module Google
|
|||
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
||||
@source_disk = args[:source_disk] if args.key?(:source_disk)
|
||||
@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)
|
||||
|
@ -13607,9 +13629,9 @@ module Google
|
|||
class InstanceProperties
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Enables instances created based on this template to send packets with source
|
||||
# IP addresses other than their own and receive packets with destination IP
|
||||
# addresses other than their own. If these instances will be used as an IP
|
||||
# Enables instances created based on these properties to send packets with
|
||||
# source IP addresses other than their own and receive packets with destination
|
||||
# IP addresses other than their own. If these instances will be used as an IP
|
||||
# gateway or it will be set as the next-hop in a Route resource, specify true.
|
||||
# If unsure, leave this set to false. See the Enable IP forwarding documentation
|
||||
# for more information.
|
||||
|
@ -13623,14 +13645,14 @@ module Google
|
|||
# @return [Google::Apis::ComputeBeta::ConfidentialInstanceConfig]
|
||||
attr_accessor :confidential_instance_config
|
||||
|
||||
# An optional text description for the instances that are created from this
|
||||
# instance template.
|
||||
# An optional text description for the instances that are created from these
|
||||
# properties.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# An array of disks that are associated with the instances that are created from
|
||||
# this template.
|
||||
# these properties.
|
||||
# Corresponds to the JSON property `disks`
|
||||
# @return [Array<Google::Apis::ComputeBeta::AttachedDisk>]
|
||||
attr_accessor :disks
|
||||
|
@ -13641,17 +13663,17 @@ module Google
|
|||
attr_accessor :display_device
|
||||
|
||||
# A list of guest accelerator cards' type and count to use for instances created
|
||||
# from the instance template.
|
||||
# from these properties.
|
||||
# Corresponds to the JSON property `guestAccelerators`
|
||||
# @return [Array<Google::Apis::ComputeBeta::AcceleratorConfig>]
|
||||
attr_accessor :guest_accelerators
|
||||
|
||||
# Labels to apply to instances that are created from this template.
|
||||
# Labels to apply to instances that are created from these properties.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# The machine type to use for instances that are created from this template.
|
||||
# The machine type to use for instances that are created from these properties.
|
||||
# Corresponds to the JSON property `machineType`
|
||||
# @return [String]
|
||||
attr_accessor :machine_type
|
||||
|
@ -13661,11 +13683,11 @@ module Google
|
|||
# @return [Google::Apis::ComputeBeta::Metadata]
|
||||
attr_accessor :metadata
|
||||
|
||||
# Minimum cpu/platform to be used by this instance. The instance may be
|
||||
# scheduled on the specified or newer cpu/platform. Applicable values are the
|
||||
# friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or
|
||||
# minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a
|
||||
# Minimum CPU Platform.
|
||||
# Minimum cpu/platform to be used by instances. The instance may be scheduled on
|
||||
# the specified or newer cpu/platform. Applicable values are the friendly names
|
||||
# of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "
|
||||
# Intel Sandy Bridge". For more information, read Specifying a Minimum CPU
|
||||
# Platform.
|
||||
# Corresponds to the JSON property `minCpuPlatform`
|
||||
# @return [String]
|
||||
attr_accessor :min_cpu_platform
|
||||
|
@ -13675,7 +13697,7 @@ module Google
|
|||
# @return [Array<Google::Apis::ComputeBeta::NetworkInterface>]
|
||||
attr_accessor :network_interfaces
|
||||
|
||||
# The private IPv6 google access type for the VM. If not specified, use
|
||||
# The private IPv6 google access type for VMs. If not specified, use
|
||||
# INHERIT_FROM_SUBNETWORK as default.
|
||||
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
||||
# @return [String]
|
||||
|
@ -13686,8 +13708,8 @@ module Google
|
|||
# @return [Google::Apis::ComputeBeta::ReservationAffinity]
|
||||
attr_accessor :reservation_affinity
|
||||
|
||||
# Resource policies (names, not ULRs) applied to instances created from this
|
||||
# template.
|
||||
# Resource policies (names, not ULRs) applied to instances created from these
|
||||
# properties.
|
||||
# Corresponds to the JSON property `resourcePolicies`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :resource_policies
|
||||
|
@ -13698,8 +13720,9 @@ module Google
|
|||
attr_accessor :scheduling
|
||||
|
||||
# A list of service accounts with specified scopes. Access tokens for these
|
||||
# service accounts are available to the instances that are created from this
|
||||
# template. Use metadata queries to obtain the access tokens for these instances.
|
||||
# service accounts are available to the instances that are created from these
|
||||
# properties. Use metadata queries to obtain the access tokens for these
|
||||
# instances.
|
||||
# Corresponds to the JSON property `serviceAccounts`
|
||||
# @return [Array<Google::Apis::ComputeBeta::ServiceAccount>]
|
||||
attr_accessor :service_accounts
|
||||
|
@ -17531,10 +17554,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :i_pv4_range
|
||||
|
||||
# When set to true, the VPC network is created in "auto" mode. When set to false,
|
||||
# the VPC network is created in "custom" mode.
|
||||
# When set to true, the VPC network is created in auto mode. When set to false,
|
||||
# the VPC network is created in custom mode.
|
||||
# An auto mode VPC network starts with one subnet per region. Each subnet has a
|
||||
# predetermined range as described in Auto mode VPC network IP ranges.
|
||||
# For custom mode VPC networks, you can add subnets using the subnetworks insert
|
||||
# method.
|
||||
# Corresponds to the JSON property `autoCreateSubnetworks`
|
||||
# @return [Boolean]
|
||||
attr_accessor :auto_create_subnetworks
|
||||
|
@ -19085,7 +19110,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# The URL of the node template to which this node group belongs.
|
||||
# URL of the node template to create the node group from.
|
||||
# Corresponds to the JSON property `nodeTemplate`
|
||||
# @return [String]
|
||||
attr_accessor :node_template
|
||||
|
@ -29999,7 +30024,8 @@ module Google
|
|||
# The range of internal addresses that are owned by this subnetwork. Provide
|
||||
# this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.
|
||||
# 168.0.0/16. Ranges must be unique and non-overlapping within a network. Only
|
||||
# IPv4 is supported. This field can be set only at resource creation time.
|
||||
# IPv4 is supported. This field is set at resource creation time. The range can
|
||||
# be expanded after creation using expandIpCidrRange.
|
||||
# Corresponds to the JSON property `ipCidrRange`
|
||||
# @return [String]
|
||||
attr_accessor :ip_cidr_range
|
||||
|
|
|
@ -6078,6 +6078,8 @@ module Google
|
|||
collection :resource_policies, as: 'resourcePolicies'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :size_gb, :numeric_string => true, as: 'sizeGb'
|
||||
property :source_disk, as: 'sourceDisk'
|
||||
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
|
||||
|
||||
|
|
|
@ -1811,9 +1811,7 @@ module Google
|
|||
end
|
||||
|
||||
# Creates a BackendService resource in the specified project using the data
|
||||
# included in the request. There are several restrictions and guidelines to keep
|
||||
# in mind when creating a backend service. Read Understanding backend services
|
||||
# for more information.
|
||||
# included in the request. For more information, see Backend services overview.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [Google::Apis::ComputeBeta::BackendService] backend_service_object
|
||||
|
@ -1934,10 +1932,9 @@ module Google
|
|||
end
|
||||
|
||||
# Patches the specified BackendService resource with the data included in the
|
||||
# request. There are several Understanding backend services to keep in mind when
|
||||
# updating a backend service. Read Understanding backend services for more
|
||||
# information. This method supports PATCH semantics and uses the JSON merge
|
||||
# patch format and processing rules.
|
||||
# request. For more information, see Backend services overview. This method
|
||||
# supports PATCH semantics and uses the JSON merge patch format and processing
|
||||
# rules.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] backend_service
|
||||
|
@ -2080,9 +2077,7 @@ module Google
|
|||
end
|
||||
|
||||
# Updates the specified BackendService resource with the data included in the
|
||||
# request. There are several Understanding backend services to keep in mind when
|
||||
# updating a backend service. Read Understanding backend services for more
|
||||
# information.
|
||||
# request. For more information, see Backend services overview.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] backend_service
|
||||
|
@ -7113,6 +7108,58 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Patches the specified image with the data included in the request. Only the
|
||||
# following fields can be modified: family, description, deprecation status.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] image
|
||||
# Name of the image resource to patch.
|
||||
# @param [Google::Apis::ComputeBeta::Image] image_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
# request if it has already been completed.
|
||||
# For example, consider a situation where you make an initial request and the
|
||||
# request times out. If you make the request again with the same request ID, the
|
||||
# server can check if original operation with the same request ID was received,
|
||||
# and if so, will ignore the second request. This prevents clients from
|
||||
# accidentally creating duplicate commitments.
|
||||
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||
# supported (00000000-0000-0000-0000-000000000000).
|
||||
# @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::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeBeta::Operation]
|
||||
#
|
||||
# @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 patch_image(project, image, image_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, '{project}/global/images/{image}', options)
|
||||
command.request_representation = Google::Apis::ComputeBeta::Image::Representation
|
||||
command.request_object = image_object
|
||||
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeBeta::Operation
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['image'] = image unless image.nil?
|
||||
command.query['requestId'] = request_id unless request_id.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
|
||||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# @param [String] project
|
||||
|
@ -7813,7 +7860,7 @@ module Google
|
|||
end
|
||||
|
||||
# Lists all errors thrown by actions on instances for a given managed instance
|
||||
# group.
|
||||
# group. The filter and orderBy query parameters are not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
|
@ -7897,7 +7944,8 @@ module Google
|
|||
# list has a currentAction, which indicates the action that the managed instance
|
||||
# group is performing on the instance. For example, if the group is still
|
||||
# creating an instance, the currentAction is CREATING. If a previous action
|
||||
# failed, the list displays the errors for that failed action.
|
||||
# failed, the list displays the errors for that failed action. The orderBy query
|
||||
# parameter is not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
|
@ -7975,6 +8023,7 @@ module Google
|
|||
end
|
||||
|
||||
# Lists all of the per-instance configs defined for the managed instance group.
|
||||
# The orderBy query parameter is not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
|
@ -9049,7 +9098,8 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists the instances in the specified instance group.
|
||||
# Lists the instances in the specified instance group. The orderBy query
|
||||
# parameter is not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
|
@ -18641,9 +18691,8 @@ module Google
|
|||
end
|
||||
|
||||
# Creates a regional BackendService resource in the specified project using the
|
||||
# data included in the request. There are several restrictions and guidelines to
|
||||
# keep in mind when creating a regional backend service. Read Understanding
|
||||
# backend services for more information.
|
||||
# data included in the request. For more information, see Backend services
|
||||
# overview.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -18770,10 +18819,9 @@ module Google
|
|||
end
|
||||
|
||||
# Updates the specified regional BackendService resource with the data included
|
||||
# in the request. There are several Understanding backend services to keep in
|
||||
# mind when updating a backend service. Read Understanding backend services for
|
||||
# more information. This method supports PATCH semantics and uses the JSON merge
|
||||
# patch format and processing rules.
|
||||
# in the request. For more information, see Understanding backend services This
|
||||
# method supports PATCH semantics and uses the JSON merge patch format and
|
||||
# processing rules.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -18870,9 +18918,7 @@ module Google
|
|||
end
|
||||
|
||||
# Updates the specified regional BackendService resource with the data included
|
||||
# in the request. There are several Understanding backend services to keep in
|
||||
# mind when updating a backend service. Read Understanding backend services for
|
||||
# more information.
|
||||
# in the request. For more information, see Backend services overview.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -21060,7 +21106,7 @@ module Google
|
|||
end
|
||||
|
||||
# Lists all errors thrown by actions on instances for a given regional managed
|
||||
# instance group.
|
||||
# instance group. The filter and orderBy query parameters are not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -21141,7 +21187,7 @@ module Google
|
|||
|
||||
# Lists the instances in the managed instance group and instances that are
|
||||
# scheduled to be created. The list includes any current actions that the group
|
||||
# has scheduled for its instances.
|
||||
# has scheduled for its instances. The orderBy query parameter is not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -21219,6 +21265,7 @@ module Google
|
|||
end
|
||||
|
||||
# Lists all of the per-instance configs defined for the managed instance group.
|
||||
# The orderBy query parameter is not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -21972,7 +22019,8 @@ module Google
|
|||
|
||||
# Lists the instances in the specified instance group and displays information
|
||||
# about the named ports. Depending on the specified options, this method can
|
||||
# list all instances or only the instances that are running.
|
||||
# list all instances or only the instances that are running. The orderBy query
|
||||
# parameter is not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -27836,9 +27884,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves an aggregated list of all usable subnetworks in the project. The
|
||||
# list contains all of the subnetworks in the project and the subnetworks that
|
||||
# were shared by a Shared VPC host project.
|
||||
# Retrieves an aggregated list of all usable subnetworks in the project.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] filter
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200606'
|
||||
REVISION = '20200612'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2223,7 +2223,9 @@ module Google
|
|||
# UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group
|
||||
# will serve up to 100% of its configured capacity (depending on balancingMode).
|
||||
# A setting of 0 means the group is completely drained, offering 0% of its
|
||||
# available Capacity. Valid range is [0.0,1.0].
|
||||
# available capacity. Valid range is 0.0 and [0.1,1.0]. You cannot configure a
|
||||
# setting larger than 0 and smaller than 0.1. You cannot configure a setting of
|
||||
# 0 when there is only one backend attached to the backend service.
|
||||
# This cannot be used for internal load balancing.
|
||||
# Corresponds to the JSON property `capacityScaler`
|
||||
# @return [Float]
|
||||
|
@ -2603,7 +2605,7 @@ module Google
|
|||
# scoped.
|
||||
# * [Global](/compute/docs/reference/rest/`$api_version`/backendServices) * [
|
||||
# Regional](/compute/docs/reference/rest/`$api_version`/regionBackendServices)
|
||||
# For more information, read Backend Services.
|
||||
# For more information, see Backend Services.
|
||||
# (== resource_for `$api_version`.backendService ==)
|
||||
class BackendService
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -2739,8 +2741,8 @@ module Google
|
|||
# redirected to the load balancer.
|
||||
# - MAGLEV: used as a drop in replacement for the ring hash load balancer.
|
||||
# Maglev is not as stable as ring hash but has faster table lookup build times
|
||||
# and host selection times. For more information about Maglev, refer to https://
|
||||
# ai.google/research/pubs/pub44824
|
||||
# and host selection times. For more information about Maglev, see https://ai.
|
||||
# google/research/pubs/pub44824
|
||||
# This field is applicable to either:
|
||||
# - A regional backend service with the service_protocol set to HTTP, HTTPS, or
|
||||
# HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED.
|
||||
|
@ -2842,8 +2844,8 @@ module Google
|
|||
attr_accessor :session_affinity
|
||||
|
||||
# The backend service timeout has a different meaning depending on the type of
|
||||
# load balancer. For more information read, Backend service settings The
|
||||
# default is 30 seconds.
|
||||
# load balancer. For more information see, Backend service settings The default
|
||||
# is 30 seconds.
|
||||
# Corresponds to the JSON property `timeoutSec`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :timeout_sec
|
||||
|
@ -4555,6 +4557,24 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :size_gb
|
||||
|
||||
# The source disk used to create this disk. You can provide this as a partial or
|
||||
# full URL to the resource. For example, the following are valid values:
|
||||
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
|
||||
# - projects/project/zones/zone/disks/disk
|
||||
# - zones/zone/disks/disk
|
||||
# Corresponds to the JSON property `sourceDisk`
|
||||
# @return [String]
|
||||
attr_accessor :source_disk
|
||||
|
||||
# [Output Only] The unique ID of the disk used to create this disk. This value
|
||||
# identifies the exact disk that was used to create this persistent disk. For
|
||||
# example, if you created the persistent disk from a disk that was later deleted
|
||||
# and recreated under the same name, the source disk ID would identify the exact
|
||||
# version of the disk that was used.
|
||||
# Corresponds to the JSON property `sourceDiskId`
|
||||
# @return [String]
|
||||
attr_accessor :source_disk_id
|
||||
|
||||
# The source image used to create this disk. If the source image is deleted,
|
||||
# this field will not be set.
|
||||
# To create a disk with one of the public operating system images, specify the
|
||||
|
@ -4666,6 +4686,8 @@ module Google
|
|||
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
||||
@source_disk = args[:source_disk] if args.key?(:source_disk)
|
||||
@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)
|
||||
|
@ -7788,6 +7810,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# Configuration of logging on a health check. If logging is enabled, logs will
|
||||
# be exported to Stackdriver.
|
||||
# Corresponds to the JSON property `logConfig`
|
||||
# @return [Google::Apis::ComputeV1::HealthCheckLogConfig]
|
||||
attr_accessor :log_config
|
||||
|
||||
# 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-
|
||||
|
@ -7854,6 +7882,7 @@ module Google
|
|||
@https_health_check = args[:https_health_check] if args.key?(:https_health_check)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@log_config = args[:log_config] if args.key?(:log_config)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@region = args[:region] if args.key?(:region)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
|
@ -7982,6 +8011,28 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Configuration of logging on a health check. If logging is enabled, logs will
|
||||
# be exported to Stackdriver.
|
||||
class HealthCheckLogConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Indicates whether or not to export logs. This is false by default, which means
|
||||
# no health check logging will be done.
|
||||
# Corresponds to the JSON property `enable`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enable
|
||||
alias_method :enable?, :enable
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@enable = args[:enable] if args.key?(:enable)
|
||||
end
|
||||
end
|
||||
|
||||
# A full or valid partial URL to a health check. For example, the following are
|
||||
# valid URLs:
|
||||
# - https://www.googleapis.com/compute/beta/projects/project-id/global/
|
||||
|
@ -12616,9 +12667,9 @@ module Google
|
|||
class InstanceProperties
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Enables instances created based on this template to send packets with source
|
||||
# IP addresses other than their own and receive packets with destination IP
|
||||
# addresses other than their own. If these instances will be used as an IP
|
||||
# Enables instances created based on these properties to send packets with
|
||||
# source IP addresses other than their own and receive packets with destination
|
||||
# IP addresses other than their own. If these instances will be used as an IP
|
||||
# gateway or it will be set as the next-hop in a Route resource, specify true.
|
||||
# If unsure, leave this set to false. See the Enable IP forwarding documentation
|
||||
# for more information.
|
||||
|
@ -12627,30 +12678,30 @@ module Google
|
|||
attr_accessor :can_ip_forward
|
||||
alias_method :can_ip_forward?, :can_ip_forward
|
||||
|
||||
# An optional text description for the instances that are created from this
|
||||
# instance template.
|
||||
# An optional text description for the instances that are created from these
|
||||
# properties.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# An array of disks that are associated with the instances that are created from
|
||||
# this template.
|
||||
# these properties.
|
||||
# Corresponds to the JSON property `disks`
|
||||
# @return [Array<Google::Apis::ComputeV1::AttachedDisk>]
|
||||
attr_accessor :disks
|
||||
|
||||
# A list of guest accelerator cards' type and count to use for instances created
|
||||
# from the instance template.
|
||||
# from these properties.
|
||||
# Corresponds to the JSON property `guestAccelerators`
|
||||
# @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
|
||||
attr_accessor :guest_accelerators
|
||||
|
||||
# Labels to apply to instances that are created from this template.
|
||||
# Labels to apply to instances that are created from these properties.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# The machine type to use for instances that are created from this template.
|
||||
# The machine type to use for instances that are created from these properties.
|
||||
# Corresponds to the JSON property `machineType`
|
||||
# @return [String]
|
||||
attr_accessor :machine_type
|
||||
|
@ -12660,11 +12711,11 @@ module Google
|
|||
# @return [Google::Apis::ComputeV1::Metadata]
|
||||
attr_accessor :metadata
|
||||
|
||||
# Minimum cpu/platform to be used by this instance. The instance may be
|
||||
# scheduled on the specified or newer cpu/platform. Applicable values are the
|
||||
# friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or
|
||||
# minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a
|
||||
# Minimum CPU Platform.
|
||||
# Minimum cpu/platform to be used by instances. The instance may be scheduled on
|
||||
# the specified or newer cpu/platform. Applicable values are the friendly names
|
||||
# of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "
|
||||
# Intel Sandy Bridge". For more information, read Specifying a Minimum CPU
|
||||
# Platform.
|
||||
# Corresponds to the JSON property `minCpuPlatform`
|
||||
# @return [String]
|
||||
attr_accessor :min_cpu_platform
|
||||
|
@ -12674,7 +12725,7 @@ module Google
|
|||
# @return [Array<Google::Apis::ComputeV1::NetworkInterface>]
|
||||
attr_accessor :network_interfaces
|
||||
|
||||
# The private IPv6 google access type for the VM. If not specified, use
|
||||
# The private IPv6 google access type for VMs. If not specified, use
|
||||
# INHERIT_FROM_SUBNETWORK as default.
|
||||
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
||||
# @return [String]
|
||||
|
@ -12685,8 +12736,8 @@ module Google
|
|||
# @return [Google::Apis::ComputeV1::ReservationAffinity]
|
||||
attr_accessor :reservation_affinity
|
||||
|
||||
# Resource policies (names, not ULRs) applied to instances created from this
|
||||
# template.
|
||||
# Resource policies (names, not ULRs) applied to instances created from these
|
||||
# properties.
|
||||
# Corresponds to the JSON property `resourcePolicies`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :resource_policies
|
||||
|
@ -12697,8 +12748,9 @@ module Google
|
|||
attr_accessor :scheduling
|
||||
|
||||
# A list of service accounts with specified scopes. Access tokens for these
|
||||
# service accounts are available to the instances that are created from this
|
||||
# template. Use metadata queries to obtain the access tokens for these instances.
|
||||
# service accounts are available to the instances that are created from these
|
||||
# properties. Use metadata queries to obtain the access tokens for these
|
||||
# instances.
|
||||
# Corresponds to the JSON property `serviceAccounts`
|
||||
# @return [Array<Google::Apis::ComputeV1::ServiceAccount>]
|
||||
attr_accessor :service_accounts
|
||||
|
@ -16177,10 +16229,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :i_pv4_range
|
||||
|
||||
# When set to true, the VPC network is created in "auto" mode. When set to false,
|
||||
# the VPC network is created in "custom" mode.
|
||||
# When set to true, the VPC network is created in auto mode. When set to false,
|
||||
# the VPC network is created in custom mode.
|
||||
# An auto mode VPC network starts with one subnet per region. Each subnet has a
|
||||
# predetermined range as described in Auto mode VPC network IP ranges.
|
||||
# For custom mode VPC networks, you can add subnets using the subnetworks insert
|
||||
# method.
|
||||
# Corresponds to the JSON property `autoCreateSubnetworks`
|
||||
# @return [Boolean]
|
||||
attr_accessor :auto_create_subnetworks
|
||||
|
@ -17441,7 +17495,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# The URL of the node template to which this node group belongs.
|
||||
# URL of the node template to create the node group from.
|
||||
# Corresponds to the JSON property `nodeTemplate`
|
||||
# @return [String]
|
||||
attr_accessor :node_template
|
||||
|
@ -27159,7 +27213,8 @@ module Google
|
|||
# The range of internal addresses that are owned by this subnetwork. Provide
|
||||
# this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.
|
||||
# 168.0.0/16. Ranges must be unique and non-overlapping within a network. Only
|
||||
# IPv4 is supported. This field can be set only at resource creation time.
|
||||
# IPv4 is supported. This field is set at resource creation time. The range can
|
||||
# be expanded after creation using expandIpCidrRange.
|
||||
# Corresponds to the JSON property `ipCidrRange`
|
||||
# @return [String]
|
||||
attr_accessor :ip_cidr_range
|
||||
|
|
|
@ -1006,6 +1006,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HealthCheckLogConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HealthCheckReference
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -5621,6 +5627,8 @@ module Google
|
|||
collection :resource_policies, as: 'resourcePolicies'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :size_gb, :numeric_string => true, as: 'sizeGb'
|
||||
property :source_disk, as: 'sourceDisk'
|
||||
property :source_disk_id, as: 'sourceDiskId'
|
||||
property :source_image, as: 'sourceImage'
|
||||
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
||||
|
||||
|
@ -6375,6 +6383,8 @@ module Google
|
|||
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :log_config, as: 'logConfig', class: Google::Apis::ComputeV1::HealthCheckLogConfig, decorator: Google::Apis::ComputeV1::HealthCheckLogConfig::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
|
@ -6420,6 +6430,13 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class HealthCheckLogConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :enable, as: 'enable'
|
||||
end
|
||||
end
|
||||
|
||||
class HealthCheckReference
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -1672,9 +1672,7 @@ module Google
|
|||
end
|
||||
|
||||
# Creates a BackendService resource in the specified project using the data
|
||||
# included in the request. There are several restrictions and guidelines to keep
|
||||
# in mind when creating a backend service. Read Understanding backend services
|
||||
# for more information.
|
||||
# included in the request. For more information, see Backend services overview.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [Google::Apis::ComputeV1::BackendService] backend_service_object
|
||||
|
@ -1795,10 +1793,9 @@ module Google
|
|||
end
|
||||
|
||||
# Patches the specified BackendService resource with the data included in the
|
||||
# request. There are several Understanding backend services to keep in mind when
|
||||
# updating a backend service. Read Understanding backend services for more
|
||||
# information. This method supports PATCH semantics and uses the JSON merge
|
||||
# patch format and processing rules.
|
||||
# request. For more information, see Backend services overview. This method
|
||||
# supports PATCH semantics and uses the JSON merge patch format and processing
|
||||
# rules.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] backend_service
|
||||
|
@ -1902,9 +1899,7 @@ module Google
|
|||
end
|
||||
|
||||
# Updates the specified BackendService resource with the data included in the
|
||||
# request. There are several Understanding backend services to keep in mind when
|
||||
# updating a backend service. Read Understanding backend services for more
|
||||
# information.
|
||||
# request. For more information, see Backend services overview.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] backend_service
|
||||
|
@ -7032,7 +7027,7 @@ module Google
|
|||
end
|
||||
|
||||
# Lists all errors thrown by actions on instances for a given managed instance
|
||||
# group.
|
||||
# group. The filter and orderBy query parameters are not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
|
@ -7116,7 +7111,8 @@ module Google
|
|||
# list has a currentAction, which indicates the action that the managed instance
|
||||
# group is performing on the instance. For example, if the group is still
|
||||
# creating an instance, the currentAction is CREATING. If a previous action
|
||||
# failed, the list displays the errors for that failed action.
|
||||
# failed, the list displays the errors for that failed action. The orderBy query
|
||||
# parameter is not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
|
@ -7856,7 +7852,8 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists the instances in the specified instance group.
|
||||
# Lists the instances in the specified instance group. The orderBy query
|
||||
# parameter is not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
|
@ -15799,9 +15796,8 @@ module Google
|
|||
end
|
||||
|
||||
# Creates a regional BackendService resource in the specified project using the
|
||||
# data included in the request. There are several restrictions and guidelines to
|
||||
# keep in mind when creating a regional backend service. Read Understanding
|
||||
# backend services for more information.
|
||||
# data included in the request. For more information, see Backend services
|
||||
# overview.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -15928,10 +15924,9 @@ module Google
|
|||
end
|
||||
|
||||
# Updates the specified regional BackendService resource with the data included
|
||||
# in the request. There are several Understanding backend services to keep in
|
||||
# mind when updating a backend service. Read Understanding backend services for
|
||||
# more information. This method supports PATCH semantics and uses the JSON merge
|
||||
# patch format and processing rules.
|
||||
# in the request. For more information, see Understanding backend services This
|
||||
# method supports PATCH semantics and uses the JSON merge patch format and
|
||||
# processing rules.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -15986,9 +15981,7 @@ module Google
|
|||
end
|
||||
|
||||
# Updates the specified regional BackendService resource with the data included
|
||||
# in the request. There are several Understanding backend services to keep in
|
||||
# mind when updating a backend service. Read Understanding backend services for
|
||||
# more information.
|
||||
# in the request. For more information, see Backend services overview.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -18077,7 +18070,7 @@ module Google
|
|||
end
|
||||
|
||||
# Lists all errors thrown by actions on instances for a given regional managed
|
||||
# instance group.
|
||||
# instance group. The filter and orderBy query parameters are not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -18158,7 +18151,7 @@ module Google
|
|||
|
||||
# Lists the instances in the managed instance group and instances that are
|
||||
# scheduled to be created. The list includes any current actions that the group
|
||||
# has scheduled for its instances.
|
||||
# has scheduled for its instances. The orderBy query parameter is not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -18645,7 +18638,8 @@ module Google
|
|||
|
||||
# Lists the instances in the specified instance group and displays information
|
||||
# about the named ports. Depending on the specified options, this method can
|
||||
# list all instances or only the instances that are running.
|
||||
# list all instances or only the instances that are running. The orderBy query
|
||||
# parameter is not supported.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
@ -23933,9 +23927,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves an aggregated list of all usable subnetworks in the project. The
|
||||
# list contains all of the subnetworks in the project and the subnetworks that
|
||||
# were shared by a Shared VPC host project.
|
||||
# Retrieves an aggregated list of all usable subnetworks in the project.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] filter
|
||||
|
|
Loading…
Reference in New Issue