Class: Google::Apis::PlaycustomappV1::Organization

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

Required. ID of the organization. Corresponds to the JSON property organizationId

Returns:

  • (String)


75
76
77
# File 'lib/google/apis/playcustomapp_v1/classes.rb', line 75

def organization_id
  @organization_id
end

#organization_nameString

Optional. A human-readable name of the organization, to help recognize the organization. Corresponds to the JSON property organizationName

Returns:

  • (String)


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