Class: Google::Apis::AlertcenterV1beta1::AccessApproval
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::AccessApproval
- 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
Alert that is triggered when Google support requests to access customer data.
Instance Attribute Summary collapse
-
#justification_reason ⇒ Array<String>
Justification for data access based on justification enums.
-
#office_location ⇒ String
Office location of Google staff requesting access such as "US".
-
#products ⇒ Array<String>
Products within scope of the Access Approvals request.
-
#request_id ⇒ String
ID of the Access Approvals request.
-
#scope ⇒ String
Scope of access, also known as a resource.
-
#tickets ⇒ Array<Google::Apis::AlertcenterV1beta1::SupportTicket>
Support tickets related to this Access Approvals request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccessApproval
constructor
A new instance of AccessApproval.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccessApproval
Returns a new instance of AccessApproval.
103 104 105 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 103 def initialize(**args) update!(**args) end |
Instance Attribute Details
#justification_reason ⇒ Array<String>
Justification for data access based on justification enums.
Corresponds to the JSON property justificationReason
73 74 75 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 73 def justification_reason @justification_reason end |
#office_location ⇒ String
Office location of Google staff requesting access such as "US".
Corresponds to the JSON property officeLocation
78 79 80 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 78 def office_location @office_location end |
#products ⇒ Array<String>
Products within scope of the Access Approvals request.
Corresponds to the JSON property products
83 84 85 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 83 def products @products end |
#request_id ⇒ String
ID of the Access Approvals request. This is a helpful field when requesting
support from Google.
Corresponds to the JSON property requestId
89 90 91 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 89 def request_id @request_id end |
#scope ⇒ String
Scope of access, also known as a resource. This is further narrowed down by
the product field.
Corresponds to the JSON property scope
95 96 97 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 95 def scope @scope end |
#tickets ⇒ Array<Google::Apis::AlertcenterV1beta1::SupportTicket>
Support tickets related to this Access Approvals request. Populated if there
is an associated case number.
Corresponds to the JSON property tickets
101 102 103 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 101 def tickets @tickets end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
108 109 110 111 112 113 114 115 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 108 def update!(**args) @justification_reason = args[:justification_reason] if args.key?(:justification_reason) @office_location = args[:office_location] if args.key?(:office_location) @products = args[:products] if args.key?(:products) @request_id = args[:request_id] if args.key?(:request_id) @scope = args[:scope] if args.key?(:scope) @tickets = args[:tickets] if args.key?(:tickets) end |