Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReadTensorboardUsageResponsePerUserUsageData

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

Overview

Per user usage data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ReadTensorboardUsageResponsePerUserUsageData

Returns a new instance of GoogleCloudAiplatformV1beta1ReadTensorboardUsageResponsePerUserUsageData.



16248
16249
16250
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16248

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

Instance Attribute Details

#usernameString

User's username Corresponds to the JSON property username

Returns:

  • (String)


16241
16242
16243
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16241

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)


16246
16247
16248
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16246

def view_count
  @view_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16253
16254
16255
16256
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16253

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