Class: Google::Apis::MarketingplatformadminV1alpha::Organization
- Inherits:
-
Object
- Object
- Google::Apis::MarketingplatformadminV1alpha::Organization
- 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
-
#display_name ⇒ String
The human-readable name for the organization.
-
#name ⇒ String
Identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Organization
constructor
A new instance of Organization.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_name ⇒ String
The human-readable name for the organization.
Corresponds to the JSON property displayName
119 120 121 |
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 119 def display_name @display_name end |
#name ⇒ String
Identifier. The resource name of the GMP organization. Format: organizations/
org_id
Corresponds to the JSON property name
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 |