Autogenerated update (2019-01-11)
Update: - compute_alpha - compute_beta - compute_v1 - container_v1 - dialogflow_v2 - dns_v1 - dns_v1beta2 - dns_v2beta1 - doubleclickbidmanager_v1 - firestore_v1 - firestore_v1beta1 - fitness_v1 - jobs_v3p1beta1 - serviceconsumermanagement_v1 - servicenetworking_v1beta - serviceusage_v1 - serviceusage_v1beta1 - sheets_v4 - slides_v1 - youtube_partner_v1
This commit is contained in:
1 parent
5c95ba4c18
commit
dca115029f
58 files changed
+2940
-140
No files matched your search
@@ -829,6 +829,82 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
|
||||
class GetJsonWebKeysResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The public component of the keys used by the cluster to sign token
|
||||
# requests.
|
||||
# Corresponds to the JSON property `keys`
|
||||
# @return [Array<Google::Apis::ContainerV1::Jwk>]
|
||||
attr_accessor :keys
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@keys = args[:keys] if args.key?(:keys)
|
||||
end
|
||||
end
|
||||
|
||||
# GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
|
||||
# See the OpenID Connect Discovery 1.0 specification for details.
|
||||
class GetOpenIdConfigResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `claims_supported`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :claims_supported
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `grant_types`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :grant_types
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `id_token_signing_alg_values_supported`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :id_token_signing_alg_values_supported
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `issuer`
|
||||
# @return [String]
|
||||
attr_accessor :issuer
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `jwks_uri`
|
||||
# @return [String]
|
||||
attr_accessor :jwks_uri
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `response_types_supported`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :response_types_supported
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `subject_types_supported`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :subject_types_supported
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@claims_supported = args[:claims_supported] if args.key?(:claims_supported)
|
||||
@grant_types = args[:grant_types] if args.key?(:grant_types)
|
||||
@id_token_signing_alg_values_supported = args[:id_token_signing_alg_values_supported] if args.key?(:id_token_signing_alg_values_supported)
|
||||
@issuer = args[:issuer] if args.key?(:issuer)
|
||||
@jwks_uri = args[:jwks_uri] if args.key?(:jwks_uri)
|
||||
@response_types_supported = args[:response_types_supported] if args.key?(:response_types_supported)
|
||||
@subject_types_supported = args[:subject_types_supported] if args.key?(:subject_types_supported)
|
||||
end
|
||||
end
|
||||
|
||||
# Configuration options for the horizontal pod autoscaling feature, which
|
||||
# increases or decreases the number of replica pods a replication controller
|
||||
# has based on the resource usage of the existing pods.
|
||||
@@ -999,6 +1075,75 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Jwk is a JSON Web Key as specified in RFC 7517
|
||||
class Jwk
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `alg`
|
||||
# @return [String]
|
||||
attr_accessor :alg
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `crv`
|
||||
# @return [String]
|
||||
attr_accessor :crv
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `e`
|
||||
# @return [String]
|
||||
attr_accessor :e
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `kid`
|
||||
# @return [String]
|
||||
attr_accessor :kid
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `kty`
|
||||
# @return [String]
|
||||
attr_accessor :kty
|
||||
|
||||
# Fields for RSA keys.
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `n`
|
||||
# @return [String]
|
||||
attr_accessor :n
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `use`
|
||||
# @return [String]
|
||||
attr_accessor :use
|
||||
|
||||
# Fields for ECDSA keys.
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `x`
|
||||
# @return [String]
|
||||
attr_accessor :x
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `y`
|
||||
# @return [String]
|
||||
attr_accessor :y
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@alg = args[:alg] if args.key?(:alg)
|
||||
@crv = args[:crv] if args.key?(:crv)
|
||||
@e = args[:e] if args.key?(:e)
|
||||
@kid = args[:kid] if args.key?(:kid)
|
||||
@kty = args[:kty] if args.key?(:kty)
|
||||
@n = args[:n] if args.key?(:n)
|
||||
@use = args[:use] if args.key?(:use)
|
||||
@x = args[:x] if args.key?(:x)
|
||||
@y = args[:y] if args.key?(:y)
|
||||
end
|
||||
end
|
||||
|
||||
# Configuration for the Kubernetes Dashboard.
|
||||
class KubernetesDashboard
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -100,6 +100,18 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GetJsonWebKeysResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GetOpenIdConfigResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HorizontalPodAutoscaling
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -118,6 +130,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Jwk
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class KubernetesDashboard
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -523,6 +541,27 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class GetJsonWebKeysResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :keys, as: 'keys', class: Google::Apis::ContainerV1::Jwk, decorator: Google::Apis::ContainerV1::Jwk::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GetOpenIdConfigResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :claims_supported, as: 'claims_supported'
|
||||
collection :grant_types, as: 'grant_types'
|
||||
collection :id_token_signing_alg_values_supported, as: 'id_token_signing_alg_values_supported'
|
||||
property :issuer, as: 'issuer'
|
||||
property :jwks_uri, as: 'jwks_uri'
|
||||
collection :response_types_supported, as: 'response_types_supported'
|
||||
collection :subject_types_supported, as: 'subject_types_supported'
|
||||
end
|
||||
end
|
||||
|
||||
class HorizontalPodAutoscaling
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -554,6 +593,21 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class Jwk
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :alg, as: 'alg'
|
||||
property :crv, as: 'crv'
|
||||
property :e, as: 'e'
|
||||
property :kid, as: 'kid'
|
||||
property :kty, as: 'kty'
|
||||
property :n, as: 'n'
|
||||
property :use, as: 'use'
|
||||
property :x, as: 'x'
|
||||
property :y, as: 'y'
|
||||
end
|
||||
end
|
||||
|
||||
class KubernetesDashboard
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
@@ -264,6 +264,40 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# GetJSONWebKeys gets the public component of the cluster signing keys in
|
||||
# JSON Web Key format.
|
||||
# This API is not yet intended for general use, and is not available for all
|
||||
# clusters.
|
||||
# @param [String] parent
|
||||
# The cluster (project, location, cluster id) to get keys for. Specified in
|
||||
# the format 'projects/*/locations/*/clusters/*'.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ContainerV1::GetJsonWebKeysResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContainerV1::GetJsonWebKeysResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_location_cluster_jwks(parent, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/jwks', options)
|
||||
command.response_representation = Google::Apis::ContainerV1::GetJsonWebKeysResponse::Representation
|
||||
command.response_class = Google::Apis::ContainerV1::GetJsonWebKeysResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists all clusters owned by a project in either the specified zone or all
|
||||
# zones.
|
||||
# @param [String] parent
|
||||
@@ -1078,6 +1112,41 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# GetOpenIDConfig gets the OIDC discovery document for the cluster.
|
||||
# See the OpenID Connect Discovery 1.0 specification for details.
|
||||
# https://openid.net/specs/openid-connect-discovery-1_0.html
|
||||
# This API is not yet intended for general use, and is not available for all
|
||||
# clusters.
|
||||
# @param [String] parent
|
||||
# The cluster (project, location, cluster id) to get the discovery document
|
||||
# for. Specified in the format 'projects/*/locations/*/clusters/*'.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ContainerV1::GetOpenIdConfigResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContainerV1::GetOpenIdConfigResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_location_cluster_well_known_openid_configuration(parent, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/.well-known/openid-configuration', options)
|
||||
command.response_representation = Google::Apis::ContainerV1::GetOpenIdConfigResponse::Representation
|
||||
command.response_class = Google::Apis::ContainerV1::GetOpenIdConfigResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Cancels the specified operation.
|
||||
# @param [String] name
|
||||
# The name (project, location, operation id) of the operation to cancel.
|
||||
|
||||
Reference in new issue
Block a user