Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeHttpHeader
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeHttpHeader
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
HttpHeader describes a custom header to be used in HTTP probes
Instance Attribute Summary collapse
-
#name ⇒ String
The header field name.
-
#value ⇒ String
The header field value Corresponds to the JSON property
value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ProbeHttpHeader
constructor
A new instance of GoogleCloudAiplatformV1beta1ProbeHttpHeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ProbeHttpHeader
Returns a new instance of GoogleCloudAiplatformV1beta1ProbeHttpHeader.
39896 39897 39898 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39896 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The header field name. This will be canonicalized upon output, so case-variant
names will be understood as the same header.
Corresponds to the JSON property name
39889 39890 39891 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39889 def name @name end |
#value ⇒ String
The header field value
Corresponds to the JSON property value
39894 39895 39896 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39894 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
39901 39902 39903 39904 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39901 def update!(**args) @name = args[:name] if args.key?(:name) @value = args[:value] if args.key?(:value) end |