Class: Google::Apis::PlusDomainsV1::Person::Organization
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PlusDomainsV1::Person::Organization
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/plus_domains_v1/classes.rb,
 generated/google/apis/plus_domains_v1/representations.rb,
 generated/google/apis/plus_domains_v1/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #department  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The department within the organization. 
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A short description of the person's role in this organization. 
- 
  
    
      #end_date  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The date that the person left this organization. 
- 
  
    
      #location  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The location of this organization. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the organization. 
- 
  
    
      #primary  ⇒ Boolean 
    
    
      (also: #primary?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    If "true", indicates this organization is the person's primary one, which is typically interpreted as the current one. 
- 
  
    
      #start_date  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The date that the person joined this organization. 
- 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The person's job title or role within the organization. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of organization. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Organization 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Organization. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Organization
Returns a new instance of Organization
| 2363 2364 2365 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2363 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#department ⇒ String
The department within the organization. Deprecated.
Corresponds to the JSON property department
| 2316 2317 2318 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2316 def department @department end | 
#description ⇒ String
A short description of the person's role in this organization. Deprecated.
Corresponds to the JSON property description
| 2321 2322 2323 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2321 def description @description end | 
#end_date ⇒ String
The date that the person left this organization.
Corresponds to the JSON property endDate
| 2326 2327 2328 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2326 def end_date @end_date end | 
#location ⇒ String
The location of this organization. Deprecated.
Corresponds to the JSON property location
| 2331 2332 2333 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2331 def location @location end | 
#name ⇒ String
The name of the organization.
Corresponds to the JSON property name
| 2336 2337 2338 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2336 def name @name end | 
#primary ⇒ Boolean Also known as: primary?
If "true", indicates this organization is the person's primary one, which is
typically interpreted as the current one.
Corresponds to the JSON property primary
| 2342 2343 2344 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2342 def primary @primary end | 
#start_date ⇒ String
The date that the person joined this organization.
Corresponds to the JSON property startDate
| 2348 2349 2350 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2348 def start_date @start_date end | 
#title ⇒ String
The person's job title or role within the organization.
Corresponds to the JSON property title
| 2353 2354 2355 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2353 def title @title end | 
#type ⇒ String
The type of organization. Possible values include, but are not limited to, the following values:
- "work" - Work.
- "school" - School.
Corresponds to the JSON property type
| 2361 2362 2363 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2361 def type @type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2368 def update!(**args) @department = args[:department] if args.key?(:department) @description = args[:description] if args.key?(:description) @end_date = args[:end_date] if args.key?(:end_date) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) @primary = args[:primary] if args.key?(:primary) @start_date = args[:start_date] if args.key?(:start_date) @title = args[:title] if args.key?(:title) @type = args[:type] if args.key?(:type) end |