Class: Google::Apis::AlertcenterV1beta1::AccountSuspensionDetails
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::AccountSuspensionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alertcenter_v1beta1/classes.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb
Overview
Details about why an account is receiving an account suspension warning.
Instance Attribute Summary collapse
-
#abuse_reason ⇒ String
The reason why this account is receiving an account suspension warning.
-
#product_name ⇒ String
The name of the product being abused.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountSuspensionDetails
constructor
A new instance of AccountSuspensionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccountSuspensionDetails
Returns a new instance of AccountSuspensionDetails.
40 41 42 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 40 def initialize(**args) update!(**args) end |
Instance Attribute Details
#abuse_reason ⇒ String
The reason why this account is receiving an account suspension warning.
Corresponds to the JSON property abuseReason
32 33 34 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 32 def abuse_reason @abuse_reason end |
#product_name ⇒ String
The name of the product being abused. This is restricted to only the following
values: "Gmail" "Payments" "Voice" "Workspace" "Other"
Corresponds to the JSON property productName
38 39 40 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 38 def product_name @product_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
45 46 47 48 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 45 def update!(**args) @abuse_reason = args[:abuse_reason] if args.key?(:abuse_reason) @product_name = args[:product_name] if args.key?(:product_name) end |