Class: Google::Apis::AppsmarketV2::LicenseNotification
- Inherits:
-
Object
- Object
- Google::Apis::AppsmarketV2::LicenseNotification
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appsmarket_v2/classes.rb,
generated/google/apis/appsmarket_v2/representations.rb,
generated/google/apis/appsmarket_v2/representations.rb
Defined Under Namespace
Classes: Delete, Expiry, Provision, Reassignment
Instance Attribute Summary collapse
-
#application_id ⇒ String
The ID of the application according to this notification.
-
#customer_id ⇒ String
The domain name of the customer corresponding to this notification.
-
#deletes ⇒ Array<Google::Apis::AppsmarketV2::LicenseNotification::Delete>
The list of deletion notifications.
-
#expiries ⇒ Array<Google::Apis::AppsmarketV2::LicenseNotification::Expiry>
The list of expiry notifications.
-
#id ⇒ String
The ID of the license notification.
-
#kind ⇒ String
The type of API resource.
-
#provisions ⇒ Array<Google::Apis::AppsmarketV2::LicenseNotification::Provision>
The list of provisioning notifications.
-
#reassignments ⇒ Array<Google::Apis::AppsmarketV2::LicenseNotification::Reassignment>
The list of reassignment notifications.
-
#timestamp ⇒ Fixnum
The time the event occurred, measuring in milliseconds since the UNIX epoch.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LicenseNotification
constructor
A new instance of LicenseNotification.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LicenseNotification
Returns a new instance of LicenseNotification
154 155 156 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 154 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_id ⇒ String
The ID of the application according to this notification.
Corresponds to the JSON property applicationId
112 113 114 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 112 def application_id @application_id end |
#customer_id ⇒ String
The domain name of the customer corresponding to this notification.
Corresponds to the JSON property customerId
117 118 119 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 117 def customer_id @customer_id end |
#deletes ⇒ Array<Google::Apis::AppsmarketV2::LicenseNotification::Delete>
The list of deletion notifications.
Corresponds to the JSON property deletes
122 123 124 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 122 def deletes @deletes end |
#expiries ⇒ Array<Google::Apis::AppsmarketV2::LicenseNotification::Expiry>
The list of expiry notifications.
Corresponds to the JSON property expiries
127 128 129 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 127 def expiries @expiries end |
#id ⇒ String
The ID of the license notification.
Corresponds to the JSON property id
132 133 134 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 132 def id @id end |
#kind ⇒ String
The type of API resource. This is always appsmarket#licenseNotification.
Corresponds to the JSON property kind
137 138 139 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 137 def kind @kind end |
#provisions ⇒ Array<Google::Apis::AppsmarketV2::LicenseNotification::Provision>
The list of provisioning notifications.
Corresponds to the JSON property provisions
142 143 144 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 142 def provisions @provisions end |
#reassignments ⇒ Array<Google::Apis::AppsmarketV2::LicenseNotification::Reassignment>
The list of reassignment notifications.
Corresponds to the JSON property reassignments
147 148 149 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 147 def reassignments @reassignments end |
#timestamp ⇒ Fixnum
The time the event occurred, measuring in milliseconds since the UNIX epoch.
Corresponds to the JSON property timestamp
152 153 154 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 152 def @timestamp end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
159 160 161 162 163 164 165 166 167 168 169 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 159 def update!(**args) @application_id = args[:application_id] if args.key?(:application_id) @customer_id = args[:customer_id] if args.key?(:customer_id) @deletes = args[:deletes] if args.key?(:deletes) @expiries = args[:expiries] if args.key?(:expiries) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @provisions = args[:provisions] if args.key?(:provisions) @reassignments = args[:reassignments] if args.key?(:reassignments) @timestamp = args[:timestamp] if args.key?(:timestamp) end |