Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PartialArg

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebaseml_v2beta/classes.rb,
lib/google/apis/firebaseml_v2beta/representations.rb,
lib/google/apis/firebaseml_v2beta/representations.rb

Overview

Partial argument value of the function call.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PartialArg

Returns a new instance of GoogleCloudAiplatformV1beta1PartialArg.



2607
2608
2609
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2607

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

Instance Attribute Details

#bool_valueBoolean Also known as: bool_value?

Optional. Represents a boolean value. Corresponds to the JSON property boolValue

Returns:

  • (Boolean)


2576
2577
2578
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2576

def bool_value
  @bool_value
end

#json_pathString

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

Returns:

  • (String)


2583
2584
2585
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2583

def json_path
  @json_path
end

#null_valueString

Optional. Represents a null value. Corresponds to the JSON property nullValue

Returns:

  • (String)


2588
2589
2590
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2588

def null_value
  @null_value
end

#number_valueFloat

Optional. Represents a double value. Corresponds to the JSON property numberValue

Returns:

  • (Float)


2593
2594
2595
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2593

def number_value
  @number_value
end

#string_valueString

Optional. Represents a string value. Corresponds to the JSON property stringValue

Returns:

  • (String)


2598
2599
2600
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2598

def string_value
  @string_value
end

#will_continueBoolean 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

Returns:

  • (Boolean)


2604
2605
2606
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2604

def will_continue
  @will_continue
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2612
2613
2614
2615
2616
2617
2618
2619
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 2612

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