diff --git a/api_names_out.yaml b/api_names_out.yaml index 6d686c81e..a96d53f7a 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -112570,6 +112570,8 @@ "/healthcare:v1beta1/Consent": consent "/healthcare:v1beta1/Consent/consentArtifact": consent_artifact "/healthcare:v1beta1/Consent/expireTime": expire_time +"/healthcare:v1beta1/Consent/metadata": metadata +"/healthcare:v1beta1/Consent/metadata/metadatum": metadatum "/healthcare:v1beta1/Consent/name": name "/healthcare:v1beta1/Consent/policies": policies "/healthcare:v1beta1/Consent/policies/policy": policy @@ -112724,6 +112726,8 @@ "/healthcare:v1beta1/ExportMessagesRequest/gcsDestination": gcs_destination "/healthcare:v1beta1/ExportMessagesRequest/startTime": start_time "/healthcare:v1beta1/ExportResourcesRequest": export_resources_request +"/healthcare:v1beta1/ExportResourcesRequest/_since": _since +"/healthcare:v1beta1/ExportResourcesRequest/_type": _type "/healthcare:v1beta1/ExportResourcesRequest/bigqueryDestination": bigquery_destination "/healthcare:v1beta1/ExportResourcesRequest/gcsDestination": gcs_destination "/healthcare:v1beta1/Expr": expr diff --git a/generated/google/apis/healthcare_v1beta1.rb b/generated/google/apis/healthcare_v1beta1.rb index 17207127f..fdba9d0ae 100644 --- a/generated/google/apis/healthcare_v1beta1.rb +++ b/generated/google/apis/healthcare_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/healthcare module HealthcareV1beta1 VERSION = 'V1beta1' - REVISION = '20201110' + REVISION = '20201202' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/healthcare_v1beta1/classes.rb b/generated/google/apis/healthcare_v1beta1/classes.rb index e715d7f70..2b5a25893 100644 --- a/generated/google/apis/healthcare_v1beta1/classes.rb +++ b/generated/google/apis/healthcare_v1beta1/classes.rb @@ -438,11 +438,6 @@ module Google class Binding include Google::Apis::Core::Hashable - # - # Corresponds to the JSON property `bindingId` - # @return [String] - attr_accessor :binding_id - # Represents a textual expression in the Common Expression Language (CEL) syntax. # CEL is a C-like expression language. The syntax and semantics of CEL are # documented at https://github.com/google/cel-spec. Example (Comparison): title: @@ -504,7 +499,6 @@ module Google # Update properties of this object def update!(**args) - @binding_id = args[:binding_id] if args.key?(:binding_id) @condition = args[:condition] if args.key?(:condition) @members = args[:members] if args.key?(:members) @role = args[:role] if args.key?(:role) @@ -589,7 +583,8 @@ module Google # @return [Hash] attr_accessor :request_attributes - # The view for CheckDataAccessResponse. + # The view for CheckDataAccessResponse. If unspecified, defaults to `BASIC` and + # returns `consented` as `TRUE` or `FALSE`. # Corresponds to the JSON property `responseView` # @return [String] attr_accessor :response_view @@ -670,6 +665,18 @@ module Google # @return [String] attr_accessor :expire_time + # User-supplied key-value pairs used to organize consent resources. Metadata + # keys must: - be between 1 and 63 characters long - have a UTF-8 encoding of + # maximum 128 bytes - begin with a letter - consist of up to 63 characters + # including lowercase letters, numeric characters, underscores, and dashes + # Metadata values must be: - be between 1 and 63 characters long - have a UTF-8 + # encoding of maximum 128 bytes - consist of up to 63 characters including + # lowercase letters, numeric characters, underscores, and dashes No more than 64 + # metadata entries can be associated with a given consent. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + # Resource name of the Consent, of the form `projects/`project_id`/locations/` # location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/consents/` # consent_id``. @@ -718,6 +725,7 @@ module Google def update!(**args) @consent_artifact = args[:consent_artifact] if args.key?(:consent_artifact) @expire_time = args[:expire_time] if args.key?(:expire_time) + @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) @policies = args[:policies] if args.key?(:policies) @revision_create_time = args[:revision_create_time] if args.key?(:revision_create_time) @@ -1518,7 +1526,7 @@ module Google attr_accessor :consent_list # Limit on the number of user data mappings to return in a single response. If - # zero the default page size of 100 is used. + # not specified, 100 is used. May not be larger than 1000. # Corresponds to the JSON property `pageSize` # @return [Fixnum] attr_accessor :page_size @@ -1539,7 +1547,8 @@ module Google # @return [Hash] attr_accessor :resource_attributes - # The view for EvaluateUserConsentsResponse. + # The view for EvaluateUserConsentsResponse. If unspecified, defaults to `BASIC` + # and returns `consented` as `TRUE` or `FALSE`. # Corresponds to the JSON property `responseView` # @return [String] attr_accessor :response_view @@ -1726,6 +1735,20 @@ module Google class ExportResourcesRequest include Google::Apis::Core::Hashable + # If provided, only resources updated after this time are exported. The time + # uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28: + # 17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the + # second and include a time zone. + # Corresponds to the JSON property `_since` + # @return [String] + attr_accessor :_since + + # String of comma-delimited FHIR resource types. If provided, only resources of + # the specified resource type(s) are exported. + # Corresponds to the JSON property `_type` + # @return [String] + attr_accessor :_type + # The configuration for exporting to BigQuery. # Corresponds to the JSON property `bigqueryDestination` # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirBigQueryDestination] @@ -1742,6 +1765,8 @@ module Google # Update properties of this object def update!(**args) + @_since = args[:_since] if args.key?(:_since) + @_type = args[:_type] if args.key?(:_type) @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination) @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination) end @@ -3026,22 +3051,23 @@ module Google end end - # An image. + # Raw bytes representing consent artifact content. class Image include Google::Apis::Core::Hashable - # Input only. Points to a Cloud Storage URI containing the image. The URI must - # be in the following format: `gs://`bucket_id`/`object_id``. The Cloud - # Healthcare API service account must have the `roles/storage.objectViewer` - # Cloud IAM role for this Cloud Storage location. The image at this URI is - # copied to a Cloud Storage location managed by the Cloud Healthcare API. - # Responses to image fetching requests return the image in raw_bytes. + # Input only. Points to a Cloud Storage URI containing the consent artifact + # content. The URI must be in the following format: `gs://`bucket_id`/`object_id` + # `. The Cloud Healthcare API service account must have the `roles/storage. + # objectViewer` Cloud IAM role for this Cloud Storage location. The consent + # artifact content at this URI is copied to a Cloud Storage location managed by + # the Cloud Healthcare API. Responses to fetching requests return the consent + # artifact content in raw_bytes. # Corresponds to the JSON property `gcsUri` # @return [String] attr_accessor :gcs_uri - # Image content represented as a stream of bytes. This field is populated when - # returned in GetConsentArtifact response, but not included in + # Consent artifact content represented as a stream of bytes. This field is + # populated when returned in GetConsentArtifact response, but not included in # CreateConsentArtifact and ListConsentArtifact response. # Corresponds to the JSON property `rawBytes` # NOTE: Values are automatically base64 encoded/decoded in the client library. @@ -4802,7 +4828,7 @@ module Google class Signature include Google::Apis::Core::Hashable - # An image. + # Raw bytes representing consent artifact content. # Corresponds to the JSON property `image` # @return [Google::Apis::HealthcareV1beta1::Image] attr_accessor :image diff --git a/generated/google/apis/healthcare_v1beta1/representations.rb b/generated/google/apis/healthcare_v1beta1/representations.rb index 40df51270..a8937464d 100644 --- a/generated/google/apis/healthcare_v1beta1/representations.rb +++ b/generated/google/apis/healthcare_v1beta1/representations.rb @@ -1090,7 +1090,6 @@ module Google class Binding # @private class Representation < Google::Apis::Core::JsonRepresentation - property :binding_id, as: 'bindingId' property :condition, as: 'condition', class: Google::Apis::HealthcareV1beta1::Expr, decorator: Google::Apis::HealthcareV1beta1::Expr::Representation collection :members, as: 'members' @@ -1152,6 +1151,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :consent_artifact, as: 'consentArtifact' property :expire_time, as: 'expireTime' + hash :metadata, as: 'metadata' property :name, as: 'name' collection :policies, as: 'policies', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1ConsentPolicy, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1ConsentPolicy::Representation @@ -1459,6 +1459,8 @@ module Google class ExportResourcesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :_since, as: '_since' + property :_type, as: '_type' property :bigquery_destination, as: 'bigqueryDestination', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirBigQueryDestination, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirBigQueryDestination::Representation property :gcs_destination, as: 'gcsDestination', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination::Representation diff --git a/generated/google/apis/healthcare_v1beta1/service.rb b/generated/google/apis/healthcare_v1beta1/service.rb index f282b2bb9..61a1ae582 100644 --- a/generated/google/apis/healthcare_v1beta1/service.rb +++ b/generated/google/apis/healthcare_v1beta1/service.rb @@ -307,7 +307,7 @@ module Google # The name of the project whose datasets should be listed. For example, ` # projects/`project_id`/locations/`location_id``. # @param [Fixnum] page_size - # The maximum number of items to return. Capped to 100 if not specified. May not + # The maximum number of items to return. If not specified, 100 is used. May not # be larger than 1000. # @param [String] page_token # The next_page_token value returned from a previous List request, if any. @@ -718,7 +718,7 @@ module Google # on labels is supported, for example `labels.key=value`. # @param [Fixnum] page_size # Limit on the number of Annotation stores to return in a single response. If - # zero the default page size of 100 is used. + # not specified, 100 is used. May not be larger than 1000. # @param [String] page_token # The next_page_token value returned from the previous List request, if any. # @param [String] fields @@ -974,8 +974,8 @@ module Google # matches("annotation", "some-content")`. - `type("text")`, `type("image")`, ` # type("resource")`. Filter on the type of annotation `data`. # @param [Fixnum] page_size - # Limit on the number of Annotations to return in a single response. If zero the - # default page size of 100 is used. + # Limit on the number of Annotations to return in a single response. If not + # specified, 100 is used. May not be larger than 1000. # @param [String] page_token # The next_page_token value returned from the previous List request, if any. # @param [String] view @@ -1272,8 +1272,8 @@ module Google # cloud.google.com/appengine/docs/standard/python/search/query_strings. Only # filtering on labels is supported. For example, `labels.key=value`. # @param [Fixnum] page_size - # Limit on the number of Consent stores to return in a single response. If zero - # the default page size of 100 is used. + # Limit on the number of Consent stores to return in a single response. If not + # specified, 100 is used. May not be larger than 1000. # @param [String] page_token # Token to retrieve the next page of results or empty to get the first page. # @param [String] fields @@ -1581,7 +1581,7 @@ module Google # field available for filtering is `category`. # @param [Fixnum] page_size # Limit on the number of attribute definitions to return in a single response. - # If zero the default page size of 100 is used. + # If not specified, 100 is used. May not be larger than 1000. # @param [String] page_token # Token to retrieve the next page of results or empty to get the first page. # @param [String] fields @@ -1760,7 +1760,7 @@ module Google # fields available for filtering are: - user_id - consent_content_version # @param [Fixnum] page_size # Limit on the number of consent artifacts to return in a single response. If - # zero the default page size of 100 is used. + # not specified, 100 is used. May not be larger than 1000. # @param [String] page_token # The next_page_token value returned from the previous List request, if any. # @param [String] fields @@ -1980,10 +1980,11 @@ module Google # Restricts the consents returned to those matching a filter. Syntax: https:// # cloud.google.com/appengine/docs/standard/python/search/query_strings The # fields available for filtering are: - user_id - consent_artifact - state - - # revision_create_time + # revision_create_time - metadata. For example, `Metadata("key")="value"` or ` + # HasMetadata("key")`. # @param [Fixnum] page_size - # Limit on the number of consents to return in a single response. If zero the - # default page size of 100 is used. + # Limit on the number of consents to return in a single response. If not + # specified, 100 is used. May not be larger than 1000. # @param [String] page_token # The next_page_token value returned from the previous List request, if any. # @param [String] fields @@ -2025,8 +2026,8 @@ module Google # functions available for filtering are: - user_id - consent_artifact - state - # revision_create_time # @param [Fixnum] page_size - # Limit on the number of revisions to return in a single response. If zero the - # default page size of 100 is used. + # Limit on the number of revisions to return in a single response. If not + # specified, 100 is used. May not be larger than 1000. # @param [String] page_token # Token to retrieve the next page of results or empty if there are no more # results in the list. @@ -2319,7 +2320,7 @@ module Google # archive_time # @param [Fixnum] page_size # Limit on the number of user data mappings to return in a single response. If - # zero the default page size of 100 is used. + # not specified, 100 is used. May not be larger than 1000. # @param [String] page_token # Token to retrieve the next page of results or empty to get the first page. # @param [String] fields @@ -2655,8 +2656,8 @@ module Google # google.com/appengine/docs/standard/python/search/query_strings Only filtering # on labels is supported. For example, `labels.key=value`. # @param [Fixnum] page_size - # Limit on the number of DICOM stores to return in a single response. If zero - # the default page size of 100 is used. + # Limit on the number of DICOM stores to return in a single response. If not + # specified, 100 is used. May not be larger than 1000. # @param [String] page_token # The next_page_token value returned from the previous List request, if any. # @param [String] fields @@ -2978,13 +2979,12 @@ module Google execute_or_queue_command(command, &block) end - # DeleteStudyAsync deletes all instances within the given study using an - # operation. Delete requests are equivalent to the GET requests specified in the - # Retrieve transaction. The method returns an Operation which will be marked - # successful when the deletion is complete. Warning: Inserting instances into a - # study while a delete operation is running for that study could result in the - # new instances not appearing in search results until the deletion operation - # finishes. + # DeleteStudyAsync deletes all instances within the given study using a long + # running operation. The method returns an Operation which will be marked + # successful when the deletion is complete. Warning: If you insert instances + # into a study while a delete operation is running for that study, the instances + # you insert might not appear in search results until after the deletion + # operation finishes. # @param [String] parent # @param [String] dicom_web_path # The path of the DeleteStudy request. For example, `studies/`study_uid``. @@ -3237,11 +3237,10 @@ module Google end # DeleteSeriesAsync deletes all instances within the given study and series - # using an operation. Delete requests are equivalent to the GET requests - # specified in the Retrieve transaction. The method returns an Operation which - # will be marked successful when the deletion is complete. Warning: Inserting - # instances into a series while a delete operation is running for that series - # could result in the new instances not appearing in search results until the + # using a long running operation. The method returns an Operation which will be + # marked successful when the deletion is complete. Warning: If you insert + # instances into a series while a delete operation is running for that series, + # the instances you insert might not appear in search results until after the # deletion operation finishes. # @param [String] parent # The name of the DICOM store that is being accessed. For example, `projects/` @@ -3981,8 +3980,8 @@ module Google # google.com/appengine/docs/standard/python/search/query_strings Only filtering # on labels is supported, for example `labels.key=value`. # @param [Fixnum] page_size - # Limit on the number of FHIR stores to return in a single response. If zero the - # default page size of 100 is used. + # Limit on the number of FHIR stores to return in a single response. If not + # specified, 100 is used. May not be larger than 1000. # @param [String] page_token # The next_page_token value returned from the previous List request, if any. # @param [String] fields @@ -4317,7 +4316,8 @@ module Google # @param [String] name # Name of the `Patient` resource for which the information is required. # @param [Fixnum] _count - # Maximum number of resources in a page. Defaults to 100. + # Maximum number of resources in a page. If not specified, 100 is used. May not + # be larger than 1000. # @param [String] _page_token # Used to retrieve the next or previous page of results when using pagination. # Set `_page_token` to the value of _page_token set in next or previous page @@ -4806,8 +4806,8 @@ module Google # entire year: `_at=2019` * An entire month: `_at=2019-01` * A specific day: ` # _at=2019-01-20` * A specific second: `_at=2018-12-31T23:59:58Z` # @param [Fixnum] _count - # The maximum number of search results on a page. Default value is 100. Maximum - # value is 1,000. + # The maximum number of search results on a page. If not specified, 100 is used. + # May not be larger than 1000. # @param [String] _page_token # Used to retrieve the first, previous, next, or last page of resource versions # when using pagination. Value should be set to the value of `_page_token` set @@ -5343,8 +5343,8 @@ module Google # google.com/appengine/docs/standard/python/search/query_strings Only filtering # on labels is supported. For example, `labels.key=value`. # @param [Fixnum] page_size - # Limit on the number of HL7v2 stores to return in a single response. If zero - # the default page size of 100 is used. + # Limit on the number of HL7v2 stores to return in a single response. If not + # specified, 100 is used. May not be larger than 1000. # @param [String] page_token # The next_page_token value returned from the previous List request, if any. # @param [String] fields @@ -5660,8 +5660,8 @@ module Google # cloud.google.com/apis/design/design_patterns#sorting_order Fields available # for ordering are: * `send_time` # @param [Fixnum] page_size - # Limit on the number of messages to return in a single response. If zero the - # default page size of 100 is used. + # Limit on the number of messages to return in a single response. If not + # specified, 100 is used. May not be larger than 1000. # @param [String] page_token # The next_page_token value returned from the previous List request, if any. # @param [String] view diff --git a/generated/google/apis/healthcare_v1beta1/synth.metadata b/generated/google/apis/healthcare_v1beta1/synth.metadata index 0d43e841e..400334978 100644 --- a/generated/google/apis/healthcare_v1beta1/synth.metadata +++ b/generated/google/apis/healthcare_v1beta1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "e348db9d64f0d2bd0beb87cdc99cc69e03b33b03" + "sha": "ccadd11145806e3f697ab72f212a95e9240b13a1" } } ]