class Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription

Structure of a DeveloperSubscription.

Attributes

apiproduct[RW]

Name of the API product for which the developer is purchasing a subscription. Corresponds to the JSON property `apiproduct` @return [String]

created_at[RW]

Output only. Time when the API product subscription was created in milliseconds since epoch. Corresponds to the JSON property `createdAt` @return [Fixnum]

end_time[RW]

Time when the API product subscription ends in milliseconds since epoch. Corresponds to the JSON property `endTime` @return [Fixnum]

last_modified_at[RW]

Output only. Time when the API product subscription was last modified in milliseconds since epoch. Corresponds to the JSON property `lastModifiedAt` @return [Fixnum]

name[RW]

Output only. Name of the API product subscription. Corresponds to the JSON property `name` @return [String]

start_time[RW]

Time when the API product subscription starts in milliseconds since epoch. Corresponds to the JSON property `startTime` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/apigee_v1/classes.rb, line 2800
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 2805
def update!(**args)
  @apiproduct = args[:apiproduct] if args.key?(:apiproduct)
  @created_at = args[:created_at] if args.key?(:created_at)
  @end_time = args[:end_time] if args.key?(:end_time)
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
  @name = args[:name] if args.key?(:name)
  @start_time = args[:start_time] if args.key?(:start_time)
end