google-api-client 0.40.0 → 0.40.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +53 -0
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +5 -6
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
- data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +21 -2
- data/generated/google/apis/androidpublisher_v3/representations.rb +2 -0
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
- data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
- data/generated/google/apis/appsmarket_v2/service.rb +24 -39
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +14 -2
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +42 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +12 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +12 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +6 -4
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +9 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +63 -99
- data/generated/google/apis/compute_alpha/representations.rb +14 -32
- data/generated/google/apis/compute_alpha/service.rb +37 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +51 -26
- data/generated/google/apis/compute_beta/representations.rb +3 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +5 -5
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +34 -0
- data/generated/google/apis/content_v2/representations.rb +16 -0
- data/generated/google/apis/content_v2/service.rb +5 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +357 -5
- data/generated/google/apis/content_v2_1/representations.rb +135 -0
- data/generated/google/apis/content_v2_1/service.rb +85 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +22 -22
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +23 -23
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +9 -29
- data/generated/google/apis/dialogflow_v2/representations.rb +0 -4
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -28
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +0 -4
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +463 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +238 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1718 -376
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +0 -1156
- data/generated/google/apis/file_v1/representations.rb +0 -381
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
- data/generated/google/apis/file_v1beta1/representations.rb +14 -376
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +3 -3
- data/generated/google/apis/healthcare_v1/service.rb +3 -3
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +3 -3
- data/generated/google/apis/healthcare_v1beta1/service.rb +3 -3
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +36 -5
- data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +100 -0
- data/generated/google/apis/people_v1/representations.rb +31 -0
- data/generated/google/apis/people_v1/service.rb +95 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +15 -1
- data/generated/google/apis/pubsub_v1/representations.rb +12 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -1
- data/generated/google/apis/{dialogflow_v3alpha1.rb → recommender_v1.rb} +9 -13
- data/generated/google/apis/recommender_v1/classes.rb +505 -0
- data/generated/google/apis/recommender_v1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1/service.rb +266 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +9 -0
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +9 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +97 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +97 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +32 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +89 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +32 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +89 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +32 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
- data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1 -2
- data/generated/google/apis/spanner_v1/service.rb +8 -8
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +32 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/core/api_command.rb +12 -7
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -7
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5579
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2295
- data/generated/google/apis/dialogflow_v3alpha1/service.rb +0 -296
|
@@ -310,18 +310,6 @@ module Google
|
|
|
310
310
|
include Google::Apis::Core::JsonObjectSupport
|
|
311
311
|
end
|
|
312
312
|
|
|
313
|
-
class AutoscalingPolicyQueueBasedScaling
|
|
314
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
|
-
|
|
316
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
317
|
-
end
|
|
318
|
-
|
|
319
|
-
class AutoscalingPolicyQueueBasedScalingCloudPubSub
|
|
320
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
321
|
-
|
|
322
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
323
|
-
end
|
|
324
|
-
|
|
325
313
|
class AutoscalingPolicyScaleDownControl
|
|
326
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
315
|
|
|
@@ -1012,6 +1000,12 @@ module Google
|
|
|
1012
1000
|
include Google::Apis::Core::JsonObjectSupport
|
|
1013
1001
|
end
|
|
1014
1002
|
|
|
1003
|
+
class GetOwnerInstanceResponse
|
|
1004
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1005
|
+
|
|
1006
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1007
|
+
end
|
|
1008
|
+
|
|
1015
1009
|
class GlobalNetworkEndpointGroupsAttachEndpointsRequest
|
|
1016
1010
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1017
1011
|
|
|
@@ -5953,8 +5947,6 @@ module Google
|
|
|
5953
5947
|
property :max_num_replicas, as: 'maxNumReplicas'
|
|
5954
5948
|
property :min_num_replicas, as: 'minNumReplicas'
|
|
5955
5949
|
property :mode, as: 'mode'
|
|
5956
|
-
property :queue_based_scaling, as: 'queueBasedScaling', class: Google::Apis::ComputeAlpha::AutoscalingPolicyQueueBasedScaling, decorator: Google::Apis::ComputeAlpha::AutoscalingPolicyQueueBasedScaling::Representation
|
|
5957
|
-
|
|
5958
5950
|
property :scale_down_control, as: 'scaleDownControl', class: Google::Apis::ComputeAlpha::AutoscalingPolicyScaleDownControl, decorator: Google::Apis::ComputeAlpha::AutoscalingPolicyScaleDownControl::Representation
|
|
5959
5951
|
|
|
5960
5952
|
property :scale_in_control, as: 'scaleInControl', class: Google::Apis::ComputeAlpha::AutoscalingPolicyScaleInControl, decorator: Google::Apis::ComputeAlpha::AutoscalingPolicyScaleInControl::Representation
|
|
@@ -5988,24 +5980,6 @@ module Google
|
|
|
5988
5980
|
end
|
|
5989
5981
|
end
|
|
5990
5982
|
|
|
5991
|
-
class AutoscalingPolicyQueueBasedScaling
|
|
5992
|
-
# @private
|
|
5993
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5994
|
-
property :acceptable_backlog_per_instance, as: 'acceptableBacklogPerInstance'
|
|
5995
|
-
property :cloud_pub_sub, as: 'cloudPubSub', class: Google::Apis::ComputeAlpha::AutoscalingPolicyQueueBasedScalingCloudPubSub, decorator: Google::Apis::ComputeAlpha::AutoscalingPolicyQueueBasedScalingCloudPubSub::Representation
|
|
5996
|
-
|
|
5997
|
-
property :single_worker_throughput_per_sec, as: 'singleWorkerThroughputPerSec'
|
|
5998
|
-
end
|
|
5999
|
-
end
|
|
6000
|
-
|
|
6001
|
-
class AutoscalingPolicyQueueBasedScalingCloudPubSub
|
|
6002
|
-
# @private
|
|
6003
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
6004
|
-
property :subscription, as: 'subscription'
|
|
6005
|
-
property :topic, as: 'topic'
|
|
6006
|
-
end
|
|
6007
|
-
end
|
|
6008
|
-
|
|
6009
5983
|
class AutoscalingPolicyScaleDownControl
|
|
6010
5984
|
# @private
|
|
6011
5985
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -6667,6 +6641,7 @@ module Google
|
|
|
6667
6641
|
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeAlpha::GuestOsFeature, decorator: Google::Apis::ComputeAlpha::GuestOsFeature::Representation
|
|
6668
6642
|
|
|
6669
6643
|
property :id, :numeric_string => true, as: 'id'
|
|
6644
|
+
property :interface, as: 'interface'
|
|
6670
6645
|
property :kind, as: 'kind'
|
|
6671
6646
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
|
6672
6647
|
hash :labels, as: 'labels'
|
|
@@ -7339,6 +7314,13 @@ module Google
|
|
|
7339
7314
|
end
|
|
7340
7315
|
end
|
|
7341
7316
|
|
|
7317
|
+
class GetOwnerInstanceResponse
|
|
7318
|
+
# @private
|
|
7319
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7320
|
+
property :instance, as: 'instance'
|
|
7321
|
+
end
|
|
7322
|
+
end
|
|
7323
|
+
|
|
7342
7324
|
class GlobalNetworkEndpointGroupsAttachEndpointsRequest
|
|
7343
7325
|
# @private
|
|
7344
7326
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4443,6 +4443,43 @@ module Google
|
|
|
4443
4443
|
execute_or_queue_command(command, &block)
|
|
4444
4444
|
end
|
|
4445
4445
|
|
|
4446
|
+
# Find owner instance from given ip address
|
|
4447
|
+
# @param [String] project
|
|
4448
|
+
# Project ID for this request.
|
|
4449
|
+
# @param [String] ip_address
|
|
4450
|
+
# The ip_address could be external IPv4, or internal IPv4 within IPv6 form of
|
|
4451
|
+
# virtual_network_id with internal IPv4. IPv6 is not supported yet.
|
|
4452
|
+
# @param [String] fields
|
|
4453
|
+
# Selector specifying which fields to include in a partial response.
|
|
4454
|
+
# @param [String] quota_user
|
|
4455
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
4456
|
+
# characters.
|
|
4457
|
+
# @param [String] user_ip
|
|
4458
|
+
# Deprecated. Please use quotaUser instead.
|
|
4459
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4460
|
+
# Request-specific options
|
|
4461
|
+
#
|
|
4462
|
+
# @yield [result, err] Result & error if block supplied
|
|
4463
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::GetOwnerInstanceResponse] parsed result object
|
|
4464
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4465
|
+
#
|
|
4466
|
+
# @return [Google::Apis::ComputeAlpha::GetOwnerInstanceResponse]
|
|
4467
|
+
#
|
|
4468
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4469
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4470
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4471
|
+
def get_global_address_owner_instance(project, ip_address: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
4472
|
+
command = make_simple_command(:get, '{project}/global/addresses/getOwnerInstance', options)
|
|
4473
|
+
command.response_representation = Google::Apis::ComputeAlpha::GetOwnerInstanceResponse::Representation
|
|
4474
|
+
command.response_class = Google::Apis::ComputeAlpha::GetOwnerInstanceResponse
|
|
4475
|
+
command.params['project'] = project unless project.nil?
|
|
4476
|
+
command.query['ipAddress'] = ip_address unless ip_address.nil?
|
|
4477
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4478
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4479
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
4480
|
+
execute_or_queue_command(command, &block)
|
|
4481
|
+
end
|
|
4482
|
+
|
|
4446
4483
|
# Creates an address resource in the specified project by using the data
|
|
4447
4484
|
# included in the request.
|
|
4448
4485
|
# @param [String] project
|
|
@@ -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 = '20200511'
|
|
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'
|
|
@@ -4866,6 +4866,12 @@ module Google
|
|
|
4866
4866
|
# @return [Fixnum]
|
|
4867
4867
|
attr_accessor :id
|
|
4868
4868
|
|
|
4869
|
+
# Specifies the disk interface to use for attaching this disk, which is either
|
|
4870
|
+
# SCSI or NVME. The default is SCSI.
|
|
4871
|
+
# Corresponds to the JSON property `interface`
|
|
4872
|
+
# @return [String]
|
|
4873
|
+
attr_accessor :interface
|
|
4874
|
+
|
|
4869
4875
|
# [Output Only] Type of the resource. Always compute#disk for disks.
|
|
4870
4876
|
# Corresponds to the JSON property `kind`
|
|
4871
4877
|
# @return [String]
|
|
@@ -5037,7 +5043,7 @@ module Google
|
|
|
5037
5043
|
|
|
5038
5044
|
# URL of the disk type resource describing which disk type to use to create the
|
|
5039
5045
|
# disk. Provide this when creating the disk. For example: projects/project/zones/
|
|
5040
|
-
# zone/diskTypes/pd-standard
|
|
5046
|
+
# zone/diskTypes/pd-standard or pd-ssd
|
|
5041
5047
|
# Corresponds to the JSON property `type`
|
|
5042
5048
|
# @return [String]
|
|
5043
5049
|
attr_accessor :type
|
|
@@ -5067,6 +5073,7 @@ module Google
|
|
|
5067
5073
|
@erase_windows_vss_signature = args[:erase_windows_vss_signature] if args.key?(:erase_windows_vss_signature)
|
|
5068
5074
|
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
|
5069
5075
|
@id = args[:id] if args.key?(:id)
|
|
5076
|
+
@interface = args[:interface] if args.key?(:interface)
|
|
5070
5077
|
@kind = args[:kind] if args.key?(:kind)
|
|
5071
5078
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
|
5072
5079
|
@labels = args[:labels] if args.key?(:labels)
|
|
@@ -8540,6 +8547,7 @@ module Google
|
|
|
8540
8547
|
# @return [String]
|
|
8541
8548
|
attr_accessor :health_status_aggregation_policy
|
|
8542
8549
|
|
|
8550
|
+
# This field is deprecated. Use health_status_aggregation_policy instead.
|
|
8543
8551
|
# Policy for how the results from multiple health checks for the same endpoint
|
|
8544
8552
|
# are aggregated.
|
|
8545
8553
|
# - NO_AGGREGATION. An EndpointHealth message is returned for each backend in
|
|
@@ -8548,7 +8556,7 @@ module Google
|
|
|
8548
8556
|
# HealthState of the entire health check service. If all backend's are healthy,
|
|
8549
8557
|
# the HealthState of the health check service is HEALTHY. .
|
|
8550
8558
|
# Corresponds to the JSON property `healthStatusAggregationStrategy`
|
|
8551
|
-
# @return [
|
|
8559
|
+
# @return [String]
|
|
8552
8560
|
attr_accessor :health_status_aggregation_strategy
|
|
8553
8561
|
|
|
8554
8562
|
# [Output Only] The unique identifier for the resource. This identifier is
|
|
@@ -10693,6 +10701,11 @@ module Google
|
|
|
10693
10701
|
attr_accessor :can_ip_forward
|
|
10694
10702
|
alias_method :can_ip_forward?, :can_ip_forward
|
|
10695
10703
|
|
|
10704
|
+
# A set of Confidential Instance options.
|
|
10705
|
+
# Corresponds to the JSON property `confidentialInstanceConfig`
|
|
10706
|
+
# @return [Google::Apis::ComputeBeta::ConfidentialInstanceConfig]
|
|
10707
|
+
attr_accessor :confidential_instance_config
|
|
10708
|
+
|
|
10696
10709
|
# [Output Only] The CPU platform used by this instance.
|
|
10697
10710
|
# Corresponds to the JSON property `cpuPlatform`
|
|
10698
10711
|
# @return [String]
|
|
@@ -10907,8 +10920,8 @@ module Google
|
|
|
10907
10920
|
alias_method :start_restricted?, :start_restricted
|
|
10908
10921
|
|
|
10909
10922
|
# [Output Only] The status of the instance. One of the following values:
|
|
10910
|
-
# PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED,
|
|
10911
|
-
# TERMINATED.
|
|
10923
|
+
# PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING,
|
|
10924
|
+
# and TERMINATED.
|
|
10912
10925
|
# Corresponds to the JSON property `status`
|
|
10913
10926
|
# @return [String]
|
|
10914
10927
|
attr_accessor :status
|
|
@@ -10937,6 +10950,7 @@ module Google
|
|
|
10937
10950
|
# Update properties of this object
|
|
10938
10951
|
def update!(**args)
|
|
10939
10952
|
@can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
|
|
10953
|
+
@confidential_instance_config = args[:confidential_instance_config] if args.key?(:confidential_instance_config)
|
|
10940
10954
|
@cpu_platform = args[:cpu_platform] if args.key?(:cpu_platform)
|
|
10941
10955
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
10942
10956
|
@deletion_protection = args[:deletion_protection] if args.key?(:deletion_protection)
|
|
@@ -25778,7 +25792,7 @@ module Google
|
|
|
25778
25792
|
end
|
|
25779
25793
|
|
|
25780
25794
|
# Represents a Cloud Router resource.
|
|
25781
|
-
# For more information about Cloud Router, read the
|
|
25795
|
+
# For more information about Cloud Router, read the Cloud Router overview.
|
|
25782
25796
|
class Router
|
|
25783
25797
|
include Google::Apis::Core::Hashable
|
|
25784
25798
|
|
|
@@ -26052,12 +26066,14 @@ module Google
|
|
|
26052
26066
|
attr_accessor :asn
|
|
26053
26067
|
|
|
26054
26068
|
# The interval in seconds between BGP keepalive messages that are sent to the
|
|
26055
|
-
# peer.
|
|
26056
|
-
#
|
|
26057
|
-
#
|
|
26058
|
-
#
|
|
26059
|
-
#
|
|
26060
|
-
#
|
|
26069
|
+
# peer.
|
|
26070
|
+
# Not currently available publicly.
|
|
26071
|
+
# Hold time is three times the interval at which keepalive messages are sent,
|
|
26072
|
+
# and the hold time is the maximum number of seconds allowed to elapse between
|
|
26073
|
+
# successive keepalive messages that BGP receives from a peer.
|
|
26074
|
+
# BGP will use the smaller of either the local hold time value or the peer's
|
|
26075
|
+
# hold time value as the hold time for the BGP connection between the two peers.
|
|
26076
|
+
# If set, this value must be between 1 and 120. The default is 20.
|
|
26061
26077
|
# Corresponds to the JSON property `keepaliveInterval`
|
|
26062
26078
|
# @return [Fixnum]
|
|
26063
26079
|
attr_accessor :keepalive_interval
|
|
@@ -26115,14 +26131,16 @@ module Google
|
|
|
26115
26131
|
attr_accessor :advertised_route_priority
|
|
26116
26132
|
|
|
26117
26133
|
# BFD configuration for the BGP peering.
|
|
26134
|
+
# Not currently available publicly.
|
|
26118
26135
|
# Corresponds to the JSON property `bfd`
|
|
26119
26136
|
# @return [Google::Apis::ComputeBeta::RouterBgpPeerBfd]
|
|
26120
26137
|
attr_accessor :bfd
|
|
26121
26138
|
|
|
26122
|
-
# The status of the BGP peer connection.
|
|
26123
|
-
#
|
|
26124
|
-
# If set to
|
|
26125
|
-
# information.
|
|
26139
|
+
# The status of the BGP peer connection.
|
|
26140
|
+
# Not currently available publicly.
|
|
26141
|
+
# If set to FALSE, any active session with the peer is terminated and all
|
|
26142
|
+
# associated routing information is removed. If set to TRUE, the peer connection
|
|
26143
|
+
# can be established with routing information. The default is TRUE.
|
|
26126
26144
|
# Corresponds to the JSON property `enable`
|
|
26127
26145
|
# @return [String]
|
|
26128
26146
|
attr_accessor :enable
|
|
@@ -26199,8 +26217,10 @@ module Google
|
|
|
26199
26217
|
# The minimum interval, in milliseconds, between BFD control packets received
|
|
26200
26218
|
# from the peer router. The actual value is negotiated between the two routers
|
|
26201
26219
|
# and is equal to the greater of this value and the transmit interval of the
|
|
26202
|
-
# other router.
|
|
26203
|
-
#
|
|
26220
|
+
# other router.
|
|
26221
|
+
# Not currently available publicly.
|
|
26222
|
+
# If set, this value must be between 100 and 30000.
|
|
26223
|
+
# The default is 300.
|
|
26204
26224
|
# Corresponds to the JSON property `minReceiveInterval`
|
|
26205
26225
|
# @return [Fixnum]
|
|
26206
26226
|
attr_accessor :min_receive_interval
|
|
@@ -26208,24 +26228,29 @@ module Google
|
|
|
26208
26228
|
# The minimum interval, in milliseconds, between BFD control packets transmitted
|
|
26209
26229
|
# to the peer router. The actual value is negotiated between the two routers and
|
|
26210
26230
|
# is equal to the greater of this value and the corresponding receive interval
|
|
26211
|
-
# of the other router.
|
|
26212
|
-
#
|
|
26231
|
+
# of the other router.
|
|
26232
|
+
# Not currently available publicly.
|
|
26233
|
+
# If set, this value must be between 100 and 30000.
|
|
26234
|
+
# The default is 300.
|
|
26213
26235
|
# Corresponds to the JSON property `minTransmitInterval`
|
|
26214
26236
|
# @return [Fixnum]
|
|
26215
26237
|
attr_accessor :min_transmit_interval
|
|
26216
26238
|
|
|
26217
26239
|
# The number of consecutive BFD packets that must be missed before BFD declares
|
|
26218
|
-
# that a peer is unavailable.
|
|
26240
|
+
# that a peer is unavailable.
|
|
26241
|
+
# Not currently available publicly.
|
|
26242
|
+
# If set, the value must be a value between 2 and 16.
|
|
26219
26243
|
# The default is 3.
|
|
26220
26244
|
# Corresponds to the JSON property `multiplier`
|
|
26221
26245
|
# @return [Fixnum]
|
|
26222
26246
|
attr_accessor :multiplier
|
|
26223
26247
|
|
|
26224
|
-
# The BFD session initialization mode for this BGP peer.
|
|
26225
|
-
#
|
|
26226
|
-
#
|
|
26227
|
-
#
|
|
26228
|
-
# peer.
|
|
26248
|
+
# The BFD session initialization mode for this BGP peer.
|
|
26249
|
+
# Not currently available publicly.
|
|
26250
|
+
# If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP
|
|
26251
|
+
# peer. If set to PASSIVE, the Cloud Router will wait for the peer router to
|
|
26252
|
+
# initiate the BFD session for this BGP peer. If set to DISABLED, BFD is
|
|
26253
|
+
# disabled for this BGP peer. The default is PASSIVE.
|
|
26229
26254
|
# Corresponds to the JSON property `sessionInitializationMode`
|
|
26230
26255
|
# @return [String]
|
|
26231
26256
|
attr_accessor :session_initialization_mode
|
|
@@ -26820,7 +26845,7 @@ module Google
|
|
|
26820
26845
|
include Google::Apis::Core::Hashable
|
|
26821
26846
|
|
|
26822
26847
|
# Represents a Cloud Router resource.
|
|
26823
|
-
# For more information about Cloud Router, read the
|
|
26848
|
+
# For more information about Cloud Router, read the Cloud Router overview.
|
|
26824
26849
|
# Corresponds to the JSON property `resource`
|
|
26825
26850
|
# @return [Google::Apis::ComputeBeta::Router]
|
|
26826
26851
|
attr_accessor :resource
|
|
@@ -6018,6 +6018,7 @@ module Google
|
|
|
6018
6018
|
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeBeta::GuestOsFeature, decorator: Google::Apis::ComputeBeta::GuestOsFeature::Representation
|
|
6019
6019
|
|
|
6020
6020
|
property :id, :numeric_string => true, as: 'id'
|
|
6021
|
+
property :interface, as: 'interface'
|
|
6021
6022
|
property :kind, as: 'kind'
|
|
6022
6023
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
|
6023
6024
|
hash :labels, as: 'labels'
|
|
@@ -7359,6 +7360,8 @@ module Google
|
|
|
7359
7360
|
# @private
|
|
7360
7361
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7361
7362
|
property :can_ip_forward, as: 'canIpForward'
|
|
7363
|
+
property :confidential_instance_config, as: 'confidentialInstanceConfig', class: Google::Apis::ComputeBeta::ConfidentialInstanceConfig, decorator: Google::Apis::ComputeBeta::ConfidentialInstanceConfig::Representation
|
|
7364
|
+
|
|
7362
7365
|
property :cpu_platform, as: 'cpuPlatform'
|
|
7363
7366
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
7364
7367
|
property :deletion_protection, as: 'deletionProtection'
|
|
@@ -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 = '20200511'
|
|
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'
|
|
@@ -4600,7 +4600,7 @@ module Google
|
|
|
4600
4600
|
|
|
4601
4601
|
# URL of the disk type resource describing which disk type to use to create the
|
|
4602
4602
|
# disk. Provide this when creating the disk. For example: projects/project/zones/
|
|
4603
|
-
# zone/diskTypes/pd-standard
|
|
4603
|
+
# zone/diskTypes/pd-standard or pd-ssd
|
|
4604
4604
|
# Corresponds to the JSON property `type`
|
|
4605
4605
|
# @return [String]
|
|
4606
4606
|
attr_accessor :type
|
|
@@ -10078,8 +10078,8 @@ module Google
|
|
|
10078
10078
|
alias_method :start_restricted?, :start_restricted
|
|
10079
10079
|
|
|
10080
10080
|
# [Output Only] The status of the instance. One of the following values:
|
|
10081
|
-
# PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED,
|
|
10082
|
-
# TERMINATED.
|
|
10081
|
+
# PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING,
|
|
10082
|
+
# and TERMINATED.
|
|
10083
10083
|
# Corresponds to the JSON property `status`
|
|
10084
10084
|
# @return [String]
|
|
10085
10085
|
attr_accessor :status
|
|
@@ -23483,7 +23483,7 @@ module Google
|
|
|
23483
23483
|
end
|
|
23484
23484
|
|
|
23485
23485
|
# Represents a Cloud Router resource.
|
|
23486
|
-
# For more information about Cloud Router, read the
|
|
23486
|
+
# For more information about Cloud Router, read the Cloud Router overview.
|
|
23487
23487
|
class Router
|
|
23488
23488
|
include Google::Apis::Core::Hashable
|
|
23489
23489
|
|
|
@@ -24441,7 +24441,7 @@ module Google
|
|
|
24441
24441
|
include Google::Apis::Core::Hashable
|
|
24442
24442
|
|
|
24443
24443
|
# Represents a Cloud Router resource.
|
|
24444
|
-
# For more information about Cloud Router, read the
|
|
24444
|
+
# For more information about Cloud Router, read the Cloud Router overview.
|
|
24445
24445
|
# Corresponds to the JSON property `resource`
|
|
24446
24446
|
# @return [Google::Apis::ComputeV1::Router]
|
|
24447
24447
|
attr_accessor :resource
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
|
27
27
|
module ContentV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200529'
|
|
30
30
|
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
|
@@ -5740,6 +5740,11 @@ module Google
|
|
|
5740
5740
|
# @return [Array<Google::Apis::ContentV2::OrderShipmentLineItemShipment>]
|
|
5741
5741
|
attr_accessor :line_items
|
|
5742
5742
|
|
|
5743
|
+
# Delivery details of the shipment if scheduling is needed.
|
|
5744
|
+
# Corresponds to the JSON property `scheduledDeliveryDetails`
|
|
5745
|
+
# @return [Google::Apis::ContentV2::OrderShipmentScheduledDeliveryDetails]
|
|
5746
|
+
attr_accessor :scheduled_delivery_details
|
|
5747
|
+
|
|
5743
5748
|
# The status of the shipment.
|
|
5744
5749
|
# Acceptable values are:
|
|
5745
5750
|
# - "`delivered`"
|
|
@@ -5766,6 +5771,7 @@ module Google
|
|
|
5766
5771
|
@delivery_date = args[:delivery_date] if args.key?(:delivery_date)
|
|
5767
5772
|
@id = args[:id] if args.key?(:id)
|
|
5768
5773
|
@line_items = args[:line_items] if args.key?(:line_items)
|
|
5774
|
+
@scheduled_delivery_details = args[:scheduled_delivery_details] if args.key?(:scheduled_delivery_details)
|
|
5769
5775
|
@status = args[:status] if args.key?(:status)
|
|
5770
5776
|
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
|
5771
5777
|
end
|
|
@@ -5804,6 +5810,31 @@ module Google
|
|
|
5804
5810
|
end
|
|
5805
5811
|
end
|
|
5806
5812
|
|
|
5813
|
+
#
|
|
5814
|
+
class OrderShipmentScheduledDeliveryDetails
|
|
5815
|
+
include Google::Apis::Core::Hashable
|
|
5816
|
+
|
|
5817
|
+
# The phone number of the carrier fulfilling the delivery.
|
|
5818
|
+
# Corresponds to the JSON property `carrierPhoneNumber`
|
|
5819
|
+
# @return [String]
|
|
5820
|
+
attr_accessor :carrier_phone_number
|
|
5821
|
+
|
|
5822
|
+
# The date a shipment is scheduled for delivery, in ISO 8601 format.
|
|
5823
|
+
# Corresponds to the JSON property `scheduledDate`
|
|
5824
|
+
# @return [String]
|
|
5825
|
+
attr_accessor :scheduled_date
|
|
5826
|
+
|
|
5827
|
+
def initialize(**args)
|
|
5828
|
+
update!(**args)
|
|
5829
|
+
end
|
|
5830
|
+
|
|
5831
|
+
# Update properties of this object
|
|
5832
|
+
def update!(**args)
|
|
5833
|
+
@carrier_phone_number = args[:carrier_phone_number] if args.key?(:carrier_phone_number)
|
|
5834
|
+
@scheduled_date = args[:scheduled_date] if args.key?(:scheduled_date)
|
|
5835
|
+
end
|
|
5836
|
+
end
|
|
5837
|
+
|
|
5807
5838
|
#
|
|
5808
5839
|
class OrderinvoicesCreateChargeInvoiceRequest
|
|
5809
5840
|
include Google::Apis::Core::Hashable
|
|
@@ -7361,6 +7392,7 @@ module Google
|
|
|
7361
7392
|
# Acceptable values are:
|
|
7362
7393
|
# - "`delivered`"
|
|
7363
7394
|
# - "`undeliverable`"
|
|
7395
|
+
# - "`readyForPickup`"
|
|
7364
7396
|
# Corresponds to the JSON property `status`
|
|
7365
7397
|
# @return [String]
|
|
7366
7398
|
attr_accessor :status
|
|
@@ -8356,6 +8388,7 @@ module Google
|
|
|
8356
8388
|
# Acceptable values are:
|
|
8357
8389
|
# - "`delivered`"
|
|
8358
8390
|
# - "`undeliverable`"
|
|
8391
|
+
# - "`readyForPickup`"
|
|
8359
8392
|
# Corresponds to the JSON property `status`
|
|
8360
8393
|
# @return [String]
|
|
8361
8394
|
attr_accessor :status
|
|
@@ -10955,6 +10988,7 @@ module Google
|
|
|
10955
10988
|
# - "`new`"
|
|
10956
10989
|
# - "`shipped`"
|
|
10957
10990
|
# - "`undeliverable`"
|
|
10991
|
+
# - "`pending`"
|
|
10958
10992
|
# Corresponds to the JSON property `state`
|
|
10959
10993
|
# @return [String]
|
|
10960
10994
|
attr_accessor :state
|