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.



18215
18216
18217
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18215

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

Instance Attribute Details

#usernameString

User's username Corresponds to the JSON property username

Returns:

  • (String)


18208
18209
18210
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18208

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)


18213
18214
18215
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18213

def view_count
  @view_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18220
18221
18222
18223
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18220

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