Class: Google::Apis::AlertcenterV1beta1::AccessApproval

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_reasonArray<String>

Justification for data access based on justification enums. Corresponds to the JSON property justificationReason

Returns:

  • (Array<String>)


73
74
75
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 73

def justification_reason
  @justification_reason
end

#office_locationString

Office location of Google staff requesting access such as "US". Corresponds to the JSON property officeLocation

Returns:

  • (String)


78
79
80
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 78

def office_location
  @office_location
end

#productsArray<String>

Products within scope of the Access Approvals request. Corresponds to the JSON property products

Returns:

  • (Array<String>)


83
84
85
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 83

def products
  @products
end

#request_idString

ID of the Access Approvals request. This is a helpful field when requesting support from Google. Corresponds to the JSON property requestId

Returns:

  • (String)


89
90
91
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 89

def request_id
  @request_id
end

#scopeString

Scope of access, also known as a resource. This is further narrowed down by the product field. Corresponds to the JSON property scope

Returns:

  • (String)


95
96
97
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 95

def scope
  @scope
end

#ticketsArray<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