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.



21140
21141
21142
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21140

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

Instance Attribute Details

#usernameString

User's username Corresponds to the JSON property username

Returns:

  • (String)


21133
21134
21135
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21133

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)


21138
21139
21140
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21138

def view_count
  @view_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21145
21146
21147
21148
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21145

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