google-api-client 0.46.0 → 0.46.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +59 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
- data/generated/google/apis/admob_v1.rb +3 -2
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +31 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -5
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +231 -1
- data/generated/google/apis/apigee_v1/representations.rb +87 -0
- data/generated/google/apis/apigee_v1/service.rb +201 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
- data/generated/google/apis/cloudshell_v1/service.rb +177 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1/service.rb +37 -35
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +126 -21
- data/generated/google/apis/compute_alpha/representations.rb +7 -0
- data/generated/google/apis/compute_alpha/service.rb +62 -3
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +83 -19
- data/generated/google/apis/compute_beta/representations.rb +4 -0
- data/generated/google/apis/compute_beta/service.rb +3 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +28 -8
- data/generated/google/apis/compute_v1/representations.rb +3 -0
- data/generated/google/apis/compute_v1/service.rb +3 -3
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +99 -0
- data/generated/google/apis/content_v2_1/representations.rb +47 -0
- data/generated/google/apis/content_v2_1/service.rb +37 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +50 -32
- data/generated/google/apis/dialogflow_v2/representations.rb +28 -13
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +50 -32
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +28 -13
- data/generated/google/apis/dialogflow_v2beta1/service.rb +54 -4
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +66 -35
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +29 -13
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/service.rb +13 -10
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/service.rb +10 -10
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +10 -10
- data/generated/google/apis/documentai_v1beta3.rb +36 -0
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/fitness_v1.rb +13 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +116 -289
- data/generated/google/apis/healthcare_v1beta1/representations.rb +45 -81
- data/generated/google/apis/healthcare_v1beta1/service.rb +65 -61
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +48 -0
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/oauth2_v2.rb +40 -0
- data/generated/google/apis/oauth2_v2/classes.rb +165 -0
- data/generated/google/apis/oauth2_v2/representations.rb +68 -0
- data/generated/google/apis/oauth2_v2/service.rb +158 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +3 -2
- data/generated/google/apis/people_v1/service.rb +4 -4
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +55 -94
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +5 -2
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +4 -10
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +1 -4
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +49 -5
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +17 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +12 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +5 -2
- data/generated/google/apis/sts_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +10 -9
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +66 -70
- data/generated/google/apis/sts_v1beta/service.rb +2 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +47 -0
- data/generated/google/apis/testing_v1/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +241 -0
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -3
@@ -5907,6 +5907,7 @@ module Google
|
|
5907
5907
|
|
5908
5908
|
property :source, as: 'source'
|
5909
5909
|
property :type, as: 'type'
|
5910
|
+
collection :user_licenses, as: 'userLicenses'
|
5910
5911
|
end
|
5911
5912
|
end
|
5912
5913
|
|
@@ -6924,6 +6925,7 @@ module Google
|
|
6924
6925
|
property :status, as: 'status'
|
6925
6926
|
property :storage_type, as: 'storageType'
|
6926
6927
|
property :type, as: 'type'
|
6928
|
+
collection :user_licenses, as: 'userLicenses'
|
6927
6929
|
collection :users, as: 'users'
|
6928
6930
|
property :zone, as: 'zone'
|
6929
6931
|
end
|
@@ -13108,6 +13110,7 @@ module Google
|
|
13108
13110
|
property :name, as: 'name'
|
13109
13111
|
property :peer_asn, as: 'peerAsn'
|
13110
13112
|
property :peer_ip_address, as: 'peerIpAddress'
|
13113
|
+
property :router_appliance_instance, as: 'routerApplianceInstance'
|
13111
13114
|
end
|
13112
13115
|
end
|
13113
13116
|
|
@@ -13132,6 +13135,9 @@ module Google
|
|
13132
13135
|
property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
|
13133
13136
|
property :management_type, as: 'managementType'
|
13134
13137
|
property :name, as: 'name'
|
13138
|
+
property :private_ip_address, as: 'privateIpAddress'
|
13139
|
+
property :redundant_interface, as: 'redundantInterface'
|
13140
|
+
property :subnetwork, as: 'subnetwork'
|
13135
13141
|
end
|
13136
13142
|
end
|
13137
13143
|
|
@@ -14558,6 +14564,7 @@ module Google
|
|
14558
14564
|
property :certificate_map, as: 'certificateMap'
|
14559
14565
|
property :creation_timestamp, as: 'creationTimestamp'
|
14560
14566
|
property :description, as: 'description'
|
14567
|
+
collection :http_filters, as: 'httpFilters'
|
14561
14568
|
property :id, :numeric_string => true, as: 'id'
|
14562
14569
|
property :kind, as: 'kind'
|
14563
14570
|
property :name, as: 'name'
|
@@ -3202,6 +3202,65 @@ module Google
|
|
3202
3202
|
execute_or_queue_command(command, &block)
|
3203
3203
|
end
|
3204
3204
|
|
3205
|
+
# Update the specified disk with the data included in the request. Update is
|
3206
|
+
# performed only on selected fields included as part of update-mask. Only the
|
3207
|
+
# following fields can be modified: user_license.
|
3208
|
+
# @param [String] project
|
3209
|
+
# Project ID for this request.
|
3210
|
+
# @param [String] zone
|
3211
|
+
# The name of the zone for this request.
|
3212
|
+
# @param [String] disk
|
3213
|
+
# The disk name for this request.
|
3214
|
+
# @param [Google::Apis::ComputeAlpha::Disk] disk_object
|
3215
|
+
# @param [Array<String>, String] paths
|
3216
|
+
# The set of field mask paths.
|
3217
|
+
# @param [String] request_id
|
3218
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
3219
|
+
# that if you must retry your request, the server will know to ignore the
|
3220
|
+
# request if it has already been completed.
|
3221
|
+
# For example, consider a situation where you make an initial request and the
|
3222
|
+
# request times out. If you make the request again with the same request ID, the
|
3223
|
+
# server can check if original operation with the same request ID was received,
|
3224
|
+
# and if so, will ignore the second request. This prevents clients from
|
3225
|
+
# accidentally creating duplicate commitments.
|
3226
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
3227
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
3228
|
+
# @param [String] fields
|
3229
|
+
# Selector specifying which fields to include in a partial response.
|
3230
|
+
# @param [String] quota_user
|
3231
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3232
|
+
# characters.
|
3233
|
+
# @param [String] user_ip
|
3234
|
+
# Deprecated. Please use quotaUser instead.
|
3235
|
+
# @param [Google::Apis::RequestOptions] options
|
3236
|
+
# Request-specific options
|
3237
|
+
#
|
3238
|
+
# @yield [result, err] Result & error if block supplied
|
3239
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
3240
|
+
# @yieldparam err [StandardError] error object if request failed
|
3241
|
+
#
|
3242
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
3243
|
+
#
|
3244
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3245
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3246
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3247
|
+
def update_disk(project, zone, disk, disk_object = nil, paths: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3248
|
+
command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/disks/{disk}', options)
|
3249
|
+
command.request_representation = Google::Apis::ComputeAlpha::Disk::Representation
|
3250
|
+
command.request_object = disk_object
|
3251
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
3252
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
3253
|
+
command.params['project'] = project unless project.nil?
|
3254
|
+
command.params['zone'] = zone unless zone.nil?
|
3255
|
+
command.params['disk'] = disk unless disk.nil?
|
3256
|
+
command.query['paths'] = paths unless paths.nil?
|
3257
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3258
|
+
command.query['fields'] = fields unless fields.nil?
|
3259
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3260
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3261
|
+
execute_or_queue_command(command, &block)
|
3262
|
+
end
|
3263
|
+
|
3205
3264
|
# Deletes the specified externalVpnGateway.
|
3206
3265
|
# @param [String] project
|
3207
3266
|
# Project ID for this request.
|
@@ -11203,9 +11262,9 @@ module Google
|
|
11203
11262
|
end
|
11204
11263
|
|
11205
11264
|
# Retrieves a list of resources that refer to the VM instance specified in the
|
11206
|
-
# request. For example, if the VM instance is part of a managed
|
11207
|
-
# the referrers list includes the
|
11208
|
-
# read Viewing
|
11265
|
+
# request. For example, if the VM instance is part of a managed or unmanaged
|
11266
|
+
# instance group, the referrers list includes the instance group. For more
|
11267
|
+
# information, read Viewing referrers to VM instances.
|
11209
11268
|
# @param [String] project
|
11210
11269
|
# Project ID for this request.
|
11211
11270
|
# @param [String] zone
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeBeta
|
27
27
|
VERSION = 'Beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200910'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -2181,14 +2181,13 @@ module Google
|
|
2181
2181
|
class AutoscalingPolicyCpuUtilization
|
2182
2182
|
include Google::Apis::Core::Hashable
|
2183
2183
|
|
2184
|
-
# Indicates
|
2185
|
-
#
|
2186
|
-
#
|
2187
|
-
#
|
2188
|
-
#
|
2189
|
-
#
|
2190
|
-
#
|
2191
|
-
# versions.
|
2184
|
+
# Indicates whether predictive autoscaling based on CPU metric is enabled. Valid
|
2185
|
+
# values are:
|
2186
|
+
# * NONE (default). No predictive method is used. The autoscaler scales the
|
2187
|
+
# group to meet current demand based on real-time metrics. *
|
2188
|
+
# OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by
|
2189
|
+
# monitoring daily and weekly load patterns and scaling out ahead of anticipated
|
2190
|
+
# demand.
|
2192
2191
|
# Corresponds to the JSON property `predictiveMethod`
|
2193
2192
|
# @return [String]
|
2194
2193
|
attr_accessor :predictive_method
|
@@ -2276,9 +2275,9 @@ module Google
|
|
2276
2275
|
# The target value of the metric that autoscaler should maintain. This must be a
|
2277
2276
|
# positive value. A utilization metric scales number of virtual machines
|
2278
2277
|
# handling requests to increase or decrease proportionally to the metric.
|
2279
|
-
# For example, a good metric to use as a utilization_target is
|
2280
|
-
# googleapis.com/instance/network/received_bytes_count. The
|
2281
|
-
# to keep this value constant for each of the instances.
|
2278
|
+
# For example, a good metric to use as a utilization_target is https://www.
|
2279
|
+
# googleapis.com/compute/v1/instance/network/received_bytes_count. The
|
2280
|
+
# autoscaler will work to keep this value constant for each of the instances.
|
2282
2281
|
# Corresponds to the JSON property `utilizationTarget`
|
2283
2282
|
# @return [Float]
|
2284
2283
|
attr_accessor :utilization_target
|
@@ -2661,7 +2660,19 @@ module Google
|
|
2661
2660
|
# @return [Array<Google::Apis::ComputeBeta::BackendBucketCdnPolicyBypassCacheOnRequestHeader>]
|
2662
2661
|
attr_accessor :bypass_cache_on_request_headers
|
2663
2662
|
|
2664
|
-
#
|
2663
|
+
# Specifies the cache setting for all responses from this backend. The possible
|
2664
|
+
# values are:
|
2665
|
+
# USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache
|
2666
|
+
# content. Responses without these headers will not be cached at Google's edge,
|
2667
|
+
# and will require a full trip to the origin on every request, potentially
|
2668
|
+
# impacting performance and increasing load on the origin server.
|
2669
|
+
# FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-
|
2670
|
+
# cache" directives in Cache-Control response headers. Warning: this may result
|
2671
|
+
# in Cloud CDN caching private, per-user (user identifiable) content.
|
2672
|
+
# CACHE_ALL_STATIC Automatically cache static content, including common image
|
2673
|
+
# formats, media (video and audio), and web assets (JavaScript and CSS).
|
2674
|
+
# Requests and responses that are marked as uncacheable, as well as dynamic
|
2675
|
+
# content (including HTML), will not be cached.
|
2665
2676
|
# Corresponds to the JSON property `cacheMode`
|
2666
2677
|
# @return [String]
|
2667
2678
|
attr_accessor :cache_mode
|
@@ -3395,7 +3406,19 @@ module Google
|
|
3395
3406
|
# @return [Google::Apis::ComputeBeta::CacheKeyPolicy]
|
3396
3407
|
attr_accessor :cache_key_policy
|
3397
3408
|
|
3398
|
-
#
|
3409
|
+
# Specifies the cache setting for all responses from this backend. The possible
|
3410
|
+
# values are:
|
3411
|
+
# USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache
|
3412
|
+
# content. Responses without these headers will not be cached at Google's edge,
|
3413
|
+
# and will require a full trip to the origin on every request, potentially
|
3414
|
+
# impacting performance and increasing load on the origin server.
|
3415
|
+
# FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-
|
3416
|
+
# cache" directives in Cache-Control response headers. Warning: this may result
|
3417
|
+
# in Cloud CDN caching private, per-user (user identifiable) content.
|
3418
|
+
# CACHE_ALL_STATIC Automatically cache static content, including common image
|
3419
|
+
# formats, media (video and audio), and web assets (JavaScript and CSS).
|
3420
|
+
# Requests and responses that are marked as uncacheable, as well as dynamic
|
3421
|
+
# content (including HTML), will not be cached.
|
3399
3422
|
# Corresponds to the JSON property `cacheMode`
|
3400
3423
|
# @return [String]
|
3401
3424
|
attr_accessor :cache_mode
|
@@ -7839,11 +7862,11 @@ module Google
|
|
7839
7862
|
attr_accessor :subnetwork
|
7840
7863
|
|
7841
7864
|
# The URL of the target resource to receive the matched traffic. For regional
|
7842
|
-
# forwarding rules, this target must
|
7865
|
+
# forwarding rules, this target must be in the same region as the forwarding
|
7843
7866
|
# rule. For global forwarding rules, this target must be a global load balancing
|
7844
7867
|
# resource. The forwarded traffic must be of a type appropriate to the target
|
7845
|
-
# object. For
|
7846
|
-
#
|
7868
|
+
# object. For more information, see the "Target" column in [Port specifications](
|
7869
|
+
# /load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).
|
7847
7870
|
# Corresponds to the JSON property `target`
|
7848
7871
|
# @return [String]
|
7849
7872
|
attr_accessor :target
|
@@ -11500,6 +11523,21 @@ module Google
|
|
11500
11523
|
# @return [Hash<String,String>]
|
11501
11524
|
attr_accessor :labels
|
11502
11525
|
|
11526
|
+
# [Output Only] Last start timestamp in RFC3339 text format.
|
11527
|
+
# Corresponds to the JSON property `lastStartTimestamp`
|
11528
|
+
# @return [String]
|
11529
|
+
attr_accessor :last_start_timestamp
|
11530
|
+
|
11531
|
+
# [Output Only] Last stop timestamp in RFC3339 text format.
|
11532
|
+
# Corresponds to the JSON property `lastStopTimestamp`
|
11533
|
+
# @return [String]
|
11534
|
+
attr_accessor :last_stop_timestamp
|
11535
|
+
|
11536
|
+
# [Output Only] Last suspended timestamp in RFC3339 text format.
|
11537
|
+
# Corresponds to the JSON property `lastSuspendedTimestamp`
|
11538
|
+
# @return [String]
|
11539
|
+
attr_accessor :last_suspended_timestamp
|
11540
|
+
|
11503
11541
|
# Full or partial URL of the machine type resource to use for this instance, in
|
11504
11542
|
# the format: zones/zone/machineTypes/machine-type. This is provided by the
|
11505
11543
|
# client when the instance is created. For example, the following is a valid
|
@@ -11623,7 +11661,8 @@ module Google
|
|
11623
11661
|
|
11624
11662
|
# [Output Only] The status of the instance. One of the following values:
|
11625
11663
|
# PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING,
|
11626
|
-
# and TERMINATED.
|
11664
|
+
# and TERMINATED. For more information about the status of the instance, see
|
11665
|
+
# Instance life cycle.
|
11627
11666
|
# Corresponds to the JSON property `status`
|
11628
11667
|
# @return [String]
|
11629
11668
|
attr_accessor :status
|
@@ -11667,6 +11706,9 @@ module Google
|
|
11667
11706
|
@kind = args[:kind] if args.key?(:kind)
|
11668
11707
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
11669
11708
|
@labels = args[:labels] if args.key?(:labels)
|
11709
|
+
@last_start_timestamp = args[:last_start_timestamp] if args.key?(:last_start_timestamp)
|
11710
|
+
@last_stop_timestamp = args[:last_stop_timestamp] if args.key?(:last_stop_timestamp)
|
11711
|
+
@last_suspended_timestamp = args[:last_suspended_timestamp] if args.key?(:last_suspended_timestamp)
|
11670
11712
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
11671
11713
|
@metadata = args[:metadata] if args.key?(:metadata)
|
11672
11714
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
@@ -20061,7 +20103,8 @@ module Google
|
|
20061
20103
|
class NodeGroupAutoscalingPolicy
|
20062
20104
|
include Google::Apis::Core::Hashable
|
20063
20105
|
|
20064
|
-
# The maximum number of nodes that the group should have.
|
20106
|
+
# The maximum number of nodes that the group should have. Must be set if
|
20107
|
+
# autoscaling is enabled. Maximum value allowed is 100.
|
20065
20108
|
# Corresponds to the JSON property `maxNodes`
|
20066
20109
|
# @return [Fixnum]
|
20067
20110
|
attr_accessor :max_nodes
|
@@ -29474,7 +29517,12 @@ module Google
|
|
29474
29517
|
attr_accessor :auto_created
|
29475
29518
|
alias_method :auto_created?, :auto_created
|
29476
29519
|
|
29477
|
-
#
|
29520
|
+
# Creates the new snapshot in the snapshot chain labeled with the specified name.
|
29521
|
+
# The chain name must be 1-63 characters long and comply with RFC1035. This is
|
29522
|
+
# an uncommon option only for advanced service owners who needs to create
|
29523
|
+
# separate snapshot chains, for example, for chargeback tracking. When you
|
29524
|
+
# describe your snapshot resource, this field is visible only if it has a non-
|
29525
|
+
# empty value.
|
29478
29526
|
# Corresponds to the JSON property `chainName`
|
29479
29527
|
# @return [String]
|
29480
29528
|
attr_accessor :chain_name
|
@@ -32464,6 +32512,21 @@ module Google
|
|
32464
32512
|
# @return [String]
|
32465
32513
|
attr_accessor :description
|
32466
32514
|
|
32515
|
+
# URLs to networkservices.HttpFilter resources enabled for xDS clients using
|
32516
|
+
# this configuration. For example, https://networkservices.googleapis.com/beta/
|
32517
|
+
# projects/project/locations/locationhttpFilters/httpFilter Only filters that
|
32518
|
+
# handle outbound connection and stream events may be specified. These filters
|
32519
|
+
# work in conjunction with a default set of HTTP filters that may already be
|
32520
|
+
# configured by Traffic Director. Traffic Director will determine the final
|
32521
|
+
# location of these filters within xDS configuration based on the name of the
|
32522
|
+
# HTTP filter. If Traffic Director positions multiple filters at the same
|
32523
|
+
# location, those filters will be in the same order as specified in this list.
|
32524
|
+
# httpFilters only applies for loadbalancers with loadBalancingScheme set to
|
32525
|
+
# INTERNAL_SELF_MANAGED. See ForwardingRule for more details.
|
32526
|
+
# Corresponds to the JSON property `httpFilters`
|
32527
|
+
# @return [Array<String>]
|
32528
|
+
attr_accessor :http_filters
|
32529
|
+
|
32467
32530
|
# [Output Only] The unique identifier for the resource. This identifier is
|
32468
32531
|
# defined by the server.
|
32469
32532
|
# Corresponds to the JSON property `id`
|
@@ -32564,6 +32627,7 @@ module Google
|
|
32564
32627
|
@authorization_policy = args[:authorization_policy] if args.key?(:authorization_policy)
|
32565
32628
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
32566
32629
|
@description = args[:description] if args.key?(:description)
|
32630
|
+
@http_filters = args[:http_filters] if args.key?(:http_filters)
|
32567
32631
|
@id = args[:id] if args.key?(:id)
|
32568
32632
|
@kind = args[:kind] if args.key?(:kind)
|
32569
32633
|
@name = args[:name] if args.key?(:name)
|
@@ -7610,6 +7610,9 @@ module Google
|
|
7610
7610
|
property :kind, as: 'kind'
|
7611
7611
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
7612
7612
|
hash :labels, as: 'labels'
|
7613
|
+
property :last_start_timestamp, as: 'lastStartTimestamp'
|
7614
|
+
property :last_stop_timestamp, as: 'lastStopTimestamp'
|
7615
|
+
property :last_suspended_timestamp, as: 'lastSuspendedTimestamp'
|
7613
7616
|
property :machine_type, as: 'machineType'
|
7614
7617
|
property :metadata, as: 'metadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation
|
7615
7618
|
|
@@ -12924,6 +12927,7 @@ module Google
|
|
12924
12927
|
property :authorization_policy, as: 'authorizationPolicy'
|
12925
12928
|
property :creation_timestamp, as: 'creationTimestamp'
|
12926
12929
|
property :description, as: 'description'
|
12930
|
+
collection :http_filters, as: 'httpFilters'
|
12927
12931
|
property :id, :numeric_string => true, as: 'id'
|
12928
12932
|
property :kind, as: 'kind'
|
12929
12933
|
property :name, as: 'name'
|
@@ -10735,9 +10735,9 @@ module Google
|
|
10735
10735
|
end
|
10736
10736
|
|
10737
10737
|
# Retrieves a list of resources that refer to the VM instance specified in the
|
10738
|
-
# request. For example, if the VM instance is part of a managed
|
10739
|
-
# the referrers list includes the
|
10740
|
-
# read Viewing
|
10738
|
+
# request. For example, if the VM instance is part of a managed or unmanaged
|
10739
|
+
# instance group, the referrers list includes the instance group. For more
|
10740
|
+
# information, read Viewing referrers to VM instances.
|
10741
10741
|
# @param [String] project
|
10742
10742
|
# Project ID for this request.
|
10743
10743
|
# @param [String] zone
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200910'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -2171,9 +2171,9 @@ module Google
|
|
2171
2171
|
# The target value of the metric that autoscaler should maintain. This must be a
|
2172
2172
|
# positive value. A utilization metric scales number of virtual machines
|
2173
2173
|
# handling requests to increase or decrease proportionally to the metric.
|
2174
|
-
# For example, a good metric to use as a utilization_target is
|
2175
|
-
# googleapis.com/instance/network/received_bytes_count. The
|
2176
|
-
# to keep this value constant for each of the instances.
|
2174
|
+
# For example, a good metric to use as a utilization_target is https://www.
|
2175
|
+
# googleapis.com/compute/v1/instance/network/received_bytes_count. The
|
2176
|
+
# autoscaler will work to keep this value constant for each of the instances.
|
2177
2177
|
# Corresponds to the JSON property `utilizationTarget`
|
2178
2178
|
# @return [Float]
|
2179
2179
|
attr_accessor :utilization_target
|
@@ -7057,11 +7057,11 @@ module Google
|
|
7057
7057
|
attr_accessor :subnetwork
|
7058
7058
|
|
7059
7059
|
# The URL of the target resource to receive the matched traffic. For regional
|
7060
|
-
# forwarding rules, this target must
|
7060
|
+
# forwarding rules, this target must be in the same region as the forwarding
|
7061
7061
|
# rule. For global forwarding rules, this target must be a global load balancing
|
7062
7062
|
# resource. The forwarded traffic must be of a type appropriate to the target
|
7063
|
-
# object. For
|
7064
|
-
#
|
7063
|
+
# object. For more information, see the "Target" column in [Port specifications](
|
7064
|
+
# /load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).
|
7065
7065
|
# Corresponds to the JSON property `target`
|
7066
7066
|
# @return [String]
|
7067
7067
|
attr_accessor :target
|
@@ -10579,6 +10579,21 @@ module Google
|
|
10579
10579
|
# @return [Hash<String,String>]
|
10580
10580
|
attr_accessor :labels
|
10581
10581
|
|
10582
|
+
# [Output Only] Last start timestamp in RFC3339 text format.
|
10583
|
+
# Corresponds to the JSON property `lastStartTimestamp`
|
10584
|
+
# @return [String]
|
10585
|
+
attr_accessor :last_start_timestamp
|
10586
|
+
|
10587
|
+
# [Output Only] Last stop timestamp in RFC3339 text format.
|
10588
|
+
# Corresponds to the JSON property `lastStopTimestamp`
|
10589
|
+
# @return [String]
|
10590
|
+
attr_accessor :last_stop_timestamp
|
10591
|
+
|
10592
|
+
# [Output Only] Last suspended timestamp in RFC3339 text format.
|
10593
|
+
# Corresponds to the JSON property `lastSuspendedTimestamp`
|
10594
|
+
# @return [String]
|
10595
|
+
attr_accessor :last_suspended_timestamp
|
10596
|
+
|
10582
10597
|
# Full or partial URL of the machine type resource to use for this instance, in
|
10583
10598
|
# the format: zones/zone/machineTypes/machine-type. This is provided by the
|
10584
10599
|
# client when the instance is created. For example, the following is a valid
|
@@ -10681,7 +10696,8 @@ module Google
|
|
10681
10696
|
|
10682
10697
|
# [Output Only] The status of the instance. One of the following values:
|
10683
10698
|
# PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING,
|
10684
|
-
# and TERMINATED.
|
10699
|
+
# and TERMINATED. For more information about the status of the instance, see
|
10700
|
+
# Instance life cycle.
|
10685
10701
|
# Corresponds to the JSON property `status`
|
10686
10702
|
# @return [String]
|
10687
10703
|
attr_accessor :status
|
@@ -10724,6 +10740,9 @@ module Google
|
|
10724
10740
|
@kind = args[:kind] if args.key?(:kind)
|
10725
10741
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
10726
10742
|
@labels = args[:labels] if args.key?(:labels)
|
10743
|
+
@last_start_timestamp = args[:last_start_timestamp] if args.key?(:last_start_timestamp)
|
10744
|
+
@last_stop_timestamp = args[:last_stop_timestamp] if args.key?(:last_stop_timestamp)
|
10745
|
+
@last_suspended_timestamp = args[:last_suspended_timestamp] if args.key?(:last_suspended_timestamp)
|
10727
10746
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
10728
10747
|
@metadata = args[:metadata] if args.key?(:metadata)
|
10729
10748
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
@@ -18408,7 +18427,8 @@ module Google
|
|
18408
18427
|
class NodeGroupAutoscalingPolicy
|
18409
18428
|
include Google::Apis::Core::Hashable
|
18410
18429
|
|
18411
|
-
# The maximum number of nodes that the group should have.
|
18430
|
+
# The maximum number of nodes that the group should have. Must be set if
|
18431
|
+
# autoscaling is enabled. Maximum value allowed is 100.
|
18412
18432
|
# Corresponds to the JSON property `maxNodes`
|
18413
18433
|
# @return [Fixnum]
|
18414
18434
|
attr_accessor :max_nodes
|
@@ -7181,6 +7181,9 @@ module Google
|
|
7181
7181
|
property :kind, as: 'kind'
|
7182
7182
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
7183
7183
|
hash :labels, as: 'labels'
|
7184
|
+
property :last_start_timestamp, as: 'lastStartTimestamp'
|
7185
|
+
property :last_stop_timestamp, as: 'lastStopTimestamp'
|
7186
|
+
property :last_suspended_timestamp, as: 'lastSuspendedTimestamp'
|
7184
7187
|
property :machine_type, as: 'machineType'
|
7185
7188
|
property :metadata, as: 'metadata', class: Google::Apis::ComputeV1::Metadata, decorator: Google::Apis::ComputeV1::Metadata::Representation
|
7186
7189
|
|
@@ -9647,9 +9647,9 @@ module Google
|
|
9647
9647
|
end
|
9648
9648
|
|
9649
9649
|
# Retrieves a list of resources that refer to the VM instance specified in the
|
9650
|
-
# request. For example, if the VM instance is part of a managed
|
9651
|
-
# the referrers list includes the
|
9652
|
-
# read Viewing
|
9650
|
+
# request. For example, if the VM instance is part of a managed or unmanaged
|
9651
|
+
# instance group, the referrers list includes the instance group. For more
|
9652
|
+
# information, read Viewing referrers to VM instances.
|
9653
9653
|
# @param [String] project
|
9654
9654
|
# Project ID for this request.
|
9655
9655
|
# @param [String] zone
|