Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Developer

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1Developer

Returns a new instance of GoogleCloudApigeeV1Developer.



3705
3706
3707
# File 'lib/google/apis/apigee_v1/classes.rb', line 3705

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#access_typeString

Access type. Corresponds to the JSON property accessType

Returns:

  • (String)


3632
3633
3634
# File 'lib/google/apis/apigee_v1/classes.rb', line 3632

def access_type
  @access_type
end

#app_familyString

Developer app family. Corresponds to the JSON property appFamily

Returns:

  • (String)


3637
3638
3639
# File 'lib/google/apis/apigee_v1/classes.rb', line 3637

def app_family
  @app_family
end

#appsArray<String>

List of apps associated with the developer. Corresponds to the JSON property apps

Returns:

  • (Array<String>)


3642
3643
3644
# File 'lib/google/apis/apigee_v1/classes.rb', line 3642

def apps
  @apps
end

#attributesArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>

Optional. Developer attributes (name/value pairs). The custom attribute limit is 18. Corresponds to the JSON property attributes



3648
3649
3650
# File 'lib/google/apis/apigee_v1/classes.rb', line 3648

def attributes
  @attributes
end

#companiesArray<String>

List of companies associated with the developer. Corresponds to the JSON property companies

Returns:

  • (Array<String>)


3653
3654
3655
# File 'lib/google/apis/apigee_v1/classes.rb', line 3653

def companies
  @companies
end

#created_atFixnum

Output only. Time at which the developer was created in milliseconds since epoch. Corresponds to the JSON property createdAt

Returns:

  • (Fixnum)


3659
3660
3661
# File 'lib/google/apis/apigee_v1/classes.rb', line 3659

def created_at
  @created_at
end

#developer_idString

ID of the developer. Note: IDs are generated internally by Apigee and are not guaranteed to stay the same over time. Corresponds to the JSON property developerId

Returns:

  • (String)


3665
3666
3667
# File 'lib/google/apis/apigee_v1/classes.rb', line 3665

def developer_id
  @developer_id
end

#emailString

Required. Email address of the developer. This value is used to uniquely identify the developer in Apigee hybrid. Note that the email address has to be in lowercase only. Corresponds to the JSON property email

Returns:

  • (String)


3672
3673
3674
# File 'lib/google/apis/apigee_v1/classes.rb', line 3672

def email
  @email
end

#first_nameString

Required. First name of the developer. Corresponds to the JSON property firstName

Returns:

  • (String)


3677
3678
3679
# File 'lib/google/apis/apigee_v1/classes.rb', line 3677

def first_name
  @first_name
end

#last_modified_atFixnum

Output only. Time at which the developer was last modified in milliseconds since epoch. Corresponds to the JSON property lastModifiedAt

Returns:

  • (Fixnum)


3683
3684
3685
# File 'lib/google/apis/apigee_v1/classes.rb', line 3683

def last_modified_at
  @last_modified_at
end

#last_nameString

Required. Last name of the developer. Corresponds to the JSON property lastName

Returns:

  • (String)


3688
3689
3690
# File 'lib/google/apis/apigee_v1/classes.rb', line 3688

def last_name
  @last_name
end

#organization_nameString

Output only. Name of the Apigee organization in which the developer resides. Corresponds to the JSON property organizationName

Returns:

  • (String)


3693
3694
3695
# File 'lib/google/apis/apigee_v1/classes.rb', line 3693

def organization_name
  @organization_name
end

#statusString

Output only. Status of the developer. Valid values are active and inactive. Corresponds to the JSON property status

Returns:

  • (String)


3698
3699
3700
# File 'lib/google/apis/apigee_v1/classes.rb', line 3698

def status
  @status
end

#user_nameString

Required. User name of the developer. Not used by Apigee hybrid. Corresponds to the JSON property userName

Returns:

  • (String)


3703
3704
3705
# File 'lib/google/apis/apigee_v1/classes.rb', line 3703

def user_name
  @user_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
# File 'lib/google/apis/apigee_v1/classes.rb', line 3710

def update!(**args)
  @access_type = args[:access_type] if args.key?(:access_type)
  @app_family = args[:app_family] if args.key?(:app_family)
  @apps = args[:apps] if args.key?(:apps)
  @attributes = args[:attributes] if args.key?(:attributes)
  @companies = args[:companies] if args.key?(:companies)
  @created_at = args[:created_at] if args.key?(:created_at)
  @developer_id = args[:developer_id] if args.key?(:developer_id)
  @email = args[:email] if args.key?(:email)
  @first_name = args[:first_name] if args.key?(:first_name)
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
  @last_name = args[:last_name] if args.key?(:last_name)
  @organization_name = args[:organization_name] if args.key?(:organization_name)
  @status = args[:status] if args.key?(:status)
  @user_name = args[:user_name] if args.key?(:user_name)
end