Class: Google::Apis::PlaycustomappV1::Organization
- Inherits:
-
Object
- Object
- Google::Apis::PlaycustomappV1::Organization
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/playcustomapp_v1/classes.rb,
lib/google/apis/playcustomapp_v1/representations.rb,
lib/google/apis/playcustomapp_v1/representations.rb
Overview
Represents an organization that can access a custom app.
Instance Attribute Summary collapse
-
#organization_id ⇒ String
Required.
-
#organization_name ⇒ String
Optional.
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.
83 84 85 |
# File 'lib/google/apis/playcustomapp_v1/classes.rb', line 83 def initialize(**args) update!(**args) end |
Instance Attribute Details
#organization_id ⇒ String
Required. ID of the organization.
Corresponds to the JSON property organizationId
75 76 77 |
# File 'lib/google/apis/playcustomapp_v1/classes.rb', line 75 def organization_id @organization_id end |
#organization_name ⇒ String
Optional. A human-readable name of the organization, to help recognize the
organization.
Corresponds to the JSON property organizationName
81 82 83 |
# File 'lib/google/apis/playcustomapp_v1/classes.rb', line 81 def organization_name @organization_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
88 89 90 91 |
# File 'lib/google/apis/playcustomapp_v1/classes.rb', line 88 def update!(**args) @organization_id = args[:organization_id] if args.key?(:organization_id) @organization_name = args[:organization_name] if args.key?(:organization_name) end |