Class: Google::Apis::HealthcareV1beta1::ConsentAccessorScope

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/healthcare_v1beta1/classes.rb,
lib/google/apis/healthcare_v1beta1/representations.rb,
lib/google/apis/healthcare_v1beta1/representations.rb

Overview

The accessor scope that describes who can access, for what purpose, in which environment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConsentAccessorScope

Returns a new instance of ConsentAccessorScope.



1294
1295
1296
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1294

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#actorString

An individual, group, or access role that identifies the accessor or a characteristic of the accessor. This can be a resource ID (such as resourceType`/`id) or an external URI. This value must be present. Corresponds to the JSON property actor

Returns:

  • (String)


1281
1282
1283
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1281

def actor
  @actor
end

#environmentString

An abstract identifier that describes the environment or conditions under which the accessor is acting. Can be "*" if it applies to all environments. Corresponds to the JSON property environment

Returns:

  • (String)


1287
1288
1289
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1287

def environment
  @environment
end

#purposeString

The intent of data use. Can be "*" if it applies to all purposes. Corresponds to the JSON property purpose

Returns:

  • (String)


1292
1293
1294
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1292

def purpose
  @purpose
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1299
1300
1301
1302
1303
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1299

def update!(**args)
  @actor = args[:actor] if args.key?(:actor)
  @environment = args[:environment] if args.key?(:environment)
  @purpose = args[:purpose] if args.key?(:purpose)
end