Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Developer
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1Developer
- 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
-
#access_type ⇒ String
Access type.
-
#app_family ⇒ String
Developer app family.
-
#apps ⇒ Array<String>
List of apps associated with the developer.
-
#attributes ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>
Optional.
-
#companies ⇒ Array<String>
List of companies associated with the developer.
-
#created_at ⇒ Fixnum
Output only.
-
#developer_id ⇒ String
ID of the developer.
-
#email ⇒ String
Required.
-
#first_name ⇒ String
Required.
-
#last_modified_at ⇒ Fixnum
Output only.
-
#last_name ⇒ String
Required.
-
#organization_name ⇒ String
Output only.
-
#status ⇒ String
Output only.
-
#user_name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1Developer
constructor
A new instance of GoogleCloudApigeeV1Developer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1Developer
Returns a new instance of GoogleCloudApigeeV1Developer.
3210 3211 3212 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3210 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_type ⇒ String
Access type.
Corresponds to the JSON property accessType
3137 3138 3139 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3137 def access_type @access_type end |
#app_family ⇒ String
Developer app family.
Corresponds to the JSON property appFamily
3142 3143 3144 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3142 def app_family @app_family end |
#apps ⇒ Array<String>
List of apps associated with the developer.
Corresponds to the JSON property apps
3147 3148 3149 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3147 def apps @apps end |
#attributes ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>
Optional. Developer attributes (name/value pairs). The custom attribute limit
is 18.
Corresponds to the JSON property attributes
3153 3154 3155 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3153 def attributes @attributes end |
#companies ⇒ Array<String>
List of companies associated with the developer.
Corresponds to the JSON property companies
3158 3159 3160 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3158 def companies @companies end |
#created_at ⇒ Fixnum
Output only. Time at which the developer was created in milliseconds since
epoch.
Corresponds to the JSON property createdAt
3164 3165 3166 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3164 def created_at @created_at end |
#developer_id ⇒ String
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
3170 3171 3172 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3170 def developer_id @developer_id end |
#email ⇒ String
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
3177 3178 3179 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3177 def email @email end |
#first_name ⇒ String
Required. First name of the developer.
Corresponds to the JSON property firstName
3182 3183 3184 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3182 def first_name @first_name end |
#last_modified_at ⇒ Fixnum
Output only. Time at which the developer was last modified in milliseconds
since epoch.
Corresponds to the JSON property lastModifiedAt
3188 3189 3190 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3188 def last_modified_at @last_modified_at end |
#last_name ⇒ String
Required. Last name of the developer.
Corresponds to the JSON property lastName
3193 3194 3195 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3193 def last_name @last_name end |
#organization_name ⇒ String
Output only. Name of the Apigee organization in which the developer resides.
Corresponds to the JSON property organizationName
3198 3199 3200 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3198 def organization_name @organization_name end |
#status ⇒ String
Output only. Status of the developer. Valid values are active and inactive.
Corresponds to the JSON property status
3203 3204 3205 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3203 def status @status end |
#user_name ⇒ String
Required. User name of the developer. Not used by Apigee hybrid.
Corresponds to the JSON property userName
3208 3209 3210 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3208 def user_name @user_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3215 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 |