Autogenerated update (2020-09-23)

Update:
- apigee_v1
- calendar_v3
- cloudbuild_v1
- cloudidentity_v1
- cloudidentity_v1beta1
- dfareporting_v3_3
- dfareporting_v3_4
- dialogflow_v2
- dialogflow_v2beta1
- dialogflow_v3beta1
- dlp_v2
- gmail_v1
- healthcare_v1
- healthcare_v1beta1
- oslogin_v1alpha
- realtimebidding_v1
- websecurityscanner_v1
- websecurityscanner_v1beta
- youtube_v3
This commit is contained in:
Google APIs committed 2020-09-23 00:39:06 +00:00
1 parent 50e91c8145
commit d3b9abfbb2
60 files changed
+5238 -907

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ module Google
# @see https://cloud.google.com/apigee-api-management/
module ApigeeV1
VERSION = 'V1'
REVISION = '20200912'
REVISION = '20200921'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1612,11 +1612,6 @@ module Google
# @return [String]
attr_accessor :api_proxy
# Base path for the deployment.
# Corresponds to the JSON property `basePath`
# @return [String]
attr_accessor :base_path
# Time the API proxy was marked `deployed` in the control plane in millisconds
# since epoch.
# Corresponds to the JSON property `deployStartTime`
@@ -1672,7 +1667,6 @@ module Google
# Update properties of this object
def update!(**args)
@api_proxy = args[:api_proxy] if args.key?(:api_proxy)
@base_path = args[:base_path] if args.key?(:base_path)
@deploy_start_time = args[:deploy_start_time] if args.key?(:deploy_start_time)
@environment = args[:environment] if args.key?(:environment)
@errors = args[:errors] if args.key?(:errors)
@@ -1296,7 +1296,6 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :api_proxy, as: 'apiProxy'
property :base_path, as: 'basePath'
property :deploy_start_time, :numeric_string => true, as: 'deployStartTime'
property :environment, as: 'environment'
collection :errors, as: 'errors', class: Google::Apis::ApigeeV1::GoogleRpcStatus, decorator: Google::Apis::ApigeeV1::GoogleRpcStatus::Representation
+1 -5
View File
@@ -3908,9 +3908,6 @@ module Google
# @param [String] name
# Name of the API proxy revision deployment in the following format: `
# organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
# @param [String] basepath
# Base path where the API proxy revision should be deployed. Defaults to '/' if
# not provided.
# @param [Boolean] override
# Flag that specifies whether to force the deployment of the new revision over
# the currently deployed revision by overriding conflict checks.
@@ -3931,12 +3928,11 @@ 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 generate_organization_environment_api_revision_deployment_deploy_change_report(name, basepath: nil, override: nil, fields: nil, quota_user: nil, options: nil, &block)
def generate_organization_environment_api_revision_deployment_deploy_change_report(name, override: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}/deployments:generateDeployChangeReport', options)
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport::Representation
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport
command.params['name'] = name unless name.nil?
command.query['basepath'] = basepath unless basepath.nil?
command.query['override'] = override unless override.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/google-apps/calendar/firstapp
module CalendarV3
VERSION = 'V3'
REVISION = '20200902'
REVISION = '20200917'
# See, edit, share, and permanently delete all the calendars you can access using Google Calendar
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
+2 -1
View File
@@ -1044,7 +1044,8 @@ module Google
attr_accessor :attachments
# The attendees of the event. See the Events with attendees guide for more
# information on scheduling events with other calendar users.
# information on scheduling events with other calendar users. Service accounts
# need to use domain-wide delegation of authority to populate the attendee list.
# Corresponds to the JSON property `attendees`
# @return [Array<Google::Apis::CalendarV3::EventAttendee>]
attr_accessor :attendees
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/cloud-build/docs/
module CloudbuildV1
VERSION = 'V1'
REVISION = '20200910'
REVISION = '20200921'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -767,40 +767,6 @@ module Google
end
end
# Request to create a new build.
class CreateBuildRequest
include Google::Apis::Core::Hashable
# A build resource in the Cloud Build API. At a high level, a `Build` describes
# where to find source code, how to build it (for example, the builder image to
# run on the source), and where to store the built artifacts. Fields can include
# the following variables, which will be expanded when the build is created: - $
# PROJECT_ID: the project ID of the build. - $BUILD_ID: the autogenerated ID of
# the build. - $REPO_NAME: the source repository name specified by RepoSource. -
# $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag
# name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA
# specified by RepoSource or resolved from the specified branch or tag. - $
# SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.
# Corresponds to the JSON property `build`
# @return [Google::Apis::CloudbuildV1::Build]
attr_accessor :build
# Required. ID of the project.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@build = args[:build] if args.key?(:build)
@project_id = args[:project_id] if args.key?(:project_id)
end
end
# A generic empty message that you can re-use to avoid defining duplicated empty
# messages in your APIs. A typical example is to use it as the request or the
# response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -88,12 +88,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class CreateBuildRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -425,15 +419,6 @@ module Google
end
end
class CreateBuildRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation
property :project_id, as: 'projectId'
end
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -367,7 +367,9 @@ module Google
# @param [String] parent
# The parent resource where this build will be created. Format: `projects/`
# project`/locations/`location``
# @param [Google::Apis::CloudbuildV1::CreateBuildRequest] create_build_request_object
# @param [Google::Apis::CloudbuildV1::Build] build_object
# @param [String] project_id
# Required. ID of the project.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -385,13 +387,14 @@ 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 create_build(parent, create_build_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
def create_build(parent, build_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/builds', options)
command.request_representation = Google::Apis::CloudbuildV1::CreateBuildRequest::Representation
command.request_object = create_build_request_object
command.request_representation = Google::Apis::CloudbuildV1::Build::Representation
command.request_object = build_object
command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
command.response_class = Google::Apis::CloudbuildV1::Operation
command.params['parent'] = parent unless parent.nil?
command.query['projectId'] = project_id unless project_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/identity/
module CloudidentityV1
VERSION = 'V1'
REVISION = '20200915'
REVISION = '20200919'
# See your device details
AUTH_CLOUD_IDENTITY_DEVICES_LOOKUP = 'https://www.googleapis.com/auth/cloud-identity.devices.lookup'
@@ -1139,13 +1139,6 @@ module Google
# @return [Array<String>]
attr_accessor :remove_roles
# The `MembershipRole`s to be updated. Updating roles in the same request as
# adding or removing roles is not supported. Must not be set if either `
# add_roles` or `remove_roles` is set.
# Corresponds to the JSON property `updateRolesParams`
# @return [Array<Google::Apis::CloudidentityV1::UpdateMembershipRolesParams>]
attr_accessor :update_roles_params
def initialize(**args)
update!(**args)
end
@@ -1154,7 +1147,6 @@ module Google
def update!(**args)
@add_roles = args[:add_roles] if args.key?(:add_roles)
@remove_roles = args[:remove_roles] if args.key?(:remove_roles)
@update_roles_params = args[:update_roles_params] if args.key?(:update_roles_params)
end
end
@@ -1303,32 +1295,6 @@ module Google
@message = args[:message] if args.key?(:message)
end
end
# The details of an update to a `MembershipRole`.
class UpdateMembershipRolesParams
include Google::Apis::Core::Hashable
# The fully-qualified names of fields to update. May only contain the field `
# expiry_detail`.
# Corresponds to the JSON property `fieldMask`
# @return [String]
attr_accessor :field_mask
# Resource representing a role within a Membership.
# Corresponds to the JSON property `membershipRole`
# @return [Google::Apis::CloudidentityV1::MembershipRole]
attr_accessor :membership_role
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@field_mask = args[:field_mask] if args.key?(:field_mask)
@membership_role = args[:membership_role] if args.key?(:membership_role)
end
end
end
end
end
@@ -226,12 +226,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class UpdateMembershipRolesParams
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class EntityKey
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -529,8 +523,6 @@ module Google
collection :add_roles, as: 'addRoles', class: Google::Apis::CloudidentityV1::MembershipRole, decorator: Google::Apis::CloudidentityV1::MembershipRole::Representation
collection :remove_roles, as: 'removeRoles'
collection :update_roles_params, as: 'updateRolesParams', class: Google::Apis::CloudidentityV1::UpdateMembershipRolesParams, decorator: Google::Apis::CloudidentityV1::UpdateMembershipRolesParams::Representation
end
end
@@ -571,15 +563,6 @@ module Google
property :message, as: 'message'
end
end
class UpdateMembershipRolesParams
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :field_mask, as: 'fieldMask'
property :membership_role, as: 'membershipRole', class: Google::Apis::CloudidentityV1::MembershipRole, decorator: Google::Apis::CloudidentityV1::MembershipRole::Representation
end
end
end
end
end
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/identity/
module CloudidentityV1beta1
VERSION = 'V1beta1'
REVISION = '20200908'
REVISION = '20200919'
# See your device details
AUTH_CLOUD_IDENTITY_DEVICES_LOOKUP = 'https://www.googleapis.com/auth/cloud-identity.devices.lookup'
@@ -239,6 +239,29 @@ module Google
end
end
# The response message for MembershipsService.CheckTransitiveMembership.
class CheckTransitiveMembershipResponse
include Google::Apis::Core::Hashable
# Response does not include the possible roles of a member since the behavior of
# this rpc is not all-or-nothing unlike the other rpcs. So, it may not be
# possible to list all the roles definitively, due to possible lack of
# authorization in some of the paths.
# Corresponds to the JSON property `hasMembership`
# @return [Boolean]
attr_accessor :has_membership
alias_method :has_membership?, :has_membership
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@has_membership = args[:has_membership] if args.key?(:has_membership)
end
end
# Represents the state associated with an API client calling the Devices API.
# Resource representing ClientState and supports updates from API users
class ClientState
@@ -1494,6 +1517,58 @@ module Google
end
end
# Message representing a transitive group of a user or a group.
class GroupRelation
include Google::Apis::Core::Hashable
# Display name for this group.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# Resource name for this group.
# Corresponds to the JSON property `group`
# @return [String]
attr_accessor :group
# A unique identifier for an entity in the Cloud Identity Groups API. An entity
# can represent either a group with an optional `namespace` or a user without a `
# namespace`. The combination of `id` and `namespace` must be unique; however,
# the same `id` can be used with different `namespace`s.
# Corresponds to the JSON property `groupKey`
# @return [Google::Apis::CloudidentityV1beta1::EntityKey]
attr_accessor :group_key
# Labels for Group resource.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# The relation between the member and the transitive group.
# Corresponds to the JSON property `relationType`
# @return [String]
attr_accessor :relation_type
# Membership roles of the member for the group.
# Corresponds to the JSON property `roles`
# @return [Array<Google::Apis::CloudidentityV1beta1::TransitiveMembershipRole>]
attr_accessor :roles
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@display_name = args[:display_name] if args.key?(:display_name)
@group = args[:group] if args.key?(:group)
@group_key = args[:group_key] if args.key?(:group_key)
@labels = args[:labels] if args.key?(:labels)
@relation_type = args[:relation_type] if args.key?(:relation_type)
@roles = args[:roles] if args.key?(:roles)
end
end
# Response message that is returned in LRO result of ListClientStates Operation.
class ListClientStatesResponse
include Google::Apis::Core::Hashable
@@ -1698,6 +1773,44 @@ module Google
end
end
# Message representing a transitive membership of a group.
class MemberRelation
include Google::Apis::Core::Hashable
# Resource name for this member if member is a GROUP, otherwise it is empty.
# Corresponds to the JSON property `member`
# @return [String]
attr_accessor :member
# Entity key has an id and a namespace. In case of discussion forums, the id
# will be an email address without a namespace.
# Corresponds to the JSON property `preferredMemberKey`
# @return [Array<Google::Apis::CloudidentityV1beta1::EntityKey>]
attr_accessor :preferred_member_key
# The relation between the group and the transitive member.
# Corresponds to the JSON property `relationType`
# @return [String]
attr_accessor :relation_type
# The membership role details (i.e name of role and expiry time).
# Corresponds to the JSON property `roles`
# @return [Array<Google::Apis::CloudidentityV1beta1::TransitiveMembershipRole>]
attr_accessor :roles
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@member = args[:member] if args.key?(:member)
@preferred_member_key = args[:preferred_member_key] if args.key?(:preferred_member_key)
@relation_type = args[:relation_type] if args.key?(:relation_type)
@roles = args[:roles] if args.key?(:roles)
end
end
# A membership within the Cloud Identity Groups API. A `Membership` defines a
# relationship between a `Group` and an entity belonging to that `Group`,
# referred to as a "member".
@@ -1964,6 +2077,58 @@ module Google
end
end
# The response message for MembershipsService.SearchTransitiveGroups.
class SearchTransitiveGroupsResponse
include Google::Apis::Core::Hashable
# List of transitive groups satisfying the query.
# Corresponds to the JSON property `memberships`
# @return [Array<Google::Apis::CloudidentityV1beta1::GroupRelation>]
attr_accessor :memberships
# Token to retrieve the next page of results, or empty if there are no more
# results available for listing.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@memberships = args[:memberships] if args.key?(:memberships)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# The response message for MembershipsService.SearchTransitiveMemberships.
class SearchTransitiveMembershipsResponse
include Google::Apis::Core::Hashable
# List of transitive members satisfying the query.
# Corresponds to the JSON property `memberships`
# @return [Array<Google::Apis::CloudidentityV1beta1::MemberRelation>]
attr_accessor :memberships
# Token to retrieve the next page of results, or empty if there are no more
# results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@memberships = args[:memberships] if args.key?(:memberships)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by [
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -2003,6 +2168,26 @@ module Google
end
end
# Message representing the role of a TransitiveMembership.
class TransitiveMembershipRole
include Google::Apis::Core::Hashable
# TransitiveMembershipRole in string format. Currently supported
# TransitiveMembershipRoles: `"MEMBER"`, `"OWNER"`, and `"MANAGER"`.
# Corresponds to the JSON property `role`
# @return [String]
attr_accessor :role
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@role = args[:role] if args.key?(:role)
end
end
# The details of an update to a `MembershipRole`.
class UpdateMembershipRolesParams
include Google::Apis::Core::Hashable
@@ -76,6 +76,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class CheckTransitiveMembershipResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ClientState
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -214,6 +220,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GroupRelation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListClientStatesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -262,6 +274,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class MemberRelation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Membership
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -304,12 +322,30 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class SearchTransitiveGroupsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SearchTransitiveMembershipsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Status
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TransitiveMembershipRole
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UpdateMembershipRolesParams
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -410,6 +446,13 @@ module Google
end
end
class CheckTransitiveMembershipResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :has_membership, as: 'hasMembership'
end
end
class ClientState
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -705,6 +748,20 @@ module Google
end
end
class GroupRelation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
property :group, as: 'group'
property :group_key, as: 'groupKey', class: Google::Apis::CloudidentityV1beta1::EntityKey, decorator: Google::Apis::CloudidentityV1beta1::EntityKey::Representation
hash :labels, as: 'labels'
property :relation_type, as: 'relationType'
collection :roles, as: 'roles', class: Google::Apis::CloudidentityV1beta1::TransitiveMembershipRole, decorator: Google::Apis::CloudidentityV1beta1::TransitiveMembershipRole::Representation
end
end
class ListClientStatesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -773,6 +830,18 @@ module Google
end
end
class MemberRelation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :member, as: 'member'
collection :preferred_member_key, as: 'preferredMemberKey', class: Google::Apis::CloudidentityV1beta1::EntityKey, decorator: Google::Apis::CloudidentityV1beta1::EntityKey::Representation
property :relation_type, as: 'relationType'
collection :roles, as: 'roles', class: Google::Apis::CloudidentityV1beta1::TransitiveMembershipRole, decorator: Google::Apis::CloudidentityV1beta1::TransitiveMembershipRole::Representation
end
end
class Membership
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -847,6 +916,24 @@ module Google
end
end
class SearchTransitiveGroupsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :memberships, as: 'memberships', class: Google::Apis::CloudidentityV1beta1::GroupRelation, decorator: Google::Apis::CloudidentityV1beta1::GroupRelation::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class SearchTransitiveMembershipsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :memberships, as: 'memberships', class: Google::Apis::CloudidentityV1beta1::MemberRelation, decorator: Google::Apis::CloudidentityV1beta1::MemberRelation::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -856,6 +943,13 @@ module Google
end
end
class TransitiveMembershipRole
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :role, as: 'role'
end
end
class UpdateMembershipRolesParams
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -992,6 +992,44 @@ module Google
execute_or_queue_command(command, &block)
end
# Check a potential member for membership in a group.
# @param [String] parent
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
# group to check the transitive membership in. Format: `groups/`group_id``,
# where `group_id` is the unique id assigned to the Group to which the
# Membership belongs to.
# @param [String] query
# Required. A CEL expression that MUST include member specification. This is a `
# required` field. Example query: member_key_id == ‘member_key_id_value’ [ &&
# member_key_namespace == ‘member_key_namespace_value’ ]
# @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::CloudidentityV1beta1::CheckTransitiveMembershipResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudidentityV1beta1::CheckTransitiveMembershipResponse]
#
# @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 check_group_membership_transitive_membership(parent, query: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/memberships:checkTransitiveMembership', options)
command.response_representation = Google::Apis::CloudidentityV1beta1::CheckTransitiveMembershipResponse::Representation
command.response_class = Google::Apis::CloudidentityV1beta1::CheckTransitiveMembershipResponse
command.params['parent'] = parent unless parent.nil?
command.query['query'] = query unless query.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 `Membership`.
# @param [String] parent
# Required. The parent `Group` resource under which to create the `Membership`.
@@ -1090,6 +1128,48 @@ module Google
execute_or_queue_command(command, &block)
end
# Get a membership graph of a member or member/group.
# @param [String] parent
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
# of the group to search transitive memberships in. Format: `groups/`group_id``,
# where `group_id` is the unique ID assigned to the Group to which the
# Membership belongs to. group_id can be a wildcard collection id "-". When a
# group_id is specified, the membership graph will be constrained to paths
# between the member (defined in the query) and the parent. If a wildcard
# collection is provided, all membership paths connected to the member will be
# returned.
# @param [String] query
# Required. A CEL expression that MUST include member specification AND label(s).
# Example query: member_key_id == ‘member_key_id_value’ [ &&
# member_key_namespace == ‘member_key_namespace_value’ ] && in labels
# @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::CloudidentityV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudidentityV1beta1::Operation]
#
# @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_group_membership_membership_graph(parent, query: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/memberships:getMembershipGraph', options)
command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
command.response_class = Google::Apis::CloudidentityV1beta1::Operation
command.params['parent'] = parent unless parent.nil?
command.query['query'] = query unless query.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists the `Membership`s within a `Group`.
# @param [String] parent
# Required. The parent `Group` resource under which to lookup the `Membership`
@@ -1215,6 +1295,90 @@ module Google
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Search transitive groups of a member.
# @param [String] parent
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
# group to search transitive memberships in. Format: `groups/`group_id``, where `
# group_id` is always '-' as this API will search across all groups for a given
# member.
# @param [Fixnum] page_size
# The default page size is 200 (max 1000).
# @param [String] page_token
# The next_page_token value returned from a previous list request, if any.
# @param [String] query
# Required. A CEL expression that MUST include member specification AND label(s).
# This is a `required` field. Users can search on label attributes of groups.
# CONTAINS match ('in') is supported on labels. Example query: member_key_id == ‘
# member_key_id_value’ [ && member_key_namespace == ‘member_key_namespace_value’
# ] && in labels
# @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::CloudidentityV1beta1::SearchTransitiveGroupsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudidentityV1beta1::SearchTransitiveGroupsResponse]
#
# @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 search_group_membership_transitive_groups(parent, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/memberships:searchTransitiveGroups', options)
command.response_representation = Google::Apis::CloudidentityV1beta1::SearchTransitiveGroupsResponse::Representation
command.response_class = Google::Apis::CloudidentityV1beta1::SearchTransitiveGroupsResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['query'] = query unless query.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Search transitive memberships of a group.
# @param [String] parent
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
# group to search transitive memberships in. Format: `groups/`group_id``, where `
# group_id` is the unique ID assigned to the Group.
# @param [Fixnum] page_size
# The default page size is 200 (max 1000).
# @param [String] page_token
# The next_page_token value returned from a previous list request, if any.
# @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::CloudidentityV1beta1::SearchTransitiveMembershipsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudidentityV1beta1::SearchTransitiveMembershipsResponse]
#
# @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 search_group_membership_transitive_memberships(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/memberships:searchTransitiveMemberships', options)
command.response_representation = Google::Apis::CloudidentityV1beta1::SearchTransitiveMembershipsResponse::Representation
command.response_class = Google::Apis::CloudidentityV1beta1::SearchTransitiveMembershipsResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
protected
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/doubleclick-advertisers/
module DfareportingV3_3
VERSION = 'V3_3'
REVISION = '20200916'
REVISION = '20200921'
# Manage DoubleClick Digital Marketing conversions
AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions'
@@ -5523,23 +5523,6 @@ module Google
# @return [Fixnum]
attr_accessor :last_modified_time
# Extra information added to operations that support Scotty media requests.
# Corresponds to the JSON property `mediaRequestInfo`
# @return [Google::Apis::DfareportingV3_3::MediaRequestInfo]
attr_accessor :media_request_info
# This message is for backends to pass their scotty media specific fields to ESF.
# Backend will include this in their response message to ESF. Example:
# ExportFile is an rpc defined for upload using scotty from ESF. rpc ExportFile(
# ExportFileRequest) returns (ExportFileResponse) Message ExportFileResponse
# will include apiserving.MediaResponseInfo to tell ESF about data like
# dynamic_dropzone it needs to pass to Scotty. message ExportFileResponse `
# optional gdata.Media blob = 1; optional apiserving.MediaResponseInfo
# media_response_info = 2 `
# Corresponds to the JSON property `mediaResponseInfo`
# @return [Google::Apis::DfareportingV3_3::MediaResponseInfo]
attr_accessor :media_response_info
# The ID of the report this file was generated from.
# Corresponds to the JSON property `reportId`
# @return [Fixnum]
@@ -5568,8 +5551,6 @@ module Google
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
@media_request_info = args[:media_request_info] if args.key?(:media_request_info)
@media_response_info = args[:media_response_info] if args.key?(:media_response_info)
@report_id = args[:report_id] if args.key?(:report_id)
@status = args[:status] if args.key?(:status)
@urls = args[:urls] if args.key?(:urls)
@@ -7045,151 +7026,6 @@ module Google
end
end
# Extra information added to operations that support Scotty media requests.
class MediaRequestInfo
include Google::Apis::Core::Hashable
# The number of current bytes uploaded or downloaded.
# Corresponds to the JSON property `currentBytes`
# @return [Fixnum]
attr_accessor :current_bytes
# Data to be copied to backend requests. Custom data is returned to Scotty in
# the agent_state field, which Scotty will then provide in subsequent upload
# notifications.
# Corresponds to the JSON property `customData`
# @return [String]
attr_accessor :custom_data
# Set if the http request info is diff encoded. The value of this field is the
# version number of the base revision. This is corresponding to Apiary's
# mediaDiffObjectVersion (//depot/google3/java/com/google/api/server/media/
# variable/DiffObjectVersionVariable.java). See go/esf-scotty-diff-upload for
# more information.
# Corresponds to the JSON property `diffObjectVersion`
# @return [String]
attr_accessor :diff_object_version
# The type of notification received from Scotty.
# Corresponds to the JSON property `notificationType`
# @return [String]
attr_accessor :notification_type
# The Scotty request ID.
# Corresponds to the JSON property `requestId`
# @return [String]
attr_accessor :request_id
# The total size of the file.
# Corresponds to the JSON property `totalBytes`
# @return [Fixnum]
attr_accessor :total_bytes
# Whether the total bytes field contains an estimated data.
# Corresponds to the JSON property `totalBytesIsEstimated`
# @return [Boolean]
attr_accessor :total_bytes_is_estimated
alias_method :total_bytes_is_estimated?, :total_bytes_is_estimated
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@current_bytes = args[:current_bytes] if args.key?(:current_bytes)
@custom_data = args[:custom_data] if args.key?(:custom_data)
@diff_object_version = args[:diff_object_version] if args.key?(:diff_object_version)
@notification_type = args[:notification_type] if args.key?(:notification_type)
@request_id = args[:request_id] if args.key?(:request_id)
@total_bytes = args[:total_bytes] if args.key?(:total_bytes)
@total_bytes_is_estimated = args[:total_bytes_is_estimated] if args.key?(:total_bytes_is_estimated)
end
end
# This message is for backends to pass their scotty media specific fields to ESF.
# Backend will include this in their response message to ESF. Example:
# ExportFile is an rpc defined for upload using scotty from ESF. rpc ExportFile(
# ExportFileRequest) returns (ExportFileResponse) Message ExportFileResponse
# will include apiserving.MediaResponseInfo to tell ESF about data like
# dynamic_dropzone it needs to pass to Scotty. message ExportFileResponse `
# optional gdata.Media blob = 1; optional apiserving.MediaResponseInfo
# media_response_info = 2 `
class MediaResponseInfo
include Google::Apis::Core::Hashable
# Data to copy from backend response to the next backend requests. Custom data
# is returned to Scotty in the agent_state field, which Scotty will then provide
# in subsequent upload notifications.
# Corresponds to the JSON property `customData`
# @return [String]
attr_accessor :custom_data
# Specifies any transformation to be applied to data before persisting it or
# retrieving from storage. E.g., encryption options for blobstore2. This should
# be of the form uploader_service.DataStorageTransform.
# Corresponds to the JSON property `dataStorageTransform`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :data_storage_transform
# Specifies the Scotty Drop Target to use for uploads. If present in a media
# response, Scotty does not upload to a standard drop zone. Instead, Scotty
# saves the upload directly to the location specified in this drop target.
# Unlike drop zones, the drop target is the final storage location for an upload.
# So, the agent does not need to clone the blob at the end of the upload. The
# agent is responsible for garbage collecting any orphaned blobs that may occur
# due to aborted uploads. For more information, see the drop target design doc
# here: http://goto/ScottyDropTarget This field will be preferred to
# dynamicDropzone. If provided, the identified field in the response must be of
# the type uploader.agent.DropTarget.
# Corresponds to the JSON property `dynamicDropTarget`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :dynamic_drop_target
# Specifies the Scotty dropzone to use for uploads.
# Corresponds to the JSON property `dynamicDropzone`
# @return [String]
attr_accessor :dynamic_dropzone
# Request class to use for all Blobstore operations for this request.
# Corresponds to the JSON property `requestClass`
# @return [String]
attr_accessor :request_class
# Specifies the TrafficClass that Scotty should use for any RPCs to fetch the
# response bytes. Will override the traffic class GTOS of the incoming http
# request. This is a temporary field to facilitate whitelisting and
# experimentation by the bigstore agent only. For instance, this does not apply
# to RTMP reads. WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.
# Corresponds to the JSON property `trafficClassField`
# @return [String]
attr_accessor :traffic_class_field
# Tells Scotty to verify hashes on the agent's behalf by parsing out the X-Goog-
# Hash header.
# Corresponds to the JSON property `verifyHashFromHeader`
# @return [Boolean]
attr_accessor :verify_hash_from_header
alias_method :verify_hash_from_header?, :verify_hash_from_header
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@custom_data = args[:custom_data] if args.key?(:custom_data)
@data_storage_transform = args[:data_storage_transform] if args.key?(:data_storage_transform)
@dynamic_drop_target = args[:dynamic_drop_target] if args.key?(:dynamic_drop_target)
@dynamic_dropzone = args[:dynamic_dropzone] if args.key?(:dynamic_dropzone)
@request_class = args[:request_class] if args.key?(:request_class)
@traffic_class_field = args[:traffic_class_field] if args.key?(:traffic_class_field)
@verify_hash_from_header = args[:verify_hash_from_header] if args.key?(:verify_hash_from_header)
end
end
# Represents a metric.
class Metric
include Google::Apis::Core::Hashable
@@ -766,18 +766,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class MediaRequestInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MediaResponseInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Metric
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -2712,10 +2700,6 @@ module Google
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
property :media_request_info, as: 'mediaRequestInfo', class: Google::Apis::DfareportingV3_3::MediaRequestInfo, decorator: Google::Apis::DfareportingV3_3::MediaRequestInfo::Representation
property :media_response_info, as: 'mediaResponseInfo', class: Google::Apis::DfareportingV3_3::MediaResponseInfo, decorator: Google::Apis::DfareportingV3_3::MediaResponseInfo::Representation
property :report_id, :numeric_string => true, as: 'reportId'
property :status, as: 'status'
property :urls, as: 'urls', class: Google::Apis::DfareportingV3_3::File::Urls, decorator: Google::Apis::DfareportingV3_3::File::Urls::Representation
@@ -3097,32 +3081,6 @@ module Google
end
end
class MediaRequestInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :current_bytes, :numeric_string => true, as: 'currentBytes'
property :custom_data, as: 'customData'
property :diff_object_version, as: 'diffObjectVersion'
property :notification_type, as: 'notificationType'
property :request_id, as: 'requestId'
property :total_bytes, :numeric_string => true, as: 'totalBytes'
property :total_bytes_is_estimated, as: 'totalBytesIsEstimated'
end
end
class MediaResponseInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :custom_data, as: 'customData'
property :data_storage_transform, :base64 => true, as: 'dataStorageTransform'
property :dynamic_drop_target, :base64 => true, as: 'dynamicDropTarget'
property :dynamic_dropzone, as: 'dynamicDropzone'
property :request_class, as: 'requestClass'
property :traffic_class_field, as: 'trafficClassField'
property :verify_hash_from_header, as: 'verifyHashFromHeader'
end
end
class Metric
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/doubleclick-advertisers/
module DfareportingV3_4
VERSION = 'V3_4'
REVISION = '20200916'
REVISION = '20200921'
# Manage DoubleClick Digital Marketing conversions
AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions'
@@ -6137,23 +6137,6 @@ module Google
# @return [Fixnum]
attr_accessor :last_modified_time
# Extra information added to operations that support Scotty media requests.
# Corresponds to the JSON property `mediaRequestInfo`
# @return [Google::Apis::DfareportingV3_4::MediaRequestInfo]
attr_accessor :media_request_info
# This message is for backends to pass their scotty media specific fields to ESF.
# Backend will include this in their response message to ESF. Example:
# ExportFile is an rpc defined for upload using scotty from ESF. rpc ExportFile(
# ExportFileRequest) returns (ExportFileResponse) Message ExportFileResponse
# will include apiserving.MediaResponseInfo to tell ESF about data like
# dynamic_dropzone it needs to pass to Scotty. message ExportFileResponse `
# optional gdata.Media blob = 1; optional apiserving.MediaResponseInfo
# media_response_info = 2 `
# Corresponds to the JSON property `mediaResponseInfo`
# @return [Google::Apis::DfareportingV3_4::MediaResponseInfo]
attr_accessor :media_response_info
# The ID of the report this file was generated from.
# Corresponds to the JSON property `reportId`
# @return [Fixnum]
@@ -6182,8 +6165,6 @@ module Google
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
@media_request_info = args[:media_request_info] if args.key?(:media_request_info)
@media_response_info = args[:media_response_info] if args.key?(:media_response_info)
@report_id = args[:report_id] if args.key?(:report_id)
@status = args[:status] if args.key?(:status)
@urls = args[:urls] if args.key?(:urls)
@@ -7669,151 +7650,6 @@ module Google
end
end
# Extra information added to operations that support Scotty media requests.
class MediaRequestInfo
include Google::Apis::Core::Hashable
# The number of current bytes uploaded or downloaded.
# Corresponds to the JSON property `currentBytes`
# @return [Fixnum]
attr_accessor :current_bytes
# Data to be copied to backend requests. Custom data is returned to Scotty in
# the agent_state field, which Scotty will then provide in subsequent upload
# notifications.
# Corresponds to the JSON property `customData`
# @return [String]
attr_accessor :custom_data
# Set if the http request info is diff encoded. The value of this field is the
# version number of the base revision. This is corresponding to Apiary's
# mediaDiffObjectVersion (//depot/google3/java/com/google/api/server/media/
# variable/DiffObjectVersionVariable.java). See go/esf-scotty-diff-upload for
# more information.
# Corresponds to the JSON property `diffObjectVersion`
# @return [String]
attr_accessor :diff_object_version
# The type of notification received from Scotty.
# Corresponds to the JSON property `notificationType`
# @return [String]
attr_accessor :notification_type
# The Scotty request ID.
# Corresponds to the JSON property `requestId`
# @return [String]
attr_accessor :request_id
# The total size of the file.
# Corresponds to the JSON property `totalBytes`
# @return [Fixnum]
attr_accessor :total_bytes
# Whether the total bytes field contains an estimated data.
# Corresponds to the JSON property `totalBytesIsEstimated`
# @return [Boolean]
attr_accessor :total_bytes_is_estimated
alias_method :total_bytes_is_estimated?, :total_bytes_is_estimated
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@current_bytes = args[:current_bytes] if args.key?(:current_bytes)
@custom_data = args[:custom_data] if args.key?(:custom_data)
@diff_object_version = args[:diff_object_version] if args.key?(:diff_object_version)
@notification_type = args[:notification_type] if args.key?(:notification_type)
@request_id = args[:request_id] if args.key?(:request_id)
@total_bytes = args[:total_bytes] if args.key?(:total_bytes)
@total_bytes_is_estimated = args[:total_bytes_is_estimated] if args.key?(:total_bytes_is_estimated)
end
end
# This message is for backends to pass their scotty media specific fields to ESF.
# Backend will include this in their response message to ESF. Example:
# ExportFile is an rpc defined for upload using scotty from ESF. rpc ExportFile(
# ExportFileRequest) returns (ExportFileResponse) Message ExportFileResponse
# will include apiserving.MediaResponseInfo to tell ESF about data like
# dynamic_dropzone it needs to pass to Scotty. message ExportFileResponse `
# optional gdata.Media blob = 1; optional apiserving.MediaResponseInfo
# media_response_info = 2 `
class MediaResponseInfo
include Google::Apis::Core::Hashable
# Data to copy from backend response to the next backend requests. Custom data
# is returned to Scotty in the agent_state field, which Scotty will then provide
# in subsequent upload notifications.
# Corresponds to the JSON property `customData`
# @return [String]
attr_accessor :custom_data
# Specifies any transformation to be applied to data before persisting it or
# retrieving from storage. E.g., encryption options for blobstore2. This should
# be of the form uploader_service.DataStorageTransform.
# Corresponds to the JSON property `dataStorageTransform`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :data_storage_transform
# Specifies the Scotty Drop Target to use for uploads. If present in a media
# response, Scotty does not upload to a standard drop zone. Instead, Scotty
# saves the upload directly to the location specified in this drop target.
# Unlike drop zones, the drop target is the final storage location for an upload.
# So, the agent does not need to clone the blob at the end of the upload. The
# agent is responsible for garbage collecting any orphaned blobs that may occur
# due to aborted uploads. For more information, see the drop target design doc
# here: http://goto/ScottyDropTarget This field will be preferred to
# dynamicDropzone. If provided, the identified field in the response must be of
# the type uploader.agent.DropTarget.
# Corresponds to the JSON property `dynamicDropTarget`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :dynamic_drop_target
# Specifies the Scotty dropzone to use for uploads.
# Corresponds to the JSON property `dynamicDropzone`
# @return [String]
attr_accessor :dynamic_dropzone
# Request class to use for all Blobstore operations for this request.
# Corresponds to the JSON property `requestClass`
# @return [String]
attr_accessor :request_class
# Specifies the TrafficClass that Scotty should use for any RPCs to fetch the
# response bytes. Will override the traffic class GTOS of the incoming http
# request. This is a temporary field to facilitate whitelisting and
# experimentation by the bigstore agent only. For instance, this does not apply
# to RTMP reads. WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.
# Corresponds to the JSON property `trafficClassField`
# @return [String]
attr_accessor :traffic_class_field
# Tells Scotty to verify hashes on the agent's behalf by parsing out the X-Goog-
# Hash header.
# Corresponds to the JSON property `verifyHashFromHeader`
# @return [Boolean]
attr_accessor :verify_hash_from_header
alias_method :verify_hash_from_header?, :verify_hash_from_header
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@custom_data = args[:custom_data] if args.key?(:custom_data)
@data_storage_transform = args[:data_storage_transform] if args.key?(:data_storage_transform)
@dynamic_drop_target = args[:dynamic_drop_target] if args.key?(:dynamic_drop_target)
@dynamic_dropzone = args[:dynamic_dropzone] if args.key?(:dynamic_dropzone)
@request_class = args[:request_class] if args.key?(:request_class)
@traffic_class_field = args[:traffic_class_field] if args.key?(:traffic_class_field)
@verify_hash_from_header = args[:verify_hash_from_header] if args.key?(:verify_hash_from_header)
end
end
# Represents a metric.
class Metric
include Google::Apis::Core::Hashable
@@ -856,18 +856,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class MediaRequestInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MediaResponseInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Metric
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -3011,10 +2999,6 @@ module Google
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
property :media_request_info, as: 'mediaRequestInfo', class: Google::Apis::DfareportingV3_4::MediaRequestInfo, decorator: Google::Apis::DfareportingV3_4::MediaRequestInfo::Representation
property :media_response_info, as: 'mediaResponseInfo', class: Google::Apis::DfareportingV3_4::MediaResponseInfo, decorator: Google::Apis::DfareportingV3_4::MediaResponseInfo::Representation
property :report_id, :numeric_string => true, as: 'reportId'
property :status, as: 'status'
property :urls, as: 'urls', class: Google::Apis::DfareportingV3_4::File::Urls, decorator: Google::Apis::DfareportingV3_4::File::Urls::Representation
@@ -3397,32 +3381,6 @@ module Google
end
end
class MediaRequestInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :current_bytes, :numeric_string => true, as: 'currentBytes'
property :custom_data, as: 'customData'
property :diff_object_version, as: 'diffObjectVersion'
property :notification_type, as: 'notificationType'
property :request_id, as: 'requestId'
property :total_bytes, :numeric_string => true, as: 'totalBytes'
property :total_bytes_is_estimated, as: 'totalBytesIsEstimated'
end
end
class MediaResponseInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :custom_data, as: 'customData'
property :data_storage_transform, :base64 => true, as: 'dataStorageTransform'
property :dynamic_drop_target, :base64 => true, as: 'dynamicDropTarget'
property :dynamic_dropzone, as: 'dynamicDropzone'
property :request_class, as: 'requestClass'
property :traffic_class_field, as: 'trafficClassField'
property :verify_hash_from_header, as: 'verifyHashFromHeader'
end
end
class Metric
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+1 -1
View File
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow/
module DialogflowV2
VERSION = 'V2'
REVISION = '20200903'
REVISION = '20200920'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -6871,6 +6871,46 @@ module Google
end
end
# Metadata returned for the TestCases.ExportTestCases long running operation.
class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# The response message for TestCases.ExportTestCases.
class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse
include Google::Apis::Core::Hashable
# Uncompressed raw byte content for test cases.
# Corresponds to the JSON property `content`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :content
# The URI to a file containing the exported test cases. This field is populated
# only if `gcs_uri` is specified in ExportTestCasesRequest.
# Corresponds to the JSON property `gcsUri`
# @return [String]
attr_accessor :gcs_uri
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@content = args[:content] if args.key?(:content)
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
end
end
# The response message for Agents.ImportAgent.
class GoogleCloudDialogflowV3alpha1ImportAgentResponse
include Google::Apis::Core::Hashable
@@ -6890,6 +6930,39 @@ module Google
end
end
# Metadata returned for the TestCases.ImportTestCases long running operation.
class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# The response message for TestCases.ImportTestCases.
class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse
include Google::Apis::Core::Hashable
# The unique identifiers of the new test cases. Format: `projects//locations//
# agents//testCases/`.
# Corresponds to the JSON property `names`
# @return [Array<String>]
attr_accessor :names
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@names = args[:names] if args.key?(:names)
end
end
# The response message for Operations.ListOperations.
class GoogleLongrunningListOperationsResponse
include Google::Apis::Core::Hashable
@@ -1096,12 +1096,36 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ImportAgentResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleLongrunningListOperationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -2985,6 +3009,20 @@ module Google
end
end
class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :content, :base64 => true, as: 'content'
property :gcs_uri, as: 'gcsUri'
end
end
class GoogleCloudDialogflowV3alpha1ImportAgentResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2992,6 +3030,19 @@ module Google
end
end
class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :names, as: 'names'
end
end
class GoogleLongrunningListOperationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+1 -1
View File
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow/
module DialogflowV2beta1
VERSION = 'V2beta1'
REVISION = '20200903'
REVISION = '20200920'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -7198,6 +7198,46 @@ module Google
end
end
# Metadata returned for the TestCases.ExportTestCases long running operation.
class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# The response message for TestCases.ExportTestCases.
class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse
include Google::Apis::Core::Hashable
# Uncompressed raw byte content for test cases.
# Corresponds to the JSON property `content`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :content
# The URI to a file containing the exported test cases. This field is populated
# only if `gcs_uri` is specified in ExportTestCasesRequest.
# Corresponds to the JSON property `gcsUri`
# @return [String]
attr_accessor :gcs_uri
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@content = args[:content] if args.key?(:content)
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
end
end
# The response message for Agents.ImportAgent.
class GoogleCloudDialogflowV3alpha1ImportAgentResponse
include Google::Apis::Core::Hashable
@@ -7217,6 +7257,39 @@ module Google
end
end
# Metadata returned for the TestCases.ImportTestCases long running operation.
class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# The response message for TestCases.ImportTestCases.
class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse
include Google::Apis::Core::Hashable
# The unique identifiers of the new test cases. Format: `projects//locations//
# agents//testCases/`.
# Corresponds to the JSON property `names`
# @return [Array<String>]
attr_accessor :names
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@names = args[:names] if args.key?(:names)
end
end
# The response message for Operations.ListOperations.
class GoogleLongrunningListOperationsResponse
include Google::Apis::Core::Hashable
@@ -1144,12 +1144,36 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ImportAgentResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleLongrunningListOperationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -3114,6 +3138,20 @@ module Google
end
end
class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :content, :base64 => true, as: 'content'
property :gcs_uri, as: 'gcsUri'
end
end
class GoogleCloudDialogflowV3alpha1ImportAgentResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -3121,6 +3159,19 @@ module Google
end
end
class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :names, as: 'names'
end
end
class GoogleLongrunningListOperationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1726,10 +1726,10 @@ module Google
# @param [String] parent
# Required. The project to list of knowledge bases for. Format: `projects/`.
# @param [Fixnum] page_size
# Optional. The maximum number of items to return in a single page. By default
# 10 and at most 100.
# The maximum number of items to return in a single page. By default 10 and at
# most 100.
# @param [String] page_token
# Optional. The next_page_token value returned from a previous list request.
# The next_page_token value returned from a previous list request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -2615,10 +2615,10 @@ module Google
# @param [String] parent
# Required. The project to list of knowledge bases for. Format: `projects/`.
# @param [Fixnum] page_size
# Optional. The maximum number of items to return in a single page. By default
# 10 and at most 100.
# The maximum number of items to return in a single page. By default 10 and at
# most 100.
# @param [String] page_token
# Optional. The next_page_token value returned from a previous list request.
# The next_page_token value returned from a previous list request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
+1 -1
View File
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow/
module DialogflowV3beta1
VERSION = 'V3beta1'
REVISION = '20200914'
REVISION = '20200920'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -499,6 +499,25 @@ module Google
end
end
# Represents the event to trigger.
class GoogleCloudDialogflowCxV3beta1EventInput
include Google::Apis::Core::Hashable
# Name of the event.
# Corresponds to the JSON property `event`
# @return [String]
attr_accessor :event
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@event = args[:event] if args.key?(:event)
end
end
# The request message for Agents.ExportAgent.
class GoogleCloudDialogflowCxV3beta1ExportAgentRequest
include Google::Apis::Core::Hashable
@@ -2032,6 +2051,11 @@ module Google
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AudioInput]
attr_accessor :audio
# Represents the event to trigger.
# Corresponds to the JSON property `event`
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventInput]
attr_accessor :event
# Represents the intent to trigger programmatically rather than as a result of
# natural language processing.
# Corresponds to the JSON property `intent`
@@ -2058,6 +2082,7 @@ module Google
# Update properties of this object
def update!(**args)
@audio = args[:audio] if args.key?(:audio)
@event = args[:event] if args.key?(:event)
@intent = args[:intent] if args.key?(:intent)
@language_code = args[:language_code] if args.key?(:language_code)
@text = args[:text] if args.key?(:text)
@@ -2068,6 +2093,13 @@ module Google
class GoogleCloudDialogflowCxV3beta1QueryParameters
include Google::Apis::Core::Hashable
# Configures whether sentiment analysis should be performed. If not provided,
# sentiment analysis is not performed.
# Corresponds to the JSON property `analyzeQueryTextSentiment`
# @return [Boolean]
attr_accessor :analyze_query_text_sentiment
alias_method :analyze_query_text_sentiment?, :analyze_query_text_sentiment
# An object representing a latitude/longitude pair. This is expressed as a pair
# of doubles representing degrees latitude and degrees longitude. Unless
# specified otherwise, this must conform to the WGS84 standard. Values must be
@@ -2115,6 +2147,7 @@ module Google
# Update properties of this object
def update!(**args)
@analyze_query_text_sentiment = args[:analyze_query_text_sentiment] if args.key?(:analyze_query_text_sentiment)
@geo_location = args[:geo_location] if args.key?(:geo_location)
@parameters = args[:parameters] if args.key?(:parameters)
@payload = args[:payload] if args.key?(:payload)
@@ -2199,6 +2232,13 @@ module Google
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
attr_accessor :response_messages
# The result of sentiment analysis. Sentiment analysis inspects user input and
# identifies the prevailing subjective opinion, especially to determine a user's
# attitude as positive, negative, or neutral.
# Corresponds to the JSON property `sentimentAnalysisResult`
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult]
attr_accessor :sentiment_analysis_result
# If natural language text was provided as input, this field will contain a copy
# of the text.
# Corresponds to the JSON property `text`
@@ -2249,6 +2289,7 @@ module Google
@match = args[:match] if args.key?(:match)
@parameters = args[:parameters] if args.key?(:parameters)
@response_messages = args[:response_messages] if args.key?(:response_messages)
@sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
@text = args[:text] if args.key?(:text)
@transcript = args[:transcript] if args.key?(:transcript)
@trigger_event = args[:trigger_event] if args.key?(:trigger_event)
@@ -2591,6 +2632,34 @@ module Google
end
end
# The result of sentiment analysis. Sentiment analysis inspects user input and
# identifies the prevailing subjective opinion, especially to determine a user's
# attitude as positive, negative, or neutral.
class GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult
include Google::Apis::Core::Hashable
# A non-negative number in the [0, +inf) range, which represents the absolute
# magnitude of sentiment, regardless of score (positive or negative).
# Corresponds to the JSON property `magnitude`
# @return [Float]
attr_accessor :magnitude
# Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).
# Corresponds to the JSON property `score`
# @return [Float]
attr_accessor :score
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@magnitude = args[:magnitude] if args.key?(:magnitude)
@score = args[:score] if args.key?(:score)
end
end
# Session entity types are referred to as **User** entity types and are entities
# that are built for an individual user such as favorites, preferences,
# playlists, and so on. You can redefine a session entity type at the session
@@ -8016,6 +8085,46 @@ module Google
end
end
# Metadata returned for the TestCases.ExportTestCases long running operation.
class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# The response message for TestCases.ExportTestCases.
class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse
include Google::Apis::Core::Hashable
# Uncompressed raw byte content for test cases.
# Corresponds to the JSON property `content`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :content
# The URI to a file containing the exported test cases. This field is populated
# only if `gcs_uri` is specified in ExportTestCasesRequest.
# Corresponds to the JSON property `gcsUri`
# @return [String]
attr_accessor :gcs_uri
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@content = args[:content] if args.key?(:content)
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
end
end
# The response message for Agents.ImportAgent.
class GoogleCloudDialogflowV3alpha1ImportAgentResponse
include Google::Apis::Core::Hashable
@@ -8035,6 +8144,39 @@ module Google
end
end
# Metadata returned for the TestCases.ImportTestCases long running operation.
class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# The response message for TestCases.ImportTestCases.
class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse
include Google::Apis::Core::Hashable
# The unique identifiers of the new test cases. Format: `projects//locations//
# agents//testCases/`.
# Corresponds to the JSON property `names`
# @return [Array<String>]
attr_accessor :names
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@names = args[:names] if args.key?(:names)
end
end
# The response message for Operations.ListOperations.
class GoogleLongrunningListOperationsResponse
include Google::Apis::Core::Hashable
@@ -88,6 +88,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1EventInput
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ExportAgentRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -412,6 +418,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1SessionEntityType
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -1240,12 +1252,36 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ImportAgentResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleLongrunningListOperationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -1394,6 +1430,13 @@ module Google
end
end
class GoogleCloudDialogflowCxV3beta1EventInput
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :event, as: 'event'
end
end
class GoogleCloudDialogflowCxV3beta1ExportAgentRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1808,6 +1851,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :audio, as: 'audio', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AudioInput, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AudioInput::Representation
property :event, as: 'event', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventInput, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventInput::Representation
property :intent, as: 'intent', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentInput, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentInput::Representation
property :language_code, as: 'languageCode'
@@ -1819,6 +1864,7 @@ module Google
class GoogleCloudDialogflowCxV3beta1QueryParameters
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :analyze_query_text_sentiment, as: 'analyzeQueryTextSentiment'
property :geo_location, as: 'geoLocation', class: Google::Apis::DialogflowV3beta1::GoogleTypeLatLng, decorator: Google::Apis::DialogflowV3beta1::GoogleTypeLatLng::Representation
hash :parameters, as: 'parameters'
@@ -1844,6 +1890,8 @@ module Google
hash :parameters, as: 'parameters'
collection :response_messages, as: 'responseMessages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult::Representation
property :text, as: 'text'
property :transcript, as: 'transcript'
property :trigger_event, as: 'triggerEvent'
@@ -1945,6 +1993,14 @@ module Google
end
end
class GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :magnitude, as: 'magnitude'
property :score, as: 'score'
end
end
class GoogleCloudDialogflowCxV3beta1SessionEntityType
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -3406,6 +3462,20 @@ module Google
end
end
class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :content, :base64 => true, as: 'content'
property :gcs_uri, as: 'gcsUri'
end
end
class GoogleCloudDialogflowV3alpha1ImportAgentResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -3413,6 +3483,19 @@ module Google
end
end
class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :names, as: 'names'
end
end
class GoogleLongrunningListOperationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+1 -1
View File
@@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/
module DlpV2
VERSION = 'V2'
REVISION = '20200905'
REVISION = '20200919'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
+26
View File
@@ -144,6 +144,11 @@ module Google
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2NumericalStatsResult]
attr_accessor :numerical_stats_result
# Risk analysis options.
# Corresponds to the JSON property `requestedOptions`
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RequestedRiskAnalysisOptions]
attr_accessor :requested_options
# Privacy metric to compute for reidentification risk analysis.
# Corresponds to the JSON property `requestedPrivacyMetric`
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PrivacyMetric]
@@ -168,6 +173,7 @@ module Google
@k_map_estimation_result = args[:k_map_estimation_result] if args.key?(:k_map_estimation_result)
@l_diversity_result = args[:l_diversity_result] if args.key?(:l_diversity_result)
@numerical_stats_result = args[:numerical_stats_result] if args.key?(:numerical_stats_result)
@requested_options = args[:requested_options] if args.key?(:requested_options)
@requested_privacy_metric = args[:requested_privacy_metric] if args.key?(:requested_privacy_metric)
@requested_source_table = args[:requested_source_table] if args.key?(:requested_source_table)
end
@@ -5294,6 +5300,26 @@ module Google
end
end
# Risk analysis options.
class GooglePrivacyDlpV2RequestedRiskAnalysisOptions
include Google::Apis::Core::Hashable
# Configuration for a risk analysis job. See https://cloud.google.com/dlp/docs/
# concepts-risk-analysis to learn more.
# Corresponds to the JSON property `jobConfig`
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RiskAnalysisJobConfig]
attr_accessor :job_config
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@job_config = args[:job_config] if args.key?(:job_config)
end
end
# All result fields mentioned below are updated while the job is processing.
class GooglePrivacyDlpV2Result
include Google::Apis::Core::Hashable
@@ -934,6 +934,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2RequestedRiskAnalysisOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2Result
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -1213,6 +1219,8 @@ module Google
property :numerical_stats_result, as: 'numericalStatsResult', class: Google::Apis::DlpV2::GooglePrivacyDlpV2NumericalStatsResult, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2NumericalStatsResult::Representation
property :requested_options, as: 'requestedOptions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2RequestedRiskAnalysisOptions, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2RequestedRiskAnalysisOptions::Representation
property :requested_privacy_metric, as: 'requestedPrivacyMetric', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PrivacyMetric, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PrivacyMetric::Representation
property :requested_source_table, as: 'requestedSourceTable', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
@@ -2738,6 +2746,14 @@ module Google
end
end
class GooglePrivacyDlpV2RequestedRiskAnalysisOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :job_config, as: 'jobConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2RiskAnalysisJobConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2RiskAnalysisJobConfig::Representation
end
end
class GooglePrivacyDlpV2Result
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+328 -328
View File
@@ -141,15 +141,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -251,15 +251,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [String] location_id
# Deprecated. This field has no effect.
# @param [String] order_by
@@ -349,15 +349,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -459,15 +459,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [String] location_id
# Deprecated. This field has no effect.
# @param [String] order_by
@@ -557,15 +557,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -667,15 +667,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [String] location_id
# Deprecated. This field has no effect.
# @param [String] order_by
@@ -765,15 +765,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -875,15 +875,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [String] location_id
# Deprecated. This field has no effect.
# @param [String] order_by
@@ -972,15 +972,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -1082,15 +1082,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [String] location_id
# Deprecated. This field has no effect.
# @param [String] order_by
@@ -1180,15 +1180,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -1290,15 +1290,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [String] location_id
# Deprecated. This field has no effect.
# @param [String] order_by
@@ -1391,13 +1391,13 @@ module Google
# as detectors are updated.
# @param [String] parent
# Parent resource name. The format of this value varies depending on whether you
# have [specified a processing location](/dlp/docs/specifying-location): +
# Projects scope, location specified: `projects/`PROJECT_ID`/locations/`
# LOCATION_ID + Projects scope, no location specified (defaults to global): `
# projects/`PROJECT_ID The following example `parent` string specifies a parent
# project with the identifier `example-project`, and specifies the `europe-west3`
# location for processing data: parent=projects/example-project/locations/
# europe-west3
# have [specified a processing location](https://cloud.google.com/dlp/docs/
# specifying-location): + Projects scope, location specified: `projects/`
# PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (
# defaults to global): `projects/`PROJECT_ID The following example `parent`
# string specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest] google_privacy_dlp_v2_deidentify_content_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -1436,13 +1436,13 @@ module Google
# docs/inspecting-images and https://cloud.google.com/dlp/docs/inspecting-text,
# @param [String] parent
# Parent resource name. The format of this value varies depending on whether you
# have [specified a processing location](/dlp/docs/specifying-location): +
# Projects scope, location specified: `projects/`PROJECT_ID`/locations/`
# LOCATION_ID + Projects scope, no location specified (defaults to global): `
# projects/`PROJECT_ID The following example `parent` string specifies a parent
# project with the identifier `example-project`, and specifies the `europe-west3`
# location for processing data: parent=projects/example-project/locations/
# europe-west3
# have [specified a processing location](https://cloud.google.com/dlp/docs/
# specifying-location): + Projects scope, location specified: `projects/`
# PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (
# defaults to global): `projects/`PROJECT_ID The following example `parent`
# string specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentRequest] google_privacy_dlp_v2_inspect_content_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -1478,13 +1478,13 @@ module Google
# learn more.
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# whether you have [specified a processing location](/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID The following example `parent` string specifies
# a parent project with the identifier `example-project`, and specifies the `
# europe-west3` location for processing data: parent=projects/example-project/
# locations/europe-west3
# whether you have [specified a processing location](https://cloud.google.com/
# dlp/docs/specifying-location): + Projects scope, location specified: `projects/
# `PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (
# defaults to global): `projects/`PROJECT_ID The following example `parent`
# string specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest] google_privacy_dlp_v2_reidentify_content_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -1521,15 +1521,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -1631,15 +1631,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [String] location_id
# Deprecated. This field has no effect.
# @param [String] order_by
@@ -1767,13 +1767,13 @@ module Google
# as detectors are updated.
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# whether you have [specified a processing location](/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID The following example `parent` string specifies
# a parent project with the identifier `example-project`, and specifies the `
# europe-west3` location for processing data: parent=projects/example-project/
# locations/europe-west3
# whether you have [specified a processing location](https://cloud.google.com/
# dlp/docs/specifying-location): + Projects scope, location specified: `projects/
# `PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (
# defaults to global): `projects/`PROJECT_ID The following example `parent`
# string specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest] google_privacy_dlp_v2_create_dlp_job_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -1874,13 +1874,13 @@ module Google
# docs/compute-risk-analysis to learn more.
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# whether you have [specified a processing location](/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID The following example `parent` string specifies
# a parent project with the identifier `example-project`, and specifies the `
# europe-west3` location for processing data: parent=projects/example-project/
# locations/europe-west3
# whether you have [specified a processing location](https://cloud.google.com/
# dlp/docs/specifying-location): + Projects scope, location specified: `projects/
# `PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (
# defaults to global): `projects/`PROJECT_ID The following example `parent`
# string specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# @param [String] filter
# Allows filtering. Supported syntax: * Filter expressions are made up of one or
# more restrictions. * Restrictions can be combined by `AND` or `OR` logical
@@ -1954,13 +1954,13 @@ module Google
# over time as detectors are updated.
# @param [String] parent
# Parent resource name. The format of this value varies depending on whether you
# have [specified a processing location](/dlp/docs/specifying-location): +
# Projects scope, location specified: `projects/`PROJECT_ID`/locations/`
# LOCATION_ID + Projects scope, no location specified (defaults to global): `
# projects/`PROJECT_ID The following example `parent` string specifies a parent
# project with the identifier `example-project`, and specifies the `europe-west3`
# location for processing data: parent=projects/example-project/locations/
# europe-west3
# have [specified a processing location](https://cloud.google.com/dlp/docs/
# specifying-location): + Projects scope, location specified: `projects/`
# PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (
# defaults to global): `projects/`PROJECT_ID The following example `parent`
# string specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest] google_privacy_dlp_v2_redact_image_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -1997,15 +1997,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -2107,15 +2107,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [String] location_id
# Deprecated. This field has no effect.
# @param [String] order_by
@@ -2239,13 +2239,13 @@ module Google
# creating-job-triggers to learn more.
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# whether you have [specified a processing location](/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID The following example `parent` string specifies
# a parent project with the identifier `example-project`, and specifies the `
# europe-west3` location for processing data: parent=projects/example-project/
# locations/europe-west3
# whether you have [specified a processing location](https://cloud.google.com/
# dlp/docs/specifying-location): + Projects scope, location specified: `projects/
# `PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (
# defaults to global): `projects/`PROJECT_ID The following example `parent`
# string specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest] google_privacy_dlp_v2_create_job_trigger_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -2344,13 +2344,13 @@ module Google
# triggers to learn more.
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# whether you have [specified a processing location](/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID The following example `parent` string specifies
# a parent project with the identifier `example-project`, and specifies the `
# europe-west3` location for processing data: parent=projects/example-project/
# locations/europe-west3
# whether you have [specified a processing location](https://cloud.google.com/
# dlp/docs/specifying-location): + Projects scope, location specified: `projects/
# `PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (
# defaults to global): `projects/`PROJECT_ID The following example `parent`
# string specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# @param [String] filter
# Allows filtering. Supported syntax: * Filter expressions are made up of one or
# more restrictions. * Restrictions can be combined by `AND` or `OR` logical
@@ -2458,13 +2458,13 @@ module Google
# as detectors are updated.
# @param [String] parent
# Parent resource name. The format of this value varies depending on whether you
# have [specified a processing location](/dlp/docs/specifying-location): +
# Projects scope, location specified: `projects/`PROJECT_ID`/locations/`
# LOCATION_ID + Projects scope, no location specified (defaults to global): `
# projects/`PROJECT_ID The following example `parent` string specifies a parent
# project with the identifier `example-project`, and specifies the `europe-west3`
# location for processing data: parent=projects/example-project/locations/
# europe-west3
# have [specified a processing location](https://cloud.google.com/dlp/docs/
# specifying-location): + Projects scope, location specified: `projects/`
# PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (
# defaults to global): `projects/`PROJECT_ID The following example `parent`
# string specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest] google_privacy_dlp_v2_deidentify_content_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -2503,13 +2503,13 @@ module Google
# docs/inspecting-images and https://cloud.google.com/dlp/docs/inspecting-text,
# @param [String] parent
# Parent resource name. The format of this value varies depending on whether you
# have [specified a processing location](/dlp/docs/specifying-location): +
# Projects scope, location specified: `projects/`PROJECT_ID`/locations/`
# LOCATION_ID + Projects scope, no location specified (defaults to global): `
# projects/`PROJECT_ID The following example `parent` string specifies a parent
# project with the identifier `example-project`, and specifies the `europe-west3`
# location for processing data: parent=projects/example-project/locations/
# europe-west3
# have [specified a processing location](https://cloud.google.com/dlp/docs/
# specifying-location): + Projects scope, location specified: `projects/`
# PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (
# defaults to global): `projects/`PROJECT_ID The following example `parent`
# string specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentRequest] google_privacy_dlp_v2_inspect_content_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -2545,13 +2545,13 @@ module Google
# learn more.
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# whether you have [specified a processing location](/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID The following example `parent` string specifies
# a parent project with the identifier `example-project`, and specifies the `
# europe-west3` location for processing data: parent=projects/example-project/
# locations/europe-west3
# whether you have [specified a processing location](https://cloud.google.com/
# dlp/docs/specifying-location): + Projects scope, location specified: `projects/
# `PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (
# defaults to global): `projects/`PROJECT_ID The following example `parent`
# string specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest] google_privacy_dlp_v2_reidentify_content_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -2588,15 +2588,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -2698,15 +2698,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [String] location_id
# Deprecated. This field has no effect.
# @param [String] order_by
@@ -2834,13 +2834,13 @@ module Google
# as detectors are updated.
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# whether you have [specified a processing location](/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID The following example `parent` string specifies
# a parent project with the identifier `example-project`, and specifies the `
# europe-west3` location for processing data: parent=projects/example-project/
# locations/europe-west3
# whether you have [specified a processing location](https://cloud.google.com/
# dlp/docs/specifying-location): + Projects scope, location specified: `projects/
# `PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (
# defaults to global): `projects/`PROJECT_ID The following example `parent`
# string specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest] google_privacy_dlp_v2_create_dlp_job_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -3014,13 +3014,13 @@ module Google
# docs/compute-risk-analysis to learn more.
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# whether you have [specified a processing location](/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID The following example `parent` string specifies
# a parent project with the identifier `example-project`, and specifies the `
# europe-west3` location for processing data: parent=projects/example-project/
# locations/europe-west3
# whether you have [specified a processing location](https://cloud.google.com/
# dlp/docs/specifying-location): + Projects scope, location specified: `projects/
# `PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (
# defaults to global): `projects/`PROJECT_ID The following example `parent`
# string specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# @param [String] filter
# Allows filtering. Supported syntax: * Filter expressions are made up of one or
# more restrictions. * Restrictions can be combined by `AND` or `OR` logical
@@ -3094,13 +3094,13 @@ module Google
# over time as detectors are updated.
# @param [String] parent
# Parent resource name. The format of this value varies depending on whether you
# have [specified a processing location](/dlp/docs/specifying-location): +
# Projects scope, location specified: `projects/`PROJECT_ID`/locations/`
# LOCATION_ID + Projects scope, no location specified (defaults to global): `
# projects/`PROJECT_ID The following example `parent` string specifies a parent
# project with the identifier `example-project`, and specifies the `europe-west3`
# location for processing data: parent=projects/example-project/locations/
# europe-west3
# have [specified a processing location](https://cloud.google.com/dlp/docs/
# specifying-location): + Projects scope, location specified: `projects/`
# PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (
# defaults to global): `projects/`PROJECT_ID The following example `parent`
# string specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest] google_privacy_dlp_v2_redact_image_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -3137,15 +3137,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -3247,15 +3247,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [String] location_id
# Deprecated. This field has no effect.
# @param [String] order_by
@@ -3379,13 +3379,13 @@ module Google
# creating-job-triggers to learn more.
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# whether you have [specified a processing location](/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID The following example `parent` string specifies
# a parent project with the identifier `example-project`, and specifies the `
# europe-west3` location for processing data: parent=projects/example-project/
# locations/europe-west3
# whether you have [specified a processing location](https://cloud.google.com/
# dlp/docs/specifying-location): + Projects scope, location specified: `projects/
# `PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (
# defaults to global): `projects/`PROJECT_ID The following example `parent`
# string specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest] google_privacy_dlp_v2_create_job_trigger_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -3522,13 +3522,13 @@ module Google
# triggers to learn more.
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# whether you have [specified a processing location](/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID The following example `parent` string specifies
# a parent project with the identifier `example-project`, and specifies the `
# europe-west3` location for processing data: parent=projects/example-project/
# locations/europe-west3
# whether you have [specified a processing location](https://cloud.google.com/
# dlp/docs/specifying-location): + Projects scope, location specified: `projects/
# `PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (
# defaults to global): `projects/`PROJECT_ID The following example `parent`
# string specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# @param [String] filter
# Allows filtering. Supported syntax: * Filter expressions are made up of one or
# more restrictions. * Restrictions can be combined by `AND` or `OR` logical
@@ -3633,15 +3633,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -3743,15 +3743,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [String] location_id
# Deprecated. This field has no effect.
# @param [String] order_by
@@ -3841,15 +3841,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -3951,15 +3951,15 @@ module Google
# @param [String] parent
# Required. Parent resource name. The format of this value varies depending on
# the scope of the request (project or organization) and whether you have [
# specified a processing location](/dlp/docs/specifying-location): + Projects
# scope, location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID +
# Projects scope, no location specified (defaults to global): `projects/`
# PROJECT_ID + Organizations scope, location specified: `organizations/`ORG_ID`/
# locations/`LOCATION_ID + Organizations scope, no location specified (defaults
# to global): `organizations/`ORG_ID The following example `parent` string
# specifies a parent project with the identifier `example-project`, and
# specifies the `europe-west3` location for processing data: parent=projects/
# example-project/locations/europe-west3
# specified a processing location](https://cloud.google.com/dlp/docs/specifying-
# location): + Projects scope, location specified: `projects/`PROJECT_ID`/
# locations/`LOCATION_ID + Projects scope, no location specified (defaults to
# global): `projects/`PROJECT_ID + Organizations scope, location specified: `
# organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
# location specified (defaults to global): `organizations/`ORG_ID The following
# example `parent` string specifies a parent project with the identifier `
# example-project`, and specifies the `europe-west3` location for processing
# data: parent=projects/example-project/locations/europe-west3
# @param [String] location_id
# Deprecated. This field has no effect.
# @param [String] order_by
+1 -1
View File
@@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/gmail/api/
module GmailV1
VERSION = 'V1'
REVISION = '20200824'
REVISION = '20200919'
# Read, compose, send, and permanently delete all your email from Gmail
AUTH_SCOPE = 'https://mail.google.com/'
+1 -1
View File
@@ -1624,7 +1624,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a filter.
# Creates a filter. Note: you can only create a maximum of 1,000 filters.
# @param [String] user_id
# User's email address. The special value "me" can be used to indicate the
# authenticated user.
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/healthcare
module HealthcareV1
VERSION = 'V1'
REVISION = '20200909'
REVISION = '20200917'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1798,7 +1798,9 @@ module Google
# that send notifications to fail. If a notification can't be published to Cloud
# Pub/Sub, errors are logged to Cloud Logging (see [Viewing logs](/healthcare/
# docs/how-tos/logging)). If the number of errors exceeds a certain rate, some
# aren't submitted.
# aren't submitted. Note that not all operations trigger notifications, see [
# Configuring Pub/Sub notifications](https://cloud.google.com/healthcare/docs/
# how-tos/pubsub) for specific details.
# Corresponds to the JSON property `pubsubTopic`
# @return [String]
attr_accessor :pubsub_topic
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/healthcare
module HealthcareV1beta1
VERSION = 'V1beta1'
REVISION = '20200909'
REVISION = '20200917'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
File diff suppressed because it is too large. Load diff
@@ -22,6 +22,12 @@ module Google
module Apis
module HealthcareV1beta1
class ActivateConsentRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Annotation
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -46,6 +52,30 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ArchiveUserDataMappingRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ArchiveUserDataMappingResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Attribute
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AttributeDefinition
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AuditConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -82,12 +112,54 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class CheckDataAccessRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CheckDataAccessResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CloudHealthcareSource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Consent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ConsentArtifact
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ConsentEvaluation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ConsentList
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ConsentStore
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CreateMessageRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -196,6 +268,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class EvaluateUserConsentsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class EvaluateUserConsentsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ExportAnnotationsErrorDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -304,6 +388,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudHealthcareV1beta1ConsentGcsDestination
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudHealthcareV1beta1ConsentPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudHealthcareV1beta1DeidentifyDeidentifyDicomStoreSummary
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -418,6 +514,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Image
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ImageAnnotation
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -520,6 +622,36 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ListAttributeDefinitionsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListConsentArtifactsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListConsentRevisionsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListConsentStoresResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListConsentsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListDatasetsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -562,6 +694,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ListUserDataMappingsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Location
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -622,12 +760,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class QueryAccessibleDataRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RedactConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RejectConsentRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ReplaceWithInfoTypeConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -646,6 +796,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Result
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RevokeConsentRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SchemaConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -700,6 +862,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Signature
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Status
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -742,6 +910,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class UserDataMapping
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class VersionSource
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -754,6 +928,15 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ActivateConsentRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :consent_artifact, as: 'consentArtifact'
property :expire_time, as: 'expireTime'
property :ttl, as: 'ttl'
end
end
class Annotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -794,6 +977,38 @@ module Google
end
end
class ArchiveUserDataMappingRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class ArchiveUserDataMappingResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Attribute
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :attribute_definition_id, as: 'attributeDefinitionId'
collection :values, as: 'values'
end
end
class AttributeDefinition
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :allowed_values, as: 'allowedValues'
property :category, as: 'category'
collection :consent_default_values, as: 'consentDefaultValues'
property :data_mapping_default_value, as: 'dataMappingDefaultValue'
property :description, as: 'description'
property :name, as: 'name'
end
end
class AuditConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -843,6 +1058,26 @@ module Google
end
end
class CheckDataAccessRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :consent_list, as: 'consentList', class: Google::Apis::HealthcareV1beta1::ConsentList, decorator: Google::Apis::HealthcareV1beta1::ConsentList::Representation
property :data_id, as: 'dataId'
hash :request_attributes, as: 'requestAttributes'
property :response_view, as: 'responseView'
end
end
class CheckDataAccessResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :consent_details, as: 'consentDetails', class: Google::Apis::HealthcareV1beta1::ConsentEvaluation, decorator: Google::Apis::HealthcareV1beta1::ConsentEvaluation::Representation
property :consented, as: 'consented'
end
end
class CloudHealthcareSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -850,6 +1085,64 @@ module Google
end
end
class Consent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :consent_artifact, as: 'consentArtifact'
property :expire_time, as: 'expireTime'
property :name, as: 'name'
collection :policies, as: 'policies', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1ConsentPolicy, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1ConsentPolicy::Representation
property :revision_create_time, as: 'revisionCreateTime'
property :revision_id, as: 'revisionId'
property :state, as: 'state'
property :ttl, as: 'ttl'
property :user_id, as: 'userId'
end
end
class ConsentArtifact
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :consent_content_screenshots, as: 'consentContentScreenshots', class: Google::Apis::HealthcareV1beta1::Image, decorator: Google::Apis::HealthcareV1beta1::Image::Representation
property :consent_content_version, as: 'consentContentVersion'
property :guardian_signature, as: 'guardianSignature', class: Google::Apis::HealthcareV1beta1::Signature, decorator: Google::Apis::HealthcareV1beta1::Signature::Representation
hash :metadata, as: 'metadata'
property :name, as: 'name'
property :user_id, as: 'userId'
property :user_signature, as: 'userSignature', class: Google::Apis::HealthcareV1beta1::Signature, decorator: Google::Apis::HealthcareV1beta1::Signature::Representation
property :witness_signature, as: 'witnessSignature', class: Google::Apis::HealthcareV1beta1::Signature, decorator: Google::Apis::HealthcareV1beta1::Signature::Representation
end
end
class ConsentEvaluation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :evaluation_result, as: 'evaluationResult'
end
end
class ConsentList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :consents, as: 'consents'
end
end
class ConsentStore
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :default_consent_ttl, as: 'defaultConsentTtl'
property :enable_consent_create_on_update, as: 'enableConsentCreateOnUpdate'
hash :labels, as: 'labels'
property :name, as: 'name'
end
end
class CreateMessageRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1024,6 +1317,29 @@ module Google
end
end
class EvaluateUserConsentsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :consent_list, as: 'consentList', class: Google::Apis::HealthcareV1beta1::ConsentList, decorator: Google::Apis::HealthcareV1beta1::ConsentList::Representation
property :page_size, as: 'pageSize'
property :page_token, as: 'pageToken'
hash :request_attributes, as: 'requestAttributes'
hash :resource_attributes, as: 'resourceAttributes'
property :response_view, as: 'responseView'
property :user_id, as: 'userId'
end
end
class EvaluateUserConsentsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :results, as: 'results', class: Google::Apis::HealthcareV1beta1::Result, decorator: Google::Apis::HealthcareV1beta1::Result::Representation
end
end
class ExportAnnotationsErrorDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1187,6 +1503,23 @@ module Google
end
end
class GoogleCloudHealthcareV1beta1ConsentGcsDestination
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :uri_prefix, as: 'uriPrefix'
end
end
class GoogleCloudHealthcareV1beta1ConsentPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :authorization_rule, as: 'authorizationRule', class: Google::Apis::HealthcareV1beta1::Expr, decorator: Google::Apis::HealthcareV1beta1::Expr::Representation
collection :resource_attributes, as: 'resourceAttributes', class: Google::Apis::HealthcareV1beta1::Attribute, decorator: Google::Apis::HealthcareV1beta1::Attribute::Representation
end
end
class GoogleCloudHealthcareV1beta1DeidentifyDeidentifyDicomStoreSummary
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1355,6 +1688,14 @@ module Google
end
end
class Image
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gcs_uri, as: 'gcsUri'
property :raw_bytes, :base64 => true, as: 'rawBytes'
end
end
class ImageAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1505,6 +1846,51 @@ module Google
end
end
class ListAttributeDefinitionsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :attribute_definitions, as: 'attributeDefinitions', class: Google::Apis::HealthcareV1beta1::AttributeDefinition, decorator: Google::Apis::HealthcareV1beta1::AttributeDefinition::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class ListConsentArtifactsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :consent_artifacts, as: 'consentArtifacts', class: Google::Apis::HealthcareV1beta1::ConsentArtifact, decorator: Google::Apis::HealthcareV1beta1::ConsentArtifact::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class ListConsentRevisionsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :consents, as: 'consents', class: Google::Apis::HealthcareV1beta1::Consent, decorator: Google::Apis::HealthcareV1beta1::Consent::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class ListConsentStoresResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :consent_stores, as: 'consentStores', class: Google::Apis::HealthcareV1beta1::ConsentStore, decorator: Google::Apis::HealthcareV1beta1::ConsentStore::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class ListConsentsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :consents, as: 'consents', class: Google::Apis::HealthcareV1beta1::Consent, decorator: Google::Apis::HealthcareV1beta1::Consent::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class ListDatasetsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1568,6 +1954,15 @@ module Google
end
end
class ListUserDataMappingsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :user_data_mappings, as: 'userDataMappings', class: Google::Apis::HealthcareV1beta1::UserDataMapping, decorator: Google::Apis::HealthcareV1beta1::UserDataMapping::Representation
end
end
class Location
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1678,12 +2073,29 @@ module Google
end
end
class QueryAccessibleDataRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1ConsentGcsDestination, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1ConsentGcsDestination::Representation
hash :request_attributes, as: 'requestAttributes'
hash :resource_attributes, as: 'resourceAttributes'
end
end
class RedactConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class RejectConsentRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :consent_artifact, as: 'consentArtifact'
end
end
class ReplaceWithInfoTypeConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1704,6 +2116,23 @@ module Google
end
end
class Result
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :consent_details, as: 'consentDetails', class: Google::Apis::HealthcareV1beta1::ConsentEvaluation, decorator: Google::Apis::HealthcareV1beta1::ConsentEvaluation::Representation
property :consented, as: 'consented'
property :data_id, as: 'dataId'
end
end
class RevokeConsentRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :consent_artifact, as: 'consentArtifact'
end
end
class SchemaConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1787,6 +2216,17 @@ module Google
end
end
class Signature
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image, as: 'image', class: Google::Apis::HealthcareV1beta1::Image, decorator: Google::Apis::HealthcareV1beta1::Image::Representation
hash :metadata, as: 'metadata'
property :signature_time, as: 'signatureTime'
property :user_id, as: 'userId'
end
end
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1844,6 +2284,19 @@ module Google
end
end
class UserDataMapping
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :archive_time, as: 'archiveTime'
property :archived, as: 'archived'
property :data_id, as: 'dataId'
property :name, as: 'name'
collection :resource_attributes, as: 'resourceAttributes', class: Google::Apis::HealthcareV1beta1::Attribute, decorator: Google::Apis::HealthcareV1beta1::Attribute::Representation
property :user_id, as: 'userId'
end
end
class VersionSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/compute/docs/oslogin/
module OsloginV1alpha
VERSION = 'V1alpha'
REVISION = '20200817'
REVISION = '20200919'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -39,7 +39,7 @@ module Google
end
end
# A response message from importing an SSH public key.
# A response message for importing an SSH public key.
class ImportSshPublicKeyResponse
include Google::Apis::Core::Hashable
@@ -70,7 +70,7 @@ module Google
class LoginProfile
include Google::Apis::Core::Hashable
# A unique user ID.
# Required. A unique user ID.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@@ -50,7 +50,7 @@ module Google
# Retrieves the profile information used for logging in to a virtual machine on
# Google Compute Engine.
# @param [String] name
# The unique ID for the user in format `users/`user``.
# Required. The unique ID for the user in format `users/`user``.
# @param [String] operating_system_type
# The type of operating system associated with the account.
# @param [String] project_id
@@ -127,9 +127,9 @@ module Google
# Deletes a POSIX account.
# @param [String] name
# A reference to the POSIX account to update. POSIX accounts are identified by
# the project ID they are associated with. A reference to the POSIX account is
# in format `users/`user`/projects/`project``.
# Required. A reference to the POSIX account to update. POSIX accounts are
# identified by the project ID they are associated with. A reference to the
# POSIX account is in format `users/`user`/projects/`project``.
# @param [String] operating_system_type
# The type of operating system associated with the account.
# @param [String] fields
@@ -162,9 +162,9 @@ module Google
# Deletes an SSH public key.
# @param [String] name
# The fingerprint of the public key to update. Public keys are identified by
# their SHA-256 fingerprint. The fingerprint of the public key is in format `
# users/`user`/sshPublicKeys/`fingerprint``.
# Required. The fingerprint of the public key to update. Public keys are
# identified by their SHA-256 fingerprint. The fingerprint of the public key is
# in format `users/`user`/sshPublicKeys/`fingerprint``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -194,9 +194,9 @@ module Google
# Retrieves an SSH public key.
# @param [String] name
# The fingerprint of the public key to retrieve. Public keys are identified by
# their SHA-256 fingerprint. The fingerprint of the public key is in format `
# users/`user`/sshPublicKeys/`fingerprint``.
# Required. The fingerprint of the public key to retrieve. Public keys are
# identified by their SHA-256 fingerprint. The fingerprint of the public key is
# in format `users/`user`/sshPublicKeys/`fingerprint``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -227,9 +227,9 @@ module Google
# Updates an SSH public key and returns the profile information. This method
# supports patch semantics.
# @param [String] name
# The fingerprint of the public key to update. Public keys are identified by
# their SHA-256 fingerprint. The fingerprint of the public key is in format `
# users/`user`/sshPublicKeys/`fingerprint``.
# Required. The fingerprint of the public key to update. Public keys are
# identified by their SHA-256 fingerprint. The fingerprint of the public key is
# in format `users/`user`/sshPublicKeys/`fingerprint``.
# @param [Google::Apis::OsloginV1alpha::SshPublicKey] ssh_public_key_object
# @param [String] update_mask
# Mask to control which fields get updated. Updates all if not present.
+1 -1
View File
@@ -28,7 +28,7 @@ module Google
# @see https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/
module RealtimebiddingV1
VERSION = 'V1'
REVISION = '20200822'
REVISION = '20200922'
# See, create, edit, and delete your Authorized Buyers and Open Bidding account entities
AUTH_REALTIME_BIDDING = 'https://www.googleapis.com/auth/realtime-bidding'
@@ -213,10 +213,10 @@ module Google
# @return [Array<String>]
attr_accessor :impression_tracking_urls
# Output only. Name of the creative. Follows the pattern `buyers/`buyer`/
# creatives/`creative``, where ``buyer`` represents the account ID of the buyer
# who owns the creative, and ``creative`` is the buyer-specific creative ID that
# references this creative in the bid response.
# Name of the creative. Follows the pattern `buyers/`buyer`/creatives/`creative``
# , where ``buyer`` represents the account ID of the buyer who owns the creative,
# and ``creative`` is the buyer-specific creative ID that references this
# creative in the bid response.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@@ -327,7 +327,10 @@ module Google
# Updates a creative.
# @param [String] name
# Name of the creative to update. See creative.name.
# Name of the creative. Follows the pattern `buyers/`buyer`/creatives/`creative``
# , where ``buyer`` represents the account ID of the buyer who owns the creative,
# and ``creative`` is the buyer-specific creative ID that references this
# creative in the bid response.
# @param [Google::Apis::RealtimebiddingV1::Creative] creative_object
# @param [String] update_mask
# Field mask to use for partial in-place updates.
@@ -0,0 +1,35 @@
# 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/smartdevicemanagement_v1/service.rb'
require 'google/apis/smartdevicemanagement_v1/classes.rb'
require 'google/apis/smartdevicemanagement_v1/representations.rb'
module Google
module Apis
# Smart Device Management API
#
# Allow select enterprise partners to access, control, and manage Google and
# Nest devices programmatically.
#
# @see https://developers.google.com/nest/device-access
module SmartdevicemanagementV1
VERSION = 'V1'
REVISION = '20200910'
# See and/or control the devices that you selected
AUTH_SDM_SERVICE = 'https://www.googleapis.com/auth/sdm.service'
end
end
end
@@ -0,0 +1,313 @@
# 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 SmartdevicemanagementV1
# Device resource represents an instance of enterprise managed device in the
# property.
class GoogleHomeEnterpriseSdmV1Device
include Google::Apis::Core::Hashable
# Output only. The name of the structure/room where the device is assigned to.
# For example: "enterprises/XYZ/structures/ABC" or "enterprises/XYZ/structures/
# ABC/rooms/123"
# Corresponds to the JSON property `assignee`
# @return [String]
attr_accessor :assignee
# Required. The resource name of the device. For example: "enterprises/XYZ/
# devices/123".
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Assignee details of the device.
# Corresponds to the JSON property `parentRelations`
# @return [Array<Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ParentRelation>]
attr_accessor :parent_relations
# Output only. Device traits.
# Corresponds to the JSON property `traits`
# @return [Hash<String,Object>]
attr_accessor :traits
# Output only. Type of the device for general display purposes. For example: "
# THERMOSTAT". The device type should not be used to deduce or infer
# functionality of the actual device it is assigned to. Instead, use the
# returned traits for the device.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@assignee = args[:assignee] if args.key?(:assignee)
@name = args[:name] if args.key?(:name)
@parent_relations = args[:parent_relations] if args.key?(:parent_relations)
@traits = args[:traits] if args.key?(:traits)
@type = args[:type] if args.key?(:type)
end
end
# Request message for SmartDeviceManagementService.ExecuteDeviceCommand
class GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest
include Google::Apis::Core::Hashable
# The command name to execute, represented by the fully qualified protobuf
# message name.
# Corresponds to the JSON property `command`
# @return [String]
attr_accessor :command
# The command message to execute, represented as a Struct.
# Corresponds to the JSON property `params`
# @return [Hash<String,Object>]
attr_accessor :params
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@command = args[:command] if args.key?(:command)
@params = args[:params] if args.key?(:params)
end
end
# Response message for SmartDeviceManagementService.ExecuteDeviceCommand
class GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse
include Google::Apis::Core::Hashable
# The results of executing the command.
# Corresponds to the JSON property `results`
# @return [Hash<String,Object>]
attr_accessor :results
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@results = args[:results] if args.key?(:results)
end
end
# Response message for SmartDeviceManagementService.ListDevices
class GoogleHomeEnterpriseSdmV1ListDevicesResponse
include Google::Apis::Core::Hashable
# The list of devices.
# Corresponds to the JSON property `devices`
# @return [Array<Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Device>]
attr_accessor :devices
# The pagination token to retrieve the next page of results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@devices = args[:devices] if args.key?(:devices)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# Response message for SmartDeviceManagementService.ListRooms
class GoogleHomeEnterpriseSdmV1ListRoomsResponse
include Google::Apis::Core::Hashable
# The pagination token to retrieve the next page of results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# The list of rooms.
# Corresponds to the JSON property `rooms`
# @return [Array<Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room>]
attr_accessor :rooms
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@rooms = args[:rooms] if args.key?(:rooms)
end
end
# Response message for SmartDeviceManagementService.ListStructures
class GoogleHomeEnterpriseSdmV1ListStructuresResponse
include Google::Apis::Core::Hashable
# The pagination token to retrieve the next page of results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# The list of structures.
# Corresponds to the JSON property `structures`
# @return [Array<Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure>]
attr_accessor :structures
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@structures = args[:structures] if args.key?(:structures)
end
end
# Represents device relationships, for instance, structure/room to which the
# device is assigned to. For now this is only filled in the enterprise flow.
class GoogleHomeEnterpriseSdmV1ParentRelation
include Google::Apis::Core::Hashable
# Output only. The custom name of the relation -- e.g., structure/room where the
# device is assigned to.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# Output only. The name of the relation -- e.g., structure/room where the device
# is assigned to. For example: "enterprises/XYZ/structures/ABC" or "enterprises/
# XYZ/structures/ABC/rooms/123"
# Corresponds to the JSON property `parent`
# @return [String]
attr_accessor :parent
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@display_name = args[:display_name] if args.key?(:display_name)
@parent = args[:parent] if args.key?(:parent)
end
end
# Room resource represents an instance of sub-space within a structure such as
# rooms in a hotel suite or rental apartment.
class GoogleHomeEnterpriseSdmV1Room
include Google::Apis::Core::Hashable
# Output only. The resource name of the room. For example: "enterprises/XYZ/
# structures/ABC/rooms/123".
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Room traits.
# Corresponds to the JSON property `traits`
# @return [Hash<String,Object>]
attr_accessor :traits
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@traits = args[:traits] if args.key?(:traits)
end
end
# Structure resource represents an instance of enterprise managed home or hotel
# room.
class GoogleHomeEnterpriseSdmV1Structure
include Google::Apis::Core::Hashable
# Output only. The resource name of the structure. For example: "enterprises/XYZ/
# structures/ABC".
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Assignee details of the structure.
# Corresponds to the JSON property `parentRelations`
# @return [Array<Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1StructureParentRelation>]
attr_accessor :parent_relations
# Structure traits.
# Corresponds to the JSON property `traits`
# @return [Hash<String,Object>]
attr_accessor :traits
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@parent_relations = args[:parent_relations] if args.key?(:parent_relations)
@traits = args[:traits] if args.key?(:traits)
end
end
# Represents structure assignee relationships, for instance, group to which the
# structure is assigned to.
class GoogleHomeEnterpriseSdmV1StructureParentRelation
include Google::Apis::Core::Hashable
# Output only. The custom name of the relation -- e.g., group, to which the
# structure is assigned to.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# Output only. The name of the relation -- e.g., group to which the structure is
# assigned to. For example: "enterprises/XYZ/groups/ABC"
# Corresponds to the JSON property `parent`
# @return [String]
attr_accessor :parent
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@display_name = args[:display_name] if args.key?(:display_name)
@parent = args[:parent] if args.key?(:parent)
end
end
end
end
end
@@ -0,0 +1,174 @@
# 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 SmartdevicemanagementV1
class GoogleHomeEnterpriseSdmV1Device
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleHomeEnterpriseSdmV1ListDevicesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleHomeEnterpriseSdmV1ListRoomsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleHomeEnterpriseSdmV1ListStructuresResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleHomeEnterpriseSdmV1ParentRelation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleHomeEnterpriseSdmV1Room
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleHomeEnterpriseSdmV1Structure
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleHomeEnterpriseSdmV1StructureParentRelation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleHomeEnterpriseSdmV1Device
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :assignee, as: 'assignee'
property :name, as: 'name'
collection :parent_relations, as: 'parentRelations', class: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ParentRelation, decorator: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ParentRelation::Representation
hash :traits, as: 'traits'
property :type, as: 'type'
end
end
class GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :command, as: 'command'
hash :params, as: 'params'
end
end
class GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :results, as: 'results'
end
end
class GoogleHomeEnterpriseSdmV1ListDevicesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :devices, as: 'devices', class: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Device, decorator: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Device::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class GoogleHomeEnterpriseSdmV1ListRoomsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :rooms, as: 'rooms', class: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room, decorator: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room::Representation
end
end
class GoogleHomeEnterpriseSdmV1ListStructuresResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :structures, as: 'structures', class: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure, decorator: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure::Representation
end
end
class GoogleHomeEnterpriseSdmV1ParentRelation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
property :parent, as: 'parent'
end
end
class GoogleHomeEnterpriseSdmV1Room
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
hash :traits, as: 'traits'
end
end
class GoogleHomeEnterpriseSdmV1Structure
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
collection :parent_relations, as: 'parentRelations', class: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1StructureParentRelation, decorator: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1StructureParentRelation::Representation
hash :traits, as: 'traits'
end
end
class GoogleHomeEnterpriseSdmV1StructureParentRelation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
property :parent, as: 'parent'
end
end
end
end
end
@@ -0,0 +1,312 @@
# 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 SmartdevicemanagementV1
# Smart Device Management API
#
# Allow select enterprise partners to access, control, and manage Google and
# Nest devices programmatically.
#
# @example
# require 'google/apis/smartdevicemanagement_v1'
#
# Smartdevicemanagement = Google::Apis::SmartdevicemanagementV1 # Alias the module
# service = Smartdevicemanagement::SmartDeviceManagementService.new
#
# @see https://developers.google.com/nest/device-access
class SmartDeviceManagementService < 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]
# 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.
attr_accessor :quota_user
def initialize
super('https://smartdevicemanagement.googleapis.com/', '')
@batch_path = 'batch'
end
# Executes a command to device managed by the enterprise.
# @param [String] name
# The name of the device requested. For example: "enterprises/XYZ/devices/123"
# @param [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest] google_home_enterprise_sdm_v1_execute_device_command_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::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse]
#
# @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 execute_enterprise_device_command(name, google_home_enterprise_sdm_v1_execute_device_command_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:executeCommand', options)
command.request_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest::Representation
command.request_object = google_home_enterprise_sdm_v1_execute_device_command_request_object
command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse::Representation
command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets a device managed by the enterprise.
# @param [String] name
# The name of the device requested. For example: "enterprises/XYZ/devices/123"
# @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::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Device] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Device]
#
# @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_enterprise_device(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Device::Representation
command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Device
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists devices managed by the enterprise.
# @param [String] parent
# The parent enterprise to list devices under. E.g. "enterprises/XYZ".
# @param [String] filter
# Optional filter to list devices. Filters can match the exact assignee (could
# be a structure or a room). E.g. 'assignee=enterprises/XYZ/structures/abc' Also
# could filter by parent (group): 'parent=enterprises/XYZ/groups/jkl' or filter
# by device custom name (substring match): 'customName=wing'
# @param [Fixnum] page_size
# Optional requested page size. Server may return fewer devices than requested.
# If unspecified, server will pick an appropriate default.
# @param [String] page_token
# Optional token of the page to retrieve.
# @param [String] view
# Additional details that need to be provided for the device.
# @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::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse]
#
# @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_enterprise_devices(parent, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse::Representation
command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse
command.params['parent'] = parent unless parent.nil?
command.query['filter'] = filter unless filter.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)
end
# Gets a structure managed by the enterprise.
# @param [String] name
# The name of the structure requested. For example: "enterprises/XYZ/structures/
# ABC".
# @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::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure]
#
# @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_enterprise_structure(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure::Representation
command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists structures managed by the enterprise.
# @param [String] parent
# The parent enterprise to list structures under. E.g. "enterprises/XYZ".
# @param [String] filter
# Optional filter to list structures. Filters can match the exact album assigned
# to the structure. E.g. 'album=enterprises/XYZ/albums/abc' It also support
# filtering by parent (only groups for now): E.g. 'parent=enterprises/XYZ/groups/
# 124'
# @param [Fixnum] page_size
# Requested page size. Server may return fewer structures than requested. If
# unspecified, server will pick an appropriate default.
# @param [String] page_token
# The token of the page to retrieve.
# @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::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListStructuresResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListStructuresResponse]
#
# @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_enterprise_structures(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/structures', options)
command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListStructuresResponse::Representation
command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListStructuresResponse
command.params['parent'] = parent unless parent.nil?
command.query['filter'] = filter unless filter.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets a room managed by the enterprise.
# @param [String] name
# The name of the room requested. For example: "enterprises/XYZ/structures/ABC/
# rooms/123".
# @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::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room]
#
# @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_enterprise_structure_room(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room::Representation
command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists rooms managed by the enterprise.
# @param [String] parent
# The parent resource name of the rooms requested. For example: "enterprises/XYZ/
# structures/ABC".
# @param [Fixnum] page_size
# Requested page size. Server may return fewer rooms than requested. If
# unspecified, server will pick an appropriate default.
# @param [String] page_token
# The token of the page to retrieve.
# @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::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListRoomsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListRoomsResponse]
#
# @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_enterprise_structure_rooms(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/rooms', options)
command.response_representation = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListRoomsResponse::Representation
command.response_class = Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListRoomsResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.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?
end
end
end
end
end
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/
module WebsecurityscannerV1
VERSION = 'V1'
REVISION = '20200801'
REVISION = '20200919'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/
module WebsecurityscannerV1beta
VERSION = 'V1beta'
REVISION = '20200826'
REVISION = '20200919'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
+1 -1
View File
@@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/youtube/
module YoutubeV3
VERSION = 'V3'
REVISION = '20200916'
REVISION = '20200920'
# Manage your YouTube account
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
+2 -2
View File
@@ -44,8 +44,8 @@ module Google
attr_accessor :quota_user
def initialize
super('https://youtube.googleapis.com/', '')
@batch_path = 'batch'
super('https://www.googleapis.com/', '')
@batch_path = 'batch/youtube'
end
# Inserts a new resource into this collection.