class Google::Apis::HealthcareV1::CheckDataAccessRequest

Checks if a particular data_id of a User data mapping in the given consent store is consented for a given use.

Attributes

data_id[RW]

Required. The unique identifier of the resource to check access for. This identifier must correspond to a User data mapping in the given consent store. Corresponds to the JSON property `dataId` @return [String]

request_attributes[RW]

The values of request attributes associated with this access request. Corresponds to the JSON property `requestAttributes` @return [Hash<String,String>]

response_view[RW]

Optional. The view for CheckDataAccessResponse. If unspecified, defaults to ` BASIC` and returns `consented` as `TRUE` or `FALSE`. Corresponds to the JSON property `responseView` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/healthcare_v1/classes.rb, line 439
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/healthcare_v1/classes.rb, line 444
def update!(**args)
  @consent_list = args[:consent_list] if args.key?(:consent_list)
  @data_id = args[:data_id] if args.key?(:data_id)
  @request_attributes = args[:request_attributes] if args.key?(:request_attributes)
  @response_view = args[:response_view] if args.key?(:response_view)
end