Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription
- 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
Overview
Structure of a DeveloperSubscription.
Instance Attribute Summary collapse
-
#apiproduct ⇒ String
Name of the API product for which the developer is purchasing a subscription.
-
#created_at ⇒ Fixnum
Output only.
-
#end_time ⇒ Fixnum
Time when the API product subscription ends in milliseconds since epoch.
-
#last_modified_at ⇒ Fixnum
Output only.
-
#name ⇒ String
Output only.
-
#start_time ⇒ Fixnum
Time when the API product subscription starts in milliseconds since epoch.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1DeveloperSubscription
constructor
A new instance of GoogleCloudApigeeV1DeveloperSubscription.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1DeveloperSubscription
Returns a new instance of GoogleCloudApigeeV1DeveloperSubscription.
4042 4043 4044 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4042 def initialize(**args) update!(**args) end |
Instance Attribute Details
#apiproduct ⇒ String
Name of the API product for which the developer is purchasing a subscription.
Corresponds to the JSON property apiproduct
4013 4014 4015 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4013 def apiproduct @apiproduct end |
#created_at ⇒ Fixnum
Output only. Time when the API product subscription was created in
milliseconds since epoch.
Corresponds to the JSON property createdAt
4019 4020 4021 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4019 def created_at @created_at end |
#end_time ⇒ Fixnum
Time when the API product subscription ends in milliseconds since epoch.
Corresponds to the JSON property endTime
4024 4025 4026 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4024 def end_time @end_time end |
#last_modified_at ⇒ Fixnum
Output only. Time when the API product subscription was last modified in
milliseconds since epoch.
Corresponds to the JSON property lastModifiedAt
4030 4031 4032 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4030 def last_modified_at @last_modified_at end |
#name ⇒ String
Output only. Name of the API product subscription.
Corresponds to the JSON property name
4035 4036 4037 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4035 def name @name end |
#start_time ⇒ Fixnum
Time when the API product subscription starts in milliseconds since epoch.
Corresponds to the JSON property startTime
4040 4041 4042 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4040 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4047 4048 4049 4050 4051 4052 4053 4054 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4047 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 |