google-api-client 0.28.5 → 0.28.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +46 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -1
  5. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  6. data/generated/google/apis/androidenterprise_v1/classes.rb +18 -4
  7. data/generated/google/apis/bigquery_v2.rb +1 -1
  8. data/generated/google/apis/bigquery_v2/classes.rb +892 -0
  9. data/generated/google/apis/bigquery_v2/representations.rb +352 -0
  10. data/generated/google/apis/bigquery_v2/service.rb +162 -0
  11. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  12. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +78 -0
  13. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +43 -0
  14. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +76 -0
  15. data/generated/google/apis/cloudasset_v1.rb +2 -2
  16. data/generated/google/apis/cloudasset_v1/service.rb +1 -1
  17. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  18. data/generated/google/apis/cloudasset_v1beta1/service.rb +1 -1
  19. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  20. data/generated/google/apis/cloudbuild_v1/classes.rb +6 -0
  21. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  22. data/generated/google/apis/cloudbuild_v1/service.rb +7 -1
  23. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  24. data/generated/google/apis/cloudfunctions_v1/classes.rb +10 -10
  25. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  26. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +10 -10
  27. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  28. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +100 -0
  29. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +33 -0
  30. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  31. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -2
  32. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -0
  33. data/generated/google/apis/cloudshell_v1alpha1/service.rb +5 -4
  34. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  35. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  36. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  37. data/generated/google/apis/composer_v1beta1.rb +1 -1
  38. data/generated/google/apis/composer_v1beta1/classes.rb +24 -21
  39. data/generated/google/apis/container_v1.rb +1 -1
  40. data/generated/google/apis/container_v1/classes.rb +31 -0
  41. data/generated/google/apis/container_v1/representations.rb +3 -0
  42. data/generated/google/apis/container_v1beta1.rb +1 -1
  43. data/generated/google/apis/container_v1beta1/classes.rb +70 -0
  44. data/generated/google/apis/container_v1beta1/representations.rb +32 -0
  45. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  46. data/generated/google/apis/dataflow_v1b3/classes.rb +19 -10
  47. data/generated/google/apis/dataflow_v1b3/representations.rb +1 -0
  48. data/generated/google/apis/dialogflow_v2.rb +1 -1
  49. data/generated/google/apis/dialogflow_v2/classes.rb +1 -1
  50. data/generated/google/apis/dlp_v2.rb +1 -1
  51. data/generated/google/apis/dlp_v2/classes.rb +45 -0
  52. data/generated/google/apis/dlp_v2/representations.rb +20 -0
  53. data/generated/google/apis/dns_v1beta2.rb +1 -1
  54. data/generated/google/apis/dns_v1beta2/classes.rb +71 -0
  55. data/generated/google/apis/dns_v1beta2/representations.rb +33 -0
  56. data/generated/google/apis/factchecktools_v1alpha1.rb +3 -3
  57. data/generated/google/apis/iap_v1.rb +1 -1
  58. data/generated/google/apis/iap_v1beta1.rb +1 -1
  59. data/generated/google/apis/ml_v1.rb +1 -1
  60. data/generated/google/apis/oauth2_v1.rb +1 -1
  61. data/generated/google/apis/oauth2_v2.rb +1 -1
  62. data/generated/google/apis/plus_domains_v1.rb +2 -5
  63. data/generated/google/apis/plus_domains_v1/service.rb +0 -292
  64. data/generated/google/apis/plus_v1.rb +2 -2
  65. data/generated/google/apis/redis_v1.rb +1 -1
  66. data/generated/google/apis/redis_v1/classes.rb +30 -10
  67. data/generated/google/apis/redis_v1/representations.rb +13 -0
  68. data/generated/google/apis/redis_v1/service.rb +36 -0
  69. data/generated/google/apis/redis_v1beta1.rb +1 -1
  70. data/generated/google/apis/redis_v1beta1/classes.rb +18 -11
  71. data/generated/google/apis/servicebroker_v1.rb +1 -1
  72. data/generated/google/apis/servicebroker_v1/classes.rb +1 -1
  73. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  74. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +1 -1
  75. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  76. data/generated/google/apis/servicebroker_v1beta1/classes.rb +1 -1
  77. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  78. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +122 -5
  79. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +26 -0
  80. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +83 -0
  81. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  82. data/generated/google/apis/servicenetworking_v1/classes.rb +83 -5
  83. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  84. data/generated/google/apis/servicenetworking_v1beta/classes.rb +83 -5
  85. data/generated/google/apis/serviceusage_v1.rb +1 -1
  86. data/generated/google/apis/serviceusage_v1/classes.rb +123 -6
  87. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  88. data/generated/google/apis/serviceusage_v1beta1/classes.rb +163 -7
  89. data/generated/google/apis/speech_v1.rb +1 -1
  90. data/generated/google/apis/speech_v1/classes.rb +1 -1
  91. data/generated/google/apis/speech_v1/service.rb +2 -0
  92. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  93. data/generated/google/apis/speech_v1p1beta1/classes.rb +1 -1
  94. data/generated/google/apis/speech_v1p1beta1/service.rb +2 -0
  95. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  96. data/generated/google/apis/sqladmin_v1beta4/classes.rb +62 -0
  97. data/generated/google/apis/sqladmin_v1beta4/representations.rb +32 -0
  98. data/generated/google/apis/testing_v1.rb +1 -1
  99. data/generated/google/apis/testing_v1/classes.rb +0 -14
  100. data/generated/google/apis/testing_v1/representations.rb +0 -1
  101. data/lib/google/apis/version.rb +1 -1
  102. metadata +4 -3
@@ -48,11 +48,12 @@ module Google
48
48
  @batch_path = 'batch'
49
49
  end
50
50
 
51
- # Sends an access token to a running environment on behalf of a user. When
52
- # this completes, the environment will be authorized to run gcloud commands
53
- # without requiring the user to manually authenticate.
51
+ # Sends OAuth credentials to a running environment on behalf of a user. When
52
+ # this completes, the environment will be authorized to run various Google
53
+ # Cloud command line tools without requiring the user to manually
54
+ # authenticate.
54
55
  # @param [String] name
55
- # Name of the resource that should receive the token, for example
56
+ # Name of the resource that should receive the credentials, for example
56
57
  # `users/me/environments/default` or
57
58
  # `users/someone@example.com/environments/default`.
58
59
  # @param [Google::Apis::CloudshellV1alpha1::AuthorizeEnvironmentRequest] authorize_environment_request_object
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/tasks/
26
26
  module CloudtasksV2
27
27
  VERSION = 'V2'
28
- REVISION = '20190314'
28
+ REVISION = '20190326'
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'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/tasks/
26
26
  module CloudtasksV2beta2
27
27
  VERSION = 'V2beta2'
28
- REVISION = '20190314'
28
+ REVISION = '20190326'
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'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/tasks/
26
26
  module CloudtasksV2beta3
27
27
  VERSION = 'V2beta3'
28
- REVISION = '20190314'
28
+ REVISION = '20190326'
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'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/composer/
26
26
  module ComposerV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20190311'
28
+ REVISION = '20190323'
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'
@@ -146,7 +146,8 @@ module Google
146
146
  # @return [Fixnum]
147
147
  attr_accessor :node_count
148
148
 
149
- # The configuration information for configuring a private Composer environment.
149
+ # The configuration information for configuring a Private IP Cloud Composer
150
+ # environment.
150
151
  # Corresponds to the JSON property `privateEnvironmentConfig`
151
152
  # @return [Google::Apis::ComposerV1beta1::PrivateEnvironmentConfig]
152
153
  attr_accessor :private_environment_config
@@ -197,6 +198,7 @@ module Google
197
198
  # Optional. The name of the cluster's secondary range used to allocate
198
199
  # IP addresses to pods. Specify either `cluster_secondary_range_name`
199
200
  # or `cluster_ipv4_cidr_block` but not both.
201
+ # This field is applicable only when `use_ip_aliases` is true.
200
202
  # Corresponds to the JSON property `clusterSecondaryRangeName`
201
203
  # @return [String]
202
204
  attr_accessor :cluster_secondary_range_name
@@ -221,12 +223,13 @@ module Google
221
223
  # Optional. The name of the services' secondary range used to allocate
222
224
  # IP addresses to the cluster. Specify either `services_secondary_range_name`
223
225
  # or `services_ipv4_cidr_block` but not both.
226
+ # This field is applicable only when `use_ip_aliases` is true.
224
227
  # Corresponds to the JSON property `servicesSecondaryRangeName`
225
228
  # @return [String]
226
229
  attr_accessor :services_secondary_range_name
227
230
 
228
231
  # Optional. Whether or not to enable Alias IPs in the GKE cluster.
229
- # If true or if left blank, a VPC-native cluster is created.
232
+ # If `true`, a VPC-native cluster is created.
230
233
  # Corresponds to the JSON property `useIpAliases`
231
234
  # @return [Boolean]
232
235
  attr_accessor :use_ip_aliases
@@ -422,9 +425,8 @@ module Google
422
425
  attr_accessor :network
423
426
 
424
427
  # Optional. The set of Google API scopes to be made available on all
425
- # node VMs. Defaults to
426
- # ["https://www.googleapis.com/auth/cloud-platform"] and must be included in
427
- # the list of specified scopes. Cannot be updated.
428
+ # node VMs. If `oauth_scopes` is empty, defaults to
429
+ # ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be updated.
428
430
  # Corresponds to the JSON property `oauthScopes`
429
431
  # @return [Array<String>]
430
432
  attr_accessor :oauth_scopes
@@ -442,10 +444,8 @@ module Google
442
444
  # For example:
443
445
  # "projects/`projectId`/regions/`regionId`/subnetworks/`subnetworkId`"
444
446
  # If a subnetwork is provided, `nodeConfig.network` must also be provided,
445
- # and the subnetwork must belong to the same project as the network.
446
- # For Shared VPC, you must configure the subnetwork with secondary ranges
447
- # named <strong>composer-pods</strong> and
448
- # <strong>composer-services</strong> to support Alias IPs.
447
+ # and the subnetwork must belong to the enclosing environment's project and
448
+ # location.
449
449
  # Corresponds to the JSON property `subnetwork`
450
450
  # @return [String]
451
451
  attr_accessor :subnetwork
@@ -630,24 +630,24 @@ module Google
630
630
  end
631
631
  end
632
632
 
633
- # Configuration options for private cluster of Composer environment.
633
+ # Configuration options for the private GKE cluster in a Cloud Composer
634
+ # environment.
634
635
  class PrivateClusterConfig
635
636
  include Google::Apis::Core::Hashable
636
637
 
637
- # Optional. If true, access to public endpoint of gke cluster will be denied.
638
- # `IPAllocationPolicy.use_ip_aliases` must be true if this field is
639
- # set to true. Default value is false.
638
+ # Optional. If `true`, access to the public endpoint of the GKE cluster is
639
+ # denied.
640
640
  # Corresponds to the JSON property `enablePrivateEndpoint`
641
641
  # @return [Boolean]
642
642
  attr_accessor :enable_private_endpoint
643
643
  alias_method :enable_private_endpoint?, :enable_private_endpoint
644
644
 
645
645
  # The IP range in CIDR notation to use for the hosted master network. This
646
- # range will be used for assigning internal IP addresses to the cluster
647
- # master or set of masters, as well as the ILB VIP (Internal Load Balance
648
- # Virtual IP).This range must not overlap with any other ranges in use
649
- # within the cluster's network. If left blank, default value of
650
- # '172.16.0.0/28' will be used.
646
+ # range is used for assigning internal IP addresses to the cluster
647
+ # master or set of masters and to the internal load balancer virtual IP.
648
+ # This range must not overlap with any other ranges in use
649
+ # within the cluster's network. If left blank, the default value of
650
+ # '172.16.0.0/28' is used.
651
651
  # Corresponds to the JSON property `masterIpv4CidrBlock`
652
652
  # @return [String]
653
653
  attr_accessor :master_ipv4_cidr_block
@@ -663,17 +663,20 @@ module Google
663
663
  end
664
664
  end
665
665
 
666
- # The configuration information for configuring a private Composer environment.
666
+ # The configuration information for configuring a Private IP Cloud Composer
667
+ # environment.
667
668
  class PrivateEnvironmentConfig
668
669
  include Google::Apis::Core::Hashable
669
670
 
670
- # Optional. If `true`, a private Composer environment is created.
671
+ # Optional. If `true`, a Private IP Cloud Composer environment is created.
672
+ # If this field is true, `use_ip_aliases` must be true.
671
673
  # Corresponds to the JSON property `enablePrivateEnvironment`
672
674
  # @return [Boolean]
673
675
  attr_accessor :enable_private_environment
674
676
  alias_method :enable_private_environment?, :enable_private_environment
675
677
 
676
- # Configuration options for private cluster of Composer environment.
678
+ # Configuration options for the private GKE cluster in a Cloud Composer
679
+ # environment.
677
680
  # Corresponds to the JSON property `privateClusterConfig`
678
681
  # @return [Google::Apis::ComposerV1beta1::PrivateClusterConfig]
679
682
  attr_accessor :private_cluster_config
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190206'
29
+ REVISION = '20190316'
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'
@@ -274,6 +274,12 @@ module Google
274
274
  attr_accessor :enable_kubernetes_alpha
275
275
  alias_method :enable_kubernetes_alpha?, :enable_kubernetes_alpha
276
276
 
277
+ # Enable the ability to use Cloud TPUs in this cluster.
278
+ # Corresponds to the JSON property `enableTpu`
279
+ # @return [Boolean]
280
+ attr_accessor :enable_tpu
281
+ alias_method :enable_tpu?, :enable_tpu
282
+
277
283
  # [Output only] The IP address of this cluster's master endpoint.
278
284
  # The endpoint can be accessed from the internet at
279
285
  # `https://username:password@endpoint/`.
@@ -480,6 +486,13 @@ module Google
480
486
  # @return [String]
481
487
  attr_accessor :subnetwork
482
488
 
489
+ # [Output only] The IP address range of the Cloud TPUs in this cluster, in
490
+ # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
491
+ # notation (e.g. `1.2.3.4/29`).
492
+ # Corresponds to the JSON property `tpuIpv4CidrBlock`
493
+ # @return [String]
494
+ attr_accessor :tpu_ipv4_cidr_block
495
+
483
496
  # [Output only] The name of the Google Compute Engine
484
497
  # [zone](/compute/docs/zones#available) in which the cluster
485
498
  # resides.
@@ -503,6 +516,7 @@ module Google
503
516
  @current_node_version = args[:current_node_version] if args.key?(:current_node_version)
504
517
  @description = args[:description] if args.key?(:description)
505
518
  @enable_kubernetes_alpha = args[:enable_kubernetes_alpha] if args.key?(:enable_kubernetes_alpha)
519
+ @enable_tpu = args[:enable_tpu] if args.key?(:enable_tpu)
506
520
  @endpoint = args[:endpoint] if args.key?(:endpoint)
507
521
  @expire_time = args[:expire_time] if args.key?(:expire_time)
508
522
  @initial_cluster_version = args[:initial_cluster_version] if args.key?(:initial_cluster_version)
@@ -532,6 +546,7 @@ module Google
532
546
  @status = args[:status] if args.key?(:status)
533
547
  @status_message = args[:status_message] if args.key?(:status_message)
534
548
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
549
+ @tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
535
550
  @zone = args[:zone] if args.key?(:zone)
536
551
  end
537
552
  end
@@ -1049,6 +1064,21 @@ module Google
1049
1064
  # @return [String]
1050
1065
  attr_accessor :subnetwork_name
1051
1066
 
1067
+ # The IP address range of the Cloud TPUs in this cluster. If unspecified, a
1068
+ # range will be automatically chosen with the default size.
1069
+ # This field is only applicable when `use_ip_aliases` is true.
1070
+ # If unspecified, the range will use the default size.
1071
+ # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1072
+ # netmask.
1073
+ # Set to a
1074
+ # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1075
+ # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1076
+ # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1077
+ # to use.
1078
+ # Corresponds to the JSON property `tpuIpv4CidrBlock`
1079
+ # @return [String]
1080
+ attr_accessor :tpu_ipv4_cidr_block
1081
+
1052
1082
  # Whether alias IPs will be used for pod IPs in the cluster.
1053
1083
  # Corresponds to the JSON property `useIpAliases`
1054
1084
  # @return [Boolean]
@@ -1071,6 +1101,7 @@ module Google
1071
1101
  @services_ipv4_cidr_block = args[:services_ipv4_cidr_block] if args.key?(:services_ipv4_cidr_block)
1072
1102
  @services_secondary_range_name = args[:services_secondary_range_name] if args.key?(:services_secondary_range_name)
1073
1103
  @subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
1104
+ @tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
1074
1105
  @use_ip_aliases = args[:use_ip_aliases] if args.key?(:use_ip_aliases)
1075
1106
  end
1076
1107
  end
@@ -433,6 +433,7 @@ module Google
433
433
  property :current_node_version, as: 'currentNodeVersion'
434
434
  property :description, as: 'description'
435
435
  property :enable_kubernetes_alpha, as: 'enableKubernetesAlpha'
436
+ property :enable_tpu, as: 'enableTpu'
436
437
  property :endpoint, as: 'endpoint'
437
438
  property :expire_time, as: 'expireTime'
438
439
  property :initial_cluster_version, as: 'initialClusterVersion'
@@ -472,6 +473,7 @@ module Google
472
473
  property :status, as: 'status'
473
474
  property :status_message, as: 'statusMessage'
474
475
  property :subnetwork, as: 'subnetwork'
476
+ property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock'
475
477
  property :zone, as: 'zone'
476
478
  end
477
479
  end
@@ -589,6 +591,7 @@ module Google
589
591
  property :services_ipv4_cidr_block, as: 'servicesIpv4CidrBlock'
590
592
  property :services_secondary_range_name, as: 'servicesSecondaryRangeName'
591
593
  property :subnetwork_name, as: 'subnetworkName'
594
+ property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock'
592
595
  property :use_ip_aliases, as: 'useIpAliases'
593
596
  end
594
597
  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 = '20190227'
29
+ REVISION = '20190316'
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'
@@ -103,6 +103,34 @@ module Google
103
103
  end
104
104
  end
105
105
 
106
+ # Configuration for returning group information from authenticators.
107
+ class AuthenticatorGroupsConfig
108
+ include Google::Apis::Core::Hashable
109
+
110
+ # Whether this cluster should return group membership lookups
111
+ # during authentication using a group of security groups.
112
+ # Corresponds to the JSON property `enabled`
113
+ # @return [Boolean]
114
+ attr_accessor :enabled
115
+ alias_method :enabled?, :enabled
116
+
117
+ # The name of the security group-of-groups to be used. Only relevant
118
+ # if enabled = true.
119
+ # Corresponds to the JSON property `securityGroup`
120
+ # @return [String]
121
+ attr_accessor :security_group
122
+
123
+ def initialize(**args)
124
+ update!(**args)
125
+ end
126
+
127
+ # Update properties of this object
128
+ def update!(**args)
129
+ @enabled = args[:enabled] if args.key?(:enabled)
130
+ @security_group = args[:security_group] if args.key?(:security_group)
131
+ end
132
+ end
133
+
106
134
  # AutoUpgradeOptions defines the set of options for the user to control how
107
135
  # the Auto Upgrades will proceed.
108
136
  class AutoUpgradeOptions
@@ -290,6 +318,11 @@ module Google
290
318
  # @return [Google::Apis::ContainerV1beta1::AddonsConfig]
291
319
  attr_accessor :addons_config
292
320
 
321
+ # Configuration for returning group information from authenticators.
322
+ # Corresponds to the JSON property `authenticatorGroupsConfig`
323
+ # @return [Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig]
324
+ attr_accessor :authenticator_groups_config
325
+
293
326
  # ClusterAutoscaling contains global, per-cluster information
294
327
  # required by Cluster Autoscaler to automatically adjust
295
328
  # the size of the cluster and create/delete
@@ -641,6 +674,7 @@ module Google
641
674
  # Update properties of this object
642
675
  def update!(**args)
643
676
  @addons_config = args[:addons_config] if args.key?(:addons_config)
677
+ @authenticator_groups_config = args[:authenticator_groups_config] if args.key?(:authenticator_groups_config)
644
678
  @autoscaling = args[:autoscaling] if args.key?(:autoscaling)
645
679
  @binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
646
680
  @cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
@@ -759,6 +793,12 @@ module Google
759
793
  # @return [String]
760
794
  attr_accessor :desired_image_type
761
795
 
796
+ # IntraNodeVisibilityConfig contains the desired config of the intra-node
797
+ # visibility on this cluster.
798
+ # Corresponds to the JSON property `desiredIntraNodeVisibilityConfig`
799
+ # @return [Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig]
800
+ attr_accessor :desired_intra_node_visibility_config
801
+
762
802
  # The desired list of Google Compute Engine
763
803
  # [zones](/compute/docs/zones#available) in which the cluster's nodes
764
804
  # should be located. Changing the locations a cluster is in will result
@@ -865,6 +905,7 @@ module Google
865
905
  @desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
866
906
  @desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
867
907
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
908
+ @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
868
909
  @desired_locations = args[:desired_locations] if args.key?(:desired_locations)
869
910
  @desired_logging_service = args[:desired_logging_service] if args.key?(:desired_logging_service)
870
911
  @desired_master_authorized_networks_config = args[:desired_master_authorized_networks_config] if args.key?(:desired_master_authorized_networks_config)
@@ -1373,6 +1414,27 @@ module Google
1373
1414
  end
1374
1415
  end
1375
1416
 
1417
+ # IntraNodeVisibilityConfig contains the desired config of the intra-node
1418
+ # visibility on this cluster.
1419
+ class IntraNodeVisibilityConfig
1420
+ include Google::Apis::Core::Hashable
1421
+
1422
+ # Enables intra node visibility for this cluster.
1423
+ # Corresponds to the JSON property `enabled`
1424
+ # @return [Boolean]
1425
+ attr_accessor :enabled
1426
+ alias_method :enabled?, :enabled
1427
+
1428
+ def initialize(**args)
1429
+ update!(**args)
1430
+ end
1431
+
1432
+ # Update properties of this object
1433
+ def update!(**args)
1434
+ @enabled = args[:enabled] if args.key?(:enabled)
1435
+ end
1436
+ end
1437
+
1376
1438
  # Configuration options for Istio addon.
1377
1439
  class IstioConfig
1378
1440
  include Google::Apis::Core::Hashable
@@ -1865,6 +1927,13 @@ module Google
1865
1927
  class NetworkConfig
1866
1928
  include Google::Apis::Core::Hashable
1867
1929
 
1930
+ # Whether Intra-node visibility is enabled for this cluster.
1931
+ # This makes same node pod to pod traffic visible for VPC network.
1932
+ # Corresponds to the JSON property `enableIntraNodeVisibility`
1933
+ # @return [Boolean]
1934
+ attr_accessor :enable_intra_node_visibility
1935
+ alias_method :enable_intra_node_visibility?, :enable_intra_node_visibility
1936
+
1868
1937
  # Output only. The relative name of the Google Compute Engine
1869
1938
  # network(/compute/docs/networks-and-firewalls#networks) to which
1870
1939
  # the cluster is connected.
@@ -1886,6 +1955,7 @@ module Google
1886
1955
 
1887
1956
  # Update properties of this object
1888
1957
  def update!(**args)
1958
+ @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
1889
1959
  @network = args[:network] if args.key?(:network)
1890
1960
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
1891
1961
  end
@@ -34,6 +34,12 @@ 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
 
@@ -160,6 +166,12 @@ module Google
160
166
  include Google::Apis::Core::JsonObjectSupport
161
167
  end
162
168
 
169
+ class IntraNodeVisibilityConfig
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
163
175
  class IstioConfig
164
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
177
 
@@ -504,6 +516,14 @@ module Google
504
516
  end
505
517
  end
506
518
 
519
+ class AuthenticatorGroupsConfig
520
+ # @private
521
+ class Representation < Google::Apis::Core::JsonRepresentation
522
+ property :enabled, as: 'enabled'
523
+ property :security_group, as: 'securityGroup'
524
+ end
525
+ end
526
+
507
527
  class AutoUpgradeOptions
508
528
  # @private
509
529
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -563,6 +583,8 @@ module Google
563
583
  class Representation < Google::Apis::Core::JsonRepresentation
564
584
  property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1beta1::AddonsConfig, decorator: Google::Apis::ContainerV1beta1::AddonsConfig::Representation
565
585
 
586
+ property :authenticator_groups_config, as: 'authenticatorGroupsConfig', class: Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig, decorator: Google::Apis::ContainerV1beta1::AuthenticatorGroupsConfig::Representation
587
+
566
588
  property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1beta1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1beta1::ClusterAutoscaling::Representation
567
589
 
568
590
  property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::ContainerV1beta1::BinaryAuthorization, decorator: Google::Apis::ContainerV1beta1::BinaryAuthorization::Representation
@@ -654,6 +676,8 @@ module Google
654
676
  property :desired_database_encryption, as: 'desiredDatabaseEncryption', class: Google::Apis::ContainerV1beta1::DatabaseEncryption, decorator: Google::Apis::ContainerV1beta1::DatabaseEncryption::Representation
655
677
 
656
678
  property :desired_image_type, as: 'desiredImageType'
679
+ property :desired_intra_node_visibility_config, as: 'desiredIntraNodeVisibilityConfig', class: Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig, decorator: Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig::Representation
680
+
657
681
  collection :desired_locations, as: 'desiredLocations'
658
682
  property :desired_logging_service, as: 'desiredLoggingService'
659
683
  property :desired_master_authorized_networks_config, as: 'desiredMasterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig::Representation
@@ -782,6 +806,13 @@ module Google
782
806
  end
783
807
  end
784
808
 
809
+ class IntraNodeVisibilityConfig
810
+ # @private
811
+ class Representation < Google::Apis::Core::JsonRepresentation
812
+ property :enabled, as: 'enabled'
813
+ end
814
+ end
815
+
785
816
  class IstioConfig
786
817
  # @private
787
818
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -930,6 +961,7 @@ module Google
930
961
  class NetworkConfig
931
962
  # @private
932
963
  class Representation < Google::Apis::Core::JsonRepresentation
964
+ property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility'
933
965
  property :network, as: 'network'
934
966
  property :subnetwork, as: 'subnetwork'
935
967
  end