Class: Google::Apis::MlV1::GoogleCloudMlV1SuggestTrialsMetadata

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

Overview

Metadata field of a google.longrunning.Operation associated with a SuggestTrialsRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudMlV1SuggestTrialsMetadata

Returns a new instance of GoogleCloudMlV1SuggestTrialsMetadata.



2543
2544
2545
# File 'lib/google/apis/ml_v1/classes.rb', line 2543

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

Instance Attribute Details

#client_idString

The identifier of the client that is requesting the suggestion. Corresponds to the JSON property clientId

Returns:

  • (String)


2526
2527
2528
# File 'lib/google/apis/ml_v1/classes.rb', line 2526

def client_id
  @client_id
end

#create_timeString

The time operation was submitted. Corresponds to the JSON property createTime

Returns:

  • (String)


2531
2532
2533
# File 'lib/google/apis/ml_v1/classes.rb', line 2531

def create_time
  @create_time
end

#studyString

The name of the study that the trial belongs to. Corresponds to the JSON property study

Returns:

  • (String)


2536
2537
2538
# File 'lib/google/apis/ml_v1/classes.rb', line 2536

def study
  @study
end

#suggestion_countFixnum

The number of suggestions requested. Corresponds to the JSON property suggestionCount

Returns:

  • (Fixnum)


2541
2542
2543
# File 'lib/google/apis/ml_v1/classes.rb', line 2541

def suggestion_count
  @suggestion_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2548
2549
2550
2551
2552
2553
# File 'lib/google/apis/ml_v1/classes.rb', line 2548

def update!(**args)
  @client_id = args[:client_id] if args.key?(:client_id)
  @create_time = args[:create_time] if args.key?(:create_time)
  @study = args[:study] if args.key?(:study)
  @suggestion_count = args[:suggestion_count] if args.key?(:suggestion_count)
end