class Google::Apis::HealthcareV1::EvaluateUserConsentsRequest

Evaluate a user's Consents for all matching User data mappings. Note: User data mappings are indexed asynchronously, causing slight delays between the time mappings are created or updated and when they are included in EvaluateUserConsents results.

Attributes

page_size[RW]

Optional. Limit on the number of User data mappings to return in a single response. If not specified, 100 is used. May not be larger than 1000. Corresponds to the JSON property `pageSize` @return [Fixnum]

page_token[RW]

Optional. Token to retrieve the next page of results, or empty to get the first page. Corresponds to the JSON property `pageToken` @return [String]

request_attributes[RW]

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

resource_attributes[RW]

Optional. The values of resource attributes associated with the resources being requested. If no values are specified, then all resources are queried. Corresponds to the JSON property `resourceAttributes` @return [Hash<String,String>]

response_view[RW]

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

user_id[RW]

Required. User ID to evaluate consents for. Corresponds to the JSON property `userId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/healthcare_v1/classes.rb, line 1293
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 1298
def update!(**args)
  @consent_list = args[:consent_list] if args.key?(:consent_list)
  @page_size = args[:page_size] if args.key?(:page_size)
  @page_token = args[:page_token] if args.key?(:page_token)
  @request_attributes = args[:request_attributes] if args.key?(:request_attributes)
  @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
  @response_view = args[:response_view] if args.key?(:response_view)
  @user_id = args[:user_id] if args.key?(:user_id)
end