Autogenerated update (2019-07-31)

Update:
- adexperiencereport_v1
- healthcare_v1alpha2
- healthcare_v1beta1
- people_v1
This commit is contained in:
Google APIs 2019-07-31 00:37:54 +00:00
parent e8633852c2
commit 1811cf5c70
9 changed files with 49 additions and 103 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/ad-experience-report/ # @see https://developers.google.com/ad-experience-report/
module AdexperiencereportV1 module AdexperiencereportV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20181017' REVISION = '20190729'
# Test scope for access to the Zoo service # Test scope for access to the Zoo service
AUTH_XAPI_ZOO = 'https://www.googleapis.com/auth/xapi.zoo' AUTH_XAPI_ZOO = 'https://www.googleapis.com/auth/xapi.zoo'

View File

@ -47,6 +47,8 @@ module Google
attr_accessor :last_change_time attr_accessor :last_change_time
# The assigned regions for the site and platform. # The assigned regions for the site and platform.
# No longer populated, because there is no longer any semantic difference
# between sites in different regions.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :region attr_accessor :region

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/healthcare # @see https://cloud.google.com/healthcare
module HealthcareV1alpha2 module HealthcareV1alpha2
VERSION = 'V1alpha2' VERSION = 'V1alpha2'
REVISION = '20190708' REVISION = '20190723'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1116,7 +1116,8 @@ module Google
# Imports data into the DICOM store by copying it from the specified source. # Imports data into the DICOM store by copying it from the specified source.
# For errors, the Operation will be populated with error details (in the form # For errors, the Operation will be populated with error details (in the form
# of ImportDicomDataErrorDetails in error.details), which will hold # of ImportDicomDataErrorDetails in error.details), which will hold
# finer-grained error information. # finer-grained error information. Errors are also logged to Stackdriver
# (see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging)).
# The metadata field type is # The metadata field type is
# OperationMetadata. # OperationMetadata.
# @param [String] name # @param [String] name
@ -2254,12 +2255,9 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Gets the access control policy for a FHIR store or security label within a # Gets the access control policy for a resource.
# FHIR store. Returns NOT_FOUND error if the resource does not exist. Returns # Returns an empty policy if the resource exists and does not have a policy
# an empty policy if the resource exists but does not have a policy set. # set.
# Authorization requires the Google IAM permission
# `healthcare.fhirStores.getIamPolicy` for a FHIR store or
# `healthcare.securityLabels.getIamPolicy` for a security label
# @param [String] resource # @param [String] resource
# REQUIRED: The resource for which the policy is being requested. # REQUIRED: The resource for which the policy is being requested.
# See the operation documentation for the appropriate value for this field. # See the operation documentation for the appropriate value for this field.
@ -2437,11 +2435,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Sets the access control policy for a FHIR store or security label within a # Sets the access control policy on the specified resource. Replaces any
# FHIR store. Replaces any existing policy. # existing policy.
# Authorization requires the Google IAM permission
# `healthcare.fhirStores.setIamPolicy` for a FHIR store or
# `healthcare.securityLabels.setIamPolicy` for a security label
# @param [String] resource # @param [String] resource
# REQUIRED: The resource for which the policy is being specified. # REQUIRED: The resource for which the policy is being specified.
# See the operation documentation for the appropriate value for this field. # See the operation documentation for the appropriate value for this field.
@ -2475,10 +2470,12 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Returns permissions that a caller has on the specified resource. If the # Returns permissions that a caller has on the specified resource.
# resource does not exist, this will return an empty set of permissions, not # If the resource does not exist, this will return an empty set of
# a NOT_FOUND error. # permissions, not a NOT_FOUND error.
# There is no permission required to make this API call. # 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 # @param [String] resource
# REQUIRED: The resource for which the policy detail is being requested. # REQUIRED: The resource for which the policy detail is being requested.
# See the operation documentation for the appropriate value for this field. # See the operation documentation for the appropriate value for this field.
@ -3176,6 +3173,12 @@ module Google
# be overridden by the `_count` parameter up to a maximum limit of 1000. If # be overridden by the `_count` parameter up to a maximum limit of 1000. If
# there are additional results, the returned `Bundle` will contain # there are additional results, the returned `Bundle` will contain
# pagination links. # pagination links.
# Resources with a total size larger than 5MB or a field count larger than
# 50,000 might not be fully searchable as the server might trim its generated
# search index in those cases.
# Note: FHIR resources are indexed asynchronously, so there might be a slight
# delay between the time a resource is created or changes and when the change
# is reflected in search results.
# @param [String] parent # @param [String] parent
# Name of the FHIR store to retrieve resources from. # Name of the FHIR store to retrieve resources from.
# @param [Google::Apis::HealthcareV1alpha2::SearchResourcesRequest] search_resources_request_object # @param [Google::Apis::HealthcareV1alpha2::SearchResourcesRequest] search_resources_request_object
@ -3296,86 +3299,6 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Gets the access control policy for a FHIR store or security label within a
# FHIR store. Returns NOT_FOUND error if the resource does not exist. Returns
# an empty policy if the resource exists but does not have a policy set.
# Authorization requires the Google IAM permission
# `healthcare.fhirStores.getIamPolicy` for a FHIR store or
# `healthcare.securityLabels.getIamPolicy` for a security label
# @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.
# Acceptable values are 0 and 1.
# If the value is 0, or the field is omitted, policy format version 1 will be
# returned.
# @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::HealthcareV1alpha2::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::HealthcareV1alpha2::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_fhir_store_security_label_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha2/{+resource}:getIamPolicy', options)
command.response_representation = Google::Apis::HealthcareV1alpha2::Policy::Representation
command.response_class = Google::Apis::HealthcareV1alpha2::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 for a FHIR store or security label within a
# FHIR store. Replaces any existing policy.
# Authorization requires the Google IAM permission
# `healthcare.fhirStores.setIamPolicy` for a FHIR store or
# `healthcare.securityLabels.setIamPolicy` for a security label
# @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::HealthcareV1alpha2::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::HealthcareV1alpha2::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::HealthcareV1alpha2::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_security_label_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1alpha2/{+resource}:setIamPolicy', options)
command.request_representation = Google::Apis::HealthcareV1alpha2::SetIamPolicyRequest::Representation
command.request_object = set_iam_policy_request_object
command.response_representation = Google::Apis::HealthcareV1alpha2::Policy::Representation
command.response_class = Google::Apis::HealthcareV1alpha2::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
# Creates a new HL7v2 store within the parent dataset. # Creates a new HL7v2 store within the parent dataset.
# @param [String] parent # @param [String] parent
# The name of the dataset this HL7v2 store belongs to. # The name of the dataset this HL7v2 store belongs to.
@ -3809,6 +3732,9 @@ module Google
end end
# Lists all the messages in the given HL7v2 store with support for filtering. # Lists all the messages in the given HL7v2 store with support for filtering.
# Note: HL7v2 messages are indexed asynchronously, so there might be a slight
# delay between the time a message is created and when it can be found
# through a filter.
# @param [String] parent # @param [String] parent
# Name of the HL7v2 store to retrieve messages from. # Name of the HL7v2 store to retrieve messages from.
# @param [String] filter # @param [String] filter
@ -3820,7 +3746,7 @@ module Google
# * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in # * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in
# the dataset's time_zone, from the MSH-7 segment; for example # the dataset's time_zone, from the MSH-7 segment; for example
# `send_date < "2017-01-02"` # `send_date < "2017-01-02"`
# * `send_time`, the timestamp of when the message was sent, using the # * `send_time`, the timestamp when the message was sent, using the
# RFC3339 time format for comparisons, from the MSH-7 segment; for example # RFC3339 time format for comparisons, from the MSH-7 segment; for example
# `send_time < "2017-01-02T00:00:00-05:00"` # `send_time < "2017-01-02T00:00:00-05:00"`
# * `send_facility`, the care center that the message came from, from the # * `send_facility`, the care center that the message came from, from the

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/healthcare # @see https://cloud.google.com/healthcare
module HealthcareV1beta1 module HealthcareV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190708' REVISION = '20190723'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -635,7 +635,8 @@ module Google
# Imports data into the DICOM store by copying it from the specified source. # Imports data into the DICOM store by copying it from the specified source.
# For errors, the Operation will be populated with error details (in the form # For errors, the Operation will be populated with error details (in the form
# of ImportDicomDataErrorDetails in error.details), which will hold # of ImportDicomDataErrorDetails in error.details), which will hold
# finer-grained error information. # finer-grained error information. Errors are also logged to Stackdriver
# (see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging)).
# The metadata field type is # The metadata field type is
# OperationMetadata. # OperationMetadata.
# @param [String] name # @param [String] name
@ -2652,6 +2653,12 @@ module Google
# be overridden by the `_count` parameter up to a maximum limit of 1000. If # be overridden by the `_count` parameter up to a maximum limit of 1000. If
# there are additional results, the returned `Bundle` will contain # there are additional results, the returned `Bundle` will contain
# pagination links. # pagination links.
# Resources with a total size larger than 5MB or a field count larger than
# 50,000 might not be fully searchable as the server might trim its generated
# search index in those cases.
# Note: FHIR resources are indexed asynchronously, so there might be a slight
# delay between the time a resource is created or changes and when the change
# is reflected in search results.
# @param [String] parent # @param [String] parent
# Name of the FHIR store to retrieve resources from. # Name of the FHIR store to retrieve resources from.
# @param [Google::Apis::HealthcareV1beta1::SearchResourcesRequest] search_resources_request_object # @param [Google::Apis::HealthcareV1beta1::SearchResourcesRequest] search_resources_request_object
@ -3205,6 +3212,9 @@ module Google
end end
# Lists all the messages in the given HL7v2 store with support for filtering. # Lists all the messages in the given HL7v2 store with support for filtering.
# Note: HL7v2 messages are indexed asynchronously, so there might be a slight
# delay between the time a message is created and when it can be found
# through a filter.
# @param [String] parent # @param [String] parent
# Name of the HL7v2 store to retrieve messages from. # Name of the HL7v2 store to retrieve messages from.
# @param [String] filter # @param [String] filter
@ -3216,7 +3226,7 @@ module Google
# * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in # * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in
# the dataset's time_zone, from the MSH-7 segment; for example # the dataset's time_zone, from the MSH-7 segment; for example
# `send_date < "2017-01-02"` # `send_date < "2017-01-02"`
# * `send_time`, the timestamp of when the message was sent, using the # * `send_time`, the timestamp when the message was sent, using the
# RFC3339 time format for comparisons, from the MSH-7 segment; for example # RFC3339 time format for comparisons, from the MSH-7 segment; for example
# `send_time < "2017-01-02T00:00:00-05:00"` # `send_time < "2017-01-02T00:00:00-05:00"`
# * `send_facility`, the care center that the message came from, from the # * `send_facility`, the care center that the message came from, from the

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/people/ # @see https://developers.google.com/people/
module PeopleV1 module PeopleV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190718' REVISION = '20190727'
# See, edit, download, and permanently delete your contacts # See, edit, download, and permanently delete your contacts
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'

View File

@ -1027,6 +1027,12 @@ module Google
class ModifyContactGroupMembersResponse class ModifyContactGroupMembersResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The contact people resource names that cannot be removed from their
# last contact group.
# Corresponds to the JSON property `canNotRemoveLastContactGroupResourceNames`
# @return [Array<String>]
attr_accessor :can_not_remove_last_contact_group_resource_names
# The contact people resource names that were not found. # The contact people resource names that were not found.
# Corresponds to the JSON property `notFoundResourceNames` # Corresponds to the JSON property `notFoundResourceNames`
# @return [Array<String>] # @return [Array<String>]
@ -1038,6 +1044,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@can_not_remove_last_contact_group_resource_names = args[:can_not_remove_last_contact_group_resource_names] if args.key?(:can_not_remove_last_contact_group_resource_names)
@not_found_resource_names = args[:not_found_resource_names] if args.key?(:not_found_resource_names) @not_found_resource_names = args[:not_found_resource_names] if args.key?(:not_found_resource_names)
end end
end end

View File

@ -625,6 +625,7 @@ module Google
class ModifyContactGroupMembersResponse class ModifyContactGroupMembersResponse
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :can_not_remove_last_contact_group_resource_names, as: 'canNotRemoveLastContactGroupResourceNames'
collection :not_found_resource_names, as: 'notFoundResourceNames' collection :not_found_resource_names, as: 'notFoundResourceNames'
end end
end end