Autogenerated update (2019-04-27)

Update:
- bigtableadmin_v2
- cloudresourcemanager_v1
- cloudresourcemanager_v1beta1
- dataflow_v1b3
- doubleclickbidmanager_v1
- jobs_v2
- jobs_v3
- jobs_v3p1beta1
- servicecontrol_v1
- testing_v1
This commit is contained in:
Google APIs 2019-04-27 00:37:23 +00:00
parent d2d592ceb6
commit 99be4b4eb5
25 changed files with 495 additions and 77 deletions

View File

@ -47330,6 +47330,7 @@
"/dataflow:v1b3/DatastoreIODetails": datastore_io_details
"/dataflow:v1b3/DatastoreIODetails/namespace": namespace
"/dataflow:v1b3/DatastoreIODetails/projectId": project_id
"/dataflow:v1b3/DeleteSnapshotResponse": delete_snapshot_response
"/dataflow:v1b3/DerivedSource": derived_source
"/dataflow:v1b3/DerivedSource/derivationMode": derivation_mode
"/dataflow:v1b3/DerivedSource/source": source
@ -47547,6 +47548,9 @@
"/dataflow:v1b3/ListJobsResponse/jobs": jobs
"/dataflow:v1b3/ListJobsResponse/jobs/job": job
"/dataflow:v1b3/ListJobsResponse/nextPageToken": next_page_token
"/dataflow:v1b3/ListSnapshotsResponse": list_snapshots_response
"/dataflow:v1b3/ListSnapshotsResponse/snapshots": snapshots
"/dataflow:v1b3/ListSnapshotsResponse/snapshots/snapshot": snapshot
"/dataflow:v1b3/LogBucket": log_bucket
"/dataflow:v1b3/LogBucket/count": count
"/dataflow:v1b3/LogBucket/log": log
@ -47915,6 +47919,8 @@
"/dataflow:v1b3/TransformSummary/name": name
"/dataflow:v1b3/TransformSummary/outputCollectionName": output_collection_name
"/dataflow:v1b3/TransformSummary/outputCollectionName/output_collection_name": output_collection_name
"/dataflow:v1b3/ValidateResponse": validate_response
"/dataflow:v1b3/ValidateResponse/errorMessage": error_message
"/dataflow:v1b3/WorkItem": work_item
"/dataflow:v1b3/WorkItem/configuration": configuration
"/dataflow:v1b3/WorkItem/id": id
@ -48031,6 +48037,10 @@
"/dataflow:v1b3/WriteInstruction": write_instruction
"/dataflow:v1b3/WriteInstruction/input": input
"/dataflow:v1b3/WriteInstruction/sink": sink
"/dataflow:v1b3/dataflow.projects.deleteSnapshots": delete_project_snapshots
"/dataflow:v1b3/dataflow.projects.deleteSnapshots/location": location
"/dataflow:v1b3/dataflow.projects.deleteSnapshots/projectId": project_id
"/dataflow:v1b3/dataflow.projects.deleteSnapshots/snapshotId": snapshot_id
"/dataflow:v1b3/dataflow.projects.jobs.aggregated": aggregated_project_job
"/dataflow:v1b3/dataflow.projects.jobs.aggregated/filter": filter
"/dataflow:v1b3/dataflow.projects.jobs.aggregated/location": location
@ -48143,6 +48153,21 @@
"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/jobId": job_id
"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/location": location
"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/projectId": project_id
"/dataflow:v1b3/dataflow.projects.locations.snapshots.delete": delete_project_location_snapshot
"/dataflow:v1b3/dataflow.projects.locations.snapshots.delete/location": location
"/dataflow:v1b3/dataflow.projects.locations.snapshots.delete/projectId": project_id
"/dataflow:v1b3/dataflow.projects.locations.snapshots.delete/snapshotId": snapshot_id
"/dataflow:v1b3/dataflow.projects.locations.snapshots.get": get_project_location_snapshot
"/dataflow:v1b3/dataflow.projects.locations.snapshots.get/location": location
"/dataflow:v1b3/dataflow.projects.locations.snapshots.get/projectId": project_id
"/dataflow:v1b3/dataflow.projects.locations.snapshots.get/snapshotId": snapshot_id
"/dataflow:v1b3/dataflow.projects.locations.snapshots.list": list_project_location_snapshots
"/dataflow:v1b3/dataflow.projects.locations.snapshots.list/location": location
"/dataflow:v1b3/dataflow.projects.locations.snapshots.list/projectId": project_id
"/dataflow:v1b3/dataflow.projects.locations.sql.validate": validate_project_location_sql
"/dataflow:v1b3/dataflow.projects.locations.sql.validate/location": location
"/dataflow:v1b3/dataflow.projects.locations.sql.validate/projectId": project_id
"/dataflow:v1b3/dataflow.projects.locations.sql.validate/query": query
"/dataflow:v1b3/dataflow.projects.locations.templates.create": create_job_from_template_with_location
"/dataflow:v1b3/dataflow.projects.locations.templates.create/location": location
"/dataflow:v1b3/dataflow.projects.locations.templates.create/projectId": project_id
@ -48161,6 +48186,13 @@
"/dataflow:v1b3/dataflow.projects.locations.workerMessages": worker_project_location_messages
"/dataflow:v1b3/dataflow.projects.locations.workerMessages/location": location
"/dataflow:v1b3/dataflow.projects.locations.workerMessages/projectId": project_id
"/dataflow:v1b3/dataflow.projects.snapshots.get": get_project_snapshot
"/dataflow:v1b3/dataflow.projects.snapshots.get/location": location
"/dataflow:v1b3/dataflow.projects.snapshots.get/projectId": project_id
"/dataflow:v1b3/dataflow.projects.snapshots.get/snapshotId": snapshot_id
"/dataflow:v1b3/dataflow.projects.snapshots.list": list_project_snapshots
"/dataflow:v1b3/dataflow.projects.snapshots.list/location": location
"/dataflow:v1b3/dataflow.projects.snapshots.list/projectId": project_id
"/dataflow:v1b3/dataflow.projects.templates.create": create_job_from_template
"/dataflow:v1b3/dataflow.projects.templates.create/projectId": project_id
"/dataflow:v1b3/dataflow.projects.templates.get": get_project_template
@ -104889,6 +104921,7 @@
"/testing:v1/ApkManifest/maxSdkVersion": max_sdk_version
"/testing:v1/ApkManifest/minSdkVersion": min_sdk_version
"/testing:v1/ApkManifest/packageName": package_name
"/testing:v1/ApkManifest/targetSdkVersion": target_sdk_version
"/testing:v1/AppBundle": app_bundle
"/testing:v1/AppBundle/bundleLocation": bundle_location
"/testing:v1/CancelTestMatrixResponse": cancel_test_matrix_response

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/bigtable/
module BigtableadminV2
VERSION = 'V2'
REVISION = '20190328'
REVISION = '20190406'
# Administer your Cloud Bigtable tables and clusters
AUTH_BIGTABLE_ADMIN = 'https://www.googleapis.com/auth/bigtable.admin'

View File

@ -1130,7 +1130,12 @@ module Google
# Values are of the form `projects/<project>/instances/<instance>`.
# @param [Fixnum] page_size
# Maximum number of results per page.
# CURRENTLY UNIMPLEMENTED AND IGNORED.
# A page_size of zero lets the server choose the number of items to return.
# A page_size which is strictly positive will return at most that many items.
# A negative page_size will cause an error.
# Following the first request, subsequent paginated calls are not required
# to pass a page_size. If a page_size is set in subsequent calls, it must
# match the page_size given in the first request.
# @param [String] page_token
# The value of `next_page_token` returned by a previous call.
# @param [String] view

View File

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

View File

@ -1560,11 +1560,12 @@ module Google
# the response. Filter rules are case-insensitive.
# Organizations may be filtered by `owner.directoryCustomerId` or by
# `domain`, where the domain is a G Suite domain, for example:
# |Filter|Description|
# |------|-----------|
# |owner.directorycustomerid:123456789|Organizations with
# `owner.directory_customer_id` equal to `123456789`.|
# |domain:google.com|Organizations corresponding to the domain `google.com`.|
# | Filter | Description |
# |-------------------------------------|----------------------------------|
# | owner.directorycustomerid:123456789 | Organizations with `owner.
# directory_customer_id` equal to `123456789`.|
# | domain:google.com | Organizations corresponding to the
# domain `google.com`.|
# This field is optional.
# Corresponds to the JSON property `filter`
# @return [String]

View File

@ -1125,38 +1125,47 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists Projects that are visible to the user and satisfy the
# specified filter. This method returns Projects in an unspecified order.
# Lists Projects that the caller has the `resourcemanager.projects.get`
# permission on and satisfy the specified filter.
# This method returns Projects in an unspecified order.
# This method is eventually consistent with project mutations; this means
# that a newly created project may not appear in the results or recent
# updates to an existing project may not be reflected in the results. To
# retrieve the latest state of a project, use the
# GetProject method.
# NOTE: If the request filter contains a `parent.type` and `parent.id` and
# the caller has the `resourcemanager.projects.list` permission on the
# parent, the results will be drawn from an alternate index which provides
# more consistent results. In future versions of this API, this List method
# will be split into List and Search to properly capture the behavorial
# difference.
# @param [String] filter
# An expression for filtering the results of the request. Filter rules are
# case insensitive. The fields eligible for filtering are:
# + `name`
# + `id`
# + <code>labels.<em>key</em></code> where *key* is the name of a label
# + `labels.<key>` (where *key* is the name of a label)
# + `parent.type`
# + `parent.id`
# Some examples of using labels as filters:
# |Filter|Description|
# |------|-----------|
# |name:how*|The project's name starts with "how".|
# |name:Howl|The project's name is `Howl` or `howl`.|
# |name:HOWL|Equivalent to above.|
# |NAME:howl|Equivalent to above.|
# |labels.color:*|The project has the label `color`.|
# |labels.color:red|The project's label `color` has the value `red`.|
# |labels.color:red&nbsp;labels.size:big|The project's label `color` has the
# value `red` and its label `size` has the value `big`.
# If you specify a filter that has both `parent.type` and `parent.id`, then
# the `resourcemanager.projects.list` permission is checked on the parent.
# If the user has this permission, all projects under the parent will be
# returned after remaining filters have been applied. If the user lacks this
# permission, then all projects for which the user has the
# `resourcemanager.projects.get` permission will be returned after remaining
# filters have been applied. If no filter is specified, the call will return
# projects for which the user has `resourcemanager.projects.get` permissions.
# | Filter | Description |
# |------------------|-----------------------------------------------------|
# | name:how* | The project's name starts with "how". |
# | name:Howl | The project's name is `Howl` or `howl`. |
# | name:HOWL | Equivalent to above. |
# | NAME:howl | Equivalent to above. |
# | labels.color:* | The project has the label `color`. |
# | labels.color:red | The project's label `color` has the value `red`. |
# | labels.color:red&nbsp;labels.size:big |The project's label `color` has
# the value `red` and its label `size` has the value `big`. |
# If no filter is specified, the call will return projects for which the user
# has the `resourcemanager.projects.get` permission.
# NOTE: To perform a by-parent query (eg., what projects are directly in a
# Folder), the caller must have the `resourcemanager.projects.list`
# permission on the parent and the filter must contain both a `parent.type`
# and a `parent.id` restriction
# (example: "parent.type:folder parent.id:123"). In this case an alternate
# search index is used which provides more consistent results.
# Optional.
# @param [Fixnum] page_size
# The maximum number of Projects to return in the response.

View File

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

View File

@ -475,37 +475,47 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists Projects that are visible to the user and satisfy the
# specified filter. This method returns Projects in an unspecified order.
# Lists Projects that the caller has the `resourcemanager.projects.get`
# permission on and satisfy the specified filter.
# This method returns Projects in an unspecified order.
# This method is eventually consistent with project mutations; this means
# that a newly created project may not appear in the results or recent
# updates to an existing project may not be reflected in the results. To
# retrieve the latest state of a project, use the GetProjectmethod.
# retrieve the latest state of a project, use the
# GetProject method.
# NOTE: If the request filter contains a `parent.type` and `parent.id` and
# the caller has the `resourcemanager.projects.list` permission on the
# parent, the results will be drawn from an alternate index which provides
# more consistent results. In future versions of this API, this List method
# will be split into List and Search to properly capture the behavorial
# difference.
# @param [String] filter
# An expression for filtering the results of the request. Filter rules are
# case insensitive. The fields eligible for filtering are:
# + `name`
# + `id`
# + <code>labels.<em>key</em></code> where *key* is the name of a label
# + `labels.<key>` (where *key* is the name of a label)
# + `parent.type`
# + `parent.id`
# Some examples of using labels as filters:
# |Filter|Description|
# |------|-----------|
# |name:how*|The project's name starts with "how".|
# |name:Howl|The project's name is `Howl` or `howl`.|
# |name:HOWL|Equivalent to above.|
# |NAME:howl|Equivalent to above.|
# |labels.color:*|The project has the label `color`.|
# |labels.color:red|The project's label `color` has the value `red`.|
# |labels.color:red&nbsp;labels.size:big|The project's label `color` has the
# value `red` and its label `size` has the value `big`.
# If you specify a filter that has both `parent.type` and `parent.id`, then
# the `resourcemanager.projects.list` permission is checked on the parent.
# If the user has this permission, all projects under the parent will be
# returned after remaining filters have been applied. If the user lacks this
# permission, then all projects for which the user has the
# `resourcemanager.projects.get` permission will be returned after remaining
# filters have been applied. If no filter is specified, the call will return
# projects for which the user has `resourcemanager.projects.get` permissions.
# | Filter | Description |
# |------------------|-----------------------------------------------------|
# | name:how* | The project's name starts with "how". |
# | name:Howl | The project's name is `Howl` or `howl`. |
# | name:HOWL | Equivalent to above. |
# | NAME:howl | Equivalent to above. |
# | labels.color:* | The project has the label `color`. |
# | labels.color:red | The project's label `color` has the value `red`. |
# | labels.color:red&nbsp;labels.size:big |The project's label `color` has
# the value `red` and its label `size` has the value `big`. |
# If no filter is specified, the call will return projects for which the user
# has the `resourcemanager.projects.get` permission.
# NOTE: To perform a by-parent query (eg., what projects are directly in a
# Folder), the caller must have the `resourcemanager.projects.list`
# permission on the parent and the filter must contain both a `parent.type`
# and a `parent.id` restriction
# (example: "parent.type:folder parent.id:123"). In this case an alternate
# search index is used which provides more consistent results.
# Optional.
# @param [Fixnum] page_size
# The maximum number of Projects to return in the response.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataflow
module DataflowV1b3
VERSION = 'V1b3'
REVISION = '20190322'
REVISION = '20190419'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -836,6 +836,19 @@ module Google
end
end
# Response from deleting a snapshot.
class DeleteSnapshotResponse
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# Specification of one of the bundles produced as a result of splitting
# a Source (e.g. when executing a SourceSplitRequest, or when
# splitting an active task using WorkItemStatus.dynamic_source_split),
@ -2377,6 +2390,25 @@ module Google
end
end
# List of snapshots.
class ListSnapshotsResponse
include Google::Apis::Core::Hashable
# Returned snapshots.
# Corresponds to the JSON property `snapshots`
# @return [Array<Google::Apis::DataflowV1b3::Snapshot>]
attr_accessor :snapshots
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@snapshots = args[:snapshots] if args.key?(:snapshots)
end
end
# MapTask consists of an ordered set of instructions, each of which
# describes one particular low-level operation for the worker to
# perform in order to accomplish the MapTask's WorkItem.
@ -3283,7 +3315,11 @@ module Google
# @return [Array<String>]
attr_accessor :additional_experiments
# Additional user labels attached to the job.
# Additional user labels to be specified for the job.
# Keys and values should follow the restrictions specified in the [labeling
# restrictions](https://cloud.google.com/compute/docs/labeling-resources#
# restrictions)
# page.
# Corresponds to the JSON property `additionalUserLabels`
# @return [Hash<String,String>]
attr_accessor :additional_user_labels
@ -4999,6 +5035,25 @@ module Google
end
end
# Response to the validation request.
class ValidateResponse
include Google::Apis::Core::Hashable
# Will be empty if validation succeeds.
# Corresponds to the JSON property `errorMessage`
# @return [String]
attr_accessor :error_message
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@error_message = args[:error_message] if args.key?(:error_message)
end
end
# WorkItem represents basic information about a WorkItem to be executed
# in the cloud.
class WorkItem

View File

@ -142,6 +142,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class DeleteSnapshotResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DerivedSource
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -358,6 +364,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ListSnapshotsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MapTask
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -766,6 +778,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ValidateResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WorkItem
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1077,6 +1095,12 @@ module Google
end
end
class DeleteSnapshotResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class DerivedSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1476,6 +1500,14 @@ module Google
end
end
class ListSnapshotsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :snapshots, as: 'snapshots', class: Google::Apis::DataflowV1b3::Snapshot, decorator: Google::Apis::DataflowV1b3::Snapshot::Representation
end
end
class MapTask
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2183,6 +2215,13 @@ module Google
end
end
class ValidateResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :error_message, as: 'errorMessage'
end
end
class WorkItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -47,6 +47,42 @@ module Google
@batch_path = 'batch'
end
# Deletes a snapshot.
# @param [String] project_id
# The ID of the Cloud Platform project that the snapshot belongs to.
# @param [String] location
# The location that contains this snapshot.
# @param [String] snapshot_id
# The ID of the snapshot.
# @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::DataflowV1b3::DeleteSnapshotResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DataflowV1b3::DeleteSnapshotResponse]
#
# @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 delete_project_snapshots(project_id, location: nil, snapshot_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1b3/projects/{projectId}/snapshots', options)
command.response_representation = Google::Apis::DataflowV1b3::DeleteSnapshotResponse::Representation
command.response_class = Google::Apis::DataflowV1b3::DeleteSnapshotResponse
command.params['projectId'] = project_id unless project_id.nil?
command.query['location'] = location unless location.nil?
command.query['snapshotId'] = snapshot_id unless snapshot_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Send a worker_message to the service.
# @param [String] project_id
# The project to send the WorkerMessages to.
@ -1167,6 +1203,152 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes a snapshot.
# @param [String] project_id
# The ID of the Cloud Platform project that the snapshot belongs to.
# @param [String] location
# The location that contains this snapshot.
# @param [String] snapshot_id
# The ID of the snapshot.
# @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::DataflowV1b3::DeleteSnapshotResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DataflowV1b3::DeleteSnapshotResponse]
#
# @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 delete_project_location_snapshot(project_id, location, snapshot_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}', options)
command.response_representation = Google::Apis::DataflowV1b3::DeleteSnapshotResponse::Representation
command.response_class = Google::Apis::DataflowV1b3::DeleteSnapshotResponse
command.params['projectId'] = project_id unless project_id.nil?
command.params['location'] = location unless location.nil?
command.params['snapshotId'] = snapshot_id unless snapshot_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets information about a snapshot.
# @param [String] project_id
# The ID of the Cloud Platform project that the snapshot belongs to.
# @param [String] location
# The location that contains this snapshot.
# @param [String] snapshot_id
# The ID of the snapshot.
# @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::DataflowV1b3::Snapshot] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DataflowV1b3::Snapshot]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_snapshot(project_id, location, snapshot_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}', options)
command.response_representation = Google::Apis::DataflowV1b3::Snapshot::Representation
command.response_class = Google::Apis::DataflowV1b3::Snapshot
command.params['projectId'] = project_id unless project_id.nil?
command.params['location'] = location unless location.nil?
command.params['snapshotId'] = snapshot_id unless snapshot_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists snapshots.
# @param [String] project_id
# The project ID to list snapshots for.
# @param [String] location
# The location to list snapshots in.
# @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::DataflowV1b3::ListSnapshotsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DataflowV1b3::ListSnapshotsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_location_snapshots(project_id, location, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/snapshots', options)
command.response_representation = Google::Apis::DataflowV1b3::ListSnapshotsResponse::Representation
command.response_class = Google::Apis::DataflowV1b3::ListSnapshotsResponse
command.params['projectId'] = project_id unless project_id.nil?
command.params['location'] = location unless location.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Validates a GoogleSQL query for Cloud Dataflow syntax. Will always
# confirm the given query parses correctly, and if able to look up
# schema information from DataCatalog, will validate that the query
# analyzes properly as well.
# @param [String] project_id
# Required. The ID of the Cloud Platform project that the job belongs to.
# @param [String] location
# The [regional endpoint]
# (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to
# which to direct the request.
# @param [String] query
# The sql query to validate.
# @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::DataflowV1b3::ValidateResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DataflowV1b3::ValidateResponse]
#
# @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 validate_project_location_sql(project_id, location, query: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/sql:validate', options)
command.response_representation = Google::Apis::DataflowV1b3::ValidateResponse::Representation
command.response_class = Google::Apis::DataflowV1b3::ValidateResponse
command.params['projectId'] = project_id unless project_id.nil?
command.params['location'] = location unless location.nil?
command.query['query'] = query unless query.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates a Cloud Dataflow job from a template.
# @param [String] project_id
# Required. The ID of the Cloud Platform project that the job belongs to.
@ -1303,6 +1485,75 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets information about a snapshot.
# @param [String] project_id
# The ID of the Cloud Platform project that the snapshot belongs to.
# @param [String] snapshot_id
# The ID of the snapshot.
# @param [String] location
# The location that contains this snapshot.
# @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::DataflowV1b3::Snapshot] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DataflowV1b3::Snapshot]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_snapshot(project_id, snapshot_id, location: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/snapshots/{snapshotId}', options)
command.response_representation = Google::Apis::DataflowV1b3::Snapshot::Representation
command.response_class = Google::Apis::DataflowV1b3::Snapshot
command.params['projectId'] = project_id unless project_id.nil?
command.params['snapshotId'] = snapshot_id unless snapshot_id.nil?
command.query['location'] = location unless location.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists snapshots.
# @param [String] project_id
# The project ID to list snapshots for.
# @param [String] location
# The location to list snapshots in.
# @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::DataflowV1b3::ListSnapshotsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DataflowV1b3::ListSnapshotsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_snapshots(project_id, location: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1b3/projects/{projectId}/snapshots', options)
command.response_representation = Google::Apis::DataflowV1b3::ListSnapshotsResponse::Representation
command.response_class = Google::Apis::DataflowV1b3::ListSnapshotsResponse
command.params['projectId'] = project_id unless project_id.nil?
command.query['location'] = location unless location.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates a Cloud Dataflow job from a template.
# @param [String] project_id
# Required. The ID of the Cloud Platform project that the job belongs to.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/bid-manager/
module DoubleclickbidmanagerV1
VERSION = 'V1'
REVISION = '20190125'
REVISION = '20190424'
# View and manage your reports in DoubleClick Bid Manager
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'

View File

@ -86,14 +86,15 @@ module Google
class DownloadRequest
include Google::Apis::Core::Hashable
# File types that will be returned.
# File types that will be returned. If INVENTORY_SOURCE is requested, no other
# file types may be requested.
# Acceptable values are:
# - "AD"
# - "AD_GROUP"
# - "CAMPAIGN"
# - "INSERTION_ORDER"
# - "LINE_ITEM"
# - "INVENTORY_SOURCE"
# - "LINE_ITEM"
# Corresponds to the JSON property `fileTypes`
# @return [Array<String>]
attr_accessor :file_types
@ -104,7 +105,8 @@ module Google
# @return [Array<Fixnum>]
attr_accessor :filter_ids
# Filter type used to filter entities to fetch.
# Filter type used to filter entities to fetch. PARTNER_ID and
# INVENTORY_SOURCE_ID may only be used when downloading inventory sources.
# Corresponds to the JSON property `filterType`
# @return [String]
attr_accessor :filter_type
@ -268,7 +270,7 @@ module Google
# @return [Array<String>]
attr_accessor :group_bys
# Whether to include data from Invite Media.
# Deprecated. This field is no longer in use.
# Corresponds to the JSON property `includeInviteData`
# @return [Boolean]
attr_accessor :include_invite_data

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV2
VERSION = 'V2'
REVISION = '20190319'
REVISION = '20190425'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1456,7 +1456,8 @@ module Google
# Optional.
# Specifies the custom attributes histogram requests.
# Duplicate values of CustomAttributeHistogramRequest.key are not allowed.
# Duplicate values of CustomAttributeHistogramRequest.key are not
# allowed.
# Corresponds to the JSON property `customAttributeHistogramFacets`
# @return [Array<Google::Apis::JobsV2::CustomAttributeHistogramRequest>]
attr_accessor :custom_attribute_histogram_facets
@ -2111,9 +2112,9 @@ module Google
# for example, "en-US".
# If a value is not specified, the search results may contain jobs in any
# locale.
# Language codes should be in BCP-47 format, for example, "en-US" or "sr-Latn".
# For more information, see
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
# Language codes should be in BCP-47 format, for example, "en-US" or
# "sr-Latn". For more information, see [Tags for Identifying
# Languages](https://tools.ietf.org/html/bcp47).
# At most 10 language code filters are allowed.
# Corresponds to the JSON property `languageCodes`
# @return [Array<String>]
@ -2683,8 +2684,8 @@ module Google
attr_accessor :job_summary
# Contains snippets of text from the Job.job_title field most
# closely matching a search query's keywords, if available. The matching query
# keywords are enclosed in HTML bold tags.
# closely matching a search query's keywords, if available. The matching
# query keywords are enclosed in HTML bold tags.
# Corresponds to the JSON property `jobTitleSnippet`
# @return [String]
attr_accessor :job_title_snippet
@ -3134,8 +3135,8 @@ module Google
# Optional.
# An integer that specifies the current offset (that is, starting result
# location, amongst the jobs deemed by the API as relevant) in
# search results. This field is only considered if page_token is unset.
# location, amongst the jobs deemed by the API as relevant) in search
# results. This field is only considered if page_token is unset.
# For example, 0 means to return results starting from the first matching
# job, and 10 means to return from the 11th job. This can be used for
# pagination, (for example, pageSize = 10 and offset = 10 means to return

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV3
VERSION = 'V3'
REVISION = '20190423'
REVISION = '20190425'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2396,8 +2396,10 @@ module Google
# * "relevance desc": By relevance descending, as determined by the API
# algorithms. Relevance thresholding of query results is only available
# with this ordering.
# * "posting`_`publish`_`time desc": By Job.posting_publish_time descending.
# * "posting`_`update`_`time desc": By Job.posting_update_time descending.
# * "posting`_`publish`_`time desc": By Job.posting_publish_time
# descending.
# * "posting`_`update`_`time desc": By Job.posting_update_time
# descending.
# * "title": By Job.title ascending.
# * "title desc": By Job.title descending.
# * "annualized`_`base`_`compensation": By job's

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV3p1beta1
VERSION = 'V3p1beta1'
REVISION = '20190423'
REVISION = '20190425'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2684,8 +2684,10 @@ module Google
# * "relevance desc": By relevance descending, as determined by the API
# algorithms. Relevance thresholding of query results is only available
# with this ordering.
# * "posting`_`publish`_`time desc": By Job.posting_publish_time descending.
# * "posting`_`update`_`time desc": By Job.posting_update_time descending.
# * "posting`_`publish`_`time desc": By Job.posting_publish_time
# descending.
# * "posting`_`update`_`time desc": By Job.posting_update_time
# descending.
# * "title": By Job.title ascending.
# * "title desc": By Job.title descending.
# * "annualized`_`base`_`compensation": By job's

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-control/
module ServicecontrolV1
VERSION = 'V1'
REVISION = '20190318'
REVISION = '20190422'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -686,7 +686,8 @@ module Google
# @return [Fixnum]
attr_accessor :project_number
#
# The type of the consumer which should have been defined in
# [Google Resource Manager](https://cloud.google.com/resource-manager/).
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/cloud-test-lab/
module TestingV1
VERSION = 'V1'
REVISION = '20190325'
REVISION = '20190424'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -693,6 +693,11 @@ module Google
# @return [String]
attr_accessor :package_name
# Specifies the API Level on which the application is designed to run.
# Corresponds to the JSON property `targetSdkVersion`
# @return [Fixnum]
attr_accessor :target_sdk_version
def initialize(**args)
update!(**args)
end
@ -704,6 +709,7 @@ module Google
@max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version)
@min_sdk_version = args[:min_sdk_version] if args.key?(:min_sdk_version)
@package_name = args[:package_name] if args.key?(:package_name)
@target_sdk_version = args[:target_sdk_version] if args.key?(:target_sdk_version)
end
end

View File

@ -551,6 +551,7 @@ module Google
property :max_sdk_version, as: 'maxSdkVersion'
property :min_sdk_version, as: 'minSdkVersion'
property :package_name, as: 'packageName'
property :target_sdk_version, as: 'targetSdkVersion'
end
end