Autogenerated update (2020-05-14)
Update: - appengine_v1 - appengine_v1beta - bigqueryreservation_v1 - bigqueryreservation_v1alpha2 - bigqueryreservation_v1beta1 - container_v1 - firebasehosting_v1beta1 - games_management_v1management - gameservices_v1beta - gmail_v1 - healthcare_v1 - healthcare_v1beta1 - jobs_v3p1beta1 - run_v1 - run_v1alpha1 - storage_v1 - testing_v1 - toolresults_v1beta3 - youtube_partner_v1
This commit is contained in:
parent
aa700b68f4
commit
f2fb36e6f1
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||
module AppengineV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200329'
|
||||
REVISION = '20200507'
|
||||
|
||||
# View and manage your applications deployed on Google App Engine
|
||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||
|
|
|
@ -104,6 +104,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :code_bucket
|
||||
|
||||
# The type of the Cloud Firestore or Cloud Datastore database associated with
|
||||
# this application.
|
||||
# Corresponds to the JSON property `databaseType`
|
||||
# @return [String]
|
||||
attr_accessor :database_type
|
||||
|
||||
# Google Cloud Storage bucket that can be used by this application to store
|
||||
# content.@OutputOnly
|
||||
# Corresponds to the JSON property `defaultBucket`
|
||||
|
@ -178,6 +184,7 @@ module Google
|
|||
def update!(**args)
|
||||
@auth_domain = args[:auth_domain] if args.key?(:auth_domain)
|
||||
@code_bucket = args[:code_bucket] if args.key?(:code_bucket)
|
||||
@database_type = args[:database_type] if args.key?(:database_type)
|
||||
@default_bucket = args[:default_bucket] if args.key?(:default_bucket)
|
||||
@default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration)
|
||||
@default_hostname = args[:default_hostname] if args.key?(:default_hostname)
|
||||
|
|
|
@ -459,6 +459,7 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :auth_domain, as: 'authDomain'
|
||||
property :code_bucket, as: 'codeBucket'
|
||||
property :database_type, as: 'databaseType'
|
||||
property :default_bucket, as: 'defaultBucket'
|
||||
property :default_cookie_expiration, as: 'defaultCookieExpiration'
|
||||
property :default_hostname, as: 'defaultHostname'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||
module AppengineV1beta
|
||||
VERSION = 'V1beta'
|
||||
REVISION = '20200329'
|
||||
REVISION = '20200507'
|
||||
|
||||
# View and manage your applications deployed on Google App Engine
|
||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||
|
|
|
@ -104,6 +104,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :code_bucket
|
||||
|
||||
# The type of the Cloud Firestore or Cloud Datastore database associated with
|
||||
# this application.
|
||||
# Corresponds to the JSON property `databaseType`
|
||||
# @return [String]
|
||||
attr_accessor :database_type
|
||||
|
||||
# Google Cloud Storage bucket that can be used by this application to store
|
||||
# content.@OutputOnly
|
||||
# Corresponds to the JSON property `defaultBucket`
|
||||
|
@ -178,6 +184,7 @@ module Google
|
|||
def update!(**args)
|
||||
@auth_domain = args[:auth_domain] if args.key?(:auth_domain)
|
||||
@code_bucket = args[:code_bucket] if args.key?(:code_bucket)
|
||||
@database_type = args[:database_type] if args.key?(:database_type)
|
||||
@default_bucket = args[:default_bucket] if args.key?(:default_bucket)
|
||||
@default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration)
|
||||
@default_hostname = args[:default_hostname] if args.key?(:default_hostname)
|
||||
|
|
|
@ -471,6 +471,7 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :auth_domain, as: 'authDomain'
|
||||
property :code_bucket, as: 'codeBucket'
|
||||
property :database_type, as: 'databaseType'
|
||||
property :default_bucket, as: 'defaultBucket'
|
||||
property :default_cookie_expiration, as: 'defaultCookieExpiration'
|
||||
property :default_hostname, as: 'defaultHostname'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigquery/
|
||||
module BigqueryreservationV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200410'
|
||||
REVISION = '20200509'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -28,7 +28,7 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The resource which will use the reservation. E.g.
|
||||
# projects/myproject, folders/123, organizations/456.
|
||||
# `projects/myproject`, `folders/123`, or `organizations/456`.
|
||||
# Corresponds to the JSON property `assignee`
|
||||
# @return [String]
|
||||
attr_accessor :assignee
|
||||
|
@ -39,7 +39,7 @@ module Google
|
|||
attr_accessor :job_type
|
||||
|
||||
# Output only. Name of the resource. E.g.:
|
||||
# projects/myproject/locations/US/reservations/team1-prod/assignments/123.
|
||||
# `projects/myproject/locations/US/reservations/team1-prod/assignments/123`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
@ -98,8 +98,9 @@ module Google
|
|||
# Capacity commitment is a way to purchase compute capacity for BigQuery jobs
|
||||
# (in the form of slots) with some committed period of usage. Annual
|
||||
# commitments renew by default. Commitments can be removed after their
|
||||
# commitment end time passes. In order to remove annual commitment, its plan
|
||||
# needs to be changed to monthly or flex first.
|
||||
# commitment end time passes.
|
||||
# In order to remove annual commitment, its plan needs to be changed
|
||||
# to monthly or flex first.
|
||||
# A capacity commitment resource exists as a child resource of the admin
|
||||
# project.
|
||||
class CapacityCommitment
|
||||
|
@ -123,7 +124,7 @@ module Google
|
|||
attr_accessor :failure_status
|
||||
|
||||
# Output only. The resource name of the capacity commitment, e.g.,
|
||||
# projects/myproject/locations/US/capacityCommitments/123
|
||||
# `projects/myproject/locations/US/capacityCommitments/123`
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
@ -135,7 +136,7 @@ module Google
|
|||
|
||||
# The plan this capacity commitment is converted to after commitment_end_time
|
||||
# passes. Once the plan is changed, committed period is extended according to
|
||||
# commitment plan. Only applicable for ANNUAL commitments.
|
||||
# commitment plan. Only applicable for ANNUAL and TRIAL commitments.
|
||||
# Corresponds to the JSON property `renewalPlan`
|
||||
# @return [String]
|
||||
attr_accessor :renewal_plan
|
||||
|
@ -332,15 +333,16 @@ module Google
|
|||
|
||||
# The request for
|
||||
# ReservationService.MoveAssignment.
|
||||
# Note: "bigquery.reservationAssignments.create" permission is required on the
|
||||
# destination_id. Note: "bigquery.reservationAssignments.create" and
|
||||
# "bigquery.reservationAssignments.delete" permission is required on the
|
||||
# **Note**: "bigquery.reservationAssignments.create" permission is required on
|
||||
# the destination_id.
|
||||
# **Note**: "bigquery.reservationAssignments.create" and
|
||||
# "bigquery.reservationAssignments.delete" permission are required on the
|
||||
# related assignee.
|
||||
class MoveAssignmentRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The new reservation ID, e.g.:
|
||||
# projects/myotherproject/locations/US/reservations/team2-prod
|
||||
# `projects/myotherproject/locations/US/reservations/team2-prod`
|
||||
# Corresponds to the JSON property `destinationId`
|
||||
# @return [String]
|
||||
attr_accessor :destination_id
|
||||
|
@ -432,7 +434,7 @@ module Google
|
|||
alias_method :ignore_idle_slots?, :ignore_idle_slots
|
||||
|
||||
# The resource name of the reservation, e.g.,
|
||||
# "projects/*/locations/*/reservations/team1-prod".
|
||||
# `projects/*/locations/*/reservations/team1-prod`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
@ -513,8 +515,9 @@ module Google
|
|||
# Capacity commitment is a way to purchase compute capacity for BigQuery jobs
|
||||
# (in the form of slots) with some committed period of usage. Annual
|
||||
# commitments renew by default. Commitments can be removed after their
|
||||
# commitment end time passes. In order to remove annual commitment, its plan
|
||||
# needs to be changed to monthly or flex first.
|
||||
# commitment end time passes.
|
||||
# In order to remove annual commitment, its plan needs to be changed
|
||||
# to monthly or flex first.
|
||||
# A capacity commitment resource exists as a child resource of the admin
|
||||
# project.
|
||||
# Corresponds to the JSON property `first`
|
||||
|
@ -524,8 +527,9 @@ module Google
|
|||
# Capacity commitment is a way to purchase compute capacity for BigQuery jobs
|
||||
# (in the form of slots) with some committed period of usage. Annual
|
||||
# commitments renew by default. Commitments can be removed after their
|
||||
# commitment end time passes. In order to remove annual commitment, its plan
|
||||
# needs to be changed to monthly or flex first.
|
||||
# commitment end time passes.
|
||||
# In order to remove annual commitment, its plan needs to be changed
|
||||
# to monthly or flex first.
|
||||
# A capacity commitment resource exists as a child resource of the admin
|
||||
# project.
|
||||
# Corresponds to the JSON property `second`
|
||||
|
|
|
@ -160,19 +160,20 @@ module Google
|
|||
|
||||
# Looks up assignments for a specified resource for a particular region.
|
||||
# If the request is about a project:
|
||||
# 1) Assignments created on the project will be returned if they exist.
|
||||
# 2) Otherwise assignments created on the closest ancestor will be
|
||||
# returned. 3) Assignments for different JobTypes will all be returned.
|
||||
# Same logic applies if the request is about a folder.
|
||||
# 1. Assignments created on the project will be returned if they exist.
|
||||
# 2. Otherwise assignments created on the closest ancestor will be
|
||||
# returned.
|
||||
# 3. Assignments for different JobTypes will all be returned.
|
||||
# The same logic applies if the request is about a folder.
|
||||
# If the request is about an organization, then assignments created on the
|
||||
# organization will be returned (organization doesn't have ancestors).
|
||||
# Comparing to ListAssignments, there are some behavior
|
||||
# differences:
|
||||
# 1) permission on the assignee will be verified in this API.
|
||||
# 2) Hierarchy lookup (project->folder->organization) happens in this API.
|
||||
# 3) Parent here is projects/*/locations/*, instead of
|
||||
# projects/*/locations/*reservations/*.
|
||||
# Note "-" cannot be used for projects
|
||||
# 1. permission on the assignee will be verified in this API.
|
||||
# 2. Hierarchy lookup (project->folder->organization) happens in this API.
|
||||
# 3. Parent here is `projects/*/locations/*`, instead of
|
||||
# `projects/*/locations/*reservations/*`.
|
||||
# **Note** "-" cannot be used for projects
|
||||
# nor locations.
|
||||
# @param [String] parent
|
||||
# Required. The resource name of the admin project(containing project and
|
||||
|
@ -180,14 +181,15 @@ module Google
|
|||
# e.g.:
|
||||
# "projects/myproject/locations/US".
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of items to return.
|
||||
# The maximum number of items to return per page.
|
||||
# @param [String] page_token
|
||||
# The next_page_token value returned from a previous List request, if any.
|
||||
# @param [String] query
|
||||
# Please specify resource name as assignee in the query.
|
||||
# e.g., "assignee=projects/myproject"
|
||||
# "assignee=folders/123"
|
||||
# "assignee=organizations/456"
|
||||
# Examples:
|
||||
# * `assignee=projects/myproject`
|
||||
# * `assignee=folders/123`
|
||||
# * `assignee=organizations/456`
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -219,8 +221,8 @@ module Google
|
|||
end
|
||||
|
||||
# Updates a BI reservation.
|
||||
# Only fields specified in the field_mask are updated.
|
||||
# Singleton BI reservation always exists with default size 0.
|
||||
# Only fields specified in the `field_mask` are updated.
|
||||
# A singleton BI reservation always exists with default size 0.
|
||||
# In order to reserve BI capacity it needs to be updated to an amount
|
||||
# greater than 0. In order to release BI capacity reservation size
|
||||
# must be set to 0.
|
||||
|
@ -400,10 +402,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Merges capacity commitments of the same plan into one. Resulting capacity
|
||||
# commitment has the longer commitment_end_time out of the two. Attempting to
|
||||
# merge capacity commitments of different plan will fail with the error code
|
||||
# `google.rpc.Code.FAILED_PRECONDITION`.
|
||||
# Merges capacity commitments of the same plan into a single commitment.
|
||||
# The resulting capacity commitment has the greater commitment_end_time
|
||||
# out of the to-be-merged capacity commitments.
|
||||
# Attempting to merge capacity commitments of different plan will fail
|
||||
# with the error code `google.rpc.Code.FAILED_PRECONDITION`.
|
||||
# @param [String] parent
|
||||
# Parent resource that identifies admin project and location e.g.,
|
||||
# projects/myproject/locations/us
|
||||
|
@ -438,13 +441,13 @@ module Google
|
|||
end
|
||||
|
||||
# Updates an existing capacity commitment.
|
||||
# Only plan and renewal_plan fields can be updated.
|
||||
# Only `plan` and `renewal_plan` fields can be updated.
|
||||
# Plan can only be changed to a plan of a longer commitment period.
|
||||
# Attempting to change to a plan with shorter commitment period will fail
|
||||
# with the error code `google.rpc.Code.FAILED_PRECONDITION`.
|
||||
# @param [String] name
|
||||
# Output only. The resource name of the capacity commitment, e.g.,
|
||||
# projects/myproject/locations/US/capacityCommitments/123
|
||||
# `projects/myproject/locations/US/capacityCommitments/123`
|
||||
# @param [Google::Apis::BigqueryreservationV1::CapacityCommitment] capacity_commitment_object
|
||||
# @param [String] update_mask
|
||||
# Standard field mask for the set of fields to be updated.
|
||||
|
@ -479,10 +482,11 @@ module Google
|
|||
end
|
||||
|
||||
# Splits capacity commitment to two commitments of the same plan and
|
||||
# commitment_end_time. A common use case to do that is to perform a downgrade
|
||||
# e.g., in order to downgrade from 10000 slots to 8000, one might split 10000
|
||||
# capacity commitment to 2000 and 8000, change the plan of the first one to
|
||||
# flex and then delete it.
|
||||
# `commitment_end_time`.
|
||||
# A common use case is to enable downgrading commitments.
|
||||
# For example, in order to downgrade from 10000 slots to 8000, you might
|
||||
# split a 10000 capacity commitment into commitments of 2000 and 8000. Then,
|
||||
# you would change the plan of the first one to `FLEX` and then delete it.
|
||||
# @param [String] name
|
||||
# Required. The resource name e.g.,:
|
||||
# projects/myproject/locations/US/capacityCommitments/123
|
||||
|
@ -519,7 +523,7 @@ module Google
|
|||
# Creates a new reservation resource.
|
||||
# @param [String] parent
|
||||
# Required. Project, location. E.g.,
|
||||
# projects/myproject/locations/US
|
||||
# `projects/myproject/locations/US`
|
||||
# @param [Google::Apis::BigqueryreservationV1::Reservation] reservation_object
|
||||
# @param [String] reservation_id
|
||||
# The reservation ID. This field must only contain lower case alphanumeric
|
||||
|
@ -559,7 +563,7 @@ module Google
|
|||
# assignments.
|
||||
# @param [String] name
|
||||
# Required. Resource name of the reservation to retrieve. E.g.,
|
||||
# projects/myproject/locations/US/reservations/team1-prod
|
||||
# `projects/myproject/locations/US/reservations/team1-prod`
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -590,7 +594,7 @@ module Google
|
|||
# Returns information about the reservation.
|
||||
# @param [String] name
|
||||
# Required. Resource name of the reservation to retrieve. E.g.,
|
||||
# projects/myproject/locations/US/reservations/team1-prod
|
||||
# `projects/myproject/locations/US/reservations/team1-prod`
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -623,7 +627,7 @@ module Google
|
|||
# Required. The parent resource name containing project and location, e.g.:
|
||||
# "projects/myproject/locations/US"
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of items to return.
|
||||
# The maximum number of items to return per page.
|
||||
# @param [String] page_token
|
||||
# The next_page_token value returned from a previous List request, if any.
|
||||
# @param [String] fields
|
||||
|
@ -658,7 +662,7 @@ module Google
|
|||
# Updates an existing reservation resource.
|
||||
# @param [String] name
|
||||
# The resource name of the reservation, e.g.,
|
||||
# "projects/*/locations/*/reservations/team1-prod".
|
||||
# `projects/*/locations/*/reservations/team1-prod`.
|
||||
# @param [Google::Apis::BigqueryreservationV1::Reservation] reservation_object
|
||||
# @param [String] update_mask
|
||||
# Standard field mask for the set of fields to be updated.
|
||||
|
@ -692,18 +696,24 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates an object which allows the given project to submit jobs
|
||||
# of a certain type using slots from the specified reservation. Currently a
|
||||
# Creates an assignment object which allows the given project to submit jobs
|
||||
# of a certain type using slots from the specified reservation.
|
||||
# Currently a
|
||||
# resource (project, folder, organization) can only have one assignment per
|
||||
# `job_type, location`, and that reservation will be used for all jobs of the
|
||||
# matching type. Within the organization, different assignments can be
|
||||
# created on projects, folders or organization level. During query execution,
|
||||
# each (job_type, location) combination, and that reservation will be used
|
||||
# for all jobs of the matching type.
|
||||
# Different assignments can be created on different levels of the
|
||||
# projects, folders or organization hierarchy. During query execution,
|
||||
# the assignment is looked up at the project, folder and organization levels
|
||||
# in that order. The first assignment found is applied to the query. When
|
||||
# creating assignments, it does not matter if other assignments exist at
|
||||
# higher levels. E.g: organizationA contains project1, project2. Assignments
|
||||
# for organizationA, project1 and project2 could all be created, mapping to
|
||||
# the same or different reservations.
|
||||
# in that order. The first assignment found is applied to the query.
|
||||
# When creating assignments, it does not matter if other assignments exist at
|
||||
# higher levels.
|
||||
# Example:
|
||||
# * The organization `organizationA` contains two projects, `project1`
|
||||
# and `project2`.
|
||||
# * Assignments for all three entities (`organizationA`, `project1`, and
|
||||
# `project2`) could all be created and mapped to the same or different
|
||||
# reservations.
|
||||
# Returns `google.rpc.Code.PERMISSION_DENIED` if user does not have
|
||||
# 'bigquery.admin' permissions on the project using the reservation
|
||||
# and the project that owns this reservation.
|
||||
|
@ -711,7 +721,7 @@ module Google
|
|||
# does not match location of the reservation.
|
||||
# @param [String] parent
|
||||
# Required. The parent resource name of the assignment
|
||||
# E.g.: projects/myproject/locations/US/reservations/team1-prod
|
||||
# E.g. `projects/myproject/locations/US/reservations/team1-prod`
|
||||
# @param [Google::Apis::BigqueryreservationV1::Assignment] assignment_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -743,18 +753,20 @@ module Google
|
|||
end
|
||||
|
||||
# Deletes a assignment. No expansion will happen.
|
||||
# E.g:
|
||||
# organizationA contains project1 and project2. Reservation res1 exists.
|
||||
# CreateAssignment was invoked previously and following assignments were
|
||||
# created explicitly:
|
||||
# <organizationA, res1>
|
||||
# <project1, res1>
|
||||
# Then deletion of <organizationA, res1> won't affect <project1, res1>. After
|
||||
# deletion of <organizationA, res1>, queries from project1 will still use
|
||||
# res1, while queries from project2 will use on-demand mode.
|
||||
# Example:
|
||||
# * Organization `organizationA` contains two projects, `project1` and
|
||||
# `project2`.
|
||||
# * Reservation `res1` exists and was created previously.
|
||||
# * CreateAssignment was used previously to define the following
|
||||
# associations between entities and reservations: `<organizationA, res1>`
|
||||
# and `<project1, res1>`
|
||||
# In this example, deletion of the `<organizationA, res1>` assignment won't
|
||||
# affect the other assignment `<project1, res1>`. After said deletion,
|
||||
# queries from `project1` will still use `res1` while queries from
|
||||
# `project2` will switch to use on-demand mode.
|
||||
# @param [String] name
|
||||
# Required. Name of the resource, e.g.:
|
||||
# projects/myproject/locations/US/reservations/team1-prod/assignments/123
|
||||
# Required. Name of the resource, e.g.
|
||||
# `projects/myproject/locations/US/reservations/team1-prod/assignments/123`
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -783,24 +795,27 @@ module Google
|
|||
end
|
||||
|
||||
# Lists assignments.
|
||||
# Only explicitly created assignments will be returned. E.g:
|
||||
# organizationA contains project1 and project2. Reservation res1 exists.
|
||||
# CreateAssignment was invoked previously and following assignments were
|
||||
# created explicitly:
|
||||
# <organizationA, res1>
|
||||
# <project1, res1>
|
||||
# Then this API will just return the above two assignments for reservation
|
||||
# res1, and no expansion/merge will happen. Wildcard "-" can be used for
|
||||
# Only explicitly created assignments will be returned.
|
||||
# Example:
|
||||
# * Organization `organizationA` contains two projects, `project1` and
|
||||
# `project2`.
|
||||
# * Reservation `res1` exists and was created previously.
|
||||
# * CreateAssignment was used previously to define the following
|
||||
# associations between entities and reservations: `<organizationA, res1>`
|
||||
# and `<project1, res1>`
|
||||
# In this example, ListAssignments will just return the above two assignments
|
||||
# for reservation `res1`, and no expansion/merge will happen.
|
||||
# The wildcard "-" can be used for
|
||||
# reservations in the request. In that case all assignments belongs to the
|
||||
# specified project and location will be listed. Note
|
||||
# "-" cannot be used for projects nor locations.
|
||||
# specified project and location will be listed.
|
||||
# **Note** "-" cannot be used for projects nor locations.
|
||||
# @param [String] parent
|
||||
# Required. The parent resource name e.g.:
|
||||
# projects/myproject/locations/US/reservations/team1-prod
|
||||
# `projects/myproject/locations/US/reservations/team1-prod`
|
||||
# Or:
|
||||
# projects/myproject/locations/US/reservations/-
|
||||
# `projects/myproject/locations/US/reservations/-`
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of items to return.
|
||||
# The maximum number of items to return per page.
|
||||
# @param [String] page_token
|
||||
# The next_page_token value returned from a previous List request, if any.
|
||||
# @param [String] fields
|
||||
|
@ -832,16 +847,14 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Moves a assignment under a new reservation. Customers can do this by
|
||||
# deleting the existing assignment followed by creating another assignment
|
||||
# under the new reservation, but this method provides a transactional way to
|
||||
# do so, to make sure the assignee always has an associated reservation.
|
||||
# Without the method customers might see some queries run on-demand which
|
||||
# might be unexpected.
|
||||
# Moves an assignment under a new reservation.
|
||||
# This differs from removing an existing assignment and recreating a new one
|
||||
# by providing a transactional change that ensures an assignee always has an
|
||||
# associated reservation.
|
||||
# @param [String] name
|
||||
# Required. The resource name of the assignment,
|
||||
# e.g.:
|
||||
# projects/myproject/locations/US/reservations/team1-prod/assignments/123
|
||||
# e.g.
|
||||
# `projects/myproject/locations/US/reservations/team1-prod/assignments/123`
|
||||
# @param [Google::Apis::BigqueryreservationV1::MoveAssignmentRequest] move_assignment_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigquery/
|
||||
module BigqueryreservationV1alpha2
|
||||
VERSION = 'V1alpha2'
|
||||
REVISION = '20200220'
|
||||
REVISION = '20200509'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigquery/
|
||||
module BigqueryreservationV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20200410'
|
||||
REVISION = '20200509'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -62,40 +62,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Auto scaling settings and current situation.
|
||||
# System will create a dedicated FLEX capacity commitment to hold the slots
|
||||
# for auto-scale. Users won't be able to manage it,to avoid conflicts.
|
||||
# Scale-up will happen, if there are always pending tasks for the past 10
|
||||
# minutes.
|
||||
# Scale-down will happen, if the system knows that scale-up won't be
|
||||
# triggered again.
|
||||
# Note this is an alpha feature.
|
||||
class Autoscale
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. The slot capacity added to this reservation when autoscale
|
||||
# happens. Will
|
||||
# be between [0, max_slots].
|
||||
# Corresponds to the JSON property `currentSlots`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :current_slots
|
||||
|
||||
# Number of slots to be scaled when needed.
|
||||
# Corresponds to the JSON property `maxSlots`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :max_slots
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@current_slots = args[:current_slots] if args.key?(:current_slots)
|
||||
@max_slots = args[:max_slots] if args.key?(:max_slots)
|
||||
end
|
||||
end
|
||||
|
||||
# Represents a BI Reservation.
|
||||
class BiReservation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -368,18 +334,6 @@ module Google
|
|||
class Reservation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Auto scaling settings and current situation.
|
||||
# System will create a dedicated FLEX capacity commitment to hold the slots
|
||||
# for auto-scale. Users won't be able to manage it,to avoid conflicts.
|
||||
# Scale-up will happen, if there are always pending tasks for the past 10
|
||||
# minutes.
|
||||
# Scale-down will happen, if the system knows that scale-up won't be
|
||||
# triggered again.
|
||||
# Note this is an alpha feature.
|
||||
# Corresponds to the JSON property `autoscale`
|
||||
# @return [Google::Apis::BigqueryreservationV1beta1::Autoscale]
|
||||
attr_accessor :autoscale
|
||||
|
||||
# If false, any query using this reservation will use idle slots from other
|
||||
# reservations within the same admin project. If true, a query using this
|
||||
# reservation will execute with the slot capacity specified above at most.
|
||||
|
@ -412,7 +366,6 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@autoscale = args[:autoscale] if args.key?(:autoscale)
|
||||
@ignore_idle_slots = args[:ignore_idle_slots] if args.key?(:ignore_idle_slots)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@slot_capacity = args[:slot_capacity] if args.key?(:slot_capacity)
|
||||
|
|
|
@ -28,12 +28,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Autoscale
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BiReservation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -128,14 +122,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class Autoscale
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :current_slots, :numeric_string => true, as: 'currentSlots'
|
||||
property :max_slots, :numeric_string => true, as: 'maxSlots'
|
||||
end
|
||||
end
|
||||
|
||||
class BiReservation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -216,8 +202,6 @@ module Google
|
|||
class Reservation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :autoscale, as: 'autoscale', class: Google::Apis::BigqueryreservationV1beta1::Autoscale, decorator: Google::Apis::BigqueryreservationV1beta1::Autoscale::Representation
|
||||
|
||||
property :ignore_idle_slots, as: 'ignoreIdleSlots'
|
||||
property :name, as: 'name'
|
||||
property :slot_capacity, :numeric_string => true, as: 'slotCapacity'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/container-engine/
|
||||
module ContainerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200425'
|
||||
REVISION = '20200501'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2492,8 +2492,9 @@ module Google
|
|||
|
||||
# Kubernetes taint is comprised of three fields: key, value, and effect. Effect
|
||||
# can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
|
||||
# For more information, including usage and the valid values, see:
|
||||
# https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
# See
|
||||
# [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
|
||||
# for more information, including usage and the valid values.
|
||||
class NodeTaint
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://firebase.google.com/docs/hosting/
|
||||
module FirebasehostingV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20200430'
|
||||
REVISION = '20200512'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -352,7 +352,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The response when listing Releases.
|
||||
#
|
||||
class ListReleasesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -380,7 +380,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The response when listing a Version's Files..
|
||||
#
|
||||
class ListVersionFilesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -405,7 +405,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The response when listing Versions.
|
||||
#
|
||||
class ListVersionsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -516,7 +516,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The response to a PopulateVersionFilesRequest.
|
||||
#
|
||||
class PopulateVersionFilesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
|
|
@ -18,14 +18,16 @@ require 'google/apis/games_management_v1management/representations.rb'
|
|||
|
||||
module Google
|
||||
module Apis
|
||||
# Google Play Game Services Management API
|
||||
# Google Play Game Management
|
||||
#
|
||||
# The Management API for Google Play Game Services.
|
||||
# The Google Play Game Management API allows developers to manage resources from
|
||||
# the Google
|
||||
# Play Game service.
|
||||
#
|
||||
# @see https://developers.google.com/games/services
|
||||
# @see https://developers.google.com/games/
|
||||
module GamesManagementV1management
|
||||
VERSION = 'V1management'
|
||||
REVISION = '20200416'
|
||||
REVISION = '20200504'
|
||||
|
||||
# Create, edit, and delete your Google Play Games activity
|
||||
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
||||
|
|
|
@ -22,12 +22,12 @@ module Google
|
|||
module Apis
|
||||
module GamesManagementV1management
|
||||
|
||||
# This is a JSON template for achievement reset all response.
|
||||
# Achievement reset all response.
|
||||
class AchievementResetAllResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Uniquely identifies the type of this resource. Value is always the fixed
|
||||
# string gamesManagement#achievementResetAllResponse.
|
||||
# string `gamesManagement#achievementResetAllResponse`.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
@ -48,7 +48,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# This is a JSON template for multiple achievements reset all request.
|
||||
#
|
||||
class AchievementResetMultipleForAllRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -58,7 +58,7 @@ module Google
|
|||
attr_accessor :achievement_ids
|
||||
|
||||
# Uniquely identifies the type of this resource. Value is always the fixed
|
||||
# string gamesManagement#achievementResetMultipleForAllRequest.
|
||||
# string `gamesManagement#achievementResetMultipleForAllRequest`.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
@ -74,16 +74,15 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# This is a JSON template for an achievement reset response.
|
||||
# An achievement reset response.
|
||||
class AchievementResetResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The current state of the achievement. This is the same as the initial state of
|
||||
# the achievement.
|
||||
# Possible values are:
|
||||
# - "HIDDEN"- Achievement is hidden.
|
||||
# - "REVEALED" - Achievement is revealed.
|
||||
# - "UNLOCKED" - Achievement is unlocked.
|
||||
# The current state of the achievement. This is the same as the initial
|
||||
# state of the achievement. <br/>Possible values are: <ul>
|
||||
# <li>"`HIDDEN`"- Achievement is hidden.</li>
|
||||
# <li>"`REVEALED`" - Achievement is revealed.</li>
|
||||
# <li>"`UNLOCKED`" - Achievement is unlocked.</li> </ul>
|
||||
# Corresponds to the JSON property `currentState`
|
||||
# @return [String]
|
||||
attr_accessor :current_state
|
||||
|
@ -94,7 +93,7 @@ module Google
|
|||
attr_accessor :definition_id
|
||||
|
||||
# Uniquely identifies the type of this resource. Value is always the fixed
|
||||
# string gamesManagement#achievementResetResponse.
|
||||
# string `gamesManagement#achievementResetResponse`.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
@ -118,7 +117,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# This is a JSON template for multiple events reset all request.
|
||||
# Multiple events reset all request.
|
||||
class EventsResetMultipleForAllRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -128,7 +127,7 @@ module Google
|
|||
attr_accessor :event_ids
|
||||
|
||||
# Uniquely identifies the type of this resource. Value is always the fixed
|
||||
# string gamesManagement#eventsResetMultipleForAllRequest.
|
||||
# string `gamesManagement#eventsResetMultipleForAllRequest`.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
@ -144,35 +143,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# This is a JSON template for metadata about a player playing a game with the
|
||||
# currently authenticated user.
|
||||
class GamesPlayedResource
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# True if the player was auto-matched with the currently authenticated user.
|
||||
# Corresponds to the JSON property `autoMatched`
|
||||
# @return [Boolean]
|
||||
attr_accessor :auto_matched
|
||||
alias_method :auto_matched?, :auto_matched
|
||||
|
||||
# The last time the player played the game in milliseconds since the epoch in
|
||||
# UTC.
|
||||
# Corresponds to the JSON property `timeMillis`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :time_millis
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@auto_matched = args[:auto_matched] if args.key?(:auto_matched)
|
||||
@time_millis = args[:time_millis] if args.key?(:time_millis)
|
||||
end
|
||||
end
|
||||
|
||||
# This is a JSON template for 1P/3P metadata about the player's experience.
|
||||
# 1P/3P metadata about the player's experience.
|
||||
class GamesPlayerExperienceInfoResource
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -181,17 +152,18 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :current_experience_points
|
||||
|
||||
# This is a JSON template for 1P/3P metadata about a user's level.
|
||||
# 1P/3P metadata about a user's level.
|
||||
# Corresponds to the JSON property `currentLevel`
|
||||
# @return [Google::Apis::GamesManagementV1management::GamesPlayerLevelResource]
|
||||
attr_accessor :current_level
|
||||
|
||||
# The timestamp when the player was leveled up, in millis since Unix epoch UTC.
|
||||
# The timestamp when the player was leveled up, in millis since Unix epoch
|
||||
# UTC.
|
||||
# Corresponds to the JSON property `lastLevelUpTimestampMillis`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :last_level_up_timestamp_millis
|
||||
|
||||
# This is a JSON template for 1P/3P metadata about a user's level.
|
||||
# 1P/3P metadata about a user's level.
|
||||
# Corresponds to the JSON property `nextLevel`
|
||||
# @return [Google::Apis::GamesManagementV1management::GamesPlayerLevelResource]
|
||||
attr_accessor :next_level
|
||||
|
@ -209,7 +181,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# This is a JSON template for 1P/3P metadata about a user's level.
|
||||
# 1P/3P metadata about a user's level.
|
||||
class GamesPlayerLevelResource
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -240,22 +212,23 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# This is a JSON template for the HiddenPlayer resource.
|
||||
# The HiddenPlayer resource.
|
||||
class HiddenPlayer
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The time this player was hidden.
|
||||
# Output only. The time this player was hidden.
|
||||
# Corresponds to the JSON property `hiddenTimeMillis`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :hidden_time_millis
|
||||
|
||||
# Uniquely identifies the type of this resource. Value is always the fixed
|
||||
# string gamesManagement#hiddenPlayer.
|
||||
# Output only. Uniquely identifies the type of this resource. Value is always
|
||||
# the fixed
|
||||
# string `gamesManagement#hiddenPlayer`.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# This is a JSON template for a Player resource.
|
||||
# A Player resource.
|
||||
# Corresponds to the JSON property `player`
|
||||
# @return [Google::Apis::GamesManagementV1management::Player]
|
||||
attr_accessor :player
|
||||
|
@ -272,7 +245,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# This is a JSON template for a list of hidden players.
|
||||
# A list of hidden players.
|
||||
class HiddenPlayerList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -282,7 +255,7 @@ module Google
|
|||
attr_accessor :items
|
||||
|
||||
# Uniquely identifies the type of this resource. Value is always the fixed
|
||||
# string gamesManagement#hiddenPlayerList.
|
||||
# string `gamesManagement#hiddenPlayerList`.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
@ -304,7 +277,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# This is a JSON template for a Player resource.
|
||||
# A Player resource.
|
||||
class Player
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -328,29 +301,17 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
||||
# This is a JSON template for 1P/3P metadata about the player's experience.
|
||||
# 1P/3P metadata about the player's experience.
|
||||
# Corresponds to the JSON property `experienceInfo`
|
||||
# @return [Google::Apis::GamesManagementV1management::GamesPlayerExperienceInfoResource]
|
||||
attr_accessor :experience_info
|
||||
|
||||
# The friend status of the given player, relative to the requester. This is
|
||||
# unset if the player is not sharing their friends list with the game.
|
||||
# Corresponds to the JSON property `friendStatus`
|
||||
# @return [String]
|
||||
attr_accessor :friend_status
|
||||
|
||||
# Uniquely identifies the type of this resource. Value is always the fixed
|
||||
# string gamesManagement#player.
|
||||
# string `gamesManagement#player`.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# This is a JSON template for metadata about a player playing a game with the
|
||||
# currently authenticated user.
|
||||
# Corresponds to the JSON property `lastPlayedWith`
|
||||
# @return [Google::Apis::GamesManagementV1management::GamesPlayedResource]
|
||||
attr_accessor :last_played_with
|
||||
|
||||
# An object representation of the individual components of the player's name.
|
||||
# For some players, these fields may not be present.
|
||||
# Corresponds to the JSON property `name`
|
||||
|
@ -358,9 +319,9 @@ module Google
|
|||
attr_accessor :name
|
||||
|
||||
# The player ID that was used for this player the first time they signed into
|
||||
# the game in question. This is only populated for calls to player.get for the
|
||||
# requesting player, only if the player ID has subsequently changed, and only to
|
||||
# clients that support remapping player IDs.
|
||||
# the game in question. This is only populated for calls to player.get for
|
||||
# the requesting player, only if the player ID has subsequently changed, and
|
||||
# only to clients that support remapping player IDs.
|
||||
# Corresponds to the JSON property `originalPlayerId`
|
||||
# @return [String]
|
||||
attr_accessor :original_player_id
|
||||
|
@ -370,7 +331,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :player_id
|
||||
|
||||
# This is a JSON template for profile settings
|
||||
# Profile settings
|
||||
# Corresponds to the JSON property `profileSettings`
|
||||
# @return [Google::Apis::GamesManagementV1management::ProfileSettings]
|
||||
attr_accessor :profile_settings
|
||||
|
@ -391,9 +352,7 @@ module Google
|
|||
@banner_url_portrait = args[:banner_url_portrait] if args.key?(:banner_url_portrait)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@experience_info = args[:experience_info] if args.key?(:experience_info)
|
||||
@friend_status = args[:friend_status] if args.key?(:friend_status)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@last_played_with = args[:last_played_with] if args.key?(:last_played_with)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@original_player_id = args[:original_player_id] if args.key?(:original_player_id)
|
||||
@player_id = args[:player_id] if args.key?(:player_id)
|
||||
|
@ -406,12 +365,14 @@ module Google
|
|||
class Name
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The family name of this player. In some places, this is known as the last name.
|
||||
# The family name of this player. In some places, this is known as the last
|
||||
# name.
|
||||
# Corresponds to the JSON property `familyName`
|
||||
# @return [String]
|
||||
attr_accessor :family_name
|
||||
|
||||
# The given name of this player. In some places, this is known as the first name.
|
||||
# The given name of this player. In some places, this is known as the first
|
||||
# name.
|
||||
# Corresponds to the JSON property `givenName`
|
||||
# @return [String]
|
||||
attr_accessor :given_name
|
||||
|
@ -428,12 +389,12 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# This is a JSON template for a list of leaderboard reset resources.
|
||||
# A list of leaderboard reset resources.
|
||||
class PlayerScoreResetAllResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Uniquely identifies the type of this resource. Value is always the fixed
|
||||
# string gamesManagement#playerScoreResetResponse.
|
||||
# string `gamesManagement#playerScoreResetAllResponse`.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
@ -454,7 +415,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# This is a JSON template for a list of reset leaderboard entry resources.
|
||||
# A list of reset leaderboard entry resources.
|
||||
class PlayerScoreResetResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -464,16 +425,15 @@ module Google
|
|||
attr_accessor :definition_id
|
||||
|
||||
# Uniquely identifies the type of this resource. Value is always the fixed
|
||||
# string gamesManagement#playerScoreResetResponse.
|
||||
# string `gamesManagement#playerScoreResetResponse`.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The time spans of the updated score.
|
||||
# Possible values are:
|
||||
# - "ALL_TIME" - The score is an all-time score.
|
||||
# - "WEEKLY" - The score is a weekly score.
|
||||
# - "DAILY" - The score is a daily score.
|
||||
# The time spans of the updated score. <br/>Possible values are: <ul>
|
||||
# <li>"`ALL_TIME`" - The score is an all-time score.</li>
|
||||
# <li>"`WEEKLY`" - The score is a weekly score.</li>
|
||||
# <li>"`DAILY`" - The score is a daily score.</li> </ul>
|
||||
# Corresponds to the JSON property `resetScoreTimeSpans`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :reset_score_time_spans
|
||||
|
@ -490,12 +450,12 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# This is a JSON template for profile settings
|
||||
# Profile settings
|
||||
class ProfileSettings
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Uniquely identifies the type of this resource. Value is always the fixed
|
||||
# string gamesManagement#profileSettings.
|
||||
# string `gamesManagement#profileSettings`.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
@ -517,12 +477,12 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# This is a JSON template for multiple scores reset all request.
|
||||
#
|
||||
class ScoresResetMultipleForAllRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Uniquely identifies the type of this resource. Value is always the fixed
|
||||
# string gamesManagement#scoresResetMultipleForAllRequest.
|
||||
# string `gamesManagement#scoresResetMultipleForAllRequest`.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
|
|
@ -46,12 +46,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GamesPlayedResource
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GamesPlayerExperienceInfoResource
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -147,14 +141,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GamesPlayedResource
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :auto_matched, as: 'autoMatched'
|
||||
property :time_millis, :numeric_string => true, as: 'timeMillis'
|
||||
end
|
||||
end
|
||||
|
||||
class GamesPlayerExperienceInfoResource
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -205,10 +191,7 @@ module Google
|
|||
property :display_name, as: 'displayName'
|
||||
property :experience_info, as: 'experienceInfo', class: Google::Apis::GamesManagementV1management::GamesPlayerExperienceInfoResource, decorator: Google::Apis::GamesManagementV1management::GamesPlayerExperienceInfoResource::Representation
|
||||
|
||||
property :friend_status, as: 'friendStatus'
|
||||
property :kind, as: 'kind'
|
||||
property :last_played_with, as: 'lastPlayedWith', class: Google::Apis::GamesManagementV1management::GamesPlayedResource, decorator: Google::Apis::GamesManagementV1management::GamesPlayedResource::Representation
|
||||
|
||||
property :name, as: 'name', class: Google::Apis::GamesManagementV1management::Player::Name, decorator: Google::Apis::GamesManagementV1management::Player::Name::Representation
|
||||
|
||||
property :original_player_id, as: 'originalPlayerId'
|
||||
|
|
|
@ -20,9 +20,11 @@ require 'google/apis/errors'
|
|||
module Google
|
||||
module Apis
|
||||
module GamesManagementV1management
|
||||
# Google Play Game Services Management API
|
||||
# Google Play Game Management
|
||||
#
|
||||
# The Management API for Google Play Game Services.
|
||||
# The Google Play Game Management API allows developers to manage resources from
|
||||
# the Google
|
||||
# Play Game service.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/games_management_v1management'
|
||||
|
@ -30,7 +32,7 @@ module Google
|
|||
# GamesManagement = Google::Apis::GamesManagementV1management # Alias the module
|
||||
# service = GamesManagement::GamesManagementService.new
|
||||
#
|
||||
# @see https://developers.google.com/games/services
|
||||
# @see https://developers.google.com/games/
|
||||
class GamesManagementService < Google::Apis::Core::BaseService
|
||||
# @return [String]
|
||||
# API key. Your API key identifies your project and provides you with API access,
|
||||
|
@ -38,31 +40,25 @@ module Google
|
|||
attr_accessor :key
|
||||
|
||||
# @return [String]
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# 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
|
||||
|
||||
# @return [String]
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
attr_accessor :user_ip
|
||||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'games/v1management/')
|
||||
@batch_path = 'batch/gamesManagement/v1management'
|
||||
super('https://www.googleapis.com/', '')
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Resets the achievement with the given ID for the currently authenticated
|
||||
# player. This method is only accessible to whitelisted tester accounts for your
|
||||
# application.
|
||||
# player. This method is only accessible to whitelisted tester accounts for
|
||||
# your application.
|
||||
# @param [String] achievement_id
|
||||
# The ID of the achievement used by this method.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# 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
|
||||
#
|
||||
|
@ -75,27 +71,24 @@ 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 reset_achievement(achievement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'achievements/{achievementId}/reset', options)
|
||||
def reset_achievement(achievement_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'games/v1management/achievements/{achievementId}/reset', options)
|
||||
command.response_representation = Google::Apis::GamesManagementV1management::AchievementResetResponse::Representation
|
||||
command.response_class = Google::Apis::GamesManagementV1management::AchievementResetResponse
|
||||
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Resets all achievements for the currently authenticated player for your
|
||||
# application. This method is only accessible to whitelisted tester accounts for
|
||||
# your application.
|
||||
# application. This method is only accessible to whitelisted tester accounts
|
||||
# for your application.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# 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
|
||||
#
|
||||
|
@ -108,25 +101,22 @@ 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 reset_achievement_all(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'achievements/reset', options)
|
||||
def reset_achievement_all(fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'games/v1management/achievements/reset', options)
|
||||
command.response_representation = Google::Apis::GamesManagementV1management::AchievementResetAllResponse::Representation
|
||||
command.response_class = Google::Apis::GamesManagementV1management::AchievementResetAllResponse
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Resets all draft achievements for all players. This method is only available
|
||||
# to user accounts for your developer console.
|
||||
# Resets all draft achievements for all players. This method is only
|
||||
# available to user accounts for your developer console.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# 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
|
||||
#
|
||||
|
@ -139,26 +129,23 @@ 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 reset_achievement_all_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'achievements/resetAllForAllPlayers', options)
|
||||
def reset_achievement_all_for_all_players(fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'games/v1management/achievements/resetAllForAllPlayers', options)
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Resets the achievement with the given ID for all players. This method is only
|
||||
# available to user accounts for your developer console. Only draft achievements
|
||||
# can be reset.
|
||||
# Resets the achievement with the given ID for all players. This method is
|
||||
# only available to user accounts for your developer console. Only draft
|
||||
# achievements can be reset.
|
||||
# @param [String] achievement_id
|
||||
# The ID of the achievement used by this method.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# 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
|
||||
#
|
||||
|
@ -171,26 +158,23 @@ 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 reset_achievement_for_all_players(achievement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'achievements/{achievementId}/resetForAllPlayers', options)
|
||||
def reset_achievement_for_all_players(achievement_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'games/v1management/achievements/{achievementId}/resetForAllPlayers', options)
|
||||
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Resets achievements with the given IDs for all players. This method is only
|
||||
# available to user accounts for your developer console. Only draft achievements
|
||||
# may be reset.
|
||||
# available to user accounts for your developer console. Only draft
|
||||
# achievements may be reset.
|
||||
# @param [Google::Apis::GamesManagementV1management::AchievementResetMultipleForAllRequest] achievement_reset_multiple_for_all_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# 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
|
||||
#
|
||||
|
@ -203,33 +187,30 @@ 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 reset_achievement_multiple_for_all_players(achievement_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'achievements/resetMultipleForAllPlayers', options)
|
||||
def reset_achievement_multiple_for_all_players(achievement_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'games/v1management/achievements/resetMultipleForAllPlayers', options)
|
||||
command.request_representation = Google::Apis::GamesManagementV1management::AchievementResetMultipleForAllRequest::Representation
|
||||
command.request_object = achievement_reset_multiple_for_all_request_object
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Get the list of players hidden from the given application. This method is only
|
||||
# available to user accounts for your developer console.
|
||||
# Get the list of players hidden from the given application. This method is
|
||||
# only available to user accounts for your developer console.
|
||||
# @param [String] application_id
|
||||
# The application ID from the Google Play developer console.
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of player resources to return in the response, used for
|
||||
# paging. For any response, the actual number of player resources returned may
|
||||
# be less than the specified maxResults.
|
||||
# paging. For any response, the actual number of player resources returned
|
||||
# may be less than the specified `maxResults`.
|
||||
# @param [String] page_token
|
||||
# The token returned by the previous request.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# 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
|
||||
#
|
||||
|
@ -242,8 +223,8 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_application_hidden(application_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'applications/{applicationId}/players/hidden', options)
|
||||
def list_application_hidden(application_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'games/v1management/applications/{applicationId}/players/hidden', options)
|
||||
command.response_representation = Google::Apis::GamesManagementV1management::HiddenPlayerList::Representation
|
||||
command.response_class = Google::Apis::GamesManagementV1management::HiddenPlayerList
|
||||
command.params['applicationId'] = application_id unless application_id.nil?
|
||||
|
@ -251,7 +232,6 @@ module Google
|
|||
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?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
|
@ -263,10 +243,8 @@ module Google
|
|||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# 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
|
||||
#
|
||||
|
@ -279,25 +257,22 @@ 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 reset_event(event_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'events/{eventId}/reset', options)
|
||||
def reset_event(event_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'games/v1management/events/{eventId}/reset', options)
|
||||
command.params['eventId'] = event_id unless event_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Resets all player progress on all events for the currently authenticated
|
||||
# player. This method is only accessible to whitelisted tester accounts for your
|
||||
# application.
|
||||
# player. This method is only accessible to whitelisted tester accounts for
|
||||
# your application.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# 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
|
||||
#
|
||||
|
@ -310,23 +285,20 @@ 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 reset_event_all(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'events/reset', options)
|
||||
def reset_event_all(fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'games/v1management/events/reset', options)
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Resets all draft events for all players. This method is only available to user
|
||||
# accounts for your developer console.
|
||||
# Resets all draft events for all players. This method is only available to
|
||||
# user accounts for your developer console.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# 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
|
||||
#
|
||||
|
@ -339,26 +311,23 @@ 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 reset_event_all_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'events/resetAllForAllPlayers', options)
|
||||
def reset_event_all_for_all_players(fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'games/v1management/events/resetAllForAllPlayers', options)
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Resets the event with the given ID for all players. This method is only
|
||||
# available to user accounts for your developer console. Only draft events can
|
||||
# be reset.
|
||||
# available to user accounts for your developer console. Only draft events
|
||||
# can be reset.
|
||||
# @param [String] event_id
|
||||
# The ID of the event.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# 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
|
||||
#
|
||||
|
@ -371,26 +340,23 @@ 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 reset_event_for_all_players(event_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'events/{eventId}/resetForAllPlayers', options)
|
||||
def reset_event_for_all_players(event_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'games/v1management/events/{eventId}/resetForAllPlayers', options)
|
||||
command.params['eventId'] = event_id unless event_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Resets events with the given IDs for all players. This method is only
|
||||
# available to user accounts for your developer console. Only draft events may
|
||||
# be reset.
|
||||
# available to user accounts for your developer console. Only draft events
|
||||
# may be reset.
|
||||
# @param [Google::Apis::GamesManagementV1management::EventsResetMultipleForAllRequest] events_reset_multiple_for_all_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# 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
|
||||
#
|
||||
|
@ -403,13 +369,12 @@ 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 reset_event_multiple_for_all_players(events_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'events/resetMultipleForAllPlayers', options)
|
||||
def reset_event_multiple_for_all_players(events_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'games/v1management/events/resetMultipleForAllPlayers', options)
|
||||
command.request_representation = Google::Apis::GamesManagementV1management::EventsResetMultipleForAllRequest::Representation
|
||||
command.request_object = events_reset_multiple_for_all_request_object
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
|
@ -418,15 +383,13 @@ module Google
|
|||
# @param [String] application_id
|
||||
# The application ID from the Google Play developer console.
|
||||
# @param [String] player_id
|
||||
# A player ID. A value of me may be used in place of the authenticated player's
|
||||
# ID.
|
||||
# A player ID. A value of `me` may be used in place of the
|
||||
# authenticated player's ID.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# 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
|
||||
#
|
||||
|
@ -439,30 +402,27 @@ 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 hide_player(application_id, player_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'applications/{applicationId}/players/hidden/{playerId}', options)
|
||||
def hide_player(application_id, player_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'games/v1management/applications/{applicationId}/players/hidden/{playerId}', options)
|
||||
command.params['applicationId'] = application_id unless application_id.nil?
|
||||
command.params['playerId'] = player_id unless player_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Unhide the given player's leaderboard scores from the given application. This
|
||||
# method is only available to user accounts for your developer console.
|
||||
# Unhide the given player's leaderboard scores from the given application.
|
||||
# This method is only available to user accounts for your developer console.
|
||||
# @param [String] application_id
|
||||
# The application ID from the Google Play developer console.
|
||||
# @param [String] player_id
|
||||
# A player ID. A value of me may be used in place of the authenticated player's
|
||||
# ID.
|
||||
# A player ID. A value of `me` may be used in place of the
|
||||
# authenticated player's ID.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# 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
|
||||
#
|
||||
|
@ -475,73 +435,12 @@ 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 unhide_player(application_id, player_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'applications/{applicationId}/players/hidden/{playerId}', options)
|
||||
def unhide_player(application_id, player_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'games/v1management/applications/{applicationId}/players/hidden/{playerId}', options)
|
||||
command.params['applicationId'] = application_id unless application_id.nil?
|
||||
command.params['playerId'] = player_id unless player_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Reset all rooms for the currently authenticated player for your application.
|
||||
# This method is only accessible to whitelisted tester accounts for your
|
||||
# application.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [NilClass] No result returned for this method
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [void]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def reset_room(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'rooms/reset', options)
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes rooms where the only room participants are from whitelisted tester
|
||||
# accounts for your application. This method is only available to user accounts
|
||||
# for your developer console.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [NilClass] No result returned for this method
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [void]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def reset_room_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'rooms/resetForAllPlayers', options)
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
|
@ -553,10 +452,8 @@ module Google
|
|||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# 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
|
||||
#
|
||||
|
@ -569,27 +466,24 @@ 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 reset_score(leaderboard_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'leaderboards/{leaderboardId}/scores/reset', options)
|
||||
def reset_score(leaderboard_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'games/v1management/leaderboards/{leaderboardId}/scores/reset', options)
|
||||
command.response_representation = Google::Apis::GamesManagementV1management::PlayerScoreResetResponse::Representation
|
||||
command.response_class = Google::Apis::GamesManagementV1management::PlayerScoreResetResponse
|
||||
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Resets all scores for all leaderboards for the currently authenticated players.
|
||||
# This method is only accessible to whitelisted tester accounts for your
|
||||
# application.
|
||||
# Resets all scores for all leaderboards for the currently authenticated
|
||||
# players. This method is only accessible to whitelisted tester accounts for
|
||||
# your application.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# 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
|
||||
#
|
||||
|
@ -602,25 +496,22 @@ 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 reset_score_all(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'scores/reset', options)
|
||||
def reset_score_all(fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'games/v1management/scores/reset', options)
|
||||
command.response_representation = Google::Apis::GamesManagementV1management::PlayerScoreResetAllResponse::Representation
|
||||
command.response_class = Google::Apis::GamesManagementV1management::PlayerScoreResetAllResponse
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Resets scores for all draft leaderboards for all players. This method is only
|
||||
# available to user accounts for your developer console.
|
||||
# Resets scores for all draft leaderboards for all players. This method is
|
||||
# only available to user accounts for your developer console.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# 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
|
||||
#
|
||||
|
@ -633,11 +524,10 @@ 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 reset_score_all_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'scores/resetAllForAllPlayers', options)
|
||||
def reset_score_all_for_all_players(fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'games/v1management/scores/resetAllForAllPlayers', options)
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
|
@ -649,10 +539,8 @@ module Google
|
|||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# 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
|
||||
#
|
||||
|
@ -665,12 +553,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 reset_score_for_all_players(leaderboard_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'leaderboards/{leaderboardId}/scores/resetForAllPlayers', options)
|
||||
def reset_score_for_all_players(leaderboard_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'games/v1management/leaderboards/{leaderboardId}/scores/resetForAllPlayers', options)
|
||||
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
|
@ -681,10 +568,8 @@ module Google
|
|||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# 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
|
||||
#
|
||||
|
@ -697,72 +582,12 @@ 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 reset_score_multiple_for_all_players(scores_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'scores/resetMultipleForAllPlayers', options)
|
||||
def reset_score_multiple_for_all_players(scores_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'games/v1management/scores/resetMultipleForAllPlayers', options)
|
||||
command.request_representation = Google::Apis::GamesManagementV1management::ScoresResetMultipleForAllRequest::Representation
|
||||
command.request_object = scores_reset_multiple_for_all_request_object
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Reset all turn-based match data for a user. This method is only accessible to
|
||||
# whitelisted tester accounts for your application.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [NilClass] No result returned for this method
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [void]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def reset_turn_based_match(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'turnbasedmatches/reset', options)
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes turn-based matches where the only match participants are from
|
||||
# whitelisted tester accounts for your application. This method is only
|
||||
# available to user accounts for your developer console.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [NilClass] No result returned for this method
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [void]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def reset_turn_based_match_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'turnbasedmatches/resetForAllPlayers', options)
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
|
@ -771,7 +596,6 @@ module Google
|
|||
def apply_command_defaults(command)
|
||||
command.query['key'] = key unless key.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/solutions/gaming/
|
||||
module GameservicesV1beta
|
||||
VERSION = 'V1beta'
|
||||
REVISION = '20200423'
|
||||
REVISION = '20200507'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -431,7 +431,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The Game Server Cluster changes made by the Game Server Deployment.
|
||||
# The game server cluster changes made by the game server deployment.
|
||||
class DeployedClusterState
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -441,7 +441,7 @@ module Google
|
|||
attr_accessor :cluster
|
||||
|
||||
# The details about the Agones fleets and autoscalers created in the
|
||||
# Game Server Cluster.
|
||||
# game server cluster.
|
||||
# Corresponds to the JSON property `fleetDetails`
|
||||
# @return [Array<Google::Apis::GameservicesV1beta::DeployedFleetDetails>]
|
||||
attr_accessor :fleet_details
|
||||
|
@ -690,12 +690,12 @@ module Google
|
|||
class FetchDeploymentStateResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The state of the Game Server Deployment in each Game Server Cluster.
|
||||
# The state of the game server deployment in each game server cluster.
|
||||
# Corresponds to the JSON property `clusterState`
|
||||
# @return [Array<Google::Apis::GameservicesV1beta::DeployedClusterState>]
|
||||
attr_accessor :cluster_state
|
||||
|
||||
# List of Locations that could not be reached.
|
||||
# List of locations that could not be reached.
|
||||
# Corresponds to the JSON property `unavailable`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :unavailable
|
||||
|
@ -737,11 +737,11 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A Game Server Cluster resource.
|
||||
# A game server cluster resource.
|
||||
class GameServerCluster
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The Game Server Cluster connection information.
|
||||
# The game server cluster connection information.
|
||||
# Corresponds to the JSON property `connectionInfo`
|
||||
# @return [Google::Apis::GameservicesV1beta::GameServerClusterConnectionInfo]
|
||||
attr_accessor :connection_info
|
||||
|
@ -761,13 +761,13 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
# The labels associated with this Game Server Cluster. Each label is a
|
||||
# The labels associated with this game server cluster. Each label is a
|
||||
# key-value pair.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# Required. The resource name of the Game Server Cluster. Uses the form:
|
||||
# Required. The resource name of the game server cluster. Uses the form:
|
||||
# `projects/`project`/locations/`location`/realms/`realm`/gameServerClusters/`
|
||||
# cluster``.
|
||||
# For example,
|
||||
|
@ -798,7 +798,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The Game Server Cluster connection information.
|
||||
# The game server cluster connection information.
|
||||
class GameServerClusterConnectionInfo
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -807,7 +807,7 @@ module Google
|
|||
# @return [Google::Apis::GameservicesV1beta::GkeClusterReference]
|
||||
attr_accessor :gke_cluster_reference
|
||||
|
||||
# Namespace designated on the Game Server Cluster where the Agones game
|
||||
# Namespace designated on the game server cluster where the Agones game
|
||||
# server instances will be created. Existence of the namespace will be
|
||||
# validated during creation.
|
||||
# Corresponds to the JSON property `namespace`
|
||||
|
@ -825,7 +825,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A Game Server Config resource.
|
||||
# A game server config resource.
|
||||
class GameServerConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -834,7 +834,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# The description of the Game Server Config.
|
||||
# The description of the game server config.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
@ -845,13 +845,13 @@ module Google
|
|||
# @return [Array<Google::Apis::GameservicesV1beta::FleetConfig>]
|
||||
attr_accessor :fleet_configs
|
||||
|
||||
# The labels associated with this Game Server Config. Each label is a
|
||||
# The labels associated with this game server config. Each label is a
|
||||
# key-value pair.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# The resource name of the Game Server Config. Uses the form:
|
||||
# The resource name of the game server config. Uses the form:
|
||||
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
|
||||
# configs/`config``.
|
||||
# For example,
|
||||
|
@ -887,7 +887,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A Game Server Config override.
|
||||
# A game server config override.
|
||||
class GameServerConfigOverride
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -896,7 +896,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :config_version
|
||||
|
||||
# The Realm selector, used to match Realm resources.
|
||||
# The realm selector, used to match realm resources.
|
||||
# Corresponds to the JSON property `realmsSelector`
|
||||
# @return [Google::Apis::GameservicesV1beta::RealmSelector]
|
||||
attr_accessor :realms_selector
|
||||
|
@ -912,7 +912,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A Game Server Deployment resource.
|
||||
# A game server deployment resource.
|
||||
class GameServerDeployment
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -921,7 +921,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# Human readable description of the Game Server Deployment.
|
||||
# Human readable description of the game server delpoyment.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
@ -931,13 +931,13 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
# The labels associated with this Game Server Deployment. Each label is a
|
||||
# The labels associated with this game server deployment. Each label is a
|
||||
# key-value pair.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# The resource name of the Game Server Deployment. Uses the form:
|
||||
# The resource name of the game server deployment. Uses the form:
|
||||
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment``.
|
||||
# For example,
|
||||
# `projects/my-project/locations/`location`/gameServerDeployments/my-deployment`.
|
||||
|
@ -965,7 +965,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The Game Server Deployment Rollout which represents the desired rollout
|
||||
# The game server deployment rollout which represents the desired rollout
|
||||
# state.
|
||||
class GameServerDeploymentRollout
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -975,8 +975,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# The default Game Server Config is applied to all Realms unless overridden
|
||||
# in the Rollout. For example,
|
||||
# The default game server config is applied to all realms unless overridden
|
||||
# in the rollout. For example,
|
||||
# `projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-
|
||||
# config`.
|
||||
# Corresponds to the JSON property `defaultGameServerConfig`
|
||||
|
@ -988,14 +988,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
# Contains the Game Server Config Rollout overrides. Overrides are processed
|
||||
# in the order they are listed. Once a match is found for a Realm, the rest
|
||||
# Contains the game server config rollout overrides. Overrides are processed
|
||||
# in the order they are listed. Once a match is found for a realm, the rest
|
||||
# of the list is not processed.
|
||||
# Corresponds to the JSON property `gameServerConfigOverrides`
|
||||
# @return [Array<Google::Apis::GameservicesV1beta::GameServerConfigOverride>]
|
||||
attr_accessor :game_server_config_overrides
|
||||
|
||||
# The resource name of the Game Server Deployment Rollout. Uses the form:
|
||||
# The resource name of the game server deployment rollout. Uses the form:
|
||||
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
|
||||
# rollout`.
|
||||
# For example,
|
||||
|
@ -1074,7 +1074,7 @@ module Google
|
|||
class ListGameServerClustersResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The list of Game Server Clusters.
|
||||
# The list of game server clusters.
|
||||
# Corresponds to the JSON property `gameServerClusters`
|
||||
# @return [Array<Google::Apis::GameservicesV1beta::GameServerCluster>]
|
||||
attr_accessor :game_server_clusters
|
||||
|
@ -1085,7 +1085,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# List of Locations that could not be reached.
|
||||
# List of locations that could not be reached.
|
||||
# Corresponds to the JSON property `unreachable`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :unreachable
|
||||
|
@ -1106,7 +1106,7 @@ module Google
|
|||
class ListGameServerConfigsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The list of Game Server Configs.
|
||||
# The list of game server configs.
|
||||
# Corresponds to the JSON property `gameServerConfigs`
|
||||
# @return [Array<Google::Apis::GameservicesV1beta::GameServerConfig>]
|
||||
attr_accessor :game_server_configs
|
||||
|
@ -1117,7 +1117,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# List of Locations that could not be reached.
|
||||
# List of locations that could not be reached.
|
||||
# Corresponds to the JSON property `unreachable`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :unreachable
|
||||
|
@ -1138,7 +1138,7 @@ module Google
|
|||
class ListGameServerDeploymentsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The list of Game Server Delpoyments.
|
||||
# The list of game server deployments.
|
||||
# Corresponds to the JSON property `gameServerDeployments`
|
||||
# @return [Array<Google::Apis::GameservicesV1beta::GameServerDeployment>]
|
||||
attr_accessor :game_server_deployments
|
||||
|
@ -1149,7 +1149,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# List of Locations that could not be reached.
|
||||
# List of locations that could not be reached.
|
||||
# Corresponds to the JSON property `unreachable`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :unreachable
|
||||
|
@ -1226,12 +1226,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# The list of Realms.
|
||||
# The list of realms.
|
||||
# Corresponds to the JSON property `realms`
|
||||
# @return [Array<Google::Apis::GameservicesV1beta::Realm>]
|
||||
attr_accessor :realms
|
||||
|
||||
# List of Locations that could not be reached.
|
||||
# List of locations that could not be reached.
|
||||
# Corresponds to the JSON property `unreachable`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :unreachable
|
||||
|
@ -1425,7 +1425,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :end_time
|
||||
|
||||
# Output only. Operation status for gameservices API operations. Operation
|
||||
# Output only. Operation status for Game Services API operations. Operation
|
||||
# status is in
|
||||
# the form of key-value pairs where keys are resource IDs and the values show
|
||||
# the status of the operation. In case of failures, the value includes an
|
||||
|
@ -1520,10 +1520,13 @@ module Google
|
|||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||
# custom role.
|
||||
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||
# expression that allows access to a resource only if the expression evaluates
|
||||
# to `true`. A condition can add constraints based on attributes of the
|
||||
# request, the resource, or both.
|
||||
# For some types of Google Cloud resources, a `binding` can also specify a
|
||||
# `condition`, which is a logical expression that allows access to a resource
|
||||
# only if the expression evaluates to `true`. A condition can add constraints
|
||||
# based on attributes of the request, the resource, or both. To learn which
|
||||
# resources support conditions in their IAM policies, see the
|
||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
||||
# policies).
|
||||
# **JSON example:**
|
||||
# `
|
||||
# "bindings": [
|
||||
|
@ -1538,7 +1541,9 @@ module Google
|
|||
# `,
|
||||
# `
|
||||
# "role": "roles/resourcemanager.organizationViewer",
|
||||
# "members": ["user:eve@example.com"],
|
||||
# "members": [
|
||||
# "user:eve@example.com"
|
||||
# ],
|
||||
# "condition": `
|
||||
# "title": "expirable access",
|
||||
# "description": "Does not grant access after Sep 2020",
|
||||
|
@ -1635,6 +1640,9 @@ module Google
|
|||
# the conditions in the version `3` policy are lost.
|
||||
# If a policy does not include any conditions, operations on that policy may
|
||||
# specify any valid version or leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the
|
||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
||||
# policies).
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
@ -1711,7 +1719,7 @@ module Google
|
|||
class PreviewGameServerDeploymentRolloutResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# ETag of the Game Server Deployment.
|
||||
# ETag of the game server deployment.
|
||||
# Corresponds to the JSON property `etag`
|
||||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
@ -1788,7 +1796,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A Realm resource.
|
||||
# A realm resource.
|
||||
class Realm
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -1797,7 +1805,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# Human readable description of the Realm.
|
||||
# Human readable description of the realm.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
@ -1807,19 +1815,19 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
# The labels associated with this Realm. Each label is a key-value pair.
|
||||
# The labels associated with this realm. Each label is a key-value pair.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# The resource name of the Realm. Uses the form:
|
||||
# The resource name of the realm. Uses the form:
|
||||
# `projects/`project`/locations/`location`/realms/`realm``. For
|
||||
# example, `projects/my-project/locations/`location`/realms/my-realm`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Required. Time zone where all policies targeting this Realm are evaluated. The
|
||||
# Required. Time zone where all policies targeting this realm are evaluated. The
|
||||
# value
|
||||
# of this field must be from the IANA time zone database:
|
||||
# https://www.iana.org/time-zones.
|
||||
|
@ -1848,11 +1856,11 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The Realm selector, used to match Realm resources.
|
||||
# The realm selector, used to match realm resources.
|
||||
class RealmSelector
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# List of Realms to match.
|
||||
# List of realms to match.
|
||||
# Corresponds to the JSON property `realms`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :realms
|
||||
|
@ -1950,8 +1958,8 @@ module Google
|
|||
# @return [Array<Google::Apis::GameservicesV1beta::Schedule>]
|
||||
attr_accessor :schedules
|
||||
|
||||
# Labels used to identify the Game Server Clusters to which this Agones
|
||||
# scaling config applies. A Game Server Cluster is subject to this Agones
|
||||
# Labels used to identify the game server clusters to which this Agones
|
||||
# scaling config applies. A game server cluster is subject to this Agones
|
||||
# scaling config if its labels match any of the selector entries.
|
||||
# Corresponds to the JSON property `selectors`
|
||||
# @return [Array<Google::Apis::GameservicesV1beta::LabelSelector>]
|
||||
|
@ -1988,7 +1996,7 @@ module Google
|
|||
|
||||
# The cron definition of the scheduled event. See
|
||||
# https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as
|
||||
# defined by the Realm.
|
||||
# defined by the realm.
|
||||
# Corresponds to the JSON property `cronSpec`
|
||||
# @return [String]
|
||||
attr_accessor :cron_spec
|
||||
|
@ -2027,10 +2035,13 @@ module Google
|
|||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||
# custom role.
|
||||
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||
# expression that allows access to a resource only if the expression evaluates
|
||||
# to `true`. A condition can add constraints based on attributes of the
|
||||
# request, the resource, or both.
|
||||
# For some types of Google Cloud resources, a `binding` can also specify a
|
||||
# `condition`, which is a logical expression that allows access to a resource
|
||||
# only if the expression evaluates to `true`. A condition can add constraints
|
||||
# based on attributes of the request, the resource, or both. To learn which
|
||||
# resources support conditions in their IAM policies, see the
|
||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
||||
# policies).
|
||||
# **JSON example:**
|
||||
# `
|
||||
# "bindings": [
|
||||
|
@ -2045,7 +2056,9 @@ module Google
|
|||
# `,
|
||||
# `
|
||||
# "role": "roles/resourcemanager.organizationViewer",
|
||||
# "members": ["user:eve@example.com"],
|
||||
# "members": [
|
||||
# "user:eve@example.com"
|
||||
# ],
|
||||
# "condition": `
|
||||
# "title": "expirable access",
|
||||
# "description": "Does not grant access after Sep 2020",
|
||||
|
@ -2103,7 +2116,7 @@ module Google
|
|||
class SpecSource
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The Game Server Config resource. Uses the form:
|
||||
# The game server config resource. Uses the form:
|
||||
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment_id`/
|
||||
# configs/`config_id``.
|
||||
# Corresponds to the JSON property `gameServerConfigName`
|
||||
|
@ -2170,19 +2183,19 @@ module Google
|
|||
class TargetDetails
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Agones fleet details for Game Server Clusters and Game Server Deployments.
|
||||
# Agones fleet details for game server clusters and game server deployments.
|
||||
# Corresponds to the JSON property `fleetDetails`
|
||||
# @return [Array<Google::Apis::GameservicesV1beta::TargetFleetDetails>]
|
||||
attr_accessor :fleet_details
|
||||
|
||||
# The Game Server Cluster name. Uses the form:
|
||||
# The game server cluster name. Uses the form:
|
||||
# `projects/`project`/locations/`location`/realms/`realm`/gameServerClusters/`
|
||||
# cluster``.
|
||||
# Corresponds to the JSON property `gameServerClusterName`
|
||||
# @return [String]
|
||||
attr_accessor :game_server_cluster_name
|
||||
|
||||
# The Game Server Deployment name. Uses the form:
|
||||
# The game server deployment name. Uses the form:
|
||||
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment_id``
|
||||
# .
|
||||
# Corresponds to the JSON property `gameServerDeploymentName`
|
||||
|
|
|
@ -120,13 +120,13 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a new Game Server Deployment in a given project and Location.
|
||||
# Creates a new game server deployment in a given project and location.
|
||||
# @param [String] parent
|
||||
# Required. The parent resource name. Uses the form:
|
||||
# `projects/`project`/locations/`location``.
|
||||
# @param [Google::Apis::GameservicesV1beta::GameServerDeployment] game_server_deployment_object
|
||||
# @param [String] deployment_id
|
||||
# Required. The ID of the Game Server Deployment resource to be created.
|
||||
# Required. The ID of the game server delpoyment resource to be created.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -157,9 +157,9 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes a single Game Server Deployment.
|
||||
# Deletes a single game server deployment.
|
||||
# @param [String] name
|
||||
# Required. The name of the Game Server Deployment to delete. Uses the form:
|
||||
# Required. The name of the game server delpoyment to delete. Uses the form:
|
||||
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment``.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -188,11 +188,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves information about the current state of the Game Server
|
||||
# Ddeployment. Gathers all the Agones fleets and Agones autoscalers,
|
||||
# including fleets running an older version of the Game Server Deployment.
|
||||
# Retrieves information about the current state of the game server
|
||||
# deployment. Gathers all the Agones fleets and Agones autoscalers,
|
||||
# including fleets running an older version of the game server deployment.
|
||||
# @param [String] name
|
||||
# Required. The name of the Game Server Deployment. Uses the form:
|
||||
# Required. The name of the game server delpoyment. Uses the form:
|
||||
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment``.
|
||||
# @param [Google::Apis::GameservicesV1beta::FetchDeploymentStateRequest] fetch_deployment_state_request_object
|
||||
# @param [String] fields
|
||||
|
@ -224,9 +224,9 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets details of a single Game Server Deployment.
|
||||
# Gets details of a single game server deployment.
|
||||
# @param [String] name
|
||||
# Required. The name of the Game Server Deployment to retrieve. Uses the form:
|
||||
# Required. The name of the game server delpoyment to retrieve. Uses the form:
|
||||
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment``.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -268,6 +268,9 @@ module Google
|
|||
# Requests for policies with any conditional bindings must specify version 3.
|
||||
# Policies without any conditional bindings may specify any valid value or
|
||||
# leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the
|
||||
# [IAM
|
||||
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -296,9 +299,9 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets details a single Game Server Deployment Rollout.
|
||||
# Gets details a single game server deployment rollout.
|
||||
# @param [String] name
|
||||
# Required. The name of the Game Server Deployment to retrieve. Uses the form:
|
||||
# Required. The name of the game server delpoyment to retrieve. Uses the form:
|
||||
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
|
||||
# rollout`.
|
||||
# @param [String] fields
|
||||
|
@ -328,7 +331,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists Game Server Deployments in a given project and Location.
|
||||
# Lists game server deployments in a given project and location.
|
||||
# @param [String] parent
|
||||
# Required. The parent resource name. Uses the form:
|
||||
# `projects/`project`/locations/`location``.
|
||||
|
@ -338,8 +341,8 @@ module Google
|
|||
# Optional. Specifies the ordering of results following syntax at
|
||||
# https://cloud.google.com/apis/design/design_patterns#sorting_order.
|
||||
# @param [Fixnum] page_size
|
||||
# Optional. The maximum number of items to return. If unspecified, server
|
||||
# will pick an appropriate default. Server may return fewer items than
|
||||
# Optional. The maximum number of items to return. If unspecified, the server
|
||||
# will pick an appropriate default. The server may return fewer items than
|
||||
# requested. A caller should only rely on response's
|
||||
# next_page_token to
|
||||
# determine if there are more GameServerDeployments left to be queried.
|
||||
|
@ -377,9 +380,9 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Patches a Game Server Deployment.
|
||||
# Patches a game server deployment.
|
||||
# @param [String] name
|
||||
# The resource name of the Game Server Deployment. Uses the form:
|
||||
# The resource name of the game server deployment. Uses the form:
|
||||
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment``.
|
||||
# For example,
|
||||
# `projects/my-project/locations/`location`/gameServerDeployments/my-deployment`.
|
||||
|
@ -420,10 +423,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Previews the Game Server Deployment Rollout. This API does not mutate the
|
||||
# Rollout resource.
|
||||
# Previews the game server deployment rollout. This API does not mutate the
|
||||
# rollout resource.
|
||||
# @param [String] name
|
||||
# The resource name of the Game Server Deployment Rollout. Uses the form:
|
||||
# The resource name of the game server deployment rollout. Uses the form:
|
||||
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
|
||||
# rollout`.
|
||||
# For example,
|
||||
|
@ -433,7 +436,7 @@ module Google
|
|||
# @param [String] preview_time
|
||||
# Optional. The target timestamp to compute the preview. Defaults to the
|
||||
# immediately
|
||||
# after the proposed Rollout completes.
|
||||
# after the proposed rollout completes.
|
||||
# @param [String] update_mask
|
||||
# Optional. Mask of fields to update. At least one path must be supplied in
|
||||
# this field. For the `FieldMask` definition, see
|
||||
|
@ -546,14 +549,14 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Patches a single Game Server Deployment Rollout.
|
||||
# Patches a single game server deployment rollout.
|
||||
# The method will not return an error if the update does not affect any
|
||||
# existing realms. For example - if the default_game_server_config is changed
|
||||
# but all existing realms use the override, that is valid. Similarly, if a
|
||||
# non existing realm is explicitly called out in game_server_config_overrides
|
||||
# field, that will also not result in an error.
|
||||
# @param [String] name
|
||||
# The resource name of the Game Server Deployment Rollout. Uses the form:
|
||||
# The resource name of the game server deployment rollout. Uses the form:
|
||||
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
|
||||
# rollout`.
|
||||
# For example,
|
||||
|
@ -596,15 +599,15 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a new Game Server Config in a given project, Location, and Game
|
||||
# Server Deployment. Game Server Configs are immutable, and are not applied
|
||||
# until referenced in the Game Server Deployment Rollout resource.
|
||||
# Creates a new game server config in a given project, location, and game
|
||||
# server deployment. Game server configs are immutable, and are not applied
|
||||
# until referenced in the game server deployment rollout resource.
|
||||
# @param [String] parent
|
||||
# Required. The parent resource name. Uses the form:
|
||||
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/`.
|
||||
# @param [Google::Apis::GameservicesV1beta::GameServerConfig] game_server_config_object
|
||||
# @param [String] config_id
|
||||
# Required. The ID of the Game Server Config resource to be created.
|
||||
# Required. The ID of the game server config resource to be created.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -635,10 +638,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes a single Game Server Config. The deletion will fail if the Game
|
||||
# Server Config is referenced in a Game Server Deployment Rollout.
|
||||
# Deletes a single game server config. The deletion will fail if the game
|
||||
# server config is referenced in a game server deployment rollout.
|
||||
# @param [String] name
|
||||
# Required. The name of the Game Server Config to delete. Uses the form:
|
||||
# Required. The name of the game server config to delete. Uses the form:
|
||||
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
|
||||
# configs/`config``.
|
||||
# @param [String] fields
|
||||
|
@ -668,9 +671,9 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets details of a single Game Server Config.
|
||||
# Gets details of a single game server config.
|
||||
# @param [String] name
|
||||
# Required. The name of the Game Server Config to retrieve. Uses the form:
|
||||
# Required. The name of the game server config to retrieve. Uses the form:
|
||||
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
|
||||
# configs/`config``.
|
||||
# @param [String] fields
|
||||
|
@ -700,8 +703,8 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists Game Server Configs in a given project, Location, and Game Server
|
||||
# Deployment.
|
||||
# Lists game server configs in a given project, location, and game server
|
||||
# deployment.
|
||||
# @param [String] parent
|
||||
# Required. The parent resource name. Uses the form:
|
||||
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
|
||||
|
@ -718,7 +721,7 @@ module Google
|
|||
# next_page_token to
|
||||
# determine if there are more GameServerConfigs left to be queried.
|
||||
# @param [String] page_token
|
||||
# Optional. The next_page_token value returned from a previous List request, if
|
||||
# Optional. 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.
|
||||
|
@ -905,13 +908,13 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a new Realm in a given project and Location.
|
||||
# Creates a new realm in a given project and location.
|
||||
# @param [String] parent
|
||||
# Required. The parent resource name. Uses the form:
|
||||
# `projects/`project`/locations/`location``.
|
||||
# @param [Google::Apis::GameservicesV1beta::Realm] realm_object
|
||||
# @param [String] realm_id
|
||||
# Required. The ID of the Realm resource to be created.
|
||||
# Required. The ID of the realm resource to be created.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -942,9 +945,9 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes a single Realm.
|
||||
# Deletes a single realm.
|
||||
# @param [String] name
|
||||
# Required. The name of the Realm to delete. Uses the form:
|
||||
# Required. The name of the realm to delete. Uses the form:
|
||||
# `projects/`project`/locations/`location`/realms/`realm``.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -973,9 +976,9 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets details of a single Realm.
|
||||
# Gets details of a single realm.
|
||||
# @param [String] name
|
||||
# Required. The name of the Realm to retrieve. Uses the form:
|
||||
# Required. The name of the realm to retrieve. Uses the form:
|
||||
# `projects/`project`/locations/`location`/realms/`realm``.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -1004,7 +1007,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists Realms in a given project and Location.
|
||||
# Lists realms in a given project and location.
|
||||
# @param [String] parent
|
||||
# Required. The parent resource name. Uses the form:
|
||||
# `projects/`project`/locations/`location``.
|
||||
|
@ -1018,7 +1021,7 @@ module Google
|
|||
# will pick an appropriate default. Server may return fewer items than
|
||||
# requested. A caller should only rely on response's
|
||||
# next_page_token to
|
||||
# determine if there are more Realms left to be queried.
|
||||
# determine if there are more realms left to be queried.
|
||||
# @param [String] page_token
|
||||
# Optional. The next_page_token value returned from a previous List request,
|
||||
# if any.
|
||||
|
@ -1053,9 +1056,9 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Patches a single Realm.
|
||||
# Patches a single realm.
|
||||
# @param [String] name
|
||||
# The resource name of the Realm. Uses the form:
|
||||
# The resource name of the realm. Uses the form:
|
||||
# `projects/`project`/locations/`location`/realms/`realm``. For
|
||||
# example, `projects/my-project/locations/`location`/realms/my-realm`.
|
||||
# @param [Google::Apis::GameservicesV1beta::Realm] realm_object
|
||||
|
@ -1095,9 +1098,9 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Previews patches to a single Realm.
|
||||
# Previews patches to a single realm.
|
||||
# @param [String] name
|
||||
# The resource name of the Realm. Uses the form:
|
||||
# The resource name of the realm. Uses the form:
|
||||
# `projects/`project`/locations/`location`/realms/`realm``. For
|
||||
# example, `projects/my-project/locations/`location`/realms/my-realm`.
|
||||
# @param [Google::Apis::GameservicesV1beta::Realm] realm_object
|
||||
|
@ -1146,7 +1149,7 @@ module Google
|
|||
# `projects/`project`/locations/`location`/realms/`realm-id``.
|
||||
# @param [Google::Apis::GameservicesV1beta::GameServerCluster] game_server_cluster_object
|
||||
# @param [String] game_server_cluster_id
|
||||
# Required. The ID of the Game Server Cluster resource to be created.
|
||||
# Required. The ID of the game server cluster resource to be created.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1179,7 +1182,7 @@ module Google
|
|||
|
||||
# Deletes a single game server cluster.
|
||||
# @param [String] name
|
||||
# Required. The name of the Game Server Cluster to delete. Uses the form:
|
||||
# Required. The name of the game server cluster to delete. Uses the form:
|
||||
# `projects/`project`/locations/`location`/gameServerClusters/`cluster``.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -1210,7 +1213,7 @@ module Google
|
|||
|
||||
# Gets details of a single game server cluster.
|
||||
# @param [String] name
|
||||
# Required. The name of the Game Server Cluster to retrieve. Uses the form:
|
||||
# Required. The name of the game server cluster to retrieve. Uses the form:
|
||||
# `projects/`project`/locations/`location`/realms/`realm-id`/gameServerClusters/`
|
||||
# cluster``.
|
||||
# @param [String] fields
|
||||
|
@ -1240,7 +1243,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists Game Server Clusters in a given project and location.
|
||||
# Lists game server clusters in a given project and location.
|
||||
# @param [String] parent
|
||||
# Required. The parent resource name. Uses the form:
|
||||
# "projects/`project`/locations/`location`/realms/`realm`".
|
||||
|
@ -1250,8 +1253,8 @@ module Google
|
|||
# Optional. Specifies the ordering of results following syntax at
|
||||
# https://cloud.google.com/apis/design/design_patterns#sorting_order.
|
||||
# @param [Fixnum] page_size
|
||||
# Optional. The maximum number of items to return. If unspecified, server
|
||||
# will pick an appropriate default. Server may return fewer items than
|
||||
# Optional. The maximum number of items to return. If unspecified, the server
|
||||
# will pick an appropriate default. The server may return fewer items than
|
||||
# requested. A caller should only rely on response's
|
||||
# next_page_token to
|
||||
# determine if there are more GameServerClusters left to be queried.
|
||||
|
@ -1291,7 +1294,7 @@ module Google
|
|||
|
||||
# Patches a single game server cluster.
|
||||
# @param [String] name
|
||||
# Required. The resource name of the Game Server Cluster. Uses the form:
|
||||
# Required. The resource name of the game server cluster. Uses the form:
|
||||
# `projects/`project`/locations/`location`/realms/`realm`/gameServerClusters/`
|
||||
# cluster``.
|
||||
# For example,
|
||||
|
@ -1341,7 +1344,7 @@ module Google
|
|||
# `projects/`project`/locations/`location`/realms/`realm``.
|
||||
# @param [Google::Apis::GameservicesV1beta::GameServerCluster] game_server_cluster_object
|
||||
# @param [String] game_server_cluster_id
|
||||
# Required. The ID of the Game Server Cluster resource to be created.
|
||||
# Required. The ID of the game server cluster resource to be created.
|
||||
# @param [String] preview_time
|
||||
# Optional. The target timestamp to compute the preview.
|
||||
# @param [String] fields
|
||||
|
@ -1377,7 +1380,7 @@ module Google
|
|||
|
||||
# Previews deletion of a single game server cluster.
|
||||
# @param [String] name
|
||||
# Required. The name of the Game Server Cluster to delete. Uses the form:
|
||||
# Required. The name of the game server cluster to delete. Uses the form:
|
||||
# `projects/`project`/locations/`location`/gameServerClusters/`cluster``.
|
||||
# @param [String] preview_time
|
||||
# Optional. The target timestamp to compute the preview.
|
||||
|
@ -1411,7 +1414,7 @@ module Google
|
|||
|
||||
# Previews updating a GameServerCluster.
|
||||
# @param [String] name
|
||||
# Required. The resource name of the Game Server Cluster. Uses the form:
|
||||
# Required. The resource name of the game server cluster. Uses the form:
|
||||
# `projects/`project`/locations/`location`/realms/`realm`/gameServerClusters/`
|
||||
# cluster``.
|
||||
# For example,
|
||||
|
|
|
@ -20,13 +20,12 @@ module Google
|
|||
module Apis
|
||||
# Gmail API
|
||||
#
|
||||
# The Gmail API lets you view and manage Gmail mailbox data like
|
||||
# threads, messages, and labels.
|
||||
# Access Gmail mailboxes including sending user email.
|
||||
#
|
||||
# @see https://developers.google.com/gmail/api/
|
||||
module GmailV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200406'
|
||||
REVISION = '20200504'
|
||||
|
||||
# Read, compose, send, and permanently delete all your email from Gmail
|
||||
AUTH_SCOPE = 'https://mail.google.com/'
|
||||
|
|
|
@ -31,8 +31,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :disposition
|
||||
|
||||
# Email address to which all incoming messages are forwarded. This email
|
||||
# address must be a verified member of the forwarding addresses.
|
||||
# Email address to which all incoming messages are forwarded. This email address
|
||||
# must be a verified member of the forwarding addresses.
|
||||
# Corresponds to the JSON property `emailAddress`
|
||||
# @return [String]
|
||||
attr_accessor :email_address
|
||||
|
@ -83,8 +83,7 @@ module Google
|
|||
# @return [Array<String>]
|
||||
attr_accessor :add_label_ids
|
||||
|
||||
# The IDs of the messages to modify. There is a limit of 1000 ids per
|
||||
# request.
|
||||
# The IDs of the messages to modify. There is a limit of 1000 ids per request.
|
||||
# Corresponds to the JSON property `ids`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :ids
|
||||
|
@ -107,9 +106,8 @@ module Google
|
|||
end
|
||||
|
||||
# Settings for a delegate. Delegates can read, send, and delete messages, as
|
||||
# well as view and add contacts, for the delegator's account. See
|
||||
# <a href="https://support.google.com/mail/answer/138350">"Set up
|
||||
# mail delegation"</a> for more information about delegates.
|
||||
# well as view and add contacts, for the delegator's account. See "Set up mail
|
||||
# delegation" for more information about delegates.
|
||||
class Delegate
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -118,8 +116,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :delegate_email
|
||||
|
||||
# Indicates whether this address has been verified and can act as a delegate
|
||||
# for the account. Read-only.
|
||||
# Indicates whether this address has been verified and can act as a delegate for
|
||||
# the account. Read-only.
|
||||
# Corresponds to the JSON property `verificationStatus`
|
||||
# @return [String]
|
||||
attr_accessor :verification_status
|
||||
|
@ -244,18 +242,16 @@ module Google
|
|||
attr_accessor :has_attachment
|
||||
alias_method :has_attachment?, :has_attachment
|
||||
|
||||
# Only return messages not matching the specified query. Supports the same
|
||||
# query format as the Gmail search box. For example,
|
||||
# <code>"from:someuser@example.com rfc822msgid:<somemsgid@example.com>
|
||||
# is:unread"</code>.
|
||||
# Only return messages not matching the specified query. Supports the same query
|
||||
# format as the Gmail search box. For example, "from:someuser@example.com
|
||||
# rfc822msgid: is:unread".
|
||||
# Corresponds to the JSON property `negatedQuery`
|
||||
# @return [String]
|
||||
attr_accessor :negated_query
|
||||
|
||||
# Only return messages matching the specified query. Supports the same
|
||||
# query format as the Gmail search box. For example,
|
||||
# <code>"from:someuser@example.com rfc822msgid:<somemsgid@example.com>
|
||||
# is:unread"</code>.
|
||||
# Only return messages matching the specified query. Supports the same query
|
||||
# format as the Gmail search box. For example, "from:someuser@example.com
|
||||
# rfc822msgid: is:unread".
|
||||
# Corresponds to the JSON property `query`
|
||||
# @return [String]
|
||||
attr_accessor :query
|
||||
|
@ -271,16 +267,16 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :size_comparison
|
||||
|
||||
# Case-insensitive phrase found in the message's subject. Trailing and
|
||||
# leading whitespace are be trimmed and adjacent spaces are collapsed.
|
||||
# Case-insensitive phrase found in the message's subject. Trailing and leading
|
||||
# whitespace are be trimmed and adjacent spaces are collapsed.
|
||||
# Corresponds to the JSON property `subject`
|
||||
# @return [String]
|
||||
attr_accessor :subject
|
||||
|
||||
# The recipient's display name or email address. Includes recipients in the
|
||||
# "to", "cc", and "bcc" header fields. You can use simply the local part of
|
||||
# the email address. For example, "example" and "example@" both match
|
||||
# "example@gmail.com". This field is case-insensitive.
|
||||
# The recipient's display name or email address. Includes recipients in the "to",
|
||||
# "cc", and "bcc" header fields. You can use simply the local part of the email
|
||||
# address. For example, "example" and "example@" both match "example@gmail.com".
|
||||
# This field is case-insensitive.
|
||||
# Corresponds to the JSON property `to`
|
||||
# @return [String]
|
||||
attr_accessor :to
|
||||
|
@ -312,8 +308,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :forwarding_email
|
||||
|
||||
# Indicates whether this address has been verified and is usable for
|
||||
# forwarding. Read-only.
|
||||
# Indicates whether this address has been verified and is usable for forwarding.
|
||||
# Read-only.
|
||||
# Corresponds to the JSON property `verificationStatus`
|
||||
# @return [String]
|
||||
attr_accessor :verification_status
|
||||
|
@ -350,9 +346,8 @@ module Google
|
|||
attr_accessor :labels_removed
|
||||
|
||||
# List of messages changed in this history record. The fields for specific
|
||||
# change types, such as <code>messagesAdded</code> may duplicate messages in
|
||||
# this field. We recommend using the specific change-type fields instead
|
||||
# of this.
|
||||
# change types, such as messagesAdded may duplicate messages in this field. We
|
||||
# recommend using the specific change-type fields instead of this.
|
||||
# Corresponds to the JSON property `messages`
|
||||
# @return [Array<Google::Apis::GmailV1::Message>]
|
||||
attr_accessor :messages
|
||||
|
@ -475,8 +470,8 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# If this value is true, Gmail will immediately expunge a message when it is
|
||||
# marked as deleted in IMAP. Otherwise, Gmail will wait for an update from
|
||||
# the client before expunging messages marked as deleted.
|
||||
# marked as deleted in IMAP. Otherwise, Gmail will wait for an update from the
|
||||
# client before expunging messages marked as deleted.
|
||||
# Corresponds to the JSON property `autoExpunge`
|
||||
# @return [Boolean]
|
||||
attr_accessor :auto_expunge
|
||||
|
@ -488,15 +483,15 @@ module Google
|
|||
attr_accessor :enabled
|
||||
alias_method :enabled?, :enabled
|
||||
|
||||
# The action that will be executed on a message when it is marked as deleted
|
||||
# and expunged from the last visible IMAP folder.
|
||||
# The action that will be executed on a message when it is marked as deleted and
|
||||
# expunged from the last visible IMAP folder.
|
||||
# Corresponds to the JSON property `expungeBehavior`
|
||||
# @return [String]
|
||||
attr_accessor :expunge_behavior
|
||||
|
||||
# An optional limit on the number of messages that an IMAP folder may
|
||||
# contain. Legal values are 0, 1000, 2000, 5000 or 10000. A value of zero
|
||||
# is interpreted to mean that there is no limit.
|
||||
# An optional limit on the number of messages that an IMAP folder may contain.
|
||||
# Legal values are 0, 1000, 2000, 5000 or 10000. A value of zero is interpreted
|
||||
# to mean that there is no limit.
|
||||
# Corresponds to the JSON property `maxFolderSize`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :max_folder_size
|
||||
|
@ -514,14 +509,12 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Labels are used to categorize messages and threads within the
|
||||
# user's mailbox.
|
||||
# Labels are used to categorize messages and threads within the user's mailbox.
|
||||
class Label
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The color to assign to the label. Color is only available for labels that
|
||||
# have their <code>type</code> set to <code>user</code>.
|
||||
# @mutable gmail.users.labels.create gmail.users.labels.update
|
||||
# The color to assign to the label. Color is only available for labels that have
|
||||
# their type set to user.
|
||||
# Corresponds to the JSON property `color`
|
||||
# @return [Google::Apis::GmailV1::LabelColor]
|
||||
attr_accessor :color
|
||||
|
@ -532,14 +525,11 @@ module Google
|
|||
attr_accessor :id
|
||||
|
||||
# The visibility of the label in the label list in the Gmail web interface.
|
||||
# @mutable gmail.users.labels.create gmail.users.labels.update
|
||||
# Corresponds to the JSON property `labelListVisibility`
|
||||
# @return [String]
|
||||
attr_accessor :label_list_visibility
|
||||
|
||||
# The visibility of the label in the message list in the
|
||||
# Gmail web interface.
|
||||
# @mutable gmail.users.labels.create gmail.users.labels.update
|
||||
# The visibility of the label in the message list in the Gmail web interface.
|
||||
# Corresponds to the JSON property `messageListVisibility`
|
||||
# @return [String]
|
||||
attr_accessor :message_list_visibility
|
||||
|
@ -555,7 +545,6 @@ module Google
|
|||
attr_accessor :messages_unread
|
||||
|
||||
# The display name of the label.
|
||||
# @mutable gmail.users.labels.create gmail.users.labels.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
@ -570,15 +559,14 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :threads_unread
|
||||
|
||||
# The owner type for the label. User labels are created by the user and
|
||||
# can be modified and deleted by the user and can be applied to any
|
||||
# message or thread. System labels are internally created and cannot be
|
||||
# added, modified, or deleted. System labels may be able to be applied to or
|
||||
# removed from messages and threads under some circumstances but this is
|
||||
# not guaranteed. For example, users can apply and remove the
|
||||
# <code>INBOX</code> and <code>UNREAD</code> labels from messages and
|
||||
# threads, but cannot apply or remove the <code>DRAFTS</code> or
|
||||
# <code>SENT</code> labels from messages or threads.
|
||||
# The owner type for the label. User labels are created by the user and can be
|
||||
# modified and deleted by the user and can be applied to any message or thread.
|
||||
# System labels are internally created and cannot be added, modified, or deleted.
|
||||
# System labels may be able to be applied to or removed from messages and
|
||||
# threads under some circumstances but this is not guaranteed. For example,
|
||||
# users can apply and remove the INBOX and UNREAD labels from messages and
|
||||
# threads, but cannot apply or remove the DRAFTS or SENT labels from messages or
|
||||
# threads.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
@ -606,46 +594,40 @@ module Google
|
|||
class LabelColor
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The background color represented as hex string #RRGGBB (ex #000000).
|
||||
# This field is required in order to set the color of a label.
|
||||
# Only the following predefined set of color values are allowed:
|
||||
# <br/>
|
||||
# # 000000, #434343, #666666, #999999, #cccccc, #efefef, #f3f3f3, #ffffff,
|
||||
# # fb4c2f, #ffad47, #fad165, #16a766, #43d692, #4a86e8, #a479e2, #f691b3,
|
||||
# # f6c5be, #ffe6c7, #fef1d1, #b9e4d0, #c6f3de, #c9daf8, #e4d7f5, #fcdee8,
|
||||
# # efa093, #ffd6a2, #fce8b3, #89d3b2, #a0eac9, #a4c2f4, #d0bcf1, #fbc8d9,
|
||||
# # e66550, #ffbc6b, #fcda83, #44b984, #68dfa9, #6d9eeb, #b694e8, #f7a7c0,
|
||||
# # cc3a21, #eaa041, #f2c960, #149e60, #3dc789, #3c78d8, #8e63ce, #e07798,
|
||||
# # ac2b16, #cf8933, #d5ae49, #0b804b, #2a9c68, #285bac, #653e9b, #b65775,
|
||||
# # 822111, #a46a21, #aa8831, #076239, #1a764d, #1c4587, #41236d, #83334c
|
||||
# # 464646, #e7e7e7, #0d3472, #b6cff5, #0d3b44, #98d7e4, #3d188e, #e3d7ff,
|
||||
# # 711a36, #fbd3e0, #8a1c0a, #f2b2a8, #7a2e0b, #ffc8af, #7a4706, #ffdeb5,
|
||||
# # 594c05, #fbe983, #684e07, #fdedc1, #0b4f30, #b3efd3, #04502e, #a2dcc1,
|
||||
# # c2c2c2, #4986e7, #2da2bb, #b99aff, #994a64, #f691b2, #ff7537, #ffad46,
|
||||
# # 662e37, #ebdbde, #cca6ac, #094228, #42d692, #16a765
|
||||
# @mutable gmail.users.labels.create gmail.users.labels.update
|
||||
# The background color represented as hex string #RRGGBB (ex #000000). This
|
||||
# field is required in order to set the color of a label. Only the following
|
||||
# predefined set of color values are allowed:
|
||||
# #000000, #434343, #666666, #999999, #cccccc, #efefef, #f3f3f3, #ffffff, #
|
||||
# fb4c2f, #ffad47, #fad165, #16a766, #43d692, #4a86e8, #a479e2, #f691b3, #f6c5be,
|
||||
# #ffe6c7, #fef1d1, #b9e4d0, #c6f3de, #c9daf8, #e4d7f5, #fcdee8, #efa093, #
|
||||
# ffd6a2, #fce8b3, #89d3b2, #a0eac9, #a4c2f4, #d0bcf1, #fbc8d9, #e66550, #ffbc6b,
|
||||
# #fcda83, #44b984, #68dfa9, #6d9eeb, #b694e8, #f7a7c0, #cc3a21, #eaa041, #
|
||||
# f2c960, #149e60, #3dc789, #3c78d8, #8e63ce, #e07798, #ac2b16, #cf8933, #d5ae49,
|
||||
# #0b804b, #2a9c68, #285bac, #653e9b, #b65775, #822111, #a46a21, #aa8831, #
|
||||
# 076239, #1a764d, #1c4587, #41236d, #83334c #464646, #e7e7e7, #0d3472, #b6cff5,
|
||||
# #0d3b44, #98d7e4, #3d188e, #e3d7ff, #711a36, #fbd3e0, #8a1c0a, #f2b2a8, #
|
||||
# 7a2e0b, #ffc8af, #7a4706, #ffdeb5, #594c05, #fbe983, #684e07, #fdedc1, #0b4f30,
|
||||
# #b3efd3, #04502e, #a2dcc1, #c2c2c2, #4986e7, #2da2bb, #b99aff, #994a64, #
|
||||
# f691b2, #ff7537, #ffad46, #662e37, #ebdbde, #cca6ac, #094228, #42d692, #16a765
|
||||
# Corresponds to the JSON property `backgroundColor`
|
||||
# @return [String]
|
||||
attr_accessor :background_color
|
||||
|
||||
# The text color of the label, represented as hex string.
|
||||
# This field is required in order to set the color of a label.
|
||||
# Only the following predefined set of color values are allowed:
|
||||
# <br/>
|
||||
# # 000000, #434343, #666666, #999999, #cccccc, #efefef, #f3f3f3, #ffffff,
|
||||
# # fb4c2f, #ffad47, #fad165, #16a766, #43d692, #4a86e8, #a479e2, #f691b3,
|
||||
# # f6c5be, #ffe6c7, #fef1d1, #b9e4d0, #c6f3de, #c9daf8, #e4d7f5, #fcdee8,
|
||||
# # efa093, #ffd6a2, #fce8b3, #89d3b2, #a0eac9, #a4c2f4, #d0bcf1, #fbc8d9,
|
||||
# # e66550, #ffbc6b, #fcda83, #44b984, #68dfa9, #6d9eeb, #b694e8, #f7a7c0,
|
||||
# # cc3a21, #eaa041, #f2c960, #149e60, #3dc789, #3c78d8, #8e63ce, #e07798,
|
||||
# # ac2b16, #cf8933, #d5ae49, #0b804b, #2a9c68, #285bac, #653e9b, #b65775,
|
||||
# # 822111, #a46a21, #aa8831, #076239, #1a764d, #1c4587, #41236d, #83334c
|
||||
# # 464646, #e7e7e7, #0d3472, #b6cff5, #0d3b44, #98d7e4, #3d188e, #e3d7ff,
|
||||
# # 711a36, #fbd3e0, #8a1c0a, #f2b2a8, #7a2e0b, #ffc8af, #7a4706, #ffdeb5,
|
||||
# # 594c05, #fbe983, #684e07, #fdedc1, #0b4f30, #b3efd3, #04502e, #a2dcc1,
|
||||
# # c2c2c2, #4986e7, #2da2bb, #b99aff, #994a64, #f691b2, #ff7537, #ffad46,
|
||||
# # 662e37, #ebdbde, #cca6ac, #094228, #42d692, #16a765
|
||||
# @mutable gmail.users.labels.create gmail.users.labels.update
|
||||
# The text color of the label, represented as hex string. This field is required
|
||||
# in order to set the color of a label. Only the following predefined set of
|
||||
# color values are allowed:
|
||||
# #000000, #434343, #666666, #999999, #cccccc, #efefef, #f3f3f3, #ffffff, #
|
||||
# fb4c2f, #ffad47, #fad165, #16a766, #43d692, #4a86e8, #a479e2, #f691b3, #f6c5be,
|
||||
# #ffe6c7, #fef1d1, #b9e4d0, #c6f3de, #c9daf8, #e4d7f5, #fcdee8, #efa093, #
|
||||
# ffd6a2, #fce8b3, #89d3b2, #a0eac9, #a4c2f4, #d0bcf1, #fbc8d9, #e66550, #ffbc6b,
|
||||
# #fcda83, #44b984, #68dfa9, #6d9eeb, #b694e8, #f7a7c0, #cc3a21, #eaa041, #
|
||||
# f2c960, #149e60, #3dc789, #3c78d8, #8e63ce, #e07798, #ac2b16, #cf8933, #d5ae49,
|
||||
# #0b804b, #2a9c68, #285bac, #653e9b, #b65775, #822111, #a46a21, #aa8831, #
|
||||
# 076239, #1a764d, #1c4587, #41236d, #83334c #464646, #e7e7e7, #0d3472, #b6cff5,
|
||||
# #0d3b44, #98d7e4, #3d188e, #e3d7ff, #711a36, #fbd3e0, #8a1c0a, #f2b2a8, #
|
||||
# 7a2e0b, #ffc8af, #7a4706, #ffdeb5, #594c05, #fbe983, #684e07, #fdedc1, #0b4f30,
|
||||
# #b3efd3, #04502e, #a2dcc1, #c2c2c2, #4986e7, #2da2bb, #b99aff, #994a64, #
|
||||
# f691b2, #ff7537, #ffad46, #662e37, #ebdbde, #cca6ac, #094228, #42d692, #16a765
|
||||
# Corresponds to the JSON property `textColor`
|
||||
# @return [String]
|
||||
attr_accessor :text_color
|
||||
|
@ -661,28 +643,21 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Language settings for an account. These settings correspond to
|
||||
# the <a href="https://support.google.com/mail/answer/17091">"Language
|
||||
# settings"</a> feature in the web interface.
|
||||
# Language settings for an account. These settings correspond to the "Language
|
||||
# settings" feature in the web interface.
|
||||
class LanguageSettings
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The language to display Gmail in, formatted as an
|
||||
# <a href="https://www.w3.org/International/articles/language-tags/">RFC 3066
|
||||
# Language Tag</a> (for example <code>en-GB</code>, <code>fr</code> or
|
||||
# <code>ja</code> for British English, French, or Japanese respectively).
|
||||
# The set of languages supported by Gmail evolves over time, so please refer
|
||||
# to the "Language" dropdown in the
|
||||
# <a href="https://mail.google.com/mail/u/0/#settings/general">Gmail settings
|
||||
# </a> for all available options, as described in the
|
||||
# <a href="https://support.google.com/mail/answer/17091">language settings
|
||||
# help article</a>. A table of sample values is also provided in the
|
||||
# <a href="/gmail/api/guides/language_settings#display_language">Managing
|
||||
# Language Settings guide</a>
|
||||
# Not all Gmail clients can display the same set of languages. In the case
|
||||
# that a user's display language is not available for use on a particular
|
||||
# client, said client automatically chooses to display in the closest
|
||||
# supported variant (or a reasonable default).
|
||||
# The language to display Gmail in, formatted as an RFC 3066 Language Tag (for
|
||||
# example en-GB, fr or ja for British English, French, or Japanese respectively).
|
||||
# The set of languages supported by Gmail evolves over time, so please refer to
|
||||
# the "Language" dropdown in the Gmail settings for all available options, as
|
||||
# described in the language settings help article. A table of sample values is
|
||||
# also provided in the Managing Language Settings guide
|
||||
# Not all Gmail clients can display the same set of languages. In the case that
|
||||
# a user's display language is not available for use on a particular client,
|
||||
# said client automatically chooses to display in the closest supported variant (
|
||||
# or a reasonable default).
|
||||
# Corresponds to the JSON property `displayLanguage`
|
||||
# @return [String]
|
||||
attr_accessor :display_language
|
||||
|
@ -720,11 +695,9 @@ module Google
|
|||
class ListDraftsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# List of drafts. Note that the <code>Message</code> property in each
|
||||
# <code>Draft</code> resource only contains an <code>id</code> and a
|
||||
# <code>threadId</code>. The
|
||||
# <a href="/gmail/api/v1/reference/users/messages/get">messages.get</a>
|
||||
# method can fetch additional message details.
|
||||
# List of drafts. Note that the Message property in each Draft resource only
|
||||
# contains an id and a threadId. The messages.get method can fetch additional
|
||||
# message details.
|
||||
# Corresponds to the JSON property `drafts`
|
||||
# @return [Array<Google::Apis::GmailV1::Draft>]
|
||||
attr_accessor :drafts
|
||||
|
@ -793,9 +766,8 @@ module Google
|
|||
class ListHistoryResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# List of history records. Any <code>messages</code> contained in the
|
||||
# response will typically only have <code>id</code> and
|
||||
# <code>threadId</code> fields populated.
|
||||
# List of history records. Any messages contained in the response will typically
|
||||
# only have id and threadId fields populated.
|
||||
# Corresponds to the JSON property `history`
|
||||
# @return [Array<Google::Apis::GmailV1::History>]
|
||||
attr_accessor :history
|
||||
|
@ -826,10 +798,8 @@ module Google
|
|||
class ListLabelsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# List of labels. Note that each label resource only contains an
|
||||
# <code>id</code>, <code>name</code>, <code>messageListVisibility</code>,
|
||||
# <code>labelListVisibility</code>, and <code>type</code>. The
|
||||
# <a href="/gmail/api/v1/reference/users/labels/get">labels.get</a> method
|
||||
# List of labels. Note that each label resource only contains an id, name,
|
||||
# messageListVisibility, labelListVisibility, and type. The labels.get method
|
||||
# can fetch additional label details.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Array<Google::Apis::GmailV1::Label>]
|
||||
|
@ -849,10 +819,8 @@ module Google
|
|||
class ListMessagesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# List of messages. Note that each message resource contains only an
|
||||
# <code>id</code> and a <code>threadId</code>. Additional message details can
|
||||
# be fetched using the
|
||||
# <a href="/gmail/api/v1/reference/users/messages/get">messages.get</a>
|
||||
# List of messages. Note that each message resource contains only an id and a
|
||||
# threadId. Additional message details can be fetched using the messages.get
|
||||
# method.
|
||||
# Corresponds to the JSON property `messages`
|
||||
# @return [Array<Google::Apis::GmailV1::Message>]
|
||||
|
@ -933,9 +901,8 @@ module Google
|
|||
attr_accessor :result_size_estimate
|
||||
|
||||
# List of threads. Note that each thread resource does not contain a list of
|
||||
# <code>messages</code>. The list of <code>messages</code> for a given thread
|
||||
# can be fetched using the
|
||||
# <a href="/gmail/api/v1/reference/users/threads/get">threads.get</a> method.
|
||||
# messages. The list of messages for a given thread can be fetched using the
|
||||
# threads.get method.
|
||||
# Corresponds to the JSON property `threads`
|
||||
# @return [Array<Google::Apis::GmailV1::Thread>]
|
||||
attr_accessor :threads
|
||||
|
@ -966,17 +933,16 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# The internal message creation timestamp (epoch ms), which determines
|
||||
# ordering in the inbox. For normal SMTP-received email, this represents the
|
||||
# time the message was originally accepted by Google, which is more reliable
|
||||
# than the <code>Date</code> header. However, for API-migrated mail, it can
|
||||
# be configured by client to be based on the <code>Date</code> header.
|
||||
# The internal message creation timestamp (epoch ms), which determines ordering
|
||||
# in the inbox. For normal SMTP-received email, this represents the time the
|
||||
# message was originally accepted by Google, which is more reliable than the
|
||||
# Date header. However, for API-migrated mail, it can be configured by client to
|
||||
# be based on the Date header.
|
||||
# Corresponds to the JSON property `internalDate`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :internal_date
|
||||
|
||||
# List of IDs of labels applied to this message.
|
||||
# @mutable gmail.users.messages.insert gmail.users.messages.modify
|
||||
# Corresponds to the JSON property `labelIds`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :label_ids
|
||||
|
@ -986,12 +952,9 @@ module Google
|
|||
# @return [Google::Apis::GmailV1::MessagePart]
|
||||
attr_accessor :payload
|
||||
|
||||
# The entire email message in an RFC 2822 formatted and base64url
|
||||
# encoded string. Returned in <code>messages.get</code> and
|
||||
# <code>drafts.get</code> responses when the <code>format=RAW</code>
|
||||
# The entire email message in an RFC 2822 formatted and base64url encoded string.
|
||||
# Returned in messages.get and drafts.get responses when the format=RAW
|
||||
# parameter is supplied.
|
||||
# @mutable gmail.users.messages.insert gmail.users.messages.send
|
||||
# @mutable gmail.users.drafts.create gmail.users.drafts.update
|
||||
# Corresponds to the JSON property `raw`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -1007,17 +970,13 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :snippet
|
||||
|
||||
# The ID of the thread the message belongs to. To add a message or draft to
|
||||
# a thread, the following criteria must be met:
|
||||
# <ol><li>The requested <code>threadId</code> must be specified on the
|
||||
# <code>Message</code> or <code>Draft.Message</code> you supply with your
|
||||
# request.</li>
|
||||
# <li>The <code>References</code> and <code>In-Reply-To</code> headers must
|
||||
# be set in compliance with the
|
||||
# <a href="https://tools.ietf.org/html/rfc2822">RFC 2822</a> standard.</li>
|
||||
# <li>The <code>Subject</code> headers must match.
|
||||
# @mutable gmail.users.messages.insert gmail.users.messages.send
|
||||
# @mutable gmail.users.drafts.create gmail.users.drafts.update
|
||||
# The ID of the thread the message belongs to. To add a message or draft to a
|
||||
# thread, the following criteria must be met:
|
||||
# - The requested threadId must be specified on the Message or Draft.Message you
|
||||
# supply with your request.
|
||||
# - The References and In-Reply-To headers must be set in compliance with the
|
||||
# RFC 2822 standard.
|
||||
# - The Subject headers must match.
|
||||
# Corresponds to the JSON property `threadId`
|
||||
# @return [String]
|
||||
attr_accessor :thread_id
|
||||
|
@ -1049,16 +1008,15 @@ module Google
|
|||
# @return [Google::Apis::GmailV1::MessagePartBody]
|
||||
attr_accessor :body
|
||||
|
||||
# The filename of the attachment. Only present if this message part
|
||||
# represents an attachment.
|
||||
# The filename of the attachment. Only present if this message part represents
|
||||
# an attachment.
|
||||
# Corresponds to the JSON property `filename`
|
||||
# @return [String]
|
||||
attr_accessor :filename
|
||||
|
||||
# List of headers on this message part. For the top-level message part,
|
||||
# representing the entire message payload, it will contain the standard
|
||||
# RFC 2822 email headers such as <code>To</code>, <code>From</code>, and
|
||||
# <code>Subject</code>.
|
||||
# representing the entire message payload, it will contain the standard RFC 2822
|
||||
# email headers such as To, From, and Subject.
|
||||
# Corresponds to the JSON property `headers`
|
||||
# @return [Array<Google::Apis::GmailV1::MessagePartHeader>]
|
||||
attr_accessor :headers
|
||||
|
@ -1073,11 +1031,10 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :part_id
|
||||
|
||||
# The child MIME message parts of this part. This only applies to container
|
||||
# MIME message parts, for example <code>multipart/*</code>. For non-
|
||||
# container MIME message part types, such as <code>text/plain</code>, this
|
||||
# field is empty. For more information, see
|
||||
# <a href="http://www.ietf.org/rfc/rfc1521.txt">RFC 1521</a>.
|
||||
# The child MIME message parts of this part. This only applies to container MIME
|
||||
# message parts, for example multipart/*. For non- container MIME message part
|
||||
# types, such as text/plain, this field is empty. For more information, see RFC
|
||||
# 1521.
|
||||
# Corresponds to the JSON property `parts`
|
||||
# @return [Array<Google::Apis::GmailV1::MessagePart>]
|
||||
attr_accessor :parts
|
||||
|
@ -1101,19 +1058,17 @@ module Google
|
|||
class MessagePartBody
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# When present, contains the ID of an external attachment that can be
|
||||
# retrieved in a separate <code>messages.attachments.get</code> request.
|
||||
# When not present, the entire content of the message part body is
|
||||
# contained in the data field.
|
||||
# When present, contains the ID of an external attachment that can be retrieved
|
||||
# in a separate messages.attachments.get request. When not present, the entire
|
||||
# content of the message part body is contained in the data field.
|
||||
# Corresponds to the JSON property `attachmentId`
|
||||
# @return [String]
|
||||
attr_accessor :attachment_id
|
||||
|
||||
# The body data of a MIME message part as a base64url encoded string.
|
||||
# May be empty for MIME container
|
||||
# types that have no message body or when the body data is sent as a
|
||||
# separate attachment. An attachment ID is present if the body data is
|
||||
# contained in a separate attachment.
|
||||
# The body data of a MIME message part as a base64url encoded string. May be
|
||||
# empty for MIME container types that have no message body or when the body data
|
||||
# is sent as a separate attachment. An attachment ID is present if the body data
|
||||
# is contained in a separate attachment.
|
||||
# Corresponds to the JSON property `data`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -1140,14 +1095,13 @@ module Google
|
|||
class MessagePartHeader
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The name of the header before the <code>:</code> separator. For
|
||||
# example, <code>To</code>.
|
||||
# The name of the header before the : separator. For example, To.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# The value of the header after the <code>:</code> separator. For example,
|
||||
# <code>someuser@example.com</code>.
|
||||
# The value of the header after the : separator. For example, someuser@example.
|
||||
# com.
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
@ -1277,53 +1231,48 @@ module Google
|
|||
end
|
||||
|
||||
# Settings associated with a send-as alias, which can be either the primary
|
||||
# login address associated with the account or a custom "from" address.
|
||||
# Send-as aliases correspond to the
|
||||
# <a href="https://support.google.com/mail/answer/22370">"Send Mail As"</a>
|
||||
# feature in the web interface.
|
||||
# login address associated with the account or a custom "from" address. Send-as
|
||||
# aliases correspond to the "Send Mail As" feature in the web interface.
|
||||
class SendAs
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A name that appears in the "From:" header for mail sent using this alias.
|
||||
# For custom "from" addresses, when this is empty, Gmail will populate the
|
||||
# "From:" header with the name that is used for the primary address
|
||||
# associated with the account.
|
||||
# If the admin has disabled the ability for users to update their name
|
||||
# format, requests to update this field for the primary login will silently
|
||||
# fail.
|
||||
# A name that appears in the "From:" header for mail sent using this alias. For
|
||||
# custom "from" addresses, when this is empty, Gmail will populate the "From:"
|
||||
# header with the name that is used for the primary address associated with the
|
||||
# account. If the admin has disabled the ability for users to update their name
|
||||
# format, requests to update this field for the primary login will silently fail.
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
||||
# Whether this address is selected as the default "From:" address in
|
||||
# situations such as composing a new message or sending a vacation
|
||||
# auto-reply. Every Gmail account has exactly one default send-as address,
|
||||
# so the only legal value that clients may write to this field is
|
||||
# <code>true</code>. Changing this from <code>false</code> to
|
||||
# <code>true</code> for an address will result in this field becoming
|
||||
# <code>false</code> for the other previous default address.
|
||||
# Whether this address is selected as the default "From:" address in situations
|
||||
# such as composing a new message or sending a vacation auto-reply. Every Gmail
|
||||
# account has exactly one default send-as address, so the only legal value that
|
||||
# clients may write to this field is true. Changing this from false to true for
|
||||
# an address will result in this field becoming false for the other previous
|
||||
# default address.
|
||||
# Corresponds to the JSON property `isDefault`
|
||||
# @return [Boolean]
|
||||
attr_accessor :is_default
|
||||
alias_method :is_default?, :is_default
|
||||
|
||||
# Whether this address is the primary address used to login to the account.
|
||||
# Every Gmail account has exactly one primary address, and it cannot be
|
||||
# deleted from the collection of send-as aliases. This field is read-only.
|
||||
# Every Gmail account has exactly one primary address, and it cannot be deleted
|
||||
# from the collection of send-as aliases. This field is read-only.
|
||||
# Corresponds to the JSON property `isPrimary`
|
||||
# @return [Boolean]
|
||||
attr_accessor :is_primary
|
||||
alias_method :is_primary?, :is_primary
|
||||
|
||||
# An optional email address that is included in a "Reply-To:" header for mail
|
||||
# sent using this alias. If this is empty, Gmail will not generate a
|
||||
# "Reply-To:" header.
|
||||
# sent using this alias. If this is empty, Gmail will not generate a "Reply-To:"
|
||||
# header.
|
||||
# Corresponds to the JSON property `replyToAddress`
|
||||
# @return [String]
|
||||
attr_accessor :reply_to_address
|
||||
|
||||
# The email address that appears in the "From:" header for mail sent using
|
||||
# this alias. This is read-only for all operations except create.
|
||||
# The email address that appears in the "From:" header for mail sent using this
|
||||
# alias. This is read-only for all operations except create.
|
||||
# Corresponds to the JSON property `sendAsEmail`
|
||||
# @return [String]
|
||||
attr_accessor :send_as_email
|
||||
|
@ -1339,16 +1288,15 @@ module Google
|
|||
# @return [Google::Apis::GmailV1::SmtpMsa]
|
||||
attr_accessor :smtp_msa
|
||||
|
||||
# Whether Gmail should <a href="https://support.google.com/a/answer/1710338">
|
||||
# treat this address as an alias</a> for the user's primary email address.
|
||||
# This setting only applies to custom "from" aliases.
|
||||
# Whether Gmail should treat this address as an alias for the user's primary
|
||||
# email address. This setting only applies to custom "from" aliases.
|
||||
# Corresponds to the JSON property `treatAsAlias`
|
||||
# @return [Boolean]
|
||||
attr_accessor :treat_as_alias
|
||||
alias_method :treat_as_alias?, :treat_as_alias
|
||||
|
||||
# Indicates whether this address has been verified for use as a send-as
|
||||
# alias. Read-only. This setting only applies to custom "from" aliases.
|
||||
# Indicates whether this address has been verified for use as a send-as alias.
|
||||
# Read-only. This setting only applies to custom "from" aliases.
|
||||
# Corresponds to the JSON property `verificationStatus`
|
||||
# @return [String]
|
||||
attr_accessor :verification_status
|
||||
|
@ -1401,18 +1349,18 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :issuer_cn
|
||||
|
||||
# PEM formatted X509 concatenated certificate string (standard base64
|
||||
# encoding). Format used for returning key, which includes public key
|
||||
# as well as certificate chain (not private key).
|
||||
# PEM formatted X509 concatenated certificate string (standard base64 encoding).
|
||||
# Format used for returning key, which includes public key as well as
|
||||
# certificate chain (not private key).
|
||||
# Corresponds to the JSON property `pem`
|
||||
# @return [String]
|
||||
attr_accessor :pem
|
||||
|
||||
# PKCS#12 format containing a single private/public key pair and
|
||||
# certificate chain. This format is only accepted from client
|
||||
# for creating a new SmimeInfo and is never returned, because the
|
||||
# private key is not intended to be exported. PKCS#12 may be encrypted,
|
||||
# in which case encryptedKeyPassword should be set appropriately.
|
||||
# PKCS#12 format containing a single private/public key pair and certificate
|
||||
# chain. This format is only accepted from client for creating a new SmimeInfo
|
||||
# and is never returned, because the private key is not intended to be exported.
|
||||
# PKCS#12 may be encrypted, in which case encryptedKeyPassword should be set
|
||||
# appropriately.
|
||||
# Corresponds to the JSON property `pkcs12`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -1443,9 +1391,9 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :host
|
||||
|
||||
# The password that will be used for authentication with the SMTP service.
|
||||
# This is a write-only field that can be specified in requests to create or
|
||||
# update SendAs settings; it is never populated in responses.
|
||||
# The password that will be used for authentication with the SMTP service. This
|
||||
# is a write-only field that can be specified in requests to create or update
|
||||
# SendAs settings; it is never populated in responses.
|
||||
# Corresponds to the JSON property `password`
|
||||
# @return [String]
|
||||
attr_accessor :password
|
||||
|
@ -1455,15 +1403,15 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :port
|
||||
|
||||
# The protocol that will be used to secure communication with the SMTP
|
||||
# service. Required.
|
||||
# The protocol that will be used to secure communication with the SMTP service.
|
||||
# Required.
|
||||
# Corresponds to the JSON property `securityMode`
|
||||
# @return [String]
|
||||
attr_accessor :security_mode
|
||||
|
||||
# The username that will be used for authentication with the SMTP service.
|
||||
# This is a write-only field that can be specified in requests to create or
|
||||
# update SendAs settings; it is never populated in responses.
|
||||
# The username that will be used for authentication with the SMTP service. This
|
||||
# is a write-only field that can be specified in requests to create or update
|
||||
# SendAs settings; it is never populated in responses.
|
||||
# Corresponds to the JSON property `username`
|
||||
# @return [String]
|
||||
attr_accessor :username
|
||||
|
@ -1519,9 +1467,8 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Vacation auto-reply settings for an account. These settings correspond to
|
||||
# the <a href="https://support.google.com/mail/answer/25922">"Vacation
|
||||
# responder"</a> feature in the web interface.
|
||||
# Vacation auto-reply settings for an account. These settings correspond to the "
|
||||
# Vacation responder" feature in the web interface.
|
||||
class VacationSettings
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -1531,17 +1478,15 @@ module Google
|
|||
attr_accessor :enable_auto_reply
|
||||
alias_method :enable_auto_reply?, :enable_auto_reply
|
||||
|
||||
# An optional end time for sending auto-replies (epoch ms).
|
||||
# When this is specified, Gmail will automatically reply only to messages
|
||||
# that it receives before the end time. If both <code>startTime</code> and
|
||||
# <code>endTime</code> are specified, <code>startTime</code> must precede
|
||||
# <code>endTime</code>.
|
||||
# An optional end time for sending auto-replies (epoch ms). When this is
|
||||
# specified, Gmail will automatically reply only to messages that it receives
|
||||
# before the end time. If both startTime and endTime are specified, startTime
|
||||
# must precede endTime.
|
||||
# Corresponds to the JSON property `endTime`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :end_time
|
||||
|
||||
# Response body in HTML format. Gmail will sanitize the HTML before
|
||||
# storing it.
|
||||
# Response body in HTML format. Gmail will sanitize the HTML before storing it.
|
||||
# Corresponds to the JSON property `responseBodyHtml`
|
||||
# @return [String]
|
||||
attr_accessor :response_body_html
|
||||
|
@ -1551,33 +1496,31 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :response_body_plain_text
|
||||
|
||||
# Optional text to prepend to the subject line in vacation responses. In
|
||||
# order to enable auto-replies, either the response subject or the response
|
||||
# body must be nonempty.
|
||||
# Optional text to prepend to the subject line in vacation responses. In order
|
||||
# to enable auto-replies, either the response subject or the response body must
|
||||
# be nonempty.
|
||||
# Corresponds to the JSON property `responseSubject`
|
||||
# @return [String]
|
||||
attr_accessor :response_subject
|
||||
|
||||
# Flag that determines whether responses are sent to recipients who are not
|
||||
# in the user's list of contacts.
|
||||
# Flag that determines whether responses are sent to recipients who are not in
|
||||
# the user's list of contacts.
|
||||
# Corresponds to the JSON property `restrictToContacts`
|
||||
# @return [Boolean]
|
||||
attr_accessor :restrict_to_contacts
|
||||
alias_method :restrict_to_contacts?, :restrict_to_contacts
|
||||
|
||||
# Flag that determines whether responses are sent to recipients who are
|
||||
# outside of the user's domain. This feature is only available for G Suite
|
||||
# users.
|
||||
# Flag that determines whether responses are sent to recipients who are outside
|
||||
# of the user's domain. This feature is only available for G Suite users.
|
||||
# Corresponds to the JSON property `restrictToDomain`
|
||||
# @return [Boolean]
|
||||
attr_accessor :restrict_to_domain
|
||||
alias_method :restrict_to_domain?, :restrict_to_domain
|
||||
|
||||
# An optional start time for sending auto-replies (epoch ms).
|
||||
# When this is specified, Gmail will automatically reply only to messages
|
||||
# that it receives after the start time. If both <code>startTime</code> and
|
||||
# <code>endTime</code> are specified, <code>startTime</code> must precede
|
||||
# <code>endTime</code>.
|
||||
# An optional start time for sending auto-replies (epoch ms). When this is
|
||||
# specified, Gmail will automatically reply only to messages that it receives
|
||||
# after the start time. If both startTime and endTime are specified, startTime
|
||||
# must precede endTime.
|
||||
# Corresponds to the JSON property `startTime`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :start_time
|
||||
|
@ -1608,21 +1551,20 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :label_filter_action
|
||||
|
||||
# List of label_ids to restrict notifications about. By default,
|
||||
# if unspecified, all changes are pushed out. If specified then
|
||||
# dictates which labels are required for a push notification to
|
||||
# be generated.
|
||||
# List of label_ids to restrict notifications about. By default, if unspecified,
|
||||
# all changes are pushed out. If specified then dictates which labels are
|
||||
# required for a push notification to be generated.
|
||||
# Corresponds to the JSON property `labelIds`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :label_ids
|
||||
|
||||
# A fully qualified Google Cloud Pub/Sub API topic name to publish the
|
||||
# events to. This topic name **must** already exist in Cloud Pub/Sub and
|
||||
# you **must** have already granted gmail "publish" permission on it.
|
||||
# For example, "projects/my-project-identifier/topics/my-topic-name"
|
||||
# (using the Cloud Pub/Sub "v1" topic naming format).
|
||||
# Note that the "my-project-identifier" portion must exactly match your
|
||||
# Google developer project id (the one executing this watch request).
|
||||
# A fully qualified Google Cloud Pub/Sub API topic name to publish the events to.
|
||||
# This topic name **must** already exist in Cloud Pub/Sub and you **must** have
|
||||
# already granted gmail "publish" permission on it. For example, "projects/my-
|
||||
# project-identifier/topics/my-topic-name" (using the Cloud Pub/Sub "v1" topic
|
||||
# naming format).
|
||||
# Note that the "my-project-identifier" portion must exactly match your Google
|
||||
# developer project id (the one executing this watch request).
|
||||
# Corresponds to the JSON property `topicName`
|
||||
# @return [String]
|
||||
attr_accessor :topic_name
|
||||
|
@ -1643,9 +1585,8 @@ module Google
|
|||
class WatchResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# When Gmail will stop sending notifications for mailbox updates
|
||||
# (epoch millis). Call <code>watch</code> again before this time to renew
|
||||
# the watch.
|
||||
# When Gmail will stop sending notifications for mailbox updates (epoch millis).
|
||||
# Call watch again before this time to renew the watch.
|
||||
# Corresponds to the JSON property `expiration`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :expiration
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/healthcare
|
||||
module HealthcareV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200414'
|
||||
REVISION = '20200501'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1266,7 +1266,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :filter
|
||||
|
||||
# The [Cloud Pubsub](https://cloud.google.com/pubsub/docs/) topic that
|
||||
# The [Cloud Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that
|
||||
# notifications of changes are published on. Supplied by the client. The
|
||||
# notification is a `PubsubMessage` with the following fields:
|
||||
# * `PubsubMessage.Data` contains the resource name.
|
||||
|
@ -1276,12 +1276,12 @@ module Google
|
|||
# published.
|
||||
# Note that notifications are only sent if the topic is non-empty. [Topic
|
||||
# names](https://cloud.google.com/pubsub/docs/overview#names) must be
|
||||
# scoped to a project. cloud-healthcare@system.gserviceaccount.com must
|
||||
# have publisher permissions on the given Pubsub topic. Not having adequate
|
||||
# scoped to a project. Cloud Healthcare API service account must have
|
||||
# publisher permissions on the given Pub/Sub topic. Not having adequate
|
||||
# permissions causes the calls that send notifications to fail.
|
||||
# If a notification cannot be published to Cloud Pub/Sub, errors will be
|
||||
# logged to Stackdriver (see [Viewing logs](/healthcare/docs/how-
|
||||
# tos/stackdriver-logging)).
|
||||
# logged to Cloud Logging (see [Viewing logs](/healthcare/docs/how-
|
||||
# tos/logging)).
|
||||
# Corresponds to the JSON property `pubsubTopic`
|
||||
# @return [String]
|
||||
attr_accessor :pubsub_topic
|
||||
|
@ -1888,12 +1888,12 @@ module Google
|
|||
# Notifications are only sent if the topic is
|
||||
# non-empty. [Topic
|
||||
# names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped
|
||||
# to a project. cloud-healthcare@system.gserviceaccount.com must have
|
||||
# publisher permissions on the given Cloud Pub/Sub topic. Not having adequate
|
||||
# to a project. Cloud Healthcare API service account must have publisher
|
||||
# permissions on the given Cloud Pub/Sub topic. Not having adequate
|
||||
# permissions causes the calls that send notifications to fail.
|
||||
# If a notification can't be published to Cloud Pub/Sub, errors are logged to
|
||||
# Stackdriver (see [Viewing
|
||||
# logs](/healthcare/docs/how-tos/stackdriver-logging)). If the number of
|
||||
# Cloud Logging (see [Viewing
|
||||
# logs](/healthcare/docs/how-tos/logging)). If the number of
|
||||
# errors exceeds a certain rate, some aren't submitted.
|
||||
# Corresponds to the JSON property `pubsubTopic`
|
||||
# @return [String]
|
||||
|
@ -2006,7 +2006,7 @@ module Google
|
|||
|
||||
# A link to audit and error logs in the log viewer. Error logs are generated
|
||||
# only by some operations, listed at
|
||||
# https://cloud.google.com/healthcare/docs/how-tos/stackdriver-logging.
|
||||
# [Viewing logs](/healthcare/docs/how-tos/logging).
|
||||
# Corresponds to the JSON property `logsUrl`
|
||||
# @return [String]
|
||||
attr_accessor :logs_url
|
||||
|
@ -2106,10 +2106,13 @@ module Google
|
|||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||
# custom role.
|
||||
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||
# expression that allows access to a resource only if the expression evaluates
|
||||
# to `true`. A condition can add constraints based on attributes of the
|
||||
# request, the resource, or both.
|
||||
# For some types of Google Cloud resources, a `binding` can also specify a
|
||||
# `condition`, which is a logical expression that allows access to a resource
|
||||
# only if the expression evaluates to `true`. A condition can add constraints
|
||||
# based on attributes of the request, the resource, or both. To learn which
|
||||
# resources support conditions in their IAM policies, see the
|
||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
||||
# policies).
|
||||
# **JSON example:**
|
||||
# `
|
||||
# "bindings": [
|
||||
|
@ -2124,7 +2127,9 @@ module Google
|
|||
# `,
|
||||
# `
|
||||
# "role": "roles/resourcemanager.organizationViewer",
|
||||
# "members": ["user:eve@example.com"],
|
||||
# "members": [
|
||||
# "user:eve@example.com"
|
||||
# ],
|
||||
# "condition": `
|
||||
# "title": "expirable access",
|
||||
# "description": "Does not grant access after Sep 2020",
|
||||
|
@ -2202,6 +2207,9 @@ module Google
|
|||
# the conditions in the version `3` policy are lost.
|
||||
# If a policy does not include any conditions, operations on that policy may
|
||||
# specify any valid version or leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the
|
||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
||||
# policies).
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
@ -2409,10 +2417,13 @@ module Google
|
|||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||
# custom role.
|
||||
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||
# expression that allows access to a resource only if the expression evaluates
|
||||
# to `true`. A condition can add constraints based on attributes of the
|
||||
# request, the resource, or both.
|
||||
# For some types of Google Cloud resources, a `binding` can also specify a
|
||||
# `condition`, which is a logical expression that allows access to a resource
|
||||
# only if the expression evaluates to `true`. A condition can add constraints
|
||||
# based on attributes of the request, the resource, or both. To learn which
|
||||
# resources support conditions in their IAM policies, see the
|
||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
||||
# policies).
|
||||
# **JSON example:**
|
||||
# `
|
||||
# "bindings": [
|
||||
|
@ -2427,7 +2438,9 @@ module Google
|
|||
# `,
|
||||
# `
|
||||
# "role": "roles/resourcemanager.organizationViewer",
|
||||
# "members": ["user:eve@example.com"],
|
||||
# "members": [
|
||||
# "user:eve@example.com"
|
||||
# ],
|
||||
# "condition": `
|
||||
# "title": "expirable access",
|
||||
# "description": "Does not grant access after Sep 2020",
|
||||
|
@ -2465,8 +2478,7 @@ module Google
|
|||
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
||||
# the fields in the mask will be modified. If no mask is provided, the
|
||||
# following default mask is used:
|
||||
# paths: "bindings, etag"
|
||||
# This field is only used by Cloud IAM.
|
||||
# `paths: "bindings, etag"`
|
||||
# Corresponds to the JSON property `updateMask`
|
||||
# @return [String]
|
||||
attr_accessor :update_mask
|
||||
|
|
|
@ -102,8 +102,8 @@ module Google
|
|||
# DICOM instances. The new de-identified dataset will not contain these
|
||||
# failed resources. Failed resource totals are tracked in
|
||||
# Operation.metadata.
|
||||
# Error details are also logged to Stackdriver Logging. For more information,
|
||||
# see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging).
|
||||
# Error details are also logged to Cloud Logging. For more information,
|
||||
# see [Viewing logs](/healthcare/docs/how-tos/logging).
|
||||
# @param [String] source_dataset
|
||||
# Source dataset resource name. For example,
|
||||
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``.
|
||||
|
@ -214,6 +214,9 @@ module Google
|
|||
# Requests for policies with any conditional bindings must specify version 3.
|
||||
# Policies without any conditional bindings may specify any valid value or
|
||||
# leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the
|
||||
# [IAM
|
||||
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -322,7 +325,7 @@ module Google
|
|||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
||||
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
|
@ -358,7 +361,7 @@ module Google
|
|||
|
||||
# Returns permissions that a caller has on the specified resource.
|
||||
# If the resource does not exist, this will return an empty set of
|
||||
# permissions, not a NOT_FOUND error.
|
||||
# permissions, not a `NOT_FOUND` error.
|
||||
# Note: This operation is designed to be used for building permission-aware
|
||||
# UIs and command-line tools, not for authorization checking. This operation
|
||||
# may "fail open" without warning.
|
||||
|
@ -443,8 +446,8 @@ module Google
|
|||
# DICOM instances. The output DICOM store will not contain
|
||||
# these failed resources. Failed resource totals are tracked in
|
||||
# Operation.metadata.
|
||||
# Error details are also logged to Stackdriver
|
||||
# (see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging)).
|
||||
# Error details are also logged to Cloud Logging
|
||||
# (see [Viewing logs](/healthcare/docs/how-tos/logging)).
|
||||
# @param [String] source_store
|
||||
# Source DICOM store resource name. For example,
|
||||
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
||||
|
@ -512,8 +515,8 @@ module Google
|
|||
|
||||
# Exports data to the specified destination by copying it from the DICOM
|
||||
# store.
|
||||
# Errors are also logged to Stackdriver Logging. For more information,
|
||||
# see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging).
|
||||
# Errors are also logged to Cloud Logging. For more information,
|
||||
# see [Viewing logs](/healthcare/docs/how-tos/logging).
|
||||
# The metadata field type is
|
||||
# OperationMetadata.
|
||||
# @param [String] name
|
||||
|
@ -594,6 +597,9 @@ module Google
|
|||
# Requests for policies with any conditional bindings must specify version 3.
|
||||
# Policies without any conditional bindings may specify any valid value or
|
||||
# leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the
|
||||
# [IAM
|
||||
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -623,8 +629,8 @@ module Google
|
|||
end
|
||||
|
||||
# Imports data into the DICOM store by copying it from the specified source.
|
||||
# Errors are logged to Stackdriver Logging. For more information, see
|
||||
# [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging). The
|
||||
# Errors are logged to Cloud Logging. For more information, see
|
||||
# [Viewing logs](/healthcare/docs/how-tos/logging). The
|
||||
# metadata field type is
|
||||
# OperationMetadata.
|
||||
# @param [String] name
|
||||
|
@ -858,7 +864,7 @@ module Google
|
|||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
||||
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
|
@ -935,7 +941,7 @@ module Google
|
|||
|
||||
# Returns permissions that a caller has on the specified resource.
|
||||
# If the resource does not exist, this will return an empty set of
|
||||
# permissions, not a NOT_FOUND error.
|
||||
# permissions, not a `NOT_FOUND` error.
|
||||
# Note: This operation is designed to be used for building permission-aware
|
||||
# UIs and command-line tools, not for authorization checking. This operation
|
||||
# may "fail open" without warning.
|
||||
|
@ -1627,8 +1633,8 @@ module Google
|
|||
# response field type is
|
||||
# DeidentifyFhirStoreSummary. If errors occur,
|
||||
# error is set.
|
||||
# Error details are also logged to Stackdriver
|
||||
# (see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging)).
|
||||
# Error details are also logged to Cloud Logging
|
||||
# (see [Viewing logs](/healthcare/docs/how-tos/logging)).
|
||||
# @param [String] source_store
|
||||
# Source FHIR store resource name. For example,
|
||||
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
||||
|
@ -1699,8 +1705,8 @@ module Google
|
|||
# GetOperation.
|
||||
# Immediate fatal errors appear in the
|
||||
# error field, errors are also logged
|
||||
# to Stackdriver (see [Viewing
|
||||
# logs](/healthcare/docs/how-tos/stackdriver-logging)).
|
||||
# to Cloud Logging (see [Viewing
|
||||
# logs](/healthcare/docs/how-tos/logging)).
|
||||
# Otherwise, when the operation finishes, a detailed response of type
|
||||
# ExportResourcesResponse is returned in the
|
||||
# response field.
|
||||
|
@ -1784,6 +1790,9 @@ module Google
|
|||
# Requests for policies with any conditional bindings must specify version 3.
|
||||
# Policies without any conditional bindings may specify any valid value or
|
||||
# leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the
|
||||
# [IAM
|
||||
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1831,7 +1840,7 @@ module Google
|
|||
# if the input data contains invalid references or if some resources fail to
|
||||
# be imported, the FHIR store might be left in a state that violates
|
||||
# referential integrity.
|
||||
# The import process does not trigger PubSub notification or BigQuery
|
||||
# The import process does not trigger Pub/Sub notification or BigQuery
|
||||
# streaming update, regardless of how those are configured on the FHIR store.
|
||||
# If a resource with the specified ID already exists, the most recent
|
||||
# version of the resource is overwritten without creating a new historical
|
||||
|
@ -1870,8 +1879,8 @@ module Google
|
|||
# GetOperation.
|
||||
# Immediate fatal errors appear in the
|
||||
# error field, errors are also logged
|
||||
# to Stackdriver (see [Viewing
|
||||
# logs](/healthcare/docs/how-tos/stackdriver-logging)). Otherwise, when the
|
||||
# to Cloud Logging (see [Viewing
|
||||
# logs](/healthcare/docs/how-tos/logging)). Otherwise, when the
|
||||
# operation finishes, a detailed response of type ImportResourcesResponse
|
||||
# is returned in the response field.
|
||||
# The metadata field type for this
|
||||
|
@ -1993,95 +2002,9 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Searches for resources in the given FHIR store according to criteria
|
||||
# specified as query parameters.
|
||||
# Implements the FHIR standard search interaction
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search),
|
||||
# [R4](http://hl7.org/implement/standards/fhir/R4/http.html#search))
|
||||
# using the search semantics described in the FHIR Search specification
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html),
|
||||
# [R4](http://hl7.org/implement/standards/fhir/R4/search.html)).
|
||||
# Supports three methods of search defined by the specification:
|
||||
# * `GET [base]?[parameters]` to search across all resources.
|
||||
# * `GET [base]/[type]?[parameters]` to search resources of a specified
|
||||
# type.
|
||||
# * `POST [base]/[type]/_search?[parameters]` as an alternate form having
|
||||
# the same semantics as the `GET` method.
|
||||
# The `GET` methods do not support compartment searches. The `POST` method
|
||||
# does not support `application/x-www-form-urlencoded` search parameters.
|
||||
# On success, the response body will contain a JSON-encoded representation
|
||||
# of a `Bundle` resource of type `searchset`, containing the results of the
|
||||
# search.
|
||||
# Errors generated by the FHIR store will contain a JSON-encoded
|
||||
# `OperationOutcome` resource describing the reason for the error. If the
|
||||
# request cannot be mapped to a valid API method on a FHIR store, a generic
|
||||
# GCP error might be returned instead.
|
||||
# The server's capability statement, retrieved through
|
||||
# capabilities, indicates what search parameters
|
||||
# are supported on each FHIR resource. A list of all search parameters
|
||||
# defined by the specification can be found in the FHIR Search Parameter
|
||||
# Registry
|
||||
# ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.
|
||||
# html),
|
||||
# [R4](http://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html))
|
||||
# .
|
||||
# FHIR search parameters for DSTU2 can be found on each resource's definition
|
||||
# page.
|
||||
# Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`,
|
||||
# `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`.
|
||||
# Supported search result parameters: `_sort`, `_count`, `_include`,
|
||||
# `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`.
|
||||
# The maximum number of search results returned defaults to 100, which can
|
||||
# be overridden by the `_count` parameter up to a maximum limit of 1000. If
|
||||
# there are additional results, the returned `Bundle` will contain
|
||||
# pagination links.
|
||||
# Resources with a total size larger than 5MB or a field count larger than
|
||||
# 50,000 might not be fully searchable as the server might trim its generated
|
||||
# search index in those cases.
|
||||
# Note: FHIR resources are indexed asynchronously, so there might be a slight
|
||||
# delay between the time a resource is created or changes and when the change
|
||||
# is reflected in search results.
|
||||
# @param [String] parent
|
||||
# Name of the FHIR store to retrieve resources from.
|
||||
# @param [String] resource_type
|
||||
# The FHIR resource type to search, such as Patient or Observation. For a
|
||||
# complete list, see the FHIR Resource Index
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
|
||||
# [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
|
||||
# @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::HealthcareV1::HttpBody] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::HealthcareV1::HttpBody]
|
||||
#
|
||||
# @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_project_location_dataset_fhir_stores(parent, resource_type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/fhir', options)
|
||||
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
||||
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['resourceType'] = resource_type unless resource_type.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
||||
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
|
@ -2117,7 +2040,7 @@ module Google
|
|||
|
||||
# Returns permissions that a caller has on the specified resource.
|
||||
# If the resource does not exist, this will return an empty set of
|
||||
# permissions, not a NOT_FOUND error.
|
||||
# permissions, not a `NOT_FOUND` error.
|
||||
# Note: This operation is designed to be used for building permission-aware
|
||||
# UIs and command-line tools, not for authorization checking. This operation
|
||||
# may "fail open" without warning.
|
||||
|
@ -2154,8 +2077,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves all the resources directly referenced by a patient, as well as
|
||||
# all of the resources in the patient compartment.
|
||||
# Retrieves a Patient resource and resources related to that patient.
|
||||
# Implements the FHIR extended operation Patient-everything
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/patient-operations.html#
|
||||
# everything),
|
||||
|
@ -2170,6 +2092,16 @@ module Google
|
|||
# `OperationOutcome` resource describing the reason for the error. If the
|
||||
# request cannot be mapped to a valid API method on a FHIR store, a generic
|
||||
# GCP error might be returned instead.
|
||||
# The resources in scope for the response are:
|
||||
# * The patient resource itself.
|
||||
# * All the resources directly referenced by the patient resource.
|
||||
# * Resources directly referencing the patient resource that meet the
|
||||
# inclusion criteria. The inclusion criteria are based on the membership
|
||||
# rules in the patient compartment definition
|
||||
# ([DSTU2](http://hl7.org/fhir/DSTU2/compartment-patient.html),
|
||||
# [STU3](http://www.hl7.org/fhir/stu3/compartmentdefinition-patient.html),
|
||||
# [R4](http://hl7.org/fhir/R4/compartmentdefinition-patient.html)), which
|
||||
# details the eligible resource types and referencing search parameters.
|
||||
# @param [String] name
|
||||
# Name of the `Patient` resource for which the information is required.
|
||||
# @param [Fixnum] _count
|
||||
|
@ -2896,6 +2828,9 @@ module Google
|
|||
# Requests for policies with any conditional bindings must specify version 3.
|
||||
# Policies without any conditional bindings may specify any valid value or
|
||||
# leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the
|
||||
# [IAM
|
||||
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -3008,7 +2943,7 @@ module Google
|
|||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
||||
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
|
@ -3044,7 +2979,7 @@ module Google
|
|||
|
||||
# Returns permissions that a caller has on the specified resource.
|
||||
# If the resource does not exist, this will return an empty set of
|
||||
# permissions, not a NOT_FOUND error.
|
||||
# permissions, not a `NOT_FOUND` error.
|
||||
# Note: This operation is designed to be used for building permission-aware
|
||||
# UIs and command-line tools, not for authorization checking. This operation
|
||||
# may "fail open" without warning.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/healthcare
|
||||
module HealthcareV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20200414'
|
||||
REVISION = '20200501'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1658,7 +1658,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :filter
|
||||
|
||||
# The [Cloud Pubsub](https://cloud.google.com/pubsub/docs/) topic that
|
||||
# The [Cloud Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that
|
||||
# notifications of changes are published on. Supplied by the client. The
|
||||
# notification is a `PubsubMessage` with the following fields:
|
||||
# * `PubsubMessage.Data` contains the resource name.
|
||||
|
@ -1668,12 +1668,12 @@ module Google
|
|||
# published.
|
||||
# Note that notifications are only sent if the topic is non-empty. [Topic
|
||||
# names](https://cloud.google.com/pubsub/docs/overview#names) must be
|
||||
# scoped to a project. cloud-healthcare@system.gserviceaccount.com must
|
||||
# have publisher permissions on the given Pubsub topic. Not having adequate
|
||||
# scoped to a project. Cloud Healthcare API service account must have
|
||||
# publisher permissions on the given Pub/Sub topic. Not having adequate
|
||||
# permissions causes the calls that send notifications to fail.
|
||||
# If a notification cannot be published to Cloud Pub/Sub, errors will be
|
||||
# logged to Stackdriver (see [Viewing logs](/healthcare/docs/how-
|
||||
# tos/stackdriver-logging)).
|
||||
# logged to Cloud Logging (see [Viewing logs](/healthcare/docs/how-
|
||||
# tos/logging)).
|
||||
# Corresponds to the JSON property `pubsubTopic`
|
||||
# @return [String]
|
||||
attr_accessor :pubsub_topic
|
||||
|
@ -2371,12 +2371,12 @@ module Google
|
|||
# Notifications are only sent if the topic is
|
||||
# non-empty. [Topic
|
||||
# names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped
|
||||
# to a project. cloud-healthcare@system.gserviceaccount.com must have
|
||||
# publisher permissions on the given Cloud Pub/Sub topic. Not having adequate
|
||||
# to a project. Cloud Healthcare API service account must have publisher
|
||||
# permissions on the given Cloud Pub/Sub topic. Not having adequate
|
||||
# permissions causes the calls that send notifications to fail.
|
||||
# If a notification can't be published to Cloud Pub/Sub, errors are logged to
|
||||
# Stackdriver (see [Viewing
|
||||
# logs](/healthcare/docs/how-tos/stackdriver-logging)). If the number of
|
||||
# Cloud Logging (see [Viewing
|
||||
# logs](/healthcare/docs/how-tos/logging)). If the number of
|
||||
# errors exceeds a certain rate, some aren't submitted.
|
||||
# Corresponds to the JSON property `pubsubTopic`
|
||||
# @return [String]
|
||||
|
@ -2489,7 +2489,7 @@ module Google
|
|||
|
||||
# A link to audit and error logs in the log viewer. Error logs are generated
|
||||
# only by some operations, listed at
|
||||
# https://cloud.google.com/healthcare/docs/how-tos/stackdriver-logging.
|
||||
# [Viewing logs](/healthcare/docs/how-tos/logging).
|
||||
# Corresponds to the JSON property `logsUrl`
|
||||
# @return [String]
|
||||
attr_accessor :logs_url
|
||||
|
@ -2596,10 +2596,13 @@ module Google
|
|||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||
# custom role.
|
||||
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||
# expression that allows access to a resource only if the expression evaluates
|
||||
# to `true`. A condition can add constraints based on attributes of the
|
||||
# request, the resource, or both.
|
||||
# For some types of Google Cloud resources, a `binding` can also specify a
|
||||
# `condition`, which is a logical expression that allows access to a resource
|
||||
# only if the expression evaluates to `true`. A condition can add constraints
|
||||
# based on attributes of the request, the resource, or both. To learn which
|
||||
# resources support conditions in their IAM policies, see the
|
||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
||||
# policies).
|
||||
# **JSON example:**
|
||||
# `
|
||||
# "bindings": [
|
||||
|
@ -2614,7 +2617,9 @@ module Google
|
|||
# `,
|
||||
# `
|
||||
# "role": "roles/resourcemanager.organizationViewer",
|
||||
# "members": ["user:eve@example.com"],
|
||||
# "members": [
|
||||
# "user:eve@example.com"
|
||||
# ],
|
||||
# "condition": `
|
||||
# "title": "expirable access",
|
||||
# "description": "Does not grant access after Sep 2020",
|
||||
|
@ -2692,6 +2697,9 @@ module Google
|
|||
# the conditions in the version `3` policy are lost.
|
||||
# If a policy does not include any conditions, operations on that policy may
|
||||
# specify any valid version or leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the
|
||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
||||
# policies).
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
@ -3050,10 +3058,13 @@ module Google
|
|||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||
# custom role.
|
||||
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||
# expression that allows access to a resource only if the expression evaluates
|
||||
# to `true`. A condition can add constraints based on attributes of the
|
||||
# request, the resource, or both.
|
||||
# For some types of Google Cloud resources, a `binding` can also specify a
|
||||
# `condition`, which is a logical expression that allows access to a resource
|
||||
# only if the expression evaluates to `true`. A condition can add constraints
|
||||
# based on attributes of the request, the resource, or both. To learn which
|
||||
# resources support conditions in their IAM policies, see the
|
||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
||||
# policies).
|
||||
# **JSON example:**
|
||||
# `
|
||||
# "bindings": [
|
||||
|
@ -3068,7 +3079,9 @@ module Google
|
|||
# `,
|
||||
# `
|
||||
# "role": "roles/resourcemanager.organizationViewer",
|
||||
# "members": ["user:eve@example.com"],
|
||||
# "members": [
|
||||
# "user:eve@example.com"
|
||||
# ],
|
||||
# "condition": `
|
||||
# "title": "expirable access",
|
||||
# "description": "Does not grant access after Sep 2020",
|
||||
|
@ -3106,8 +3119,7 @@ module Google
|
|||
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
||||
# the fields in the mask will be modified. If no mask is provided, the
|
||||
# following default mask is used:
|
||||
# paths: "bindings, etag"
|
||||
# This field is only used by Cloud IAM.
|
||||
# `paths: "bindings, etag"`
|
||||
# Corresponds to the JSON property `updateMask`
|
||||
# @return [String]
|
||||
attr_accessor :update_mask
|
||||
|
|
|
@ -174,8 +174,8 @@ module Google
|
|||
# DICOM instances. The new de-identified dataset will not contain these
|
||||
# failed resources. Failed resource totals are tracked in
|
||||
# DeidentifySummary.failure_resource_count.
|
||||
# Error details are also logged to Stackdriver Logging. For more information,
|
||||
# see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging).
|
||||
# Error details are also logged to Cloud Logging. For more information,
|
||||
# see [Viewing logs](/healthcare/docs/how-tos/logging).
|
||||
# @param [String] source_dataset
|
||||
# Source dataset resource name. For example,
|
||||
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``.
|
||||
|
@ -286,6 +286,9 @@ module Google
|
|||
# Requests for policies with any conditional bindings must specify version 3.
|
||||
# Policies without any conditional bindings may specify any valid value or
|
||||
# leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the
|
||||
# [IAM
|
||||
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -394,7 +397,7 @@ module Google
|
|||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
||||
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
|
@ -430,7 +433,7 @@ module Google
|
|||
|
||||
# Returns permissions that a caller has on the specified resource.
|
||||
# If the resource does not exist, this will return an empty set of
|
||||
# permissions, not a NOT_FOUND error.
|
||||
# permissions, not a `NOT_FOUND` error.
|
||||
# Note: This operation is designed to be used for building permission-aware
|
||||
# UIs and command-line tools, not for authorization checking. This operation
|
||||
# may "fail open" without warning.
|
||||
|
@ -480,6 +483,9 @@ module Google
|
|||
# Requests for policies with any conditional bindings must specify version 3.
|
||||
# Policies without any conditional bindings may specify any valid value or
|
||||
# leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the
|
||||
# [IAM
|
||||
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -510,7 +516,7 @@ module Google
|
|||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
||||
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
|
@ -546,7 +552,7 @@ module Google
|
|||
|
||||
# Returns permissions that a caller has on the specified resource.
|
||||
# If the resource does not exist, this will return an empty set of
|
||||
# permissions, not a NOT_FOUND error.
|
||||
# permissions, not a `NOT_FOUND` error.
|
||||
# Note: This operation is designed to be used for building permission-aware
|
||||
# UIs and command-line tools, not for authorization checking. This operation
|
||||
# may "fail open" without warning.
|
||||
|
@ -633,8 +639,8 @@ module Google
|
|||
# DICOM instances. The output DICOM store will not contain
|
||||
# these failed resources. Failed resource totals are tracked in
|
||||
# DeidentifySummary.failure_resource_count.
|
||||
# Error details are also logged to Stackdriver
|
||||
# (see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging)).
|
||||
# Error details are also logged to Cloud Logging
|
||||
# (see [Viewing logs](/healthcare/docs/how-tos/logging)).
|
||||
# @param [String] source_store
|
||||
# Source DICOM store resource name. For example,
|
||||
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
||||
|
@ -702,8 +708,8 @@ module Google
|
|||
|
||||
# Exports data to the specified destination by copying it from the DICOM
|
||||
# store.
|
||||
# Errors are also logged to Stackdriver Logging. For more information,
|
||||
# see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging).
|
||||
# Errors are also logged to Cloud Logging. For more information,
|
||||
# see [Viewing logs](/healthcare/docs/how-tos/logging).
|
||||
# The metadata field type is
|
||||
# OperationMetadata.
|
||||
# @param [String] name
|
||||
|
@ -784,6 +790,9 @@ module Google
|
|||
# Requests for policies with any conditional bindings must specify version 3.
|
||||
# Policies without any conditional bindings may specify any valid value or
|
||||
# leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the
|
||||
# [IAM
|
||||
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -815,9 +824,8 @@ module Google
|
|||
# Imports data into the DICOM store by copying it from the specified source.
|
||||
# For errors, the Operation is populated with error details (in the form
|
||||
# of ImportDicomDataErrorDetails in error.details), which hold
|
||||
# finer-grained error information. Errors are also logged to Stackdriver
|
||||
# Logging. For more information,
|
||||
# see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging).
|
||||
# finer-grained error information. Errors are also logged to Cloud Logging.
|
||||
# For more information, see [Viewing logs](/healthcare/docs/how-tos/logging).
|
||||
# The metadata field type is
|
||||
# OperationMetadata.
|
||||
# @param [String] name
|
||||
|
@ -1051,7 +1059,7 @@ module Google
|
|||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
||||
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
|
@ -1128,7 +1136,7 @@ module Google
|
|||
|
||||
# Returns permissions that a caller has on the specified resource.
|
||||
# If the resource does not exist, this will return an empty set of
|
||||
# permissions, not a NOT_FOUND error.
|
||||
# permissions, not a `NOT_FOUND` error.
|
||||
# Note: This operation is designed to be used for building permission-aware
|
||||
# UIs and command-line tools, not for authorization checking. This operation
|
||||
# may "fail open" without warning.
|
||||
|
@ -1818,8 +1826,8 @@ module Google
|
|||
# error
|
||||
# details field type is
|
||||
# DeidentifyErrorDetails.
|
||||
# Errors are also logged to Stackdriver
|
||||
# (see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging)).
|
||||
# Errors are also logged to Cloud Logging
|
||||
# (see [Viewing logs](/healthcare/docs/how-tos/logging)).
|
||||
# @param [String] source_store
|
||||
# Source FHIR store resource name. For example,
|
||||
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
||||
|
@ -1890,8 +1898,8 @@ module Google
|
|||
# GetOperation.
|
||||
# Immediate fatal errors appear in the
|
||||
# error field, errors are also logged
|
||||
# to Stackdriver (see [Viewing
|
||||
# logs](/healthcare/docs/how-tos/stackdriver-logging)).
|
||||
# to Cloud Logging (see [Viewing
|
||||
# logs](/healthcare/docs/how-tos/logging)).
|
||||
# Otherwise, when the operation finishes, a detailed response of type
|
||||
# ExportResourcesResponse is returned in the
|
||||
# response field.
|
||||
|
@ -1975,6 +1983,9 @@ module Google
|
|||
# Requests for policies with any conditional bindings must specify version 3.
|
||||
# Policies without any conditional bindings may specify any valid value or
|
||||
# leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the
|
||||
# [IAM
|
||||
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -2061,8 +2072,8 @@ module Google
|
|||
# GetOperation.
|
||||
# Immediate fatal errors appear in the
|
||||
# error field, errors are also logged
|
||||
# to Stackdriver (see [Viewing
|
||||
# logs](/healthcare/docs/how-tos/stackdriver-logging)). Otherwise, when the
|
||||
# to Cloud Logging (see [Viewing
|
||||
# logs](/healthcare/docs/how-tos/logging)). Otherwise, when the
|
||||
# operation finishes, a detailed response of type ImportResourcesResponse
|
||||
# is returned in the response field.
|
||||
# The metadata field type for this
|
||||
|
@ -2184,95 +2195,9 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Searches for resources in the given FHIR store according to criteria
|
||||
# specified as query parameters.
|
||||
# Implements the FHIR standard search interaction
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search),
|
||||
# [R4](http://hl7.org/implement/standards/fhir/R4/http.html#search))
|
||||
# using the search semantics described in the FHIR Search specification
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html),
|
||||
# [R4](http://hl7.org/implement/standards/fhir/R4/search.html)).
|
||||
# Supports three methods of search defined by the specification:
|
||||
# * `GET [base]?[parameters]` to search across all resources.
|
||||
# * `GET [base]/[type]?[parameters]` to search resources of a specified
|
||||
# type.
|
||||
# * `POST [base]/[type]/_search?[parameters]` as an alternate form having
|
||||
# the same semantics as the `GET` method.
|
||||
# The `GET` methods do not support compartment searches. The `POST` method
|
||||
# does not support `application/x-www-form-urlencoded` search parameters.
|
||||
# On success, the response body will contain a JSON-encoded representation
|
||||
# of a `Bundle` resource of type `searchset`, containing the results of the
|
||||
# search.
|
||||
# Errors generated by the FHIR store will contain a JSON-encoded
|
||||
# `OperationOutcome` resource describing the reason for the error. If the
|
||||
# request cannot be mapped to a valid API method on a FHIR store, a generic
|
||||
# GCP error might be returned instead.
|
||||
# The server's capability statement, retrieved through
|
||||
# capabilities, indicates what search parameters
|
||||
# are supported on each FHIR resource. A list of all search parameters
|
||||
# defined by the specification can be found in the FHIR Search Parameter
|
||||
# Registry
|
||||
# ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.
|
||||
# html),
|
||||
# [R4](http://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html))
|
||||
# .
|
||||
# FHIR search parameters for DSTU2 can be found on each resource's definition
|
||||
# page.
|
||||
# Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`,
|
||||
# `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`.
|
||||
# Supported search result parameters: `_sort`, `_count`, `_include`,
|
||||
# `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`.
|
||||
# The maximum number of search results returned defaults to 100, which can
|
||||
# be overridden by the `_count` parameter up to a maximum limit of 1000. If
|
||||
# there are additional results, the returned `Bundle` will contain
|
||||
# pagination links.
|
||||
# Resources with a total size larger than 5MB or a field count larger than
|
||||
# 50,000 might not be fully searchable as the server might trim its generated
|
||||
# search index in those cases.
|
||||
# Note: FHIR resources are indexed asynchronously, so there might be a slight
|
||||
# delay between the time a resource is created or changes and when the change
|
||||
# is reflected in search results.
|
||||
# @param [String] parent
|
||||
# Name of the FHIR store to retrieve resources from.
|
||||
# @param [String] resource_type
|
||||
# The FHIR resource type to search, such as Patient or Observation. For a
|
||||
# complete list, see the FHIR Resource Index
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
|
||||
# [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
|
||||
# [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::HealthcareV1beta1::HttpBody]
|
||||
#
|
||||
# @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_project_location_dataset_fhir_stores(parent, resource_type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta1/{+parent}/fhir', options)
|
||||
command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
|
||||
command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['resourceType'] = resource_type unless resource_type.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
||||
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
|
@ -2308,7 +2233,7 @@ module Google
|
|||
|
||||
# Returns permissions that a caller has on the specified resource.
|
||||
# If the resource does not exist, this will return an empty set of
|
||||
# permissions, not a NOT_FOUND error.
|
||||
# permissions, not a `NOT_FOUND` error.
|
||||
# Note: This operation is designed to be used for building permission-aware
|
||||
# UIs and command-line tools, not for authorization checking. This operation
|
||||
# may "fail open" without warning.
|
||||
|
@ -2519,8 +2444,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves all the resources directly referenced by a patient, as well as
|
||||
# all of the resources in the patient compartment.
|
||||
# Retrieves a Patient resource and resources related to that patient.
|
||||
# Implements the FHIR extended operation Patient-everything
|
||||
# ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/patient-operations.html#
|
||||
# everything),
|
||||
|
@ -2535,6 +2459,16 @@ module Google
|
|||
# `OperationOutcome` resource describing the reason for the error. If the
|
||||
# request cannot be mapped to a valid API method on a FHIR store, a generic
|
||||
# GCP error might be returned instead.
|
||||
# The resources in scope for the response are:
|
||||
# * The patient resource itself.
|
||||
# * All the resources directly referenced by the patient resource.
|
||||
# * Resources directly referencing the patient resource that meet the
|
||||
# inclusion criteria. The inclusion criteria are based on the membership
|
||||
# rules in the patient compartment definition
|
||||
# ([DSTU2](http://hl7.org/fhir/DSTU2/compartment-patient.html),
|
||||
# [STU3](http://www.hl7.org/fhir/stu3/compartmentdefinition-patient.html),
|
||||
# [R4](http://hl7.org/fhir/R4/compartmentdefinition-patient.html)), which
|
||||
# details the eligible resource types and referencing search parameters.
|
||||
# @param [String] name
|
||||
# Name of the `Patient` resource for which the information is required.
|
||||
# @param [Fixnum] _count
|
||||
|
@ -2675,6 +2609,8 @@ module Google
|
|||
# repository that can still be retrieved through vread
|
||||
# and related methods, unless they are removed by the
|
||||
# purge method.
|
||||
# This method requires the`healthcare.fhirStores.searchResources` and
|
||||
# `healthcare.fhirResources.delete` permissions on the parent FHIR store.
|
||||
# @param [String] parent
|
||||
# The name of the FHIR store this resource belongs to.
|
||||
# @param [String] type
|
||||
|
@ -2731,6 +2667,9 @@ module Google
|
|||
# `OperationOutcome` resource describing the reason for the error. If the
|
||||
# request cannot be mapped to a valid API method on a FHIR store, a generic
|
||||
# GCP error might be returned instead.
|
||||
# This method requires the`healthcare.fhirStores.searchResources` permission
|
||||
# on the parent FHIR store and the `healthcare.fhirResources.patch`
|
||||
# permission on the requested FHIR store resource.
|
||||
# @param [String] parent
|
||||
# The name of the FHIR store this resource belongs to.
|
||||
# @param [String] type
|
||||
|
@ -2795,6 +2734,8 @@ module Google
|
|||
# `OperationOutcome` resource describing the reason for the error. If the
|
||||
# request cannot be mapped to a valid API method on a FHIR store, a generic
|
||||
# GCP error might be returned instead.
|
||||
# This method requires the`healthcare.fhirStores.searchResources` and
|
||||
# `healthcare.fhirResources.update` permissions on the parent FHIR store.
|
||||
# @param [String] parent
|
||||
# The name of the FHIR store this resource belongs to.
|
||||
# @param [String] type
|
||||
|
@ -2962,6 +2903,12 @@ module Google
|
|||
# a JSON-encoded `OperationOutcome` resource describing the reason for the
|
||||
# error. If the request cannot be mapped to a valid API method on a FHIR
|
||||
# store, a generic GCP error might be returned instead.
|
||||
# This method requires permission for executing the requests in the bundle.
|
||||
# The `executeBundle` permission grants permission to execute the request in
|
||||
# the bundle but you must grant sufficient permissions to execute the
|
||||
# individual requests in the bundle. For example, if the bundle contains a
|
||||
# `create` request, you must have permission to execute the `create` request.
|
||||
# Logging is available for the `executeBundle` permission.
|
||||
# @param [String] parent
|
||||
# Name of the FHIR store in which this bundle will be executed.
|
||||
# @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
|
||||
|
@ -3442,6 +3389,9 @@ module Google
|
|||
# Requests for policies with any conditional bindings must specify version 3.
|
||||
# Policies without any conditional bindings may specify any valid value or
|
||||
# leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the
|
||||
# [IAM
|
||||
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -3554,7 +3504,7 @@ module Google
|
|||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
||||
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
|
@ -3590,7 +3540,7 @@ module Google
|
|||
|
||||
# Returns permissions that a caller has on the specified resource.
|
||||
# If the resource does not exist, this will return an empty set of
|
||||
# permissions, not a NOT_FOUND error.
|
||||
# permissions, not a `NOT_FOUND` error.
|
||||
# Note: This operation is designed to be used for building permission-aware
|
||||
# UIs and command-line tools, not for authorization checking. This operation
|
||||
# may "fail open" without warning.
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
||||
module JobsV3p1beta1
|
||||
VERSION = 'V3p1beta1'
|
||||
REVISION = '20200505'
|
||||
REVISION = '20200506'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -808,10 +808,8 @@ module Google
|
|||
class CustomAttribute
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Optional. If the `filterable` flag is true, the custom field values may be
|
||||
# used for
|
||||
# custom attribute filters JobQuery.custom_attribute_filter.
|
||||
# If false, these values may not be used for custom attribute filters.
|
||||
# Optional. If the `filterable` flag is true, custom field values are searchable.
|
||||
# If false, values are not searchable.
|
||||
# Default is false.
|
||||
# Corresponds to the JSON property `filterable`
|
||||
# @return [Boolean]
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/run/
|
||||
module RunV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200415'
|
||||
REVISION = '20200505'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1250,40 +1250,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# IntOrString is a type that can hold an int32 or a string. When used in
|
||||
# JSON or YAML marshalling and unmarshalling, it produces or consumes the
|
||||
# inner type. This allows you to have, for example, a JSON field that can
|
||||
# accept a name or number.
|
||||
class IntOrString
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The int value.
|
||||
# Corresponds to the JSON property `intVal`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :int_val
|
||||
|
||||
# The string value.
|
||||
# Corresponds to the JSON property `strVal`
|
||||
# @return [String]
|
||||
attr_accessor :str_val
|
||||
|
||||
# The type of the value.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@int_val = args[:int_val] if args.key?(:int_val)
|
||||
@str_val = args[:str_val] if args.key?(:str_val)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
# Cloud Run fully managed: not supported
|
||||
# Cloud Run for Anthos: supported
|
||||
# Maps a string key to a path within a volume.
|
||||
|
@ -2101,10 +2067,13 @@ module Google
|
|||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||
# custom role.
|
||||
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||
# expression that allows access to a resource only if the expression evaluates
|
||||
# to `true`. A condition can add constraints based on attributes of the
|
||||
# request, the resource, or both.
|
||||
# For some types of Google Cloud resources, a `binding` can also specify a
|
||||
# `condition`, which is a logical expression that allows access to a resource
|
||||
# only if the expression evaluates to `true`. A condition can add constraints
|
||||
# based on attributes of the request, the resource, or both. To learn which
|
||||
# resources support conditions in their IAM policies, see the
|
||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
||||
# policies).
|
||||
# **JSON example:**
|
||||
# `
|
||||
# "bindings": [
|
||||
|
@ -2119,7 +2088,9 @@ module Google
|
|||
# `,
|
||||
# `
|
||||
# "role": "roles/resourcemanager.organizationViewer",
|
||||
# "members": ["user:eve@example.com"],
|
||||
# "members": [
|
||||
# "user:eve@example.com"
|
||||
# ],
|
||||
# "condition": `
|
||||
# "title": "expirable access",
|
||||
# "description": "Does not grant access after Sep 2020",
|
||||
|
@ -2197,6 +2168,9 @@ module Google
|
|||
# the conditions in the version `3` policy are lost.
|
||||
# If a policy does not include any conditions, operations on that policy may
|
||||
# specify any valid version or leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the
|
||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
||||
# policies).
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
@ -3122,10 +3096,13 @@ module Google
|
|||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||
# custom role.
|
||||
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||
# expression that allows access to a resource only if the expression evaluates
|
||||
# to `true`. A condition can add constraints based on attributes of the
|
||||
# request, the resource, or both.
|
||||
# For some types of Google Cloud resources, a `binding` can also specify a
|
||||
# `condition`, which is a logical expression that allows access to a resource
|
||||
# only if the expression evaluates to `true`. A condition can add constraints
|
||||
# based on attributes of the request, the resource, or both. To learn which
|
||||
# resources support conditions in their IAM policies, see the
|
||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
||||
# policies).
|
||||
# **JSON example:**
|
||||
# `
|
||||
# "bindings": [
|
||||
|
@ -3140,7 +3117,9 @@ module Google
|
|||
# `,
|
||||
# `
|
||||
# "role": "roles/resourcemanager.organizationViewer",
|
||||
# "members": ["user:eve@example.com"],
|
||||
# "members": [
|
||||
# "user:eve@example.com"
|
||||
# ],
|
||||
# "condition": `
|
||||
# "title": "expirable access",
|
||||
# "description": "Does not grant access after Sep 2020",
|
||||
|
@ -3388,12 +3367,15 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :host
|
||||
|
||||
# IntOrString is a type that can hold an int32 or a string. When used in
|
||||
# JSON or YAML marshalling and unmarshalling, it produces or consumes the
|
||||
# inner type. This allows you to have, for example, a JSON field that can
|
||||
# accept a name or number.
|
||||
# Cloud Run fully managed: not supported
|
||||
# Cloud Run for Anthos: supported
|
||||
# Number or name of the port to access on the container.
|
||||
# Number must be in the range 1 to 65535.
|
||||
# Name must be an IANA_SVC_NAME.
|
||||
# This field is currently limited to integer types only because of proto's
|
||||
# inability to properly support the IntOrString golang type.
|
||||
# Corresponds to the JSON property `port`
|
||||
# @return [Google::Apis::RunV1::IntOrString]
|
||||
# @return [Fixnum]
|
||||
attr_accessor :port
|
||||
|
||||
def initialize(**args)
|
||||
|
|
|
@ -166,12 +166,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class IntOrString
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class KeyToPath
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -702,15 +696,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class IntOrString
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :int_val, as: 'intVal'
|
||||
property :str_val, as: 'strVal'
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class KeyToPath
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1160,8 +1145,7 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :host, as: 'host'
|
||||
property :port, as: 'port', class: Google::Apis::RunV1::IntOrString, decorator: Google::Apis::RunV1::IntOrString::Representation
|
||||
|
||||
property :port, as: 'port'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -1807,6 +1807,9 @@ module Google
|
|||
# Requests for policies with any conditional bindings must specify version 3.
|
||||
# Policies without any conditional bindings may specify any valid value or
|
||||
# leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the
|
||||
# [IAM
|
||||
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/run/
|
||||
module RunV1alpha1
|
||||
VERSION = 'V1alpha1'
|
||||
REVISION = '20200415'
|
||||
REVISION = '20200505'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -3231,10 +3231,13 @@ module Google
|
|||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||
# custom role.
|
||||
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||
# expression that allows access to a resource only if the expression evaluates
|
||||
# to `true`. A condition can add constraints based on attributes of the
|
||||
# request, the resource, or both.
|
||||
# For some types of Google Cloud resources, a `binding` can also specify a
|
||||
# `condition`, which is a logical expression that allows access to a resource
|
||||
# only if the expression evaluates to `true`. A condition can add constraints
|
||||
# based on attributes of the request, the resource, or both. To learn which
|
||||
# resources support conditions in their IAM policies, see the
|
||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
||||
# policies).
|
||||
# **JSON example:**
|
||||
# `
|
||||
# "bindings": [
|
||||
|
@ -3249,7 +3252,9 @@ module Google
|
|||
# `,
|
||||
# `
|
||||
# "role": "roles/resourcemanager.organizationViewer",
|
||||
# "members": ["user:eve@example.com"],
|
||||
# "members": [
|
||||
# "user:eve@example.com"
|
||||
# ],
|
||||
# "condition": `
|
||||
# "title": "expirable access",
|
||||
# "description": "Does not grant access after Sep 2020",
|
||||
|
@ -3327,6 +3332,9 @@ module Google
|
|||
# the conditions in the version `3` policy are lost.
|
||||
# If a policy does not include any conditions, operations on that policy may
|
||||
# specify any valid version or leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the
|
||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
||||
# policies).
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
@ -4676,10 +4684,13 @@ module Google
|
|||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||
# custom role.
|
||||
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||
# expression that allows access to a resource only if the expression evaluates
|
||||
# to `true`. A condition can add constraints based on attributes of the
|
||||
# request, the resource, or both.
|
||||
# For some types of Google Cloud resources, a `binding` can also specify a
|
||||
# `condition`, which is a logical expression that allows access to a resource
|
||||
# only if the expression evaluates to `true`. A condition can add constraints
|
||||
# based on attributes of the request, the resource, or both. To learn which
|
||||
# resources support conditions in their IAM policies, see the
|
||||
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
||||
# policies).
|
||||
# **JSON example:**
|
||||
# `
|
||||
# "bindings": [
|
||||
|
@ -4694,7 +4705,9 @@ module Google
|
|||
# `,
|
||||
# `
|
||||
# "role": "roles/resourcemanager.organizationViewer",
|
||||
# "members": ["user:eve@example.com"],
|
||||
# "members": [
|
||||
# "user:eve@example.com"
|
||||
# ],
|
||||
# "condition": `
|
||||
# "title": "expirable access",
|
||||
# "description": "Does not grant access after Sep 2020",
|
||||
|
|
|
@ -3125,6 +3125,9 @@ module Google
|
|||
# Requests for policies with any conditional bindings must specify version 3.
|
||||
# Policies without any conditional bindings may specify any valid value or
|
||||
# leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the
|
||||
# [IAM
|
||||
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/storage/docs/json_api/
|
||||
module StorageV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200410'
|
||||
REVISION = '20200430'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -512,6 +512,15 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :days_since_custom_time
|
||||
|
||||
# Number of days elapsed since the noncurrent timestamp of an object. The
|
||||
# condition is satisfied if the days elapsed is at least this number. This
|
||||
# condition is relevant only for versioned objects. The value of the field must
|
||||
# be a nonnegative integer. If it's zero, the object version will become
|
||||
# eligible for Lifecycle action as soon as it becomes noncurrent.
|
||||
# Corresponds to the JSON property `daysSinceNoncurrentTime`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :days_since_noncurrent_time
|
||||
|
||||
# Relevant only for versioned objects. If the value is true, this condition
|
||||
# matches live objects; if the value is false, it matches archived objects.
|
||||
# Corresponds to the JSON property `isLive`
|
||||
|
@ -535,6 +544,13 @@ module Google
|
|||
# @return [Array<String>]
|
||||
attr_accessor :matches_storage_class
|
||||
|
||||
# A timestamp in RFC 3339 format. This condition is satisfied when the
|
||||
# noncurrent time on an object is before this timestamp. This condition is
|
||||
# relevant only for versioned objects.
|
||||
# Corresponds to the JSON property `noncurrentTimeBefore`
|
||||
# @return [DateTime]
|
||||
attr_accessor :noncurrent_time_before
|
||||
|
||||
# Relevant only for versioned objects. If the value is N, this condition is
|
||||
# satisfied when there are at least N versions (including the live version)
|
||||
# newer than this version of the object.
|
||||
|
@ -552,9 +568,11 @@ module Google
|
|||
@created_before = args[:created_before] if args.key?(:created_before)
|
||||
@custom_time_before = args[:custom_time_before] if args.key?(:custom_time_before)
|
||||
@days_since_custom_time = args[:days_since_custom_time] if args.key?(:days_since_custom_time)
|
||||
@days_since_noncurrent_time = args[:days_since_noncurrent_time] if args.key?(:days_since_noncurrent_time)
|
||||
@is_live = args[:is_live] if args.key?(:is_live)
|
||||
@matches_pattern = args[:matches_pattern] if args.key?(:matches_pattern)
|
||||
@matches_storage_class = args[:matches_storage_class] if args.key?(:matches_storage_class)
|
||||
@noncurrent_time_before = args[:noncurrent_time_before] if args.key?(:noncurrent_time_before)
|
||||
@num_newer_versions = args[:num_newer_versions] if args.key?(:num_newer_versions)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -406,9 +406,12 @@ module Google
|
|||
property :custom_time_before, as: 'customTimeBefore', type: DateTime
|
||||
|
||||
property :days_since_custom_time, as: 'daysSinceCustomTime'
|
||||
property :days_since_noncurrent_time, as: 'daysSinceNoncurrentTime'
|
||||
property :is_live, as: 'isLive'
|
||||
property :matches_pattern, as: 'matchesPattern'
|
||||
collection :matches_storage_class, as: 'matchesStorageClass'
|
||||
property :noncurrent_time_before, as: 'noncurrentTimeBefore', type: DateTime
|
||||
|
||||
property :num_newer_versions, as: 'numNewerVersions'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-test-lab/
|
||||
module TestingV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200429'
|
||||
REVISION = '20200508'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -368,7 +368,8 @@ module Google
|
|||
# @return [Array<String>]
|
||||
attr_accessor :tags
|
||||
|
||||
# URL of a thumbnail image of the device.
|
||||
# URL of a thumbnail image (photo) of the device.
|
||||
# e.g. https://lh3.googleusercontent.com/90WcauuJiCYABEl8U0lcZeuS5STUbf2yW...
|
||||
# Corresponds to the JSON property `thumbnailUrl`
|
||||
# @return [String]
|
||||
attr_accessor :thumbnail_url
|
||||
|
@ -1209,7 +1210,7 @@ module Google
|
|||
end
|
||||
|
||||
# A description of an iOS device tests may be run on.
|
||||
# Next tag: 12
|
||||
# Next tag: 13
|
||||
class IosModel
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://firebase.google.com/docs/test-lab/
|
||||
module ToolresultsV1beta3
|
||||
VERSION = 'V1beta3'
|
||||
REVISION = '20200507'
|
||||
REVISION = '20200513'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -205,7 +205,7 @@ module Google
|
|||
attr_accessor :android_robo_test
|
||||
|
||||
# Test Loops are tests that can be launched by the app itself, determining
|
||||
# when to run by listening for an intent. go/ftl-games-dd
|
||||
# when to run by listening for an intent.
|
||||
# Corresponds to the JSON property `androidTestLoop`
|
||||
# @return [Google::Apis::ToolresultsV1beta3::AndroidTestLoop]
|
||||
attr_accessor :android_test_loop
|
||||
|
@ -235,7 +235,7 @@ module Google
|
|||
end
|
||||
|
||||
# Test Loops are tests that can be launched by the app itself, determining
|
||||
# when to run by listening for an intent. go/ftl-games-dd
|
||||
# when to run by listening for an intent.
|
||||
class AndroidTestLoop
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -1142,6 +1142,13 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# The platform of the test history.
|
||||
# - In response: always set. Returns the platform of the last execution if
|
||||
# unknown.
|
||||
# Corresponds to the JSON property `testPlatform`
|
||||
# @return [String]
|
||||
attr_accessor :test_platform
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -1151,6 +1158,7 @@ module Google
|
|||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@history_id = args[:history_id] if args.key?(:history_id)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@test_platform = args[:test_platform] if args.key?(:test_platform)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -1341,6 +1349,131 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# iOS app information
|
||||
class IosAppInfo
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The name of the app.
|
||||
# Required
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
end
|
||||
|
||||
# A Robo test for an iOS application.
|
||||
class IosRoboTest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
end
|
||||
end
|
||||
|
||||
# A iOS mobile test specification
|
||||
class IosTest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# iOS app information
|
||||
# Corresponds to the JSON property `iosAppInfo`
|
||||
# @return [Google::Apis::ToolresultsV1beta3::IosAppInfo]
|
||||
attr_accessor :ios_app_info
|
||||
|
||||
# A Robo test for an iOS application.
|
||||
# Corresponds to the JSON property `iosRoboTest`
|
||||
# @return [Google::Apis::ToolresultsV1beta3::IosRoboTest]
|
||||
attr_accessor :ios_robo_test
|
||||
|
||||
# A game loop test of an iOS application.
|
||||
# Corresponds to the JSON property `iosTestLoop`
|
||||
# @return [Google::Apis::ToolresultsV1beta3::IosTestLoop]
|
||||
attr_accessor :ios_test_loop
|
||||
|
||||
# A test of an iOS application that uses the XCTest framework.
|
||||
# Corresponds to the JSON property `iosXcTest`
|
||||
# @return [Google::Apis::ToolresultsV1beta3::IosXcTest]
|
||||
attr_accessor :ios_xc_test
|
||||
|
||||
# A Duration represents a signed, fixed-length span of time represented
|
||||
# as a count of seconds and fractions of seconds at nanosecond
|
||||
# resolution. It is independent of any calendar and concepts like "day"
|
||||
# or "month". It is related to Timestamp in that the difference between
|
||||
# two Timestamp values is a Duration and it can be added or subtracted
|
||||
# from a Timestamp. Range is approximately +-10,000 years.
|
||||
# Corresponds to the JSON property `testTimeout`
|
||||
# @return [Google::Apis::ToolresultsV1beta3::Duration]
|
||||
attr_accessor :test_timeout
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@ios_app_info = args[:ios_app_info] if args.key?(:ios_app_info)
|
||||
@ios_robo_test = args[:ios_robo_test] if args.key?(:ios_robo_test)
|
||||
@ios_test_loop = args[:ios_test_loop] if args.key?(:ios_test_loop)
|
||||
@ios_xc_test = args[:ios_xc_test] if args.key?(:ios_xc_test)
|
||||
@test_timeout = args[:test_timeout] if args.key?(:test_timeout)
|
||||
end
|
||||
end
|
||||
|
||||
# A game loop test of an iOS application.
|
||||
class IosTestLoop
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Bundle ID of the app.
|
||||
# Corresponds to the JSON property `bundleId`
|
||||
# @return [String]
|
||||
attr_accessor :bundle_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@bundle_id = args[:bundle_id] if args.key?(:bundle_id)
|
||||
end
|
||||
end
|
||||
|
||||
# A test of an iOS application that uses the XCTest framework.
|
||||
class IosXcTest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Bundle ID of the app.
|
||||
# Corresponds to the JSON property `bundleId`
|
||||
# @return [String]
|
||||
attr_accessor :bundle_id
|
||||
|
||||
# Xcode version that the test was run with.
|
||||
# Corresponds to the JSON property `xcodeVersion`
|
||||
# @return [String]
|
||||
attr_accessor :xcode_version
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@bundle_id = args[:bundle_id] if args.key?(:bundle_id)
|
||||
@xcode_version = args[:xcode_version] if args.key?(:xcode_version)
|
||||
end
|
||||
end
|
||||
|
||||
# Failed to find the launcher activity of an app.
|
||||
class LauncherActivityNotFound
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -2591,6 +2724,11 @@ module Google
|
|||
# @return [Google::Apis::ToolresultsV1beta3::AndroidTest]
|
||||
attr_accessor :android_test
|
||||
|
||||
# A iOS mobile test specification
|
||||
# Corresponds to the JSON property `iosTest`
|
||||
# @return [Google::Apis::ToolresultsV1beta3::IosTest]
|
||||
attr_accessor :ios_test
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -2598,6 +2736,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@android_test = args[:android_test] if args.key?(:android_test)
|
||||
@ios_test = args[:ios_test] if args.key?(:ios_test)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -226,6 +226,36 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class IosAppInfo
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class IosRoboTest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class IosTest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class IosTestLoop
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class IosXcTest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LauncherActivityNotFound
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -912,6 +942,7 @@ module Google
|
|||
property :display_name, as: 'displayName'
|
||||
property :history_id, as: 'historyId'
|
||||
property :name, as: 'name'
|
||||
property :test_platform, as: 'testPlatform'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -970,6 +1001,50 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class IosAppInfo
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class IosRoboTest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class IosTest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :ios_app_info, as: 'iosAppInfo', class: Google::Apis::ToolresultsV1beta3::IosAppInfo, decorator: Google::Apis::ToolresultsV1beta3::IosAppInfo::Representation
|
||||
|
||||
property :ios_robo_test, as: 'iosRoboTest', class: Google::Apis::ToolresultsV1beta3::IosRoboTest, decorator: Google::Apis::ToolresultsV1beta3::IosRoboTest::Representation
|
||||
|
||||
property :ios_test_loop, as: 'iosTestLoop', class: Google::Apis::ToolresultsV1beta3::IosTestLoop, decorator: Google::Apis::ToolresultsV1beta3::IosTestLoop::Representation
|
||||
|
||||
property :ios_xc_test, as: 'iosXcTest', class: Google::Apis::ToolresultsV1beta3::IosXcTest, decorator: Google::Apis::ToolresultsV1beta3::IosXcTest::Representation
|
||||
|
||||
property :test_timeout, as: 'testTimeout', class: Google::Apis::ToolresultsV1beta3::Duration, decorator: Google::Apis::ToolresultsV1beta3::Duration::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class IosTestLoop
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :bundle_id, as: 'bundleId'
|
||||
end
|
||||
end
|
||||
|
||||
class IosXcTest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :bundle_id, as: 'bundleId'
|
||||
property :xcode_version, as: 'xcodeVersion'
|
||||
end
|
||||
end
|
||||
|
||||
class LauncherActivityNotFound
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1351,6 +1426,8 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :android_test, as: 'androidTest', class: Google::Apis::ToolresultsV1beta3::AndroidTest, decorator: Google::Apis::ToolresultsV1beta3::AndroidTest::Representation
|
||||
|
||||
property :ios_test, as: 'iosTest', class: Google::Apis::ToolresultsV1beta3::IosTest, decorator: Google::Apis::ToolresultsV1beta3::IosTest::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/youtube/partner/
|
||||
module YoutubePartnerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200422'
|
||||
REVISION = '20200505'
|
||||
|
||||
# View and manage your assets and associated content on YouTube
|
||||
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
||||
|
|
Loading…
Reference in New Issue