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.



127
128
129
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 127

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)


119
120
121
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 119

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)


125
126
127
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 125

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



132
133
134
135
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 132

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