Autogenerated update (2019-12-24)
Update: - healthcare_v1beta1 - sql_v1beta4
This commit is contained in:
parent
75eb9a7e30
commit
5612f7e2a3
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/healthcare
|
||||
module HealthcareV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20191121'
|
||||
REVISION = '20191213'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -162,6 +162,23 @@ module Google
|
|||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||
# * `group:`emailid``: An email address that represents a Google group.
|
||||
# For example, `admins@example.com`.
|
||||
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||
# identifier) representing a user that has been recently deleted. For
|
||||
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
||||
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
||||
# retains the role in the binding.
|
||||
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
||||
# unique identifier) representing a service account that has been recently
|
||||
# deleted. For example,
|
||||
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
||||
# If the service account is undeleted, this value reverts to
|
||||
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
||||
# role in the binding.
|
||||
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||
# identifier) representing a Google group that has been recently
|
||||
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
||||
# the group is recovered, this value reverts to `group:`emailid`` and the
|
||||
# recovered group retains the role in the binding.
|
||||
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
||||
# users of that domain. For example, `google.com` or `example.com`.
|
||||
# Corresponds to the JSON property `members`
|
||||
|
@ -912,6 +929,14 @@ module Google
|
|||
# @return [Google::Apis::HealthcareV1beta1::NotificationConfig]
|
||||
attr_accessor :notification_config
|
||||
|
||||
# The FHIR specification version that this FHIR store supports natively. This
|
||||
# field is immutable after store creation. Requests are rejected if they
|
||||
# contain FHIR resources of a different version.
|
||||
# An empty value is treated as STU3.
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [String]
|
||||
attr_accessor :version
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -924,6 +949,7 @@ module Google
|
|||
@labels = args[:labels] if args.key?(:labels)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@notification_config = args[:notification_config] if args.key?(:notification_config)
|
||||
@version = args[:version] if args.key?(:version)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -2177,16 +2203,18 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Defines an Identity and Access Management (IAM) policy. It is used to
|
||||
# specify access control policies for Cloud Platform resources.
|
||||
# An Identity and Access Management (IAM) policy, which specifies access
|
||||
# controls for Google Cloud resources.
|
||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
||||
# `members` to a single `role`. Members can be user accounts, service accounts,
|
||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# permissions (defined by IAM or configured by users). A `binding` can
|
||||
# optionally specify a `condition`, which is a logic expression that further
|
||||
# constrains the role binding based on attributes about the request and/or
|
||||
# target resource.
|
||||
# **JSON Example**
|
||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||
# custom role.
|
||||
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||
# expression that allows access to a resource only if the expression evaluates
|
||||
# to `true`. A condition can add constraints based on attributes of the
|
||||
# request, the resource, or both.
|
||||
# **JSON example:**
|
||||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
|
@ -2204,13 +2232,15 @@ module Google
|
|||
# "condition": `
|
||||
# "title": "expirable access",
|
||||
# "description": "Does not grant access after Sep 2020",
|
||||
# "expression": "request.time <
|
||||
# timestamp('2020-10-01T00:00:00.000Z')",
|
||||
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||
# ",
|
||||
# `
|
||||
# `
|
||||
# ]
|
||||
# ],
|
||||
# "etag": "BwWWja0YfJA=",
|
||||
# "version": 3
|
||||
# `
|
||||
# **YAML Example**
|
||||
# **YAML example:**
|
||||
# bindings:
|
||||
# - members:
|
||||
# - user:mike@example.com
|
||||
|
@ -2225,8 +2255,10 @@ module Google
|
|||
# title: expirable access
|
||||
# description: Does not grant access after Sep 2020
|
||||
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||
# - etag: BwWWja0YfJA=
|
||||
# - version: 3
|
||||
# For a description of IAM and its features, see the
|
||||
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
||||
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
||||
class Policy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -2235,9 +2267,9 @@ module Google
|
|||
# @return [Array<Google::Apis::HealthcareV1beta1::AuditConfig>]
|
||||
attr_accessor :audit_configs
|
||||
|
||||
# Associates a list of `members` to a `role`. Optionally may specify a
|
||||
# `condition` that determines when binding is in effect.
|
||||
# `bindings` with no members will result in an error.
|
||||
# Associates a list of `members` to a `role`. Optionally, may specify a
|
||||
# `condition` that determines how and when the `bindings` are applied. Each
|
||||
# of the `bindings` must contain at least one member.
|
||||
# Corresponds to the JSON property `bindings`
|
||||
# @return [Array<Google::Apis::HealthcareV1beta1::Binding>]
|
||||
attr_accessor :bindings
|
||||
|
@ -2249,26 +2281,31 @@ module Google
|
|||
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
||||
# systems are expected to put that etag in the request to `setIamPolicy` to
|
||||
# ensure that their change will be applied to the same version of the policy.
|
||||
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
||||
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
||||
# 'setIamPolicy' will not fail even if the incoming policy version does not
|
||||
# meet the requirements for modifying the stored policy.
|
||||
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
||||
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
||||
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
||||
# the conditions in the version `3` policy are lost.
|
||||
# Corresponds to the JSON property `etag`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
# Specifies the format of the policy.
|
||||
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
||||
# rejected.
|
||||
# Operations affecting conditional bindings must specify version 3. This can
|
||||
# be either setting a conditional policy, modifying a conditional binding,
|
||||
# or removing a binding (conditional or unconditional) from the stored
|
||||
# conditional policy.
|
||||
# Operations on non-conditional policies may specify any valid value or
|
||||
# leave the field unset.
|
||||
# If no etag is provided in the call to `setIamPolicy`, version compliance
|
||||
# checks against the stored policy is skipped.
|
||||
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
||||
# are rejected.
|
||||
# Any operation that affects conditional role bindings must specify version
|
||||
# `3`. This requirement applies to the following operations:
|
||||
# * Getting a policy that includes a conditional role binding
|
||||
# * Adding a conditional role binding to a policy
|
||||
# * Changing a conditional role binding in a policy
|
||||
# * Removing any role binding, with or without a condition, from a policy
|
||||
# that includes conditions
|
||||
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
||||
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
||||
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
||||
# the conditions in the version `3` policy are lost.
|
||||
# If a policy does not include any conditions, operations on that policy may
|
||||
# specify any valid version or leave the field unset.
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
@ -2402,8 +2439,9 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The FHIR resource type to search, such as Patient or Observation. For a
|
||||
# complete list, see the [FHIR Resource
|
||||
# Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
|
||||
# complete list, see the FHIR Resource Index
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html)).
|
||||
# Corresponds to the JSON property `resourceType`
|
||||
# @return [String]
|
||||
attr_accessor :resource_type
|
||||
|
@ -2465,16 +2503,18 @@ module Google
|
|||
class SetIamPolicyRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Defines an Identity and Access Management (IAM) policy. It is used to
|
||||
# specify access control policies for Cloud Platform resources.
|
||||
# An Identity and Access Management (IAM) policy, which specifies access
|
||||
# controls for Google Cloud resources.
|
||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
||||
# `members` to a single `role`. Members can be user accounts, service accounts,
|
||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# permissions (defined by IAM or configured by users). A `binding` can
|
||||
# optionally specify a `condition`, which is a logic expression that further
|
||||
# constrains the role binding based on attributes about the request and/or
|
||||
# target resource.
|
||||
# **JSON Example**
|
||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||
# custom role.
|
||||
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||
# expression that allows access to a resource only if the expression evaluates
|
||||
# to `true`. A condition can add constraints based on attributes of the
|
||||
# request, the resource, or both.
|
||||
# **JSON example:**
|
||||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
|
@ -2492,13 +2532,15 @@ module Google
|
|||
# "condition": `
|
||||
# "title": "expirable access",
|
||||
# "description": "Does not grant access after Sep 2020",
|
||||
# "expression": "request.time <
|
||||
# timestamp('2020-10-01T00:00:00.000Z')",
|
||||
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||
# ",
|
||||
# `
|
||||
# `
|
||||
# ]
|
||||
# ],
|
||||
# "etag": "BwWWja0YfJA=",
|
||||
# "version": 3
|
||||
# `
|
||||
# **YAML Example**
|
||||
# **YAML example:**
|
||||
# bindings:
|
||||
# - members:
|
||||
# - user:mike@example.com
|
||||
|
@ -2513,8 +2555,10 @@ module Google
|
|||
# title: expirable access
|
||||
# description: Does not grant access after Sep 2020
|
||||
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||
# - etag: BwWWja0YfJA=
|
||||
# - version: 3
|
||||
# For a description of IAM and its features, see the
|
||||
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
||||
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
||||
# Corresponds to the JSON property `policy`
|
||||
# @return [Google::Apis::HealthcareV1beta1::Policy]
|
||||
attr_accessor :policy
|
||||
|
|
|
@ -706,6 +706,7 @@ module Google
|
|||
property :name, as: 'name'
|
||||
property :notification_config, as: 'notificationConfig', class: Google::Apis::HealthcareV1beta1::NotificationConfig, decorator: Google::Apis::HealthcareV1beta1::NotificationConfig::Representation
|
||||
|
||||
property :version, as: 'version'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -463,6 +463,122 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the access control policy for a resource.
|
||||
# Returns an empty policy if the resource exists and does not have a policy
|
||||
# set.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Fixnum] options_requested_policy_version
|
||||
# Optional. The policy format version to be returned.
|
||||
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
||||
# rejected.
|
||||
# Requests for policies with any conditional bindings must specify version 3.
|
||||
# Policies without any conditional bindings may specify any valid value or
|
||||
# leave the field unset.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::HealthcareV1beta1::Policy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_location_dataset_annotation_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
|
||||
command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
|
||||
command.response_class = Google::Apis::HealthcareV1beta1::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::HealthcareV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::HealthcareV1beta1::Policy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def set_annotation_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::HealthcareV1beta1::SetIamPolicyRequest::Representation
|
||||
command.request_object = set_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
|
||||
command.response_class = Google::Apis::HealthcareV1beta1::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns permissions that a caller has on the specified resource.
|
||||
# If the resource does not exist, this will return an empty set of
|
||||
# permissions, not a NOT_FOUND error.
|
||||
# Note: This operation is designed to be used for building permission-aware
|
||||
# UIs and command-line tools, not for authorization checking. This operation
|
||||
# may "fail open" without warning.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy detail is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def test_annotation_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest::Representation
|
||||
command.request_object = test_iam_permissions_request_object
|
||||
command.response_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a new DICOM store within the parent dataset.
|
||||
# @param [String] parent
|
||||
# The name of the dataset this DICOM store belongs to.
|
||||
|
@ -2134,9 +2250,11 @@ module Google
|
|||
# Retrieves the N most recent `Observation` resources for a subject matching
|
||||
# search criteria specified as query parameters, grouped by
|
||||
# `Observation.code`, sorted from most recent to oldest.
|
||||
# Implements the FHIR extended operation
|
||||
# [Observation-lastn](http://hl7.org/implement/standards/fhir/STU3/observation-
|
||||
# operations.html#lastn).
|
||||
# Implements the FHIR extended operation Observation-lastn
|
||||
# ([STU3](http://hl7.org/implement/standards/fhir/STU3/observation-operations.
|
||||
# html#lastn)).
|
||||
# DSTU2 doesn't define the Observation-lastn method, but the server supports
|
||||
# it the same way it supports STU3.
|
||||
# Search terms are provided as query parameters following the same pattern as
|
||||
# the search method. The following search parameters must
|
||||
# be provided:
|
||||
|
@ -2275,14 +2393,19 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the FHIR [capability
|
||||
# statement](http://hl7.org/implement/standards/fhir/STU3/capabilitystatement.
|
||||
# html)
|
||||
# for the store, which contains a description of functionality supported by
|
||||
# the server.
|
||||
# Implements the FHIR standard [capabilities
|
||||
# interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#
|
||||
# capabilities).
|
||||
# Gets the FHIR capability statement
|
||||
# ([STU3](http://hl7.org/implement/standards/fhir/STU3/capabilitystatement.html))
|
||||
# ,
|
||||
# or the [conformance
|
||||
# statement](http://hl7.org/implement/standards/fhir/DSTU2/conformance.html)
|
||||
# in the DSTU2 case for the store, which contains a description of
|
||||
# functionality supported by the server.
|
||||
# Implements the FHIR standard capabilities interaction
|
||||
# ([STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#capabilities)),
|
||||
# or the [conformance
|
||||
# interaction](http://hl7.org/implement/standards/fhir/DSTU2/http.html#
|
||||
# conformance)
|
||||
# in the DSTU2 case.
|
||||
# On success, the response body will contain a JSON-encoded representation
|
||||
# of a `CapabilityStatement` resource.
|
||||
# @param [String] name
|
||||
|
@ -2315,9 +2438,9 @@ module Google
|
|||
end
|
||||
|
||||
# Deletes FHIR resources that match a search query.
|
||||
# Implements the FHIR standard [conditional delete
|
||||
# interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.13.
|
||||
# 1).
|
||||
# Implements the FHIR standard conditional delete interaction
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.12.1),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.13.1)).
|
||||
# If multiple resources match, all of them will be deleted.
|
||||
# Search terms are provided as query parameters following the same pattern as
|
||||
# the search method.
|
||||
|
@ -2331,8 +2454,9 @@ module Google
|
|||
# The name of the FHIR store this resource belongs to.
|
||||
# @param [String] type
|
||||
# The FHIR resource type to delete, such as Patient or Observation. For a
|
||||
# complete list, see the [FHIR Resource
|
||||
# Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
|
||||
# complete list, see the FHIR Resource Index
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html)).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -2364,8 +2488,10 @@ module Google
|
|||
# If a resource is found based on the search criteria specified in the query
|
||||
# parameters, updates part of that resource by applying the operations
|
||||
# specified in a [JSON Patch](http://jsonpatch.com/) document.
|
||||
# Implements the FHIR standard [conditional patch
|
||||
# interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#patch).
|
||||
# Implements the FHIR standard conditional patch interaction
|
||||
# ([STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#patch)).
|
||||
# DSTU2 doesn't define a conditional patch method, but the server supports it
|
||||
# in the same way it supports STU3.
|
||||
# Search terms are provided as query parameters following the same pattern as
|
||||
# the search method.
|
||||
# If the search criteria identify more than one match, the request will
|
||||
|
@ -2382,8 +2508,9 @@ module Google
|
|||
# The name of the FHIR store this resource belongs to.
|
||||
# @param [String] type
|
||||
# The FHIR resource type to update, such as Patient or Observation. For a
|
||||
# complete list, see the [FHIR Resource
|
||||
# Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
|
||||
# complete list, see the FHIR Resource Index
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html)).
|
||||
# @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -2417,9 +2544,9 @@ module Google
|
|||
|
||||
# If a resource is found based on the search criteria specified in the query
|
||||
# parameters, updates the entire contents of that resource.
|
||||
# Implements the FHIR standard [conditional update
|
||||
# interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#cond-
|
||||
# update).
|
||||
# Implements the FHIR standard conditional update interaction
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.10.2),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#cond-update)).
|
||||
# Search terms are provided as query parameters following the same pattern as
|
||||
# the search method.
|
||||
# If the search criteria identify more than one match, the request will
|
||||
|
@ -2443,8 +2570,9 @@ module Google
|
|||
# The name of the FHIR store this resource belongs to.
|
||||
# @param [String] type
|
||||
# The FHIR resource type to update, such as Patient or Observation. For a
|
||||
# complete list, see the [FHIR Resource
|
||||
# Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
|
||||
# complete list, see the FHIR Resource Index
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html)).
|
||||
# Must match the resource type in the provided content.
|
||||
# @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
|
||||
# @param [String] fields
|
||||
|
@ -2478,11 +2606,13 @@ module Google
|
|||
end
|
||||
|
||||
# Creates a FHIR resource.
|
||||
# Implements the FHIR standard [create
|
||||
# interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#create),
|
||||
# Implements the FHIR standard create interaction
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#create),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#create)),
|
||||
# which creates a new resource with a server-assigned resource ID.
|
||||
# Also supports the FHIR standard [conditional create
|
||||
# interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#ccreate),
|
||||
# Also supports the FHIR standard conditional create interaction
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#ccreate),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#ccreate)),
|
||||
# specified by supplying an `If-None-Exist` header containing a FHIR search
|
||||
# query. If no resources match this search query, the server processes the
|
||||
# create operation as normal.
|
||||
|
@ -2499,8 +2629,9 @@ module Google
|
|||
# The name of the FHIR store this resource belongs to.
|
||||
# @param [String] type
|
||||
# The FHIR resource type to create, such as Patient or Observation. For a
|
||||
# complete list, see the [FHIR Resource
|
||||
# Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
|
||||
# complete list, see the FHIR Resource Index
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html)).
|
||||
# Must match the resource type in the provided content.
|
||||
# @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
|
||||
# @param [String] fields
|
||||
|
@ -2534,8 +2665,9 @@ module Google
|
|||
end
|
||||
|
||||
# Deletes a FHIR resource.
|
||||
# Implements the FHIR standard [delete
|
||||
# interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#delete).
|
||||
# Implements the FHIR standard delete interaction
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#delete),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#delete)).
|
||||
# Note: Unless resource versioning is disabled by setting the
|
||||
# disable_resource_versioning flag
|
||||
# on the FHIR store, the deleted resources will be moved to a history
|
||||
|
@ -2572,15 +2704,17 @@ module Google
|
|||
end
|
||||
|
||||
# Executes all the requests in the given Bundle.
|
||||
# Implements the FHIR standard [batch/transaction
|
||||
# interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#
|
||||
# transaction).
|
||||
# Implements the FHIR standard batch/transaction interaction
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#transaction),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#transaction)).
|
||||
# Supports all interactions within a bundle, except search. This method
|
||||
# accepts Bundles of type `batch` and `transaction`, processing them
|
||||
# according to the [batch processing
|
||||
# rules](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.1)
|
||||
# and [transaction processing
|
||||
# rules](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.2).
|
||||
# according to the batch processing rules
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.16.1),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.1))
|
||||
# and transaction processing rules
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.16.2),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.2)).
|
||||
# The request body must contain a JSON-encoded FHIR `Bundle` resource, and
|
||||
# the request headers must contain `Content-Type: application/fhir+json`.
|
||||
# For a batch bundle or a successful transaction the response body will
|
||||
|
@ -2625,8 +2759,9 @@ module Google
|
|||
|
||||
# Lists all the versions of a resource (including the current version and
|
||||
# deleted versions) from the FHIR store.
|
||||
# Implements the per-resource form of the FHIR standard [history
|
||||
# interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#history).
|
||||
# Implements the per-resource form of the FHIR standard history interaction
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#history),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#history)).
|
||||
# On success, the response body will contain a JSON-encoded representation
|
||||
# of a `Bundle` resource of type `history`, containing the version history
|
||||
# sorted from most recent to oldest versions.
|
||||
|
@ -2693,8 +2828,10 @@ module Google
|
|||
|
||||
# Updates part of an existing resource by applying the operations specified
|
||||
# in a [JSON Patch](http://jsonpatch.com/) document.
|
||||
# Implements the FHIR standard [patch
|
||||
# interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#patch).
|
||||
# Implements the FHIR standard patch interaction
|
||||
# ([STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#patch)).
|
||||
# DSTU2 doesn't define a patch method, but the server supports it in the same
|
||||
# way it supports STU3.
|
||||
# The request body must contain a JSON Patch document, and the request
|
||||
# headers must contain `Content-Type: application/json-patch+json`.
|
||||
# On success, the response body will contain a JSON-encoded representation
|
||||
|
@ -2736,10 +2873,12 @@ module Google
|
|||
end
|
||||
|
||||
# Gets the contents of a FHIR resource.
|
||||
# Implements the FHIR standard [read
|
||||
# interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#read).
|
||||
# Also supports the FHIR standard [conditional read
|
||||
# interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#cread)
|
||||
# Implements the FHIR standard read interaction
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#read),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#read)).
|
||||
# Also supports the FHIR standard conditional read interaction
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#cread),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#cread))
|
||||
# specified by supplying an `If-Modified-Since` header with a date/time value
|
||||
# or an `If-None-Match` header with an ETag value.
|
||||
# On success, the response body will contain a JSON-encoded representation
|
||||
|
@ -2779,10 +2918,12 @@ module Google
|
|||
|
||||
# Searches for resources in the given FHIR store according to criteria
|
||||
# specified as query parameters.
|
||||
# Implements the FHIR standard [search
|
||||
# interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#search)
|
||||
# using the search semantics described in the [FHIR Search
|
||||
# specification](http://hl7.org/implement/standards/fhir/STU3/search.html).
|
||||
# Implements the FHIR standard search interaction
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search))
|
||||
# using the search semantics described in the FHIR Search specification
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html)).
|
||||
# Supports three methods of search defined by the specification:
|
||||
# * `GET [base]?[parameters]` to search across all resources.
|
||||
# * `GET [base]/[type]?[parameters]` to search resources of a specified
|
||||
|
@ -2799,12 +2940,14 @@ module Google
|
|||
# request cannot be mapped to a valid API method on a FHIR store, a generic
|
||||
# GCP error might be returned instead.
|
||||
# The server's capability statement, retrieved through
|
||||
# capabilities, indicates the search parameters
|
||||
# that are supported on each FHIR resource. For the list of search
|
||||
# parameters for STU3, see the
|
||||
# [STU3 FHIR Search Parameter
|
||||
# Registry](http://hl7.org/implement/standards/fhir/STU3/searchparameter-
|
||||
# registry.html).
|
||||
# capabilities, indicates what search parameters
|
||||
# are supported on each FHIR resource. A list of all search parameters
|
||||
# defined by the specification can be found in the FHIR Search Parameter
|
||||
# Registry
|
||||
# ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.
|
||||
# html)).
|
||||
# FHIR search parameters for DSTU2 can be found on each resource's definition
|
||||
# page.
|
||||
# Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`,
|
||||
# `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`.
|
||||
# Supported search result parameters: `_sort`, `_count`, `_include`,
|
||||
|
@ -2852,8 +2995,9 @@ module Google
|
|||
end
|
||||
|
||||
# Updates the entire contents of a resource.
|
||||
# Implements the FHIR standard [update
|
||||
# interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#update).
|
||||
# Implements the FHIR standard update interaction
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#update),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#update)).
|
||||
# If the specified resource does
|
||||
# not exist and the FHIR store has
|
||||
# enable_update_create set, creates the
|
||||
|
@ -2902,8 +3046,9 @@ module Google
|
|||
|
||||
# Gets the contents of a version (current or historical) of a FHIR resource
|
||||
# by version ID.
|
||||
# Implements the FHIR standard [vread
|
||||
# interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#vread).
|
||||
# Implements the FHIR standard vread interaction
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#vread),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#vread).
|
||||
# On success, the response body will contain a JSON-encoded representation
|
||||
# of the resource.
|
||||
# Errors generated by the FHIR store will contain a JSON-encoded
|
||||
|
@ -3308,6 +3453,7 @@ module Google
|
|||
# The resource name of the HL7v2 message to retrieve.
|
||||
# @param [String] view
|
||||
# Specifies which parts of the Message resource to return in the response.
|
||||
# When unspecified, equivalent to FULL.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -3338,9 +3484,7 @@ module Google
|
|||
|
||||
# Ingests a new HL7v2 message from the hospital and sends a notification to
|
||||
# the Cloud Pub/Sub topic. Return is an HL7v2 ACK message if the message was
|
||||
# successfully stored. Otherwise an error is returned. If an identical
|
||||
# HL7v2 message is created twice only one resource is created on the server
|
||||
# and no error is reported.
|
||||
# successfully stored. Otherwise an error is returned.
|
||||
# @param [String] parent
|
||||
# The name of the HL7v2 store this message belongs to.
|
||||
# @param [Google::Apis::HealthcareV1beta1::IngestMessageRequest] ingest_message_request_object
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-sql/
|
||||
module SqlV1beta4
|
||||
VERSION = 'V1beta4'
|
||||
REVISION = '20191205'
|
||||
REVISION = '20191214'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -863,8 +863,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists instances under a given project in the alphabetical order of the
|
||||
# instance name.
|
||||
# Lists instances under a given project.
|
||||
# @param [String] project
|
||||
# Project ID of the project for which to list Cloud SQL instances.
|
||||
# @param [String] filter
|
||||
|
@ -1347,6 +1346,9 @@ module Google
|
|||
# Project ID of the project that contains the instance.
|
||||
# @param [String] operation
|
||||
# Instance operation ID.
|
||||
# @param [String] resource_name
|
||||
# The name of the operation for Cloud SQL to get.
|
||||
# Format: projects/`project`/locations/`location`/operations/`operation`
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1364,12 +1366,13 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_operation(project, operation, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def get_operation(project, operation, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/operations/{operation}', options)
|
||||
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
||||
command.response_class = Google::Apis::SqlV1beta4::Operation
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['operation'] = operation unless operation.nil?
|
||||
command.query['resourceName'] = resource_name unless resource_name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
|
|
Loading…
Reference in New Issue