class Google::Apis::ApigeeV1::GoogleCloudApigeeV1App

Attributes

api_products[RW]

List of API products associated with the app. Corresponds to the JSON property `apiProducts` @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProductRef>]

app_id[RW]

ID of the app. Corresponds to the JSON property `appId` @return [String]

attributes[RW]

List of attributes. Corresponds to the JSON property `attributes` @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]

callback_url[RW]

Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to apps. Corresponds to the JSON property `callbackUrl` @return [String]

company_name[RW]

Name of the company that owns the app. Corresponds to the JSON property `companyName` @return [String]

created_at[RW]

Output only. Unix time when the app was created. Corresponds to the JSON property `createdAt` @return [Fixnum]

credentials[RW]

Output only. Set of credentials for the app. Credentials are API key/secret pairs associated with API products. Corresponds to the JSON property `credentials` @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Credential>]

developer_id[RW]

ID of the developer. Corresponds to the JSON property `developerId` @return [String]

key_expires_in[RW]

Duration, in milliseconds, of the consumer key that will be generated for the app. The default value, -1, indicates an infinite validity period. Once set, the expiration can't be updated. json key: keyExpiresIn Corresponds to the JSON property `keyExpiresIn` @return [Fixnum]

last_modified_at[RW]

Output only. Last modified time as milliseconds since epoch. Corresponds to the JSON property `lastModifiedAt` @return [Fixnum]

name[RW]

Name of the app. Corresponds to the JSON property `name` @return [String]

scopes[RW]

Scopes to apply to the app. The specified scope names must already exist on the API product that you associate with the app. Corresponds to the JSON property `scopes` @return [Array<String>]

status[RW]

Status of the credential. Corresponds to the JSON property `status` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/apigee_v1/classes.rb, line 939
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/apigee_v1/classes.rb, line 944
def update!(**args)
  @api_products = args[:api_products] if args.key?(:api_products)
  @app_id = args[:app_id] if args.key?(:app_id)
  @attributes = args[:attributes] if args.key?(:attributes)
  @callback_url = args[:callback_url] if args.key?(:callback_url)
  @company_name = args[:company_name] if args.key?(:company_name)
  @created_at = args[:created_at] if args.key?(:created_at)
  @credentials = args[:credentials] if args.key?(:credentials)
  @developer_id = args[:developer_id] if args.key?(:developer_id)
  @key_expires_in = args[:key_expires_in] if args.key?(:key_expires_in)
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
  @name = args[:name] if args.key?(:name)
  @scopes = args[:scopes] if args.key?(:scopes)
  @status = args[:status] if args.key?(:status)
end