Class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp

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

Overview

An app where the label can be used.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp

Returns a new instance of GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp.



2450
2451
2452
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 2450

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

Instance Attribute Details

#appString

Optional. The name of the app. Corresponds to the JSON property app

Returns:

  • (String)


2448
2449
2450
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 2448

def app
  @app
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2455
2456
2457
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 2455

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