Class: Google::Apis::MarketingplatformadminV1alpha::Organization

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

Overview

A resource message representing a Google Marketing Platform organization.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Organization

Returns a new instance of Organization.



352
353
354
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 352

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

Instance Attribute Details

#display_nameString

The human-readable name for the organization. Corresponds to the JSON property displayName

Returns:

  • (String)


344
345
346
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 344

def display_name
  @display_name
end

#nameString

Identifier. The resource name of the GMP organization. Format: organizations/ org_id Corresponds to the JSON property name

Returns:

  • (String)


350
351
352
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 350

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



357
358
359
360
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 357

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