Class: Google::Apis::ContainerV1::RegistryHeader
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::RegistryHeader
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
RegistryHeader configures headers for the registry.
Instance Attribute Summary collapse
-
#key ⇒ String
Key configures the header key.
-
#value ⇒ Array<String>
Value configures the header value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RegistryHeader
constructor
A new instance of RegistryHeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RegistryHeader
Returns a new instance of RegistryHeader.
7369 7370 7371 |
# File 'lib/google/apis/container_v1/classes.rb', line 7369 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Key configures the header key.
Corresponds to the JSON property key
7362 7363 7364 |
# File 'lib/google/apis/container_v1/classes.rb', line 7362 def key @key end |
#value ⇒ Array<String>
Value configures the header value.
Corresponds to the JSON property value
7367 7368 7369 |
# File 'lib/google/apis/container_v1/classes.rb', line 7367 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7374 7375 7376 7377 |
# File 'lib/google/apis/container_v1/classes.rb', line 7374 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end |