google-api-client 0.33.1 → 0.33.2
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 +42 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +11 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +1 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -72
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +15 -2
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +16 -3
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +3 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +3 -3
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +9 -1
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +62 -29
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +6 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +1 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +205 -4
- data/generated/google/apis/container_v1/representations.rb +85 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +93 -2
- data/generated/google/apis/container_v1beta1/representations.rb +18 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +112 -0
- data/generated/google/apis/docs_v1/representations.rb +60 -0
- 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 +1 -1
- data/generated/google/apis/fitness_v1/service.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +11 -7
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/ml_v1.rb +2 -2
- data/generated/google/apis/ml_v1/classes.rb +9 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +1 -1
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +8 -5
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +319 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
- data/generated/google/apis/run_v1alpha1/service.rb +408 -0
- data/generated/google/apis/speech_v2beta1.rb +34 -0
- data/generated/google/apis/speech_v2beta1/classes.rb +356 -0
- data/generated/google/apis/speech_v2beta1/representations.rb +152 -0
- data/generated/google/apis/speech_v2beta1/service.rb +138 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +63 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +32 -0
- data/generated/google/apis/sql_v1beta4/service.rb +161 -30
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +141 -0
- data/generated/google/apis/testing_v1/representations.rb +76 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +34 -34
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
|
@@ -34,12 +34,24 @@ module Google
|
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
+
class AuthenticatorGroupsConfig
|
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
41
|
+
end
|
|
42
|
+
|
|
37
43
|
class AutoUpgradeOptions
|
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
45
|
|
|
40
46
|
include Google::Apis::Core::JsonObjectSupport
|
|
41
47
|
end
|
|
42
48
|
|
|
49
|
+
class AutoprovisioningNodePoolDefaults
|
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
+
end
|
|
54
|
+
|
|
43
55
|
class BigQueryDestination
|
|
44
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
57
|
|
|
@@ -76,6 +88,12 @@ module Google
|
|
|
76
88
|
include Google::Apis::Core::JsonObjectSupport
|
|
77
89
|
end
|
|
78
90
|
|
|
91
|
+
class ClusterAutoscaling
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
79
97
|
class ClusterUpdate
|
|
80
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
99
|
|
|
@@ -298,6 +316,12 @@ module Google
|
|
|
298
316
|
include Google::Apis::Core::JsonObjectSupport
|
|
299
317
|
end
|
|
300
318
|
|
|
319
|
+
class ResourceLimit
|
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
321
|
+
|
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
323
|
+
end
|
|
324
|
+
|
|
301
325
|
class ResourceUsageExportConfig
|
|
302
326
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
303
327
|
|
|
@@ -436,6 +460,12 @@ module Google
|
|
|
436
460
|
include Google::Apis::Core::JsonObjectSupport
|
|
437
461
|
end
|
|
438
462
|
|
|
463
|
+
class VerticalPodAutoscaling
|
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
465
|
+
|
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
467
|
+
end
|
|
468
|
+
|
|
439
469
|
class AcceleratorConfig
|
|
440
470
|
# @private
|
|
441
471
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -458,6 +488,14 @@ module Google
|
|
|
458
488
|
end
|
|
459
489
|
end
|
|
460
490
|
|
|
491
|
+
class AuthenticatorGroupsConfig
|
|
492
|
+
# @private
|
|
493
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
494
|
+
property :enabled, as: 'enabled'
|
|
495
|
+
property :security_group, as: 'securityGroup'
|
|
496
|
+
end
|
|
497
|
+
end
|
|
498
|
+
|
|
461
499
|
class AutoUpgradeOptions
|
|
462
500
|
# @private
|
|
463
501
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -466,6 +504,14 @@ module Google
|
|
|
466
504
|
end
|
|
467
505
|
end
|
|
468
506
|
|
|
507
|
+
class AutoprovisioningNodePoolDefaults
|
|
508
|
+
# @private
|
|
509
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
510
|
+
collection :oauth_scopes, as: 'oauthScopes'
|
|
511
|
+
property :service_account, as: 'serviceAccount'
|
|
512
|
+
end
|
|
513
|
+
end
|
|
514
|
+
|
|
469
515
|
class BigQueryDestination
|
|
470
516
|
# @private
|
|
471
517
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -510,6 +556,10 @@ module Google
|
|
|
510
556
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
511
557
|
property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation
|
|
512
558
|
|
|
559
|
+
property :authenticator_groups_config, as: 'authenticatorGroupsConfig', class: Google::Apis::ContainerV1::AuthenticatorGroupsConfig, decorator: Google::Apis::ContainerV1::AuthenticatorGroupsConfig::Representation
|
|
560
|
+
|
|
561
|
+
property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1::ClusterAutoscaling::Representation
|
|
562
|
+
|
|
513
563
|
property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
|
|
514
564
|
|
|
515
565
|
property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
|
|
@@ -568,10 +618,24 @@ module Google
|
|
|
568
618
|
property :status_message, as: 'statusMessage'
|
|
569
619
|
property :subnetwork, as: 'subnetwork'
|
|
570
620
|
property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock'
|
|
621
|
+
property :vertical_pod_autoscaling, as: 'verticalPodAutoscaling', class: Google::Apis::ContainerV1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1::VerticalPodAutoscaling::Representation
|
|
622
|
+
|
|
571
623
|
property :zone, as: 'zone'
|
|
572
624
|
end
|
|
573
625
|
end
|
|
574
626
|
|
|
627
|
+
class ClusterAutoscaling
|
|
628
|
+
# @private
|
|
629
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
630
|
+
collection :autoprovisioning_locations, as: 'autoprovisioningLocations'
|
|
631
|
+
property :autoprovisioning_node_pool_defaults, as: 'autoprovisioningNodePoolDefaults', class: Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults, decorator: Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults::Representation
|
|
632
|
+
|
|
633
|
+
property :enable_node_autoprovisioning, as: 'enableNodeAutoprovisioning'
|
|
634
|
+
collection :resource_limits, as: 'resourceLimits', class: Google::Apis::ContainerV1::ResourceLimit, decorator: Google::Apis::ContainerV1::ResourceLimit::Representation
|
|
635
|
+
|
|
636
|
+
end
|
|
637
|
+
end
|
|
638
|
+
|
|
575
639
|
class ClusterUpdate
|
|
576
640
|
# @private
|
|
577
641
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -579,6 +643,8 @@ module Google
|
|
|
579
643
|
|
|
580
644
|
property :desired_binary_authorization, as: 'desiredBinaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
|
|
581
645
|
|
|
646
|
+
property :desired_cluster_autoscaling, as: 'desiredClusterAutoscaling', class: Google::Apis::ContainerV1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1::ClusterAutoscaling::Representation
|
|
647
|
+
|
|
582
648
|
property :desired_database_encryption, as: 'desiredDatabaseEncryption', class: Google::Apis::ContainerV1::DatabaseEncryption, decorator: Google::Apis::ContainerV1::DatabaseEncryption::Representation
|
|
583
649
|
|
|
584
650
|
property :desired_image_type, as: 'desiredImageType'
|
|
@@ -596,6 +662,8 @@ module Google
|
|
|
596
662
|
property :desired_node_version, as: 'desiredNodeVersion'
|
|
597
663
|
property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
|
|
598
664
|
|
|
665
|
+
property :desired_vertical_pod_autoscaling, as: 'desiredVerticalPodAutoscaling', class: Google::Apis::ContainerV1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1::VerticalPodAutoscaling::Representation
|
|
666
|
+
|
|
599
667
|
end
|
|
600
668
|
end
|
|
601
669
|
|
|
@@ -928,6 +996,7 @@ module Google
|
|
|
928
996
|
class NodePoolAutoscaling
|
|
929
997
|
# @private
|
|
930
998
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
999
|
+
property :autoprovisioned, as: 'autoprovisioned'
|
|
931
1000
|
property :enabled, as: 'enabled'
|
|
932
1001
|
property :max_node_count, as: 'maxNodeCount'
|
|
933
1002
|
property :min_node_count, as: 'minNodeCount'
|
|
@@ -975,6 +1044,15 @@ module Google
|
|
|
975
1044
|
end
|
|
976
1045
|
end
|
|
977
1046
|
|
|
1047
|
+
class ResourceLimit
|
|
1048
|
+
# @private
|
|
1049
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1050
|
+
property :maximum, :numeric_string => true, as: 'maximum'
|
|
1051
|
+
property :minimum, :numeric_string => true, as: 'minimum'
|
|
1052
|
+
property :resource_type, as: 'resourceType'
|
|
1053
|
+
end
|
|
1054
|
+
end
|
|
1055
|
+
|
|
978
1056
|
class ResourceUsageExportConfig
|
|
979
1057
|
# @private
|
|
980
1058
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1234,6 +1312,13 @@ module Google
|
|
|
1234
1312
|
property :status, as: 'status'
|
|
1235
1313
|
end
|
|
1236
1314
|
end
|
|
1315
|
+
|
|
1316
|
+
class VerticalPodAutoscaling
|
|
1317
|
+
# @private
|
|
1318
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1319
|
+
property :enabled, as: 'enabled'
|
|
1320
|
+
end
|
|
1321
|
+
end
|
|
1237
1322
|
end
|
|
1238
1323
|
end
|
|
1239
1324
|
end
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
|
27
27
|
module ContainerV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20191021'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -887,7 +887,7 @@ module Google
|
|
|
887
887
|
# The logging service the cluster should use to write metrics.
|
|
888
888
|
# Currently available options:
|
|
889
889
|
# * "logging.googleapis.com/kubernetes" - the Google Cloud Logging
|
|
890
|
-
# service with Kubernetes-native resource model
|
|
890
|
+
# service with Kubernetes-native resource model
|
|
891
891
|
# * "logging.googleapis.com" - the Google Cloud Logging service
|
|
892
892
|
# * "none" - no logs will be exported from the cluster
|
|
893
893
|
# Corresponds to the JSON property `desiredLoggingService`
|
|
@@ -918,7 +918,7 @@ module Google
|
|
|
918
918
|
# The monitoring service the cluster should use to write metrics.
|
|
919
919
|
# Currently available options:
|
|
920
920
|
# * "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring
|
|
921
|
-
# service with Kubernetes-native resource model
|
|
921
|
+
# service with Kubernetes-native resource model
|
|
922
922
|
# * "monitoring.googleapis.com" - the Google Cloud Monitoring service
|
|
923
923
|
# * "none" - no metrics will be exported from the cluster
|
|
924
924
|
# Corresponds to the JSON property `desiredMonitoringService`
|
|
@@ -2523,6 +2523,28 @@ module Google
|
|
|
2523
2523
|
# @return [String]
|
|
2524
2524
|
attr_accessor :status_message
|
|
2525
2525
|
|
|
2526
|
+
# These upgrade settings control the level of parallelism and the level of
|
|
2527
|
+
# disruption caused by an upgrade.
|
|
2528
|
+
# maxUnavailable controls the number of nodes that can be simultaneously
|
|
2529
|
+
# unavailable.
|
|
2530
|
+
# maxSurge controls the number of additional nodes that can be added to the
|
|
2531
|
+
# node pool temporarily for the time of the upgrade to increase the number of
|
|
2532
|
+
# available nodes.
|
|
2533
|
+
# (maxUnavailable + maxSurge) determines the level of parallelism (how many
|
|
2534
|
+
# nodes are being upgraded at the same time).
|
|
2535
|
+
# Note: upgrades inevitably introduce some disruption since workloads need to
|
|
2536
|
+
# be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
|
|
2537
|
+
# this holds true. (Disruption stays within the limits of
|
|
2538
|
+
# PodDisruptionBudget, if it is configured.)
|
|
2539
|
+
# Consider a hypothetical node pool with 5 nodes having maxSurge=2,
|
|
2540
|
+
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
|
2541
|
+
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
|
2542
|
+
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
|
2543
|
+
# there are always at least 4 nodes available.
|
|
2544
|
+
# Corresponds to the JSON property `upgradeSettings`
|
|
2545
|
+
# @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
|
|
2546
|
+
attr_accessor :upgrade_settings
|
|
2547
|
+
|
|
2526
2548
|
# The version of the Kubernetes of this node.
|
|
2527
2549
|
# Corresponds to the JSON property `version`
|
|
2528
2550
|
# @return [String]
|
|
@@ -2547,6 +2569,7 @@ module Google
|
|
|
2547
2569
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
2548
2570
|
@status = args[:status] if args.key?(:status)
|
|
2549
2571
|
@status_message = args[:status_message] if args.key?(:status_message)
|
|
2572
|
+
@upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
|
|
2550
2573
|
@version = args[:version] if args.key?(:version)
|
|
2551
2574
|
end
|
|
2552
2575
|
end
|
|
@@ -4212,6 +4235,28 @@ module Google
|
|
|
4212
4235
|
# @return [String]
|
|
4213
4236
|
attr_accessor :project_id
|
|
4214
4237
|
|
|
4238
|
+
# These upgrade settings control the level of parallelism and the level of
|
|
4239
|
+
# disruption caused by an upgrade.
|
|
4240
|
+
# maxUnavailable controls the number of nodes that can be simultaneously
|
|
4241
|
+
# unavailable.
|
|
4242
|
+
# maxSurge controls the number of additional nodes that can be added to the
|
|
4243
|
+
# node pool temporarily for the time of the upgrade to increase the number of
|
|
4244
|
+
# available nodes.
|
|
4245
|
+
# (maxUnavailable + maxSurge) determines the level of parallelism (how many
|
|
4246
|
+
# nodes are being upgraded at the same time).
|
|
4247
|
+
# Note: upgrades inevitably introduce some disruption since workloads need to
|
|
4248
|
+
# be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
|
|
4249
|
+
# this holds true. (Disruption stays within the limits of
|
|
4250
|
+
# PodDisruptionBudget, if it is configured.)
|
|
4251
|
+
# Consider a hypothetical node pool with 5 nodes having maxSurge=2,
|
|
4252
|
+
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
|
4253
|
+
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
|
4254
|
+
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
|
4255
|
+
# there are always at least 4 nodes available.
|
|
4256
|
+
# Corresponds to the JSON property `upgradeSettings`
|
|
4257
|
+
# @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
|
|
4258
|
+
attr_accessor :upgrade_settings
|
|
4259
|
+
|
|
4215
4260
|
# WorkloadMetadataConfig defines the metadata configuration to expose to
|
|
4216
4261
|
# workloads on the node pool.
|
|
4217
4262
|
# Corresponds to the JSON property `workloadMetadataConfig`
|
|
@@ -4239,11 +4284,57 @@ module Google
|
|
|
4239
4284
|
@node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
|
|
4240
4285
|
@node_version = args[:node_version] if args.key?(:node_version)
|
|
4241
4286
|
@project_id = args[:project_id] if args.key?(:project_id)
|
|
4287
|
+
@upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
|
|
4242
4288
|
@workload_metadata_config = args[:workload_metadata_config] if args.key?(:workload_metadata_config)
|
|
4243
4289
|
@zone = args[:zone] if args.key?(:zone)
|
|
4244
4290
|
end
|
|
4245
4291
|
end
|
|
4246
4292
|
|
|
4293
|
+
# These upgrade settings control the level of parallelism and the level of
|
|
4294
|
+
# disruption caused by an upgrade.
|
|
4295
|
+
# maxUnavailable controls the number of nodes that can be simultaneously
|
|
4296
|
+
# unavailable.
|
|
4297
|
+
# maxSurge controls the number of additional nodes that can be added to the
|
|
4298
|
+
# node pool temporarily for the time of the upgrade to increase the number of
|
|
4299
|
+
# available nodes.
|
|
4300
|
+
# (maxUnavailable + maxSurge) determines the level of parallelism (how many
|
|
4301
|
+
# nodes are being upgraded at the same time).
|
|
4302
|
+
# Note: upgrades inevitably introduce some disruption since workloads need to
|
|
4303
|
+
# be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
|
|
4304
|
+
# this holds true. (Disruption stays within the limits of
|
|
4305
|
+
# PodDisruptionBudget, if it is configured.)
|
|
4306
|
+
# Consider a hypothetical node pool with 5 nodes having maxSurge=2,
|
|
4307
|
+
# maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
|
4308
|
+
# simultaneously. It creates 2 additional (upgraded) nodes, then it brings
|
|
4309
|
+
# down 3 old (not yet upgraded) nodes at the same time. This ensures that
|
|
4310
|
+
# there are always at least 4 nodes available.
|
|
4311
|
+
class UpgradeSettings
|
|
4312
|
+
include Google::Apis::Core::Hashable
|
|
4313
|
+
|
|
4314
|
+
# The maximum number of nodes that can be created beyond the current size
|
|
4315
|
+
# of the node pool during the upgrade process.
|
|
4316
|
+
# Corresponds to the JSON property `maxSurge`
|
|
4317
|
+
# @return [Fixnum]
|
|
4318
|
+
attr_accessor :max_surge
|
|
4319
|
+
|
|
4320
|
+
# The maximum number of nodes that can be simultaneously unavailable during
|
|
4321
|
+
# the upgrade process. A node is considered available if its status is
|
|
4322
|
+
# Ready.
|
|
4323
|
+
# Corresponds to the JSON property `maxUnavailable`
|
|
4324
|
+
# @return [Fixnum]
|
|
4325
|
+
attr_accessor :max_unavailable
|
|
4326
|
+
|
|
4327
|
+
def initialize(**args)
|
|
4328
|
+
update!(**args)
|
|
4329
|
+
end
|
|
4330
|
+
|
|
4331
|
+
# Update properties of this object
|
|
4332
|
+
def update!(**args)
|
|
4333
|
+
@max_surge = args[:max_surge] if args.key?(:max_surge)
|
|
4334
|
+
@max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable)
|
|
4335
|
+
end
|
|
4336
|
+
end
|
|
4337
|
+
|
|
4247
4338
|
# UsableSubnetwork resource returns the subnetwork name, its associated network
|
|
4248
4339
|
# and the primary CIDR range.
|
|
4249
4340
|
class UsableSubnetwork
|
|
@@ -550,6 +550,12 @@ module Google
|
|
|
550
550
|
include Google::Apis::Core::JsonObjectSupport
|
|
551
551
|
end
|
|
552
552
|
|
|
553
|
+
class UpgradeSettings
|
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
555
|
+
|
|
556
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
557
|
+
end
|
|
558
|
+
|
|
553
559
|
class UsableSubnetwork
|
|
554
560
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
555
561
|
|
|
@@ -1189,6 +1195,8 @@ module Google
|
|
|
1189
1195
|
property :self_link, as: 'selfLink'
|
|
1190
1196
|
property :status, as: 'status'
|
|
1191
1197
|
property :status_message, as: 'statusMessage'
|
|
1198
|
+
property :upgrade_settings, as: 'upgradeSettings', class: Google::Apis::ContainerV1beta1::UpgradeSettings, decorator: Google::Apis::ContainerV1beta1::UpgradeSettings::Representation
|
|
1199
|
+
|
|
1192
1200
|
property :version, as: 'version'
|
|
1193
1201
|
end
|
|
1194
1202
|
end
|
|
@@ -1587,12 +1595,22 @@ module Google
|
|
|
1587
1595
|
property :node_pool_id, as: 'nodePoolId'
|
|
1588
1596
|
property :node_version, as: 'nodeVersion'
|
|
1589
1597
|
property :project_id, as: 'projectId'
|
|
1598
|
+
property :upgrade_settings, as: 'upgradeSettings', class: Google::Apis::ContainerV1beta1::UpgradeSettings, decorator: Google::Apis::ContainerV1beta1::UpgradeSettings::Representation
|
|
1599
|
+
|
|
1590
1600
|
property :workload_metadata_config, as: 'workloadMetadataConfig', class: Google::Apis::ContainerV1beta1::WorkloadMetadataConfig, decorator: Google::Apis::ContainerV1beta1::WorkloadMetadataConfig::Representation
|
|
1591
1601
|
|
|
1592
1602
|
property :zone, as: 'zone'
|
|
1593
1603
|
end
|
|
1594
1604
|
end
|
|
1595
1605
|
|
|
1606
|
+
class UpgradeSettings
|
|
1607
|
+
# @private
|
|
1608
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1609
|
+
property :max_surge, as: 'maxSurge'
|
|
1610
|
+
property :max_unavailable, as: 'maxUnavailable'
|
|
1611
|
+
end
|
|
1612
|
+
end
|
|
1613
|
+
|
|
1596
1614
|
class UsableSubnetwork
|
|
1597
1615
|
# @private
|
|
1598
1616
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -364,6 +364,88 @@ module Google
|
|
|
364
364
|
end
|
|
365
365
|
end
|
|
366
366
|
|
|
367
|
+
# Creates a Footer. The new footer will be
|
|
368
|
+
# applied to the DocumentStyle.
|
|
369
|
+
# If a footer of the specified type already exists then a 400 bad request error
|
|
370
|
+
# will be returned.
|
|
371
|
+
class CreateFooterRequest
|
|
372
|
+
include Google::Apis::Core::Hashable
|
|
373
|
+
|
|
374
|
+
# The type of footer to create.
|
|
375
|
+
# Corresponds to the JSON property `type`
|
|
376
|
+
# @return [String]
|
|
377
|
+
attr_accessor :type
|
|
378
|
+
|
|
379
|
+
def initialize(**args)
|
|
380
|
+
update!(**args)
|
|
381
|
+
end
|
|
382
|
+
|
|
383
|
+
# Update properties of this object
|
|
384
|
+
def update!(**args)
|
|
385
|
+
@type = args[:type] if args.key?(:type)
|
|
386
|
+
end
|
|
387
|
+
end
|
|
388
|
+
|
|
389
|
+
# The result of creating a footer.
|
|
390
|
+
class CreateFooterResponse
|
|
391
|
+
include Google::Apis::Core::Hashable
|
|
392
|
+
|
|
393
|
+
# The ID of the created footer.
|
|
394
|
+
# Corresponds to the JSON property `footerId`
|
|
395
|
+
# @return [String]
|
|
396
|
+
attr_accessor :footer_id
|
|
397
|
+
|
|
398
|
+
def initialize(**args)
|
|
399
|
+
update!(**args)
|
|
400
|
+
end
|
|
401
|
+
|
|
402
|
+
# Update properties of this object
|
|
403
|
+
def update!(**args)
|
|
404
|
+
@footer_id = args[:footer_id] if args.key?(:footer_id)
|
|
405
|
+
end
|
|
406
|
+
end
|
|
407
|
+
|
|
408
|
+
# Creates a Header. The new header will be
|
|
409
|
+
# applied to the DocumentStyle.
|
|
410
|
+
# If a header of the specified type already exists then a 400 bad request error
|
|
411
|
+
# will be returned.
|
|
412
|
+
class CreateHeaderRequest
|
|
413
|
+
include Google::Apis::Core::Hashable
|
|
414
|
+
|
|
415
|
+
# The type of header to create.
|
|
416
|
+
# Corresponds to the JSON property `type`
|
|
417
|
+
# @return [String]
|
|
418
|
+
attr_accessor :type
|
|
419
|
+
|
|
420
|
+
def initialize(**args)
|
|
421
|
+
update!(**args)
|
|
422
|
+
end
|
|
423
|
+
|
|
424
|
+
# Update properties of this object
|
|
425
|
+
def update!(**args)
|
|
426
|
+
@type = args[:type] if args.key?(:type)
|
|
427
|
+
end
|
|
428
|
+
end
|
|
429
|
+
|
|
430
|
+
# The result of creating a header.
|
|
431
|
+
class CreateHeaderResponse
|
|
432
|
+
include Google::Apis::Core::Hashable
|
|
433
|
+
|
|
434
|
+
# The ID of the created header.
|
|
435
|
+
# Corresponds to the JSON property `headerId`
|
|
436
|
+
# @return [String]
|
|
437
|
+
attr_accessor :header_id
|
|
438
|
+
|
|
439
|
+
def initialize(**args)
|
|
440
|
+
update!(**args)
|
|
441
|
+
end
|
|
442
|
+
|
|
443
|
+
# Update properties of this object
|
|
444
|
+
def update!(**args)
|
|
445
|
+
@header_id = args[:header_id] if args.key?(:header_id)
|
|
446
|
+
end
|
|
447
|
+
end
|
|
448
|
+
|
|
367
449
|
# Creates a NamedRange referencing the given
|
|
368
450
|
# range.
|
|
369
451
|
class CreateNamedRangeRequest
|
|
@@ -3757,6 +3839,22 @@ module Google
|
|
|
3757
3839
|
class Request
|
|
3758
3840
|
include Google::Apis::Core::Hashable
|
|
3759
3841
|
|
|
3842
|
+
# Creates a Footer. The new footer will be
|
|
3843
|
+
# applied to the DocumentStyle.
|
|
3844
|
+
# If a footer of the specified type already exists then a 400 bad request error
|
|
3845
|
+
# will be returned.
|
|
3846
|
+
# Corresponds to the JSON property `createFooter`
|
|
3847
|
+
# @return [Google::Apis::DocsV1::CreateFooterRequest]
|
|
3848
|
+
attr_accessor :create_footer
|
|
3849
|
+
|
|
3850
|
+
# Creates a Header. The new header will be
|
|
3851
|
+
# applied to the DocumentStyle.
|
|
3852
|
+
# If a header of the specified type already exists then a 400 bad request error
|
|
3853
|
+
# will be returned.
|
|
3854
|
+
# Corresponds to the JSON property `createHeader`
|
|
3855
|
+
# @return [Google::Apis::DocsV1::CreateHeaderRequest]
|
|
3856
|
+
attr_accessor :create_header
|
|
3857
|
+
|
|
3760
3858
|
# Creates a NamedRange referencing the given
|
|
3761
3859
|
# range.
|
|
3762
3860
|
# Corresponds to the JSON property `createNamedRange`
|
|
@@ -3917,6 +4015,8 @@ module Google
|
|
|
3917
4015
|
|
|
3918
4016
|
# Update properties of this object
|
|
3919
4017
|
def update!(**args)
|
|
4018
|
+
@create_footer = args[:create_footer] if args.key?(:create_footer)
|
|
4019
|
+
@create_header = args[:create_header] if args.key?(:create_header)
|
|
3920
4020
|
@create_named_range = args[:create_named_range] if args.key?(:create_named_range)
|
|
3921
4021
|
@create_paragraph_bullets = args[:create_paragraph_bullets] if args.key?(:create_paragraph_bullets)
|
|
3922
4022
|
@delete_content_range = args[:delete_content_range] if args.key?(:delete_content_range)
|
|
@@ -3949,6 +4049,16 @@ module Google
|
|
|
3949
4049
|
class Response
|
|
3950
4050
|
include Google::Apis::Core::Hashable
|
|
3951
4051
|
|
|
4052
|
+
# The result of creating a footer.
|
|
4053
|
+
# Corresponds to the JSON property `createFooter`
|
|
4054
|
+
# @return [Google::Apis::DocsV1::CreateFooterResponse]
|
|
4055
|
+
attr_accessor :create_footer
|
|
4056
|
+
|
|
4057
|
+
# The result of creating a header.
|
|
4058
|
+
# Corresponds to the JSON property `createHeader`
|
|
4059
|
+
# @return [Google::Apis::DocsV1::CreateHeaderResponse]
|
|
4060
|
+
attr_accessor :create_header
|
|
4061
|
+
|
|
3952
4062
|
# The result of creating a named range.
|
|
3953
4063
|
# Corresponds to the JSON property `createNamedRange`
|
|
3954
4064
|
# @return [Google::Apis::DocsV1::CreateNamedRangeResponse]
|
|
@@ -3975,6 +4085,8 @@ module Google
|
|
|
3975
4085
|
|
|
3976
4086
|
# Update properties of this object
|
|
3977
4087
|
def update!(**args)
|
|
4088
|
+
@create_footer = args[:create_footer] if args.key?(:create_footer)
|
|
4089
|
+
@create_header = args[:create_header] if args.key?(:create_header)
|
|
3978
4090
|
@create_named_range = args[:create_named_range] if args.key?(:create_named_range)
|
|
3979
4091
|
@insert_inline_image = args[:insert_inline_image] if args.key?(:insert_inline_image)
|
|
3980
4092
|
@insert_inline_sheets_chart = args[:insert_inline_sheets_chart] if args.key?(:insert_inline_sheets_chart)
|