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
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::Deletes>
The list of deletion notifications.
-
#expiries ⇒ Array<Google::Apis::AppsmarketV2::Expiries>
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::Provisions>
The list of provisioning notifications.
-
#reassignments ⇒ Array<Google::Apis::AppsmarketV2::Reassignments>
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.
Constructor Details
#initialize(**args) ⇒ LicenseNotification
Returns a new instance of LicenseNotification.
206 207 208 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 206 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
164 165 166 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 164 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
169 170 171 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 169 def customer_id @customer_id end |
#deletes ⇒ Array<Google::Apis::AppsmarketV2::Deletes>
The list of deletion notifications.
Corresponds to the JSON property deletes
174 175 176 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 174 def deletes @deletes end |
#expiries ⇒ Array<Google::Apis::AppsmarketV2::Expiries>
The list of expiry notifications.
Corresponds to the JSON property expiries
179 180 181 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 179 def expiries @expiries end |
#id ⇒ String
The ID of the license notification.
Corresponds to the JSON property id
184 185 186 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 184 def id @id end |
#kind ⇒ String
The type of API resource. This is always appsmarket#licenseNotification.
Corresponds to the JSON property kind
189 190 191 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 189 def kind @kind end |
#provisions ⇒ Array<Google::Apis::AppsmarketV2::Provisions>
The list of provisioning notifications.
Corresponds to the JSON property provisions
194 195 196 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 194 def provisions @provisions end |
#reassignments ⇒ Array<Google::Apis::AppsmarketV2::Reassignments>
The list of reassignment notifications.
Corresponds to the JSON property reassignments
199 200 201 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 199 def reassignments @reassignments end |
#timestamp ⇒ Fixnum
The time the event occurred, measuring in milliseconds since the UNIX epoch.
Corresponds to the JSON property timestamp
204 205 206 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 204 def @timestamp end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
211 212 213 214 215 216 217 218 219 220 221 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 211 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 |