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.
133 134 135 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 133 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
125 126 127 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 125 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" "Google Workspace" "Payments" "Voice" "YouTube" "Other"
Corresponds to the JSON property productName
131 132 133 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 131 def product_name @product_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
138 139 140 141 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 138 def update!(**args) @abuse_reason = args[:abuse_reason] if args.key?(:abuse_reason) @product_name = args[:product_name] if args.key?(:product_name) end |