Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of healthcare v1beta1 client #1714

Merged
merged 1 commit into from
Dec 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/healthcare_v1beta1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @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'
Expand Down
64 changes: 45 additions & 19 deletions generated/google/apis/healthcare_v1beta1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -438,11 +438,6 @@ def update!(**args)
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:
Expand Down Expand Up @@ -504,7 +499,6 @@ def initialize(**args)

# 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)
Expand Down Expand Up @@ -589,7 +583,8 @@ class CheckDataAccessRequest
# @return [Hash<String,String>]
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
Expand Down Expand Up @@ -670,6 +665,18 @@ class Consent
# @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<String,String>]
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``.
Expand Down Expand Up @@ -718,6 +725,7 @@ def initialize(**args)
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)
Expand Down Expand Up @@ -1518,7 +1526,7 @@ class EvaluateUserConsentsRequest
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
Expand All @@ -1539,7 +1547,8 @@ class EvaluateUserConsentsRequest
# @return [Hash<String,String>]
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
Expand Down Expand Up @@ -1726,6 +1735,20 @@ def update!(**args)
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]
Expand All @@ -1742,6 +1765,8 @@ def initialize(**args)

# 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
Expand Down Expand Up @@ -3026,22 +3051,23 @@ def update!(**args)
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.
Expand Down Expand Up @@ -4802,7 +4828,7 @@ def update!(**args)
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
Expand Down
4 changes: 3 additions & 1 deletion generated/google/apis/healthcare_v1beta1/representations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
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'
Expand Down Expand Up @@ -1152,6 +1151,7 @@ class Consent
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

Expand Down Expand Up @@ -1459,6 +1459,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
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
Expand Down
Loading