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.



15136
15137
15138
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15136

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

Instance Attribute Details

#usernameString

User's username Corresponds to the JSON property username

Returns:

  • (String)


15129
15130
15131
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15129

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)


15134
15135
15136
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15134

def view_count
  @view_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15141
15142
15143
15144
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15141

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