Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData

Inherits:
Object
  • Object
show all
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

Per user usage data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData

Returns a new instance of GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData.



21426
21427
21428
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21426

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

Instance Attribute Details

#usernameString

User's username Corresponds to the JSON property username

Returns:

  • (String)


21419
21420
21421
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21419

def username
  @username
end

#view_countFixnum

Number of times the user has read data within the Tensorboard. Corresponds to the JSON property viewCount

Returns:

  • (Fixnum)


21424
21425
21426
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21424

def view_count
  @view_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21431
21432
21433
21434
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21431

def update!(**args)
  @username = args[:username] if args.key?(:username)
  @view_count = args[:view_count] if args.key?(:view_count)
end