Class: Google::Apis::AdsenseplatformV1alpha::Platform
- Inherits:
-
Object
- Object
- Google::Apis::AdsenseplatformV1alpha::Platform
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/adsenseplatform_v1alpha/classes.rb,
lib/google/apis/adsenseplatform_v1alpha/representations.rb,
lib/google/apis/adsenseplatform_v1alpha/representations.rb
Overview
Representation of a Transparent Platform.
Instance Attribute Summary collapse
-
#default_platform_group ⇒ String
Default platform group for the platform.
-
#description ⇒ String
Output only.
-
#name ⇒ String
Identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Platform
constructor
A new instance of Platform.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Platform
Returns a new instance of Platform.
383 384 385 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 383 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default_platform_group ⇒ String
Default platform group for the platform.
Corresponds to the JSON property defaultPlatformGroup
370 371 372 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 370 def default_platform_group @default_platform_group end |
#description ⇒ String
Output only. Description of the platform.
Corresponds to the JSON property description
375 376 377 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 375 def description @description end |
#name ⇒ String
Identifier. Resource name of a platform. Format: accounts/account
/platforms/
platform
Corresponds to the JSON property name
381 382 383 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 381 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
388 389 390 391 392 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 388 def update!(**args) @default_platform_group = args[:default_platform_group] if args.key?(:default_platform_group) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) end |