Autogenerated update (2020-02-13)

Delete:
- analytics_v2_4

Update:
- adexchangebuyer2_v2beta1
- admob_v1
- androidmanagement_v1
- binaryauthorization_v1
- binaryauthorization_v1beta1
- classroom_v1
- cloudidentity_v1
- cloudidentity_v1beta1
- cloudresourcemanager_v1
- cloudresourcemanager_v2
- cloudresourcemanager_v2beta1
- factchecktools_v1alpha1
- firebasehosting_v1beta1
- healthcare_v1beta1
- libraryagent_v1
- prod_tt_sasportal_v1alpha1
- remotebuildexecution_v1
- remotebuildexecution_v1alpha
- remotebuildexecution_v2
- runtimeconfig_v1
- runtimeconfig_v1beta1
- sasportal_v1alpha1
- servicemanagement_v1
- storagetransfer_v1
- streetviewpublish_v1
- websecurityscanner_v1
- websecurityscanner_v1alpha
- websecurityscanner_v1beta
This commit is contained in:
Google APIs 2020-02-13 00:37:13 +00:00
parent c6879fe118
commit 1e3a8eaaa4
38 changed files with 150 additions and 486 deletions

View File

@ -27,7 +27,7 @@ module Google
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
module Adexchangebuyer2V2beta1
VERSION = 'V2beta1'
REVISION = '20200210'
REVISION = '20200212'
# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/admob/api/
module AdmobV1
VERSION = 'V1'
REVISION = '20200210'
REVISION = '20200212'
end
end
end

View File

@ -1,37 +0,0 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/analytics_v2_4/service.rb'
require 'google/apis/analytics_v2_4/classes.rb'
require 'google/apis/analytics_v2_4/representations.rb'
module Google
module Apis
# Google Analytics API
#
# Views and manages your Google Analytics data.
#
# @see https://developers.google.com/analytics/
module AnalyticsV2_4
VERSION = 'V2_4'
REVISION = '20180622'
# View and manage your Google Analytics data
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
# View your Google Analytics data
AUTH_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/analytics.readonly'
end
end
end

View File

@ -1,26 +0,0 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module AnalyticsV2_4
end
end
end

View File

@ -1,26 +0,0 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module AnalyticsV2_4
end
end
end

View File

@ -1,331 +0,0 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module AnalyticsV2_4
# Google Analytics API
#
# Views and manages your Google Analytics data.
#
# @example
# require 'google/apis/analytics_v2_4'
#
# Analytics = Google::Apis::AnalyticsV2_4 # Alias the module
# service = Analytics::AnalyticsService.new
#
# @see https://developers.google.com/analytics/
class AnalyticsService < Google::Apis::Core::BaseService
# @return [String]
# API key. Your API key identifies your project and provides you with API access,
# quota, and reports. Required unless you provide an OAuth 2.0 token.
attr_accessor :key
# @return [String]
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
attr_accessor :quota_user
# @return [String]
# Deprecated. Please use quotaUser instead.
attr_accessor :user_ip
def initialize
super('https://www.googleapis.com/', 'analytics/v2.4/')
@batch_path = 'batch/analytics/v2.4'
end
# Returns Analytics report data for a view (profile).
# @param [String] ids
# Unique table ID for retrieving report data. Table ID is of the form ga:XXXX,
# where XXXX is the Analytics view (profile) ID.
# @param [String] start_date
# Start date for fetching report data. All requests should specify a start date
# formatted as YYYY-MM-DD.
# @param [String] end_date
# End date for fetching report data. All requests should specify an end date
# formatted as YYYY-MM-DD.
# @param [String] metrics
# A comma-separated list of Analytics metrics. E.g., 'ga:sessions,ga:pageviews'.
# At least one metric must be specified to retrieve a valid Analytics report.
# @param [String] dimensions
# A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.
# @param [String] filters
# A comma-separated list of dimension or metric filters to be applied to the
# report data.
# @param [Fixnum] max_results
# The maximum number of entries to include in this feed.
# @param [String] segment
# An Analytics advanced segment to be applied to the report data.
# @param [String] sort
# A comma-separated list of dimensions or metrics that determine the sort order
# for the report data.
# @param [Fixnum] start_index
# An index of the first entity to retrieve. Use this parameter as a pagination
# mechanism along with the max-results parameter.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [NilClass] No result returned for this method
# @yieldparam err [StandardError] error object if request failed
#
# @return [void]
#
# @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_datum(ids, start_date, end_date, metrics, dimensions: nil, filters: nil, max_results: nil, segment: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'data', options)
command.query['dimensions'] = dimensions unless dimensions.nil?
command.query['end-date'] = end_date unless end_date.nil?
command.query['filters'] = filters unless filters.nil?
command.query['ids'] = ids unless ids.nil?
command.query['max-results'] = max_results unless max_results.nil?
command.query['metrics'] = metrics unless metrics.nil?
command.query['segment'] = segment unless segment.nil?
command.query['sort'] = sort unless sort.nil?
command.query['start-date'] = start_date unless start_date.nil?
command.query['start-index'] = start_index unless start_index.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Lists all accounts to which the user has access.
# @param [Fixnum] max_results
# The maximum number of accounts to include in this response.
# @param [Fixnum] start_index
# An index of the first account to retrieve. Use this parameter as a pagination
# mechanism along with the max-results parameter.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [NilClass] No result returned for this method
# @yieldparam err [StandardError] error object if request failed
#
# @return [void]
#
# @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 list_management_accounts(max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts', options)
command.query['max-results'] = max_results unless max_results.nil?
command.query['start-index'] = start_index unless start_index.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Lists goals to which the user has access.
# @param [String] account_id
# Account ID to retrieve goals for. Can either be a specific account ID or '~all'
# , which refers to all the accounts that user has access to.
# @param [String] web_property_id
# Web property ID to retrieve goals for. Can either be a specific web property
# ID or '~all', which refers to all the web properties that user has access to.
# @param [String] profile_id
# View (Profile) ID to retrieve goals for. Can either be a specific view (
# profile) ID or '~all', which refers to all the views (profiles) that user has
# access to.
# @param [Fixnum] max_results
# The maximum number of goals to include in this response.
# @param [Fixnum] start_index
# An index of the first goal to retrieve. Use this parameter as a pagination
# mechanism along with the max-results parameter.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [NilClass] No result returned for this method
# @yieldparam err [StandardError] error object if request failed
#
# @return [void]
#
# @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 list_management_goals(account_id, web_property_id, profile_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', options)
command.params['accountId'] = account_id unless account_id.nil?
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
command.params['profileId'] = profile_id unless profile_id.nil?
command.query['max-results'] = max_results unless max_results.nil?
command.query['start-index'] = start_index unless start_index.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Lists views (profiles) to which the user has access.
# @param [String] account_id
# Account ID for the views (profiles) to retrieve. Can either be a specific
# account ID or '~all', which refers to all the accounts to which the user has
# access.
# @param [String] web_property_id
# Web property ID for the views (profiles) to retrieve. Can either be a specific
# web property ID or '~all', which refers to all the web properties to which the
# user has access.
# @param [Fixnum] max_results
# The maximum number of views (profiles) to include in this response.
# @param [Fixnum] start_index
# An index of the first entity to retrieve. Use this parameter as a pagination
# mechanism along with the max-results parameter.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [NilClass] No result returned for this method
# @yieldparam err [StandardError] error object if request failed
#
# @return [void]
#
# @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 list_management_profiles(account_id, web_property_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', options)
command.params['accountId'] = account_id unless account_id.nil?
command.params['webPropertyId'] = web_property_id unless web_property_id.nil?
command.query['max-results'] = max_results unless max_results.nil?
command.query['start-index'] = start_index unless start_index.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Lists advanced segments to which the user has access.
# @param [Fixnum] max_results
# The maximum number of advanced segments to include in this response.
# @param [Fixnum] start_index
# An index of the first advanced segment to retrieve. Use this parameter as a
# pagination mechanism along with the max-results parameter.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [NilClass] No result returned for this method
# @yieldparam err [StandardError] error object if request failed
#
# @return [void]
#
# @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 list_management_segments(max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/segments', options)
command.query['max-results'] = max_results unless max_results.nil?
command.query['start-index'] = start_index unless start_index.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Lists web properties to which the user has access.
# @param [String] account_id
# Account ID to retrieve web properties for. Can either be a specific account ID
# or '~all', which refers to all the accounts that user has access to.
# @param [Fixnum] max_results
# The maximum number of web properties to include in this response.
# @param [Fixnum] start_index
# An index of the first entity to retrieve. Use this parameter as a pagination
# mechanism along with the max-results parameter.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [NilClass] No result returned for this method
# @yieldparam err [StandardError] error object if request failed
#
# @return [void]
#
# @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 list_management_webproperties(account_id, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'management/accounts/{accountId}/webproperties', options)
command.params['accountId'] = account_id unless account_id.nil?
command.query['max-results'] = max_results unless max_results.nil?
command.query['start-index'] = start_index unless start_index.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
protected
def apply_command_defaults(command)
command.query['key'] = key unless key.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
end
end
end
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/android/management
module AndroidmanagementV1
VERSION = 'V1'
REVISION = '20200203'
REVISION = '20200205'
# Manage Android devices and apps for your customers
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/binary-authorization/
module BinaryauthorizationV1
VERSION = 'V1'
REVISION = '20200117'
REVISION = '20200210'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/binary-authorization/
module BinaryauthorizationV1beta1
VERSION = 'V1beta1'
REVISION = '20200117'
REVISION = '20200210'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/classroom/
module ClassroomV1
VERSION = 'V1'
REVISION = '20190503'
REVISION = '20200210'
# View and manage announcements in Google Classroom
AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/identity/
module CloudidentityV1
VERSION = 'V1'
REVISION = '20200203'
REVISION = '20200210'
# See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/identity/
module CloudidentityV1beta1
VERSION = 'V1beta1'
REVISION = '20200203'
REVISION = '20200210'
# See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV1
VERSION = 'V1'
REVISION = '20200203'
REVISION = '20200210'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -296,7 +296,7 @@ module Google
# For example, a Lien with a `parent` of `projects/1234` requires permission
# `resourcemanager.projects.updateLiens`.
# @param [String] name
# The name/identifier of the Lien to delete.
# Required. The name/identifier of the Lien to delete.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -330,7 +330,7 @@ module Google
# requires permission `resourcemanager.projects.get` or
# `resourcemanager.projects.updateLiens`.
# @param [String] name
# The name/identifier of the Lien.
# Required. The name/identifier of the Lien.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -367,7 +367,7 @@ module Google
# @param [String] page_token
# The `next_page_token` value returned from a previous List request, if any.
# @param [String] parent
# The name of the resource to list all attached Liens.
# Required. The name of the resource to list all attached Liens.
# For example, `projects/1234`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV2
VERSION = 'V2'
REVISION = '20200203'
REVISION = '20200210'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV2beta1
VERSION = 'V2beta1'
REVISION = '20200203'
REVISION = '20200210'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/fact-check/tools/api/
module FactchecktoolsV1alpha1
VERSION = 'V1alpha1'
REVISION = '20200210'
REVISION = '20200212'
# View your email address
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'

View File

@ -27,7 +27,7 @@ module Google
# @see https://firebase.google.com/docs/hosting/
module FirebasehostingV1beta1
VERSION = 'V1beta1'
REVISION = '20200210'
REVISION = '20200212'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

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

View File

@ -142,10 +142,28 @@ module Google
class Binding
include Google::Apis::Core::Hashable
# Represents an expression text. Example:
# title: "User account presence"
# description: "Determines whether the request has a user account"
# expression: "size(request.user) > 0"
# 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: "Summary size limit"
# description: "Determines if a summary is less than 100 chars"
# expression: "document.summary.size() < 100"
# Example (Equality):
# title: "Requestor is owner"
# description: "Determines if requestor is the document owner"
# expression: "document.owner == request.auth.claims.email"
# Example (Logic):
# title: "Public documents"
# description: "Determine whether the document should be publicly visible"
# expression: "document.type != 'private' && document.type != 'internal'"
# Example (Data Manipulation):
# title: "Notification string"
# description: "Create a notification string with a timestamp."
# expression: "'New message received at ' + string(document.create_time)"
# The exact variables and functions that may be referenced within an expression
# are determined by the service that evaluates it. See the service
# documentation for additional information.
# Corresponds to the JSON property `condition`
# @return [Google::Apis::HealthcareV1beta1::Expr]
attr_accessor :condition
@ -378,8 +396,9 @@ module Google
# The name of the dataset resource to create and write the redacted data to.
# * The destination dataset must not exist.
# * The destination dataset must be in the same project as the source
# dataset. De-identifying data across multiple projects is not supported.
# * The destination dataset must be in the same project and location as the
# source dataset. De-identifying data across multiple projects or locations
# is not supported.
# Corresponds to the JSON property `destinationDataset`
# @return [String]
attr_accessor :destination_dataset
@ -773,34 +792,50 @@ module Google
end
end
# Represents an expression text. Example:
# title: "User account presence"
# description: "Determines whether the request has a user account"
# expression: "size(request.user) > 0"
# 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: "Summary size limit"
# description: "Determines if a summary is less than 100 chars"
# expression: "document.summary.size() < 100"
# Example (Equality):
# title: "Requestor is owner"
# description: "Determines if requestor is the document owner"
# expression: "document.owner == request.auth.claims.email"
# Example (Logic):
# title: "Public documents"
# description: "Determine whether the document should be publicly visible"
# expression: "document.type != 'private' && document.type != 'internal'"
# Example (Data Manipulation):
# title: "Notification string"
# description: "Create a notification string with a timestamp."
# expression: "'New message received at ' + string(document.create_time)"
# The exact variables and functions that may be referenced within an expression
# are determined by the service that evaluates it. See the service
# documentation for additional information.
class Expr
include Google::Apis::Core::Hashable
# An optional description of the expression. This is a longer text which
# Optional. Description of the expression. This is a longer text which
# describes the expression, e.g. when hovered over it in a UI.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# Textual representation of an expression in
# Common Expression Language syntax.
# The application context of the containing message determines which
# well-known feature set of CEL is supported.
# Textual representation of an expression in Common Expression Language
# syntax.
# Corresponds to the JSON property `expression`
# @return [String]
attr_accessor :expression
# An optional string indicating the location of the expression for error
# Optional. String indicating the location of the expression for error
# reporting, e.g. a file name and a position in the file.
# Corresponds to the JSON property `location`
# @return [String]
attr_accessor :location
# An optional title for the expression, i.e. a short string describing
# Optional. Title for the expression, i.e. a short string describing
# its purpose. This can be used e.g. in UIs which allow to enter the
# expression.
# Corresponds to the JSON property `title`
@ -827,6 +862,8 @@ module Google
# Specifies FHIR paths to match and how to transform them. Any field that
# is not matched by a FieldMetadata is passed through to the output
# dataset unmodified. All extensions are removed in the output.
# If a field can be matched by more than one FieldMetadata, the first
# FieldMetadata.Action is applied.
# Corresponds to the JSON property `fieldMetadataList`
# @return [Array<Google::Apis::HealthcareV1beta1::FieldMetadata>]
attr_accessor :field_metadata_list
@ -963,15 +1000,21 @@ module Google
# @return [String]
attr_accessor :action
# List of paths to FHIR fields to be redacted. Each path is a
# List of paths to FHIR fields to redact. Each path is a
# period-separated list where each component is either a field name or
# FHIR type name, for example: Patient, HumanName.
# For "choice" types (those defined in the FHIR spec with the form:
# field[x]) we use two separate components. For example,
# "deceasedAge.unit" is matched by "Deceased.Age.unit".
# Supported types are: AdministrativeGenderCode, Code, Date, DateTime,
# Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid,
# Xhtml.
# FHIR type name. All types begin with an upper case letter. For example,
# the resource field "Patient.Address.city", which uses a string type,
# can be matched by "Patient.Address.String". Path also supports partial
# matching. For example, "Patient.Address.city" can be matched by
# "Address.city" (Patient omitted). Partial matching and type matching
# can be combined, for example "Patient.Address.city" can be matched by
# "Address.String". For "choice" types (those defined in the FHIR spec
# with the form: field[x]), use two separate components. For example,
# "deceasedAge.unit" is matched by "Deceased.Age.unit". Supported types
# are: AdministrativeGenderCode, Code, Date, DateTime, Decimal,
# HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml.
# The sub-type for HumanName(for example HumanName.given,
# HumanName.family) can be omitted.
# Corresponds to the JSON property `paths`
# @return [Array<String>]
attr_accessor :paths
@ -1415,6 +1458,22 @@ module Google
# @return [Google::Apis::HealthcareV1beta1::ParserConfig]
attr_accessor :parser_config
# Determines whether duplicate messages should be rejected. A duplicate
# message is a message with the same raw bytes as a message that has already
# been ingested/created in this HL7v2 store.
# The default value is false, meaning that the store accepts the duplicate
# messages and it also returns the same ACK message in the
# IngestMessageResponse as has been returned previously. Note that only
# one resource is created in the store.
# When this field is set to true,
# CreateMessage/IngestMessage
# requests with a duplicate message will be rejected by the store, and
# IngestMessageErrorDetail returns a NACK message upon rejection.
# Corresponds to the JSON property `rejectDuplicateMessage`
# @return [Boolean]
attr_accessor :reject_duplicate_message
alias_method :reject_duplicate_message?, :reject_duplicate_message
def initialize(**args)
update!(**args)
end
@ -1425,6 +1484,7 @@ module Google
@name = args[:name] if args.key?(:name)
@notification_config = args[:notification_config] if args.key?(:notification_config)
@parser_config = args[:parser_config] if args.key?(:parser_config)
@reject_duplicate_message = args[:reject_duplicate_message] if args.key?(:reject_duplicate_message)
end
end
@ -1601,8 +1661,9 @@ module Google
# @return [Google::Apis::HealthcareV1beta1::DateShiftConfig]
attr_accessor :date_shift_config
# InfoTypes to apply this transformation to. If this is not specified, the
# transformation applies to any info_type.
# InfoTypes to apply this transformation to. If this is not specified, this
# transformation becomes the default transformation, and is used for any
# info_type that is not specified in another transformation.
# Corresponds to the JSON property `infoTypes`
# @return [Array<String>]
attr_accessor :info_types
@ -1824,6 +1885,15 @@ module Google
class ListMessagesResponse
include Google::Apis::Core::Hashable
# The returned Messages. Won't be more Messages than the value of
# page_size in the request. See
# view for
# populated fields.
# Corresponds to the JSON property `hl7V2Messages`
# @return [Array<Google::Apis::HealthcareV1beta1::Message>]
attr_accessor :hl7_v2_messages
# Deprecated. Use `hl7_v2_messages` instead.
# The returned message names. Won't be more values than the value of
# page_size in the request.
# Corresponds to the JSON property `messages`
@ -1842,6 +1912,7 @@ module Google
# Update properties of this object
def update!(**args)
@hl7_v2_messages = args[:hl7_v2_messages] if args.key?(:hl7_v2_messages)
@messages = args[:messages] if args.key?(:messages)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end

View File

@ -825,6 +825,7 @@ module Google
property :parser_config, as: 'parserConfig', class: Google::Apis::HealthcareV1beta1::ParserConfig, decorator: Google::Apis::HealthcareV1beta1::ParserConfig::Representation
property :reject_duplicate_message, as: 'rejectDuplicateMessage'
end
end
@ -951,6 +952,8 @@ module Google
class ListMessagesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :hl7_v2_messages, as: 'hl7V2Messages', class: Google::Apis::HealthcareV1beta1::Message, decorator: Google::Apis::HealthcareV1beta1::Message::Representation
collection :messages, as: 'messages'
property :next_page_token, as: 'nextPageToken'
end

View File

@ -3593,6 +3593,9 @@ module Google
# If zero the default page size of 100 is used.
# @param [String] page_token
# The next_page_token value returned from the previous List request, if any.
# @param [String] view
# Specifies the parts of the Message to return in the response.
# When unspecified, equivalent to BASIC.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -3610,7 +3613,7 @@ 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 list_project_location_dataset_hl7_v2_store_messages(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
def list_project_location_dataset_hl7_v2_store_messages(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/messages', options)
command.response_representation = Google::Apis::HealthcareV1beta1::ListMessagesResponse::Representation
command.response_class = Google::Apis::HealthcareV1beta1::ListMessagesResponse
@ -3619,6 +3622,7 @@ module Google
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['view'] = view unless view.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/docs/quota
module LibraryagentV1
VERSION = 'V1'
REVISION = '20200210'
REVISION = '20200211'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/spectrum-access-system/
module ProdTtSasportalV1alpha1
VERSION = 'V1alpha1'
REVISION = '20200210'
REVISION = '20200212'
# View your email address
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/remote-build-execution/docs/
module RemotebuildexecutionV1
VERSION = 'V1'
REVISION = '20200128'
REVISION = '20200211'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/remote-build-execution/docs/
module RemotebuildexecutionV1alpha
VERSION = 'V1alpha'
REVISION = '20200128'
REVISION = '20200211'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/remote-build-execution/docs/
module RemotebuildexecutionV2
VERSION = 'V2'
REVISION = '20200128'
REVISION = '20200211'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -28,7 +28,7 @@ module Google
# @see https://cloud.google.com/deployment-manager/runtime-configurator/
module RuntimeconfigV1
VERSION = 'V1'
REVISION = '20190603'
REVISION = '20200211'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -28,7 +28,7 @@ module Google
# @see https://cloud.google.com/deployment-manager/runtime-configurator/
module RuntimeconfigV1beta1
VERSION = 'V1beta1'
REVISION = '20200120'
REVISION = '20200211'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/spectrum-access-system/
module SasportalV1alpha1
VERSION = 'V1alpha1'
REVISION = '20200210'
REVISION = '20200212'
# View your email address
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-management/
module ServicemanagementV1
VERSION = 'V1'
REVISION = '20200131'
REVISION = '20200207'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -487,9 +487,6 @@ module Google
# @return [Float]
attr_accessor :deadline
# When disable_auth is false, a JWT ID token will be generated with the
# value from BackendRule.address as jwt_audience, overrode to the HTTP
# "Authorization" request header and sent to the backend.
# When disable_auth is true, a JWT ID token won't be generated and the
# original "Authorization" HTTP header will be preserved. If the header is
# used to carry the original token and is expected by the backend, this

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/storage-transfer/docs
module StoragetransferV1
VERSION = 'V1'
REVISION = '20200203'
REVISION = '20200210'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -785,10 +785,19 @@ module Google
# @return [String]
attr_accessor :last_modification_time
# A globally unique name assigned by Storage Transfer Service when the
# job is created. This field should be left empty in requests to create a new
# transfer job; otherwise, the requests result in an `INVALID_ARGUMENT`
# error.
# A unique name (within the transfer project) assigned when the job is
# created.
# If this field is left empty in a CreateTransferJobRequest,
# Storage Transfer Service will assign a unique name. Otherwise, the supplied
# name is used as the unique name for this job.
# This name must start with "transferJobs/" prefix and end with a letter or a
# number, and should be no more than 128 characters.
# Example of a valid format : "transferJobs/[A-Za-z0-9-._~]*[A-Za-z0-9]$"
# **NOTE:**
# If the supplied name is already in use, the creation request results in an
# `ALREADY_EXISTS` error and the transfer job will not be created.
# Invalid job names will return an 'INVALID_ARGUMENT' error and the job will
# not be created.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -27,7 +27,7 @@ module Google
# @see https://developers.google.com/streetview/publish/
module StreetviewpublishV1
VERSION = 'V1'
REVISION = '20200210'
REVISION = '20200211'
# Publish and manage your 360 photos on Google Street View
AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/security-scanner/
module WebsecurityscannerV1
VERSION = 'V1'
REVISION = '20200104'
REVISION = '20200210'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/security-scanner/
module WebsecurityscannerV1alpha
VERSION = 'V1alpha'
REVISION = '20190919'
REVISION = '20200210'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/security-scanner/
module WebsecurityscannerV1beta
VERSION = 'V1beta'
REVISION = '20200104'
REVISION = '20200210'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'