google-api-client 0.27.2 → 0.27.3

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.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -0
  3. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  4. data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -0
  5. data/generated/google/apis/bigtableadmin_v2/representations.rb +17 -0
  6. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  7. data/generated/google/apis/cloudkms_v1.rb +4 -1
  8. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  9. data/generated/google/apis/cloudtrace_v2/classes.rb +2 -2
  10. data/generated/google/apis/compute_alpha.rb +1 -1
  11. data/generated/google/apis/compute_alpha/classes.rb +1198 -13
  12. data/generated/google/apis/compute_alpha/representations.rb +406 -0
  13. data/generated/google/apis/compute_alpha/service.rb +200 -4
  14. data/generated/google/apis/compute_beta.rb +1 -1
  15. data/generated/google/apis/compute_beta/classes.rb +23 -9
  16. data/generated/google/apis/compute_beta/representations.rb +2 -0
  17. data/generated/google/apis/compute_beta/service.rb +41 -4
  18. data/generated/google/apis/compute_v1.rb +1 -1
  19. data/generated/google/apis/compute_v1/classes.rb +65 -6
  20. data/generated/google/apis/compute_v1/representations.rb +19 -0
  21. data/generated/google/apis/compute_v1/service.rb +4 -4
  22. data/generated/google/apis/container_v1.rb +1 -1
  23. data/generated/google/apis/container_v1/classes.rb +145 -0
  24. data/generated/google/apis/container_v1/representations.rb +54 -0
  25. data/generated/google/apis/container_v1/service.rb +69 -0
  26. data/generated/google/apis/container_v1beta1.rb +1 -1
  27. data/generated/google/apis/container_v1beta1/classes.rb +177 -0
  28. data/generated/google/apis/container_v1beta1/representations.rb +70 -0
  29. data/generated/google/apis/container_v1beta1/service.rb +69 -0
  30. data/generated/google/apis/containeranalysis_v1alpha1.rb +35 -0
  31. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +2780 -0
  32. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1106 -0
  33. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +1329 -0
  34. data/generated/google/apis/containeranalysis_v1beta1.rb +35 -0
  35. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2702 -0
  36. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1152 -0
  37. data/generated/google/apis/containeranalysis_v1beta1/service.rb +932 -0
  38. data/generated/google/apis/content_v2.rb +1 -1
  39. data/generated/google/apis/content_v2/classes.rb +84 -14
  40. data/generated/google/apis/content_v2/representations.rb +24 -0
  41. data/generated/google/apis/content_v2_1.rb +1 -1
  42. data/generated/google/apis/content_v2_1/classes.rb +70 -11
  43. data/generated/google/apis/content_v2_1/representations.rb +25 -3
  44. data/generated/google/apis/dialogflow_v2.rb +1 -1
  45. data/generated/google/apis/dialogflow_v2/classes.rb +20 -20
  46. data/generated/google/apis/dialogflow_v2/service.rb +6 -6
  47. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  48. data/generated/google/apis/dialogflow_v2beta1/classes.rb +20 -20
  49. data/generated/google/apis/dialogflow_v2beta1/service.rb +6 -6
  50. data/generated/google/apis/dns_v1.rb +1 -1
  51. data/generated/google/apis/dns_v1/classes.rb +19 -10
  52. data/generated/google/apis/dns_v1beta2.rb +1 -1
  53. data/generated/google/apis/dns_v1beta2/classes.rb +31 -22
  54. data/generated/google/apis/dns_v2beta1.rb +1 -1
  55. data/generated/google/apis/dns_v2beta1/classes.rb +19 -10
  56. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  57. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +9 -2
  58. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
  59. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  60. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +7 -0
  61. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
  62. data/generated/google/apis/firestore_v1.rb +1 -1
  63. data/generated/google/apis/firestore_v1/classes.rb +18 -0
  64. data/generated/google/apis/firestore_v1/representations.rb +6 -0
  65. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  66. data/generated/google/apis/firestore_v1beta1/classes.rb +18 -0
  67. data/generated/google/apis/firestore_v1beta1/representations.rb +6 -0
  68. data/generated/google/apis/fitness_v1.rb +1 -1
  69. data/generated/google/apis/fitness_v1/classes.rb +2 -1
  70. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  71. data/generated/google/apis/jobs_v3p1beta1/classes.rb +169 -0
  72. data/generated/google/apis/jobs_v3p1beta1/representations.rb +33 -0
  73. data/generated/google/apis/jobs_v3p1beta1/service.rb +32 -0
  74. data/generated/google/apis/libraryagent_v1.rb +34 -0
  75. data/generated/google/apis/libraryagent_v1/classes.rb +151 -0
  76. data/generated/google/apis/libraryagent_v1/representations.rb +86 -0
  77. data/generated/google/apis/libraryagent_v1/service.rb +265 -0
  78. data/generated/google/apis/oslogin_v1.rb +2 -2
  79. data/generated/google/apis/oslogin_v1/service.rb +1 -1
  80. data/generated/google/apis/oslogin_v1alpha.rb +2 -2
  81. data/generated/google/apis/oslogin_v1alpha/service.rb +1 -1
  82. data/generated/google/apis/oslogin_v1beta.rb +2 -2
  83. data/generated/google/apis/oslogin_v1beta/service.rb +1 -1
  84. data/generated/google/apis/remotebuildexecution_v1.rb +34 -0
  85. data/generated/google/apis/remotebuildexecution_v1/classes.rb +3858 -0
  86. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1196 -0
  87. data/generated/google/apis/remotebuildexecution_v1/service.rb +374 -0
  88. data/generated/google/apis/remotebuildexecution_v1alpha.rb +34 -0
  89. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +3709 -0
  90. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1113 -0
  91. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +400 -0
  92. data/generated/google/apis/remotebuildexecution_v2.rb +34 -0
  93. data/generated/google/apis/remotebuildexecution_v2/classes.rb +4460 -0
  94. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1431 -0
  95. data/generated/google/apis/remotebuildexecution_v2/service.rb +542 -0
  96. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  97. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -0
  98. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +2 -0
  99. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  100. data/generated/google/apis/servicenetworking_v1beta/classes.rb +12 -0
  101. data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -0
  102. data/generated/google/apis/serviceusage_v1.rb +1 -1
  103. data/generated/google/apis/serviceusage_v1/classes.rb +12 -0
  104. data/generated/google/apis/serviceusage_v1/representations.rb +2 -0
  105. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  106. data/generated/google/apis/serviceusage_v1beta1/classes.rb +12 -0
  107. data/generated/google/apis/serviceusage_v1beta1/representations.rb +2 -0
  108. data/generated/google/apis/sheets_v4.rb +1 -1
  109. data/generated/google/apis/sheets_v4/classes.rb +4 -4
  110. data/generated/google/apis/slides_v1.rb +1 -1
  111. data/generated/google/apis/slides_v1/classes.rb +5 -5
  112. data/generated/google/apis/speech_v1.rb +1 -1
  113. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  114. data/generated/google/apis/testing_v1.rb +1 -1
  115. data/generated/google/apis/testing_v1/classes.rb +9 -0
  116. data/generated/google/apis/testing_v1/representations.rb +1 -0
  117. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  118. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +7 -0
  119. data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +2 -0
  120. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  121. data/lib/google/apis/version.rb +1 -1
  122. metadata +26 -2
@@ -264,6 +264,40 @@ module Google
264
264
  execute_or_queue_command(command, &block)
265
265
  end
266
266
 
267
+ # GetJSONWebKeys gets the public component of the cluster signing keys in
268
+ # JSON Web Key format.
269
+ # This API is not yet intended for general use, and is not available for all
270
+ # clusters.
271
+ # @param [String] parent
272
+ # The cluster (project, location, cluster id) to get keys for. Specified in
273
+ # the format 'projects/*/locations/*/clusters/*'.
274
+ # @param [String] fields
275
+ # Selector specifying which fields to include in a partial response.
276
+ # @param [String] quota_user
277
+ # Available to use for quota purposes for server-side applications. Can be any
278
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
279
+ # @param [Google::Apis::RequestOptions] options
280
+ # Request-specific options
281
+ #
282
+ # @yield [result, err] Result & error if block supplied
283
+ # @yieldparam result [Google::Apis::ContainerV1::GetJsonWebKeysResponse] parsed result object
284
+ # @yieldparam err [StandardError] error object if request failed
285
+ #
286
+ # @return [Google::Apis::ContainerV1::GetJsonWebKeysResponse]
287
+ #
288
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
289
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
290
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
291
+ def get_project_location_cluster_jwks(parent, fields: nil, quota_user: nil, options: nil, &block)
292
+ command = make_simple_command(:get, 'v1/{+parent}/jwks', options)
293
+ command.response_representation = Google::Apis::ContainerV1::GetJsonWebKeysResponse::Representation
294
+ command.response_class = Google::Apis::ContainerV1::GetJsonWebKeysResponse
295
+ command.params['parent'] = parent unless parent.nil?
296
+ command.query['fields'] = fields unless fields.nil?
297
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
298
+ execute_or_queue_command(command, &block)
299
+ end
300
+
267
301
  # Lists all clusters owned by a project in either the specified zone or all
268
302
  # zones.
269
303
  # @param [String] parent
@@ -1078,6 +1112,41 @@ module Google
1078
1112
  execute_or_queue_command(command, &block)
1079
1113
  end
1080
1114
 
1115
+ # GetOpenIDConfig gets the OIDC discovery document for the cluster.
1116
+ # See the OpenID Connect Discovery 1.0 specification for details.
1117
+ # https://openid.net/specs/openid-connect-discovery-1_0.html
1118
+ # This API is not yet intended for general use, and is not available for all
1119
+ # clusters.
1120
+ # @param [String] parent
1121
+ # The cluster (project, location, cluster id) to get the discovery document
1122
+ # for. Specified in the format 'projects/*/locations/*/clusters/*'.
1123
+ # @param [String] fields
1124
+ # Selector specifying which fields to include in a partial response.
1125
+ # @param [String] quota_user
1126
+ # Available to use for quota purposes for server-side applications. Can be any
1127
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1128
+ # @param [Google::Apis::RequestOptions] options
1129
+ # Request-specific options
1130
+ #
1131
+ # @yield [result, err] Result & error if block supplied
1132
+ # @yieldparam result [Google::Apis::ContainerV1::GetOpenIdConfigResponse] parsed result object
1133
+ # @yieldparam err [StandardError] error object if request failed
1134
+ #
1135
+ # @return [Google::Apis::ContainerV1::GetOpenIdConfigResponse]
1136
+ #
1137
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1138
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1139
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1140
+ def get_project_location_cluster_well_known_openid_configuration(parent, fields: nil, quota_user: nil, options: nil, &block)
1141
+ command = make_simple_command(:get, 'v1/{+parent}/.well-known/openid-configuration', options)
1142
+ command.response_representation = Google::Apis::ContainerV1::GetOpenIdConfigResponse::Representation
1143
+ command.response_class = Google::Apis::ContainerV1::GetOpenIdConfigResponse
1144
+ command.params['parent'] = parent unless parent.nil?
1145
+ command.query['fields'] = fields unless fields.nil?
1146
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1147
+ execute_or_queue_command(command, &block)
1148
+ end
1149
+
1081
1150
  # Cancels the specified operation.
1082
1151
  # @param [String] name
1083
1152
  # The name (project, location, operation id) of the operation to cancel.
@@ -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 = '20181113'
29
+ REVISION = '20181211'
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'
@@ -343,6 +343,11 @@ module Google
343
343
  # @return [String]
344
344
  attr_accessor :current_node_version
345
345
 
346
+ # Configuration of etcd encryption.
347
+ # Corresponds to the JSON property `databaseEncryption`
348
+ # @return [Google::Apis::ContainerV1beta1::DatabaseEncryption]
349
+ attr_accessor :database_encryption
350
+
346
351
  # Constraints applied to pods.
347
352
  # Corresponds to the JSON property `defaultMaxPodsConstraint`
348
353
  # @return [Google::Apis::ContainerV1beta1::MaxPodsConstraint]
@@ -644,6 +649,7 @@ module Google
644
649
  @current_master_version = args[:current_master_version] if args.key?(:current_master_version)
645
650
  @current_node_count = args[:current_node_count] if args.key?(:current_node_count)
646
651
  @current_node_version = args[:current_node_version] if args.key?(:current_node_version)
652
+ @database_encryption = args[:database_encryption] if args.key?(:database_encryption)
647
653
  @default_max_pods_constraint = args[:default_max_pods_constraint] if args.key?(:default_max_pods_constraint)
648
654
  @description = args[:description] if args.key?(:description)
649
655
  @enable_kubernetes_alpha = args[:enable_kubernetes_alpha] if args.key?(:enable_kubernetes_alpha)
@@ -1037,6 +1043,32 @@ module Google
1037
1043
  end
1038
1044
  end
1039
1045
 
1046
+ # Configuration of etcd encryption.
1047
+ class DatabaseEncryption
1048
+ include Google::Apis::Core::Hashable
1049
+
1050
+ # Name of CloudKMS key to use for the encryption of secrets in etcd.
1051
+ # Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
1052
+ # Corresponds to the JSON property `keyName`
1053
+ # @return [String]
1054
+ attr_accessor :key_name
1055
+
1056
+ # Denotes the state of etcd encryption.
1057
+ # Corresponds to the JSON property `state`
1058
+ # @return [String]
1059
+ attr_accessor :state
1060
+
1061
+ def initialize(**args)
1062
+ update!(**args)
1063
+ end
1064
+
1065
+ # Update properties of this object
1066
+ def update!(**args)
1067
+ @key_name = args[:key_name] if args.key?(:key_name)
1068
+ @state = args[:state] if args.key?(:state)
1069
+ end
1070
+ end
1071
+
1040
1072
  # A generic empty message that you can re-use to avoid defining duplicated
1041
1073
  # empty messages in your APIs. A typical example is to use it as the request
1042
1074
  # or the response type of an API method. For instance:
@@ -1056,6 +1088,82 @@ module Google
1056
1088
  end
1057
1089
  end
1058
1090
 
1091
+ # GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
1092
+ class GetJsonWebKeysResponse
1093
+ include Google::Apis::Core::Hashable
1094
+
1095
+ # The public component of the keys used by the cluster to sign token
1096
+ # requests.
1097
+ # Corresponds to the JSON property `keys`
1098
+ # @return [Array<Google::Apis::ContainerV1beta1::Jwk>]
1099
+ attr_accessor :keys
1100
+
1101
+ def initialize(**args)
1102
+ update!(**args)
1103
+ end
1104
+
1105
+ # Update properties of this object
1106
+ def update!(**args)
1107
+ @keys = args[:keys] if args.key?(:keys)
1108
+ end
1109
+ end
1110
+
1111
+ # GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
1112
+ # See the OpenID Connect Discovery 1.0 specification for details.
1113
+ class GetOpenIdConfigResponse
1114
+ include Google::Apis::Core::Hashable
1115
+
1116
+ # NOLINT
1117
+ # Corresponds to the JSON property `claims_supported`
1118
+ # @return [Array<String>]
1119
+ attr_accessor :claims_supported
1120
+
1121
+ # NOLINT
1122
+ # Corresponds to the JSON property `grant_types`
1123
+ # @return [Array<String>]
1124
+ attr_accessor :grant_types
1125
+
1126
+ # NOLINT
1127
+ # Corresponds to the JSON property `id_token_signing_alg_values_supported`
1128
+ # @return [Array<String>]
1129
+ attr_accessor :id_token_signing_alg_values_supported
1130
+
1131
+ # NOLINT
1132
+ # Corresponds to the JSON property `issuer`
1133
+ # @return [String]
1134
+ attr_accessor :issuer
1135
+
1136
+ # NOLINT
1137
+ # Corresponds to the JSON property `jwks_uri`
1138
+ # @return [String]
1139
+ attr_accessor :jwks_uri
1140
+
1141
+ # NOLINT
1142
+ # Corresponds to the JSON property `response_types_supported`
1143
+ # @return [Array<String>]
1144
+ attr_accessor :response_types_supported
1145
+
1146
+ # NOLINT
1147
+ # Corresponds to the JSON property `subject_types_supported`
1148
+ # @return [Array<String>]
1149
+ attr_accessor :subject_types_supported
1150
+
1151
+ def initialize(**args)
1152
+ update!(**args)
1153
+ end
1154
+
1155
+ # Update properties of this object
1156
+ def update!(**args)
1157
+ @claims_supported = args[:claims_supported] if args.key?(:claims_supported)
1158
+ @grant_types = args[:grant_types] if args.key?(:grant_types)
1159
+ @id_token_signing_alg_values_supported = args[:id_token_signing_alg_values_supported] if args.key?(:id_token_signing_alg_values_supported)
1160
+ @issuer = args[:issuer] if args.key?(:issuer)
1161
+ @jwks_uri = args[:jwks_uri] if args.key?(:jwks_uri)
1162
+ @response_types_supported = args[:response_types_supported] if args.key?(:response_types_supported)
1163
+ @subject_types_supported = args[:subject_types_supported] if args.key?(:subject_types_supported)
1164
+ end
1165
+ end
1166
+
1059
1167
  # Configuration options for the horizontal pod autoscaling feature, which
1060
1168
  # increases or decreases the number of replica pods a replication controller
1061
1169
  # has based on the resource usage of the existing pods.
@@ -1285,6 +1393,75 @@ module Google
1285
1393
  end
1286
1394
  end
1287
1395
 
1396
+ # Jwk is a JSON Web Key as specified in RFC 7517
1397
+ class Jwk
1398
+ include Google::Apis::Core::Hashable
1399
+
1400
+ # NOLINT
1401
+ # Corresponds to the JSON property `alg`
1402
+ # @return [String]
1403
+ attr_accessor :alg
1404
+
1405
+ # NOLINT
1406
+ # Corresponds to the JSON property `crv`
1407
+ # @return [String]
1408
+ attr_accessor :crv
1409
+
1410
+ # NOLINT
1411
+ # Corresponds to the JSON property `e`
1412
+ # @return [String]
1413
+ attr_accessor :e
1414
+
1415
+ # NOLINT
1416
+ # Corresponds to the JSON property `kid`
1417
+ # @return [String]
1418
+ attr_accessor :kid
1419
+
1420
+ # NOLINT
1421
+ # Corresponds to the JSON property `kty`
1422
+ # @return [String]
1423
+ attr_accessor :kty
1424
+
1425
+ # Fields for RSA keys.
1426
+ # NOLINT
1427
+ # Corresponds to the JSON property `n`
1428
+ # @return [String]
1429
+ attr_accessor :n
1430
+
1431
+ # NOLINT
1432
+ # Corresponds to the JSON property `use`
1433
+ # @return [String]
1434
+ attr_accessor :use
1435
+
1436
+ # Fields for ECDSA keys.
1437
+ # NOLINT
1438
+ # Corresponds to the JSON property `x`
1439
+ # @return [String]
1440
+ attr_accessor :x
1441
+
1442
+ # NOLINT
1443
+ # Corresponds to the JSON property `y`
1444
+ # @return [String]
1445
+ attr_accessor :y
1446
+
1447
+ def initialize(**args)
1448
+ update!(**args)
1449
+ end
1450
+
1451
+ # Update properties of this object
1452
+ def update!(**args)
1453
+ @alg = args[:alg] if args.key?(:alg)
1454
+ @crv = args[:crv] if args.key?(:crv)
1455
+ @e = args[:e] if args.key?(:e)
1456
+ @kid = args[:kid] if args.key?(:kid)
1457
+ @kty = args[:kty] if args.key?(:kty)
1458
+ @n = args[:n] if args.key?(:n)
1459
+ @use = args[:use] if args.key?(:use)
1460
+ @x = args[:x] if args.key?(:x)
1461
+ @y = args[:y] if args.key?(:y)
1462
+ end
1463
+ end
1464
+
1288
1465
  # Configuration for the Kubernetes Dashboard.
1289
1466
  class KubernetesDashboard
1290
1467
  include Google::Apis::Core::Hashable
@@ -118,12 +118,30 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class DatabaseEncryption
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class Empty
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
124
130
  include Google::Apis::Core::JsonObjectSupport
125
131
  end
126
132
 
133
+ class GetJsonWebKeysResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GetOpenIdConfigResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
127
145
  class HorizontalPodAutoscaling
128
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
147
 
@@ -148,6 +166,12 @@ module Google
148
166
  include Google::Apis::Core::JsonObjectSupport
149
167
  end
150
168
 
169
+ class Jwk
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
151
175
  class KubernetesDashboard
152
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
177
 
@@ -550,6 +574,8 @@ module Google
550
574
  property :current_master_version, as: 'currentMasterVersion'
551
575
  property :current_node_count, as: 'currentNodeCount'
552
576
  property :current_node_version, as: 'currentNodeVersion'
577
+ property :database_encryption, as: 'databaseEncryption', class: Google::Apis::ContainerV1beta1::DatabaseEncryption, decorator: Google::Apis::ContainerV1beta1::DatabaseEncryption::Representation
578
+
553
579
  property :default_max_pods_constraint, as: 'defaultMaxPodsConstraint', class: Google::Apis::ContainerV1beta1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1beta1::MaxPodsConstraint::Representation
554
580
 
555
581
  property :description, as: 'description'
@@ -686,12 +712,41 @@ module Google
686
712
  end
687
713
  end
688
714
 
715
+ class DatabaseEncryption
716
+ # @private
717
+ class Representation < Google::Apis::Core::JsonRepresentation
718
+ property :key_name, as: 'keyName'
719
+ property :state, as: 'state'
720
+ end
721
+ end
722
+
689
723
  class Empty
690
724
  # @private
691
725
  class Representation < Google::Apis::Core::JsonRepresentation
692
726
  end
693
727
  end
694
728
 
729
+ class GetJsonWebKeysResponse
730
+ # @private
731
+ class Representation < Google::Apis::Core::JsonRepresentation
732
+ collection :keys, as: 'keys', class: Google::Apis::ContainerV1beta1::Jwk, decorator: Google::Apis::ContainerV1beta1::Jwk::Representation
733
+
734
+ end
735
+ end
736
+
737
+ class GetOpenIdConfigResponse
738
+ # @private
739
+ class Representation < Google::Apis::Core::JsonRepresentation
740
+ collection :claims_supported, as: 'claims_supported'
741
+ collection :grant_types, as: 'grant_types'
742
+ collection :id_token_signing_alg_values_supported, as: 'id_token_signing_alg_values_supported'
743
+ property :issuer, as: 'issuer'
744
+ property :jwks_uri, as: 'jwks_uri'
745
+ collection :response_types_supported, as: 'response_types_supported'
746
+ collection :subject_types_supported, as: 'subject_types_supported'
747
+ end
748
+ end
749
+
695
750
  class HorizontalPodAutoscaling
696
751
  # @private
697
752
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -733,6 +788,21 @@ module Google
733
788
  end
734
789
  end
735
790
 
791
+ class Jwk
792
+ # @private
793
+ class Representation < Google::Apis::Core::JsonRepresentation
794
+ property :alg, as: 'alg'
795
+ property :crv, as: 'crv'
796
+ property :e, as: 'e'
797
+ property :kid, as: 'kid'
798
+ property :kty, as: 'kty'
799
+ property :n, as: 'n'
800
+ property :use, as: 'use'
801
+ property :x, as: 'x'
802
+ property :y, as: 'y'
803
+ end
804
+ end
805
+
736
806
  class KubernetesDashboard
737
807
  # @private
738
808
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -342,6 +342,40 @@ module Google
342
342
  execute_or_queue_command(command, &block)
343
343
  end
344
344
 
345
+ # GetJSONWebKeys gets the public component of the cluster signing keys in
346
+ # JSON Web Key format.
347
+ # This API is not yet intended for general use, and is not available for all
348
+ # clusters.
349
+ # @param [String] parent
350
+ # The cluster (project, location, cluster id) to get keys for. Specified in
351
+ # the format 'projects/*/locations/*/clusters/*'.
352
+ # @param [String] fields
353
+ # Selector specifying which fields to include in a partial response.
354
+ # @param [String] quota_user
355
+ # Available to use for quota purposes for server-side applications. Can be any
356
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
357
+ # @param [Google::Apis::RequestOptions] options
358
+ # Request-specific options
359
+ #
360
+ # @yield [result, err] Result & error if block supplied
361
+ # @yieldparam result [Google::Apis::ContainerV1beta1::GetJsonWebKeysResponse] parsed result object
362
+ # @yieldparam err [StandardError] error object if request failed
363
+ #
364
+ # @return [Google::Apis::ContainerV1beta1::GetJsonWebKeysResponse]
365
+ #
366
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
367
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
368
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
369
+ def get_project_location_cluster_jwks(parent, fields: nil, quota_user: nil, options: nil, &block)
370
+ command = make_simple_command(:get, 'v1beta1/{+parent}/jwks', options)
371
+ command.response_representation = Google::Apis::ContainerV1beta1::GetJsonWebKeysResponse::Representation
372
+ command.response_class = Google::Apis::ContainerV1beta1::GetJsonWebKeysResponse
373
+ command.params['parent'] = parent unless parent.nil?
374
+ command.query['fields'] = fields unless fields.nil?
375
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
376
+ execute_or_queue_command(command, &block)
377
+ end
378
+
345
379
  # Lists all clusters owned by a project in either the specified zone or all
346
380
  # zones.
347
381
  # @param [String] parent
@@ -1157,6 +1191,41 @@ module Google
1157
1191
  execute_or_queue_command(command, &block)
1158
1192
  end
1159
1193
 
1194
+ # GetOpenIDConfig gets the OIDC discovery document for the cluster.
1195
+ # See the OpenID Connect Discovery 1.0 specification for details.
1196
+ # https://openid.net/specs/openid-connect-discovery-1_0.html
1197
+ # This API is not yet intended for general use, and is not available for all
1198
+ # clusters.
1199
+ # @param [String] parent
1200
+ # The cluster (project, location, cluster id) to get the discovery document
1201
+ # for. Specified in the format 'projects/*/locations/*/clusters/*'.
1202
+ # @param [String] fields
1203
+ # Selector specifying which fields to include in a partial response.
1204
+ # @param [String] quota_user
1205
+ # Available to use for quota purposes for server-side applications. Can be any
1206
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1207
+ # @param [Google::Apis::RequestOptions] options
1208
+ # Request-specific options
1209
+ #
1210
+ # @yield [result, err] Result & error if block supplied
1211
+ # @yieldparam result [Google::Apis::ContainerV1beta1::GetOpenIdConfigResponse] parsed result object
1212
+ # @yieldparam err [StandardError] error object if request failed
1213
+ #
1214
+ # @return [Google::Apis::ContainerV1beta1::GetOpenIdConfigResponse]
1215
+ #
1216
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1217
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1218
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1219
+ def get_project_location_cluster_well_known_openid_configuration(parent, fields: nil, quota_user: nil, options: nil, &block)
1220
+ command = make_simple_command(:get, 'v1beta1/{+parent}/.well-known/openid-configuration', options)
1221
+ command.response_representation = Google::Apis::ContainerV1beta1::GetOpenIdConfigResponse::Representation
1222
+ command.response_class = Google::Apis::ContainerV1beta1::GetOpenIdConfigResponse
1223
+ command.params['parent'] = parent unless parent.nil?
1224
+ command.query['fields'] = fields unless fields.nil?
1225
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1226
+ execute_or_queue_command(command, &block)
1227
+ end
1228
+
1160
1229
  # Cancels the specified operation.
1161
1230
  # @param [String] name
1162
1231
  # The name (project, location, operation id) of the operation to cancel.