Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PartialArg
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PartialArg
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Partial argument value of the function call.
Instance Attribute Summary collapse
-
#bool_value ⇒ Boolean
(also: #bool_value?)
Optional.
-
#json_path ⇒ String
Required.
-
#null_value ⇒ String
Optional.
-
#number_value ⇒ Float
Optional.
-
#string_value ⇒ String
Optional.
-
#will_continue ⇒ Boolean
(also: #will_continue?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1PartialArg
constructor
A new instance of GoogleCloudAiplatformV1PartialArg.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1PartialArg
Returns a new instance of GoogleCloudAiplatformV1PartialArg.
27270 27271 27272 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27270 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bool_value ⇒ Boolean Also known as: bool_value?
Optional. Represents a boolean value.
Corresponds to the JSON property boolValue
27239 27240 27241 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27239 def bool_value @bool_value end |
#json_path ⇒ String
Required. A JSON Path (RFC 9535) to the argument being streamed. https://
datatracker.ietf.org/doc/html/rfc9535. e.g. "$.foo.bar[0].data".
Corresponds to the JSON property jsonPath
27246 27247 27248 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27246 def json_path @json_path end |
#null_value ⇒ String
Optional. Represents a null value.
Corresponds to the JSON property nullValue
27251 27252 27253 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27251 def null_value @null_value end |
#number_value ⇒ Float
Optional. Represents a double value.
Corresponds to the JSON property numberValue
27256 27257 27258 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27256 def number_value @number_value end |
#string_value ⇒ String
Optional. Represents a string value.
Corresponds to the JSON property stringValue
27261 27262 27263 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27261 def string_value @string_value end |
#will_continue ⇒ Boolean Also known as: will_continue?
Optional. Whether this is not the last part of the same json_path. If true,
another PartialArg message for the current json_path is expected to follow.
Corresponds to the JSON property willContinue
27267 27268 27269 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27267 def will_continue @will_continue end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27275 27276 27277 27278 27279 27280 27281 27282 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27275 def update!(**args) @bool_value = args[:bool_value] if args.key?(:bool_value) @json_path = args[:json_path] if args.key?(:json_path) @null_value = args[:null_value] if args.key?(:null_value) @number_value = args[:number_value] if args.key?(:number_value) @string_value = args[:string_value] if args.key?(:string_value) @will_continue = args[:will_continue] if args.key?(:will_continue) end |