Class: Google::Apis::ContainerV1beta1::GetJsonWebKeysResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb

Overview

GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GetJsonWebKeysResponse

Returns a new instance of GetJsonWebKeysResponse.



1501
1502
1503
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1501

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cache_headerGoogle::Apis::ContainerV1beta1::HttpCacheControlResponseHeader

RFC-2616: cache control support Corresponds to the JSON property cacheHeader



1493
1494
1495
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1493

def cache_header
  @cache_header
end

#keysArray<Google::Apis::ContainerV1beta1::Jwk>

The public component of the keys used by the cluster to sign token requests. Corresponds to the JSON property keys



1499
1500
1501
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1499

def keys
  @keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1506
1507
1508
1509
# File 'generated/google/apis/container_v1beta1/classes.rb', line 1506

def update!(**args)
  @cache_header = args[:cache_header] if args.key?(:cache_header)
  @keys = args[:keys] if args.key?(:keys)
end