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:
parent
d2d592ceb6
commit
99be4b4eb5
|
@ -47330,6 +47330,7 @@
|
||||||
"/dataflow:v1b3/DatastoreIODetails": datastore_io_details
|
"/dataflow:v1b3/DatastoreIODetails": datastore_io_details
|
||||||
"/dataflow:v1b3/DatastoreIODetails/namespace": namespace
|
"/dataflow:v1b3/DatastoreIODetails/namespace": namespace
|
||||||
"/dataflow:v1b3/DatastoreIODetails/projectId": project_id
|
"/dataflow:v1b3/DatastoreIODetails/projectId": project_id
|
||||||
|
"/dataflow:v1b3/DeleteSnapshotResponse": delete_snapshot_response
|
||||||
"/dataflow:v1b3/DerivedSource": derived_source
|
"/dataflow:v1b3/DerivedSource": derived_source
|
||||||
"/dataflow:v1b3/DerivedSource/derivationMode": derivation_mode
|
"/dataflow:v1b3/DerivedSource/derivationMode": derivation_mode
|
||||||
"/dataflow:v1b3/DerivedSource/source": source
|
"/dataflow:v1b3/DerivedSource/source": source
|
||||||
|
@ -47547,6 +47548,9 @@
|
||||||
"/dataflow:v1b3/ListJobsResponse/jobs": jobs
|
"/dataflow:v1b3/ListJobsResponse/jobs": jobs
|
||||||
"/dataflow:v1b3/ListJobsResponse/jobs/job": job
|
"/dataflow:v1b3/ListJobsResponse/jobs/job": job
|
||||||
"/dataflow:v1b3/ListJobsResponse/nextPageToken": next_page_token
|
"/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": log_bucket
|
||||||
"/dataflow:v1b3/LogBucket/count": count
|
"/dataflow:v1b3/LogBucket/count": count
|
||||||
"/dataflow:v1b3/LogBucket/log": log
|
"/dataflow:v1b3/LogBucket/log": log
|
||||||
|
@ -47915,6 +47919,8 @@
|
||||||
"/dataflow:v1b3/TransformSummary/name": name
|
"/dataflow:v1b3/TransformSummary/name": name
|
||||||
"/dataflow:v1b3/TransformSummary/outputCollectionName": output_collection_name
|
"/dataflow:v1b3/TransformSummary/outputCollectionName": output_collection_name
|
||||||
"/dataflow:v1b3/TransformSummary/outputCollectionName/output_collection_name": 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": work_item
|
||||||
"/dataflow:v1b3/WorkItem/configuration": configuration
|
"/dataflow:v1b3/WorkItem/configuration": configuration
|
||||||
"/dataflow:v1b3/WorkItem/id": id
|
"/dataflow:v1b3/WorkItem/id": id
|
||||||
|
@ -48031,6 +48037,10 @@
|
||||||
"/dataflow:v1b3/WriteInstruction": write_instruction
|
"/dataflow:v1b3/WriteInstruction": write_instruction
|
||||||
"/dataflow:v1b3/WriteInstruction/input": input
|
"/dataflow:v1b3/WriteInstruction/input": input
|
||||||
"/dataflow:v1b3/WriteInstruction/sink": sink
|
"/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": aggregated_project_job
|
||||||
"/dataflow:v1b3/dataflow.projects.jobs.aggregated/filter": filter
|
"/dataflow:v1b3/dataflow.projects.jobs.aggregated/filter": filter
|
||||||
"/dataflow:v1b3/dataflow.projects.jobs.aggregated/location": location
|
"/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/jobId": job_id
|
||||||
"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/location": location
|
"/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.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": create_job_from_template_with_location
|
||||||
"/dataflow:v1b3/dataflow.projects.locations.templates.create/location": location
|
"/dataflow:v1b3/dataflow.projects.locations.templates.create/location": location
|
||||||
"/dataflow:v1b3/dataflow.projects.locations.templates.create/projectId": project_id
|
"/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": worker_project_location_messages
|
||||||
"/dataflow:v1b3/dataflow.projects.locations.workerMessages/location": location
|
"/dataflow:v1b3/dataflow.projects.locations.workerMessages/location": location
|
||||||
"/dataflow:v1b3/dataflow.projects.locations.workerMessages/projectId": project_id
|
"/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": create_job_from_template
|
||||||
"/dataflow:v1b3/dataflow.projects.templates.create/projectId": project_id
|
"/dataflow:v1b3/dataflow.projects.templates.create/projectId": project_id
|
||||||
"/dataflow:v1b3/dataflow.projects.templates.get": get_project_template
|
"/dataflow:v1b3/dataflow.projects.templates.get": get_project_template
|
||||||
|
@ -104889,6 +104921,7 @@
|
||||||
"/testing:v1/ApkManifest/maxSdkVersion": max_sdk_version
|
"/testing:v1/ApkManifest/maxSdkVersion": max_sdk_version
|
||||||
"/testing:v1/ApkManifest/minSdkVersion": min_sdk_version
|
"/testing:v1/ApkManifest/minSdkVersion": min_sdk_version
|
||||||
"/testing:v1/ApkManifest/packageName": package_name
|
"/testing:v1/ApkManifest/packageName": package_name
|
||||||
|
"/testing:v1/ApkManifest/targetSdkVersion": target_sdk_version
|
||||||
"/testing:v1/AppBundle": app_bundle
|
"/testing:v1/AppBundle": app_bundle
|
||||||
"/testing:v1/AppBundle/bundleLocation": bundle_location
|
"/testing:v1/AppBundle/bundleLocation": bundle_location
|
||||||
"/testing:v1/CancelTestMatrixResponse": cancel_test_matrix_response
|
"/testing:v1/CancelTestMatrixResponse": cancel_test_matrix_response
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/bigtable/
|
# @see https://cloud.google.com/bigtable/
|
||||||
module BigtableadminV2
|
module BigtableadminV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20190328'
|
REVISION = '20190406'
|
||||||
|
|
||||||
# Administer your Cloud Bigtable tables and clusters
|
# Administer your Cloud Bigtable tables and clusters
|
||||||
AUTH_BIGTABLE_ADMIN = 'https://www.googleapis.com/auth/bigtable.admin'
|
AUTH_BIGTABLE_ADMIN = 'https://www.googleapis.com/auth/bigtable.admin'
|
||||||
|
|
|
@ -1130,7 +1130,12 @@ module Google
|
||||||
# Values are of the form `projects/<project>/instances/<instance>`.
|
# Values are of the form `projects/<project>/instances/<instance>`.
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# Maximum number of results per page.
|
# 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
|
# @param [String] page_token
|
||||||
# The value of `next_page_token` returned by a previous call.
|
# The value of `next_page_token` returned by a previous call.
|
||||||
# @param [String] view
|
# @param [String] view
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/resource-manager
|
# @see https://cloud.google.com/resource-manager
|
||||||
module CloudresourcemanagerV1
|
module CloudresourcemanagerV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190417'
|
REVISION = '20190424'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -1561,10 +1561,11 @@ module Google
|
||||||
# Organizations may be filtered by `owner.directoryCustomerId` or by
|
# Organizations may be filtered by `owner.directoryCustomerId` or by
|
||||||
# `domain`, where the domain is a G Suite domain, for example:
|
# `domain`, where the domain is a G Suite domain, for example:
|
||||||
# | Filter | Description |
|
# | Filter | Description |
|
||||||
# |------|-----------|
|
# |-------------------------------------|----------------------------------|
|
||||||
# |owner.directorycustomerid:123456789|Organizations with
|
# | owner.directorycustomerid:123456789 | Organizations with `owner.
|
||||||
# `owner.directory_customer_id` equal to `123456789`.|
|
# directory_customer_id` equal to `123456789`.|
|
||||||
# |domain:google.com|Organizations corresponding to the domain `google.com`.|
|
# | domain:google.com | Organizations corresponding to the
|
||||||
|
# domain `google.com`.|
|
||||||
# This field is optional.
|
# This field is optional.
|
||||||
# Corresponds to the JSON property `filter`
|
# Corresponds to the JSON property `filter`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
|
|
@ -1125,38 +1125,47 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Lists Projects that are visible to the user and satisfy the
|
# Lists Projects that the caller has the `resourcemanager.projects.get`
|
||||||
# specified filter. This method returns Projects in an unspecified order.
|
# 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
|
# This method is eventually consistent with project mutations; this means
|
||||||
# that a newly created project may not appear in the results or recent
|
# 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
|
# updates to an existing project may not be reflected in the results. To
|
||||||
# retrieve the latest state of a project, use the
|
# retrieve the latest state of a project, use the
|
||||||
# GetProject method.
|
# 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
|
# @param [String] filter
|
||||||
# An expression for filtering the results of the request. Filter rules are
|
# An expression for filtering the results of the request. Filter rules are
|
||||||
# case insensitive. The fields eligible for filtering are:
|
# case insensitive. The fields eligible for filtering are:
|
||||||
# + `name`
|
# + `name`
|
||||||
# + `id`
|
# + `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:
|
# Some examples of using labels as filters:
|
||||||
# | Filter | Description |
|
# | Filter | Description |
|
||||||
# |------|-----------|
|
# |------------------|-----------------------------------------------------|
|
||||||
# | name:how* | The project's name starts with "how". |
|
# | name:how* | The project's name starts with "how". |
|
||||||
# | name:Howl | The project's name is `Howl` or `howl`. |
|
# | name:Howl | The project's name is `Howl` or `howl`. |
|
||||||
# | name:HOWL | Equivalent to above. |
|
# | name:HOWL | Equivalent to above. |
|
||||||
# | NAME:howl | Equivalent to above. |
|
# | NAME:howl | Equivalent to above. |
|
||||||
# | labels.color:* | The project has the label `color`. |
|
# | labels.color:* | The project has the label `color`. |
|
||||||
# | labels.color:red | The project's label `color` has the value `red`. |
|
# | labels.color:red | The project's label `color` has the value `red`. |
|
||||||
# |labels.color:red labels.size:big|The project's label `color` has the
|
# | labels.color:red labels.size:big |The project's label `color` has
|
||||||
# value `red` and its label `size` has the value `big`.
|
# 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
|
# If no filter is specified, the call will return projects for which the user
|
||||||
# the `resourcemanager.projects.list` permission is checked on the parent.
|
# has the `resourcemanager.projects.get` permission.
|
||||||
# If the user has this permission, all projects under the parent will be
|
# NOTE: To perform a by-parent query (eg., what projects are directly in a
|
||||||
# returned after remaining filters have been applied. If the user lacks this
|
# Folder), the caller must have the `resourcemanager.projects.list`
|
||||||
# permission, then all projects for which the user has the
|
# permission on the parent and the filter must contain both a `parent.type`
|
||||||
# `resourcemanager.projects.get` permission will be returned after remaining
|
# and a `parent.id` restriction
|
||||||
# filters have been applied. If no filter is specified, the call will return
|
# (example: "parent.type:folder parent.id:123"). In this case an alternate
|
||||||
# projects for which the user has `resourcemanager.projects.get` permissions.
|
# search index is used which provides more consistent results.
|
||||||
# Optional.
|
# Optional.
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# The maximum number of Projects to return in the response.
|
# The maximum number of Projects to return in the response.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/resource-manager
|
# @see https://cloud.google.com/resource-manager
|
||||||
module CloudresourcemanagerV1beta1
|
module CloudresourcemanagerV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20190417'
|
REVISION = '20190424'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -475,37 +475,47 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Lists Projects that are visible to the user and satisfy the
|
# Lists Projects that the caller has the `resourcemanager.projects.get`
|
||||||
# specified filter. This method returns Projects in an unspecified order.
|
# 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
|
# This method is eventually consistent with project mutations; this means
|
||||||
# that a newly created project may not appear in the results or recent
|
# 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
|
# 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
|
# @param [String] filter
|
||||||
# An expression for filtering the results of the request. Filter rules are
|
# An expression for filtering the results of the request. Filter rules are
|
||||||
# case insensitive. The fields eligible for filtering are:
|
# case insensitive. The fields eligible for filtering are:
|
||||||
# + `name`
|
# + `name`
|
||||||
# + `id`
|
# + `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:
|
# Some examples of using labels as filters:
|
||||||
# | Filter | Description |
|
# | Filter | Description |
|
||||||
# |------|-----------|
|
# |------------------|-----------------------------------------------------|
|
||||||
# | name:how* | The project's name starts with "how". |
|
# | name:how* | The project's name starts with "how". |
|
||||||
# | name:Howl | The project's name is `Howl` or `howl`. |
|
# | name:Howl | The project's name is `Howl` or `howl`. |
|
||||||
# | name:HOWL | Equivalent to above. |
|
# | name:HOWL | Equivalent to above. |
|
||||||
# | NAME:howl | Equivalent to above. |
|
# | NAME:howl | Equivalent to above. |
|
||||||
# | labels.color:* | The project has the label `color`. |
|
# | labels.color:* | The project has the label `color`. |
|
||||||
# | labels.color:red | The project's label `color` has the value `red`. |
|
# | labels.color:red | The project's label `color` has the value `red`. |
|
||||||
# |labels.color:red labels.size:big|The project's label `color` has the
|
# | labels.color:red labels.size:big |The project's label `color` has
|
||||||
# value `red` and its label `size` has the value `big`.
|
# 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
|
# If no filter is specified, the call will return projects for which the user
|
||||||
# the `resourcemanager.projects.list` permission is checked on the parent.
|
# has the `resourcemanager.projects.get` permission.
|
||||||
# If the user has this permission, all projects under the parent will be
|
# NOTE: To perform a by-parent query (eg., what projects are directly in a
|
||||||
# returned after remaining filters have been applied. If the user lacks this
|
# Folder), the caller must have the `resourcemanager.projects.list`
|
||||||
# permission, then all projects for which the user has the
|
# permission on the parent and the filter must contain both a `parent.type`
|
||||||
# `resourcemanager.projects.get` permission will be returned after remaining
|
# and a `parent.id` restriction
|
||||||
# filters have been applied. If no filter is specified, the call will return
|
# (example: "parent.type:folder parent.id:123"). In this case an alternate
|
||||||
# projects for which the user has `resourcemanager.projects.get` permissions.
|
# search index is used which provides more consistent results.
|
||||||
# Optional.
|
# Optional.
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# The maximum number of Projects to return in the response.
|
# The maximum number of Projects to return in the response.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dataflow
|
# @see https://cloud.google.com/dataflow
|
||||||
module DataflowV1b3
|
module DataflowV1b3
|
||||||
VERSION = 'V1b3'
|
VERSION = 'V1b3'
|
||||||
REVISION = '20190322'
|
REVISION = '20190419'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -836,6 +836,19 @@ module Google
|
||||||
end
|
end
|
||||||
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
|
# Specification of one of the bundles produced as a result of splitting
|
||||||
# a Source (e.g. when executing a SourceSplitRequest, or when
|
# a Source (e.g. when executing a SourceSplitRequest, or when
|
||||||
# splitting an active task using WorkItemStatus.dynamic_source_split),
|
# splitting an active task using WorkItemStatus.dynamic_source_split),
|
||||||
|
@ -2377,6 +2390,25 @@ module Google
|
||||||
end
|
end
|
||||||
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
|
# MapTask consists of an ordered set of instructions, each of which
|
||||||
# describes one particular low-level operation for the worker to
|
# describes one particular low-level operation for the worker to
|
||||||
# perform in order to accomplish the MapTask's WorkItem.
|
# perform in order to accomplish the MapTask's WorkItem.
|
||||||
|
@ -3283,7 +3315,11 @@ module Google
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :additional_experiments
|
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`
|
# Corresponds to the JSON property `additionalUserLabels`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :additional_user_labels
|
attr_accessor :additional_user_labels
|
||||||
|
@ -4999,6 +5035,25 @@ module Google
|
||||||
end
|
end
|
||||||
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
|
# WorkItem represents basic information about a WorkItem to be executed
|
||||||
# in the cloud.
|
# in the cloud.
|
||||||
class WorkItem
|
class WorkItem
|
||||||
|
|
|
@ -142,6 +142,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class DeleteSnapshotResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class DerivedSource
|
class DerivedSource
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -358,6 +364,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListSnapshotsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class MapTask
|
class MapTask
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -766,6 +778,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ValidateResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class WorkItem
|
class WorkItem
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -1077,6 +1095,12 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class DeleteSnapshotResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class DerivedSource
|
class DerivedSource
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -1476,6 +1500,14 @@ module Google
|
||||||
end
|
end
|
||||||
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
|
class MapTask
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -2183,6 +2215,13 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ValidateResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :error_message, as: 'errorMessage'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class WorkItem
|
class WorkItem
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -47,6 +47,42 @@ module Google
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch'
|
||||||
end
|
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.
|
# Send a worker_message to the service.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# The project to send the WorkerMessages to.
|
# The project to send the WorkerMessages to.
|
||||||
|
@ -1167,6 +1203,152 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
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.
|
# Creates a Cloud Dataflow job from a template.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# Required. The ID of the Cloud Platform project that the job belongs to.
|
# 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)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
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.
|
# Creates a Cloud Dataflow job from a template.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# Required. The ID of the Cloud Platform project that the job belongs to.
|
# Required. The ID of the Cloud Platform project that the job belongs to.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/bid-manager/
|
# @see https://developers.google.com/bid-manager/
|
||||||
module DoubleclickbidmanagerV1
|
module DoubleclickbidmanagerV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190125'
|
REVISION = '20190424'
|
||||||
|
|
||||||
# View and manage your reports in DoubleClick Bid Manager
|
# View and manage your reports in DoubleClick Bid Manager
|
||||||
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
|
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
|
||||||
|
|
|
@ -86,14 +86,15 @@ module Google
|
||||||
class DownloadRequest
|
class DownloadRequest
|
||||||
include Google::Apis::Core::Hashable
|
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:
|
# Acceptable values are:
|
||||||
# - "AD"
|
# - "AD"
|
||||||
# - "AD_GROUP"
|
# - "AD_GROUP"
|
||||||
# - "CAMPAIGN"
|
# - "CAMPAIGN"
|
||||||
# - "INSERTION_ORDER"
|
# - "INSERTION_ORDER"
|
||||||
# - "LINE_ITEM"
|
|
||||||
# - "INVENTORY_SOURCE"
|
# - "INVENTORY_SOURCE"
|
||||||
|
# - "LINE_ITEM"
|
||||||
# Corresponds to the JSON property `fileTypes`
|
# Corresponds to the JSON property `fileTypes`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :file_types
|
attr_accessor :file_types
|
||||||
|
@ -104,7 +105,8 @@ module Google
|
||||||
# @return [Array<Fixnum>]
|
# @return [Array<Fixnum>]
|
||||||
attr_accessor :filter_ids
|
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`
|
# Corresponds to the JSON property `filterType`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :filter_type
|
attr_accessor :filter_type
|
||||||
|
@ -268,7 +270,7 @@ module Google
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :group_bys
|
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`
|
# Corresponds to the JSON property `includeInviteData`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :include_invite_data
|
attr_accessor :include_invite_data
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
||||||
module JobsV2
|
module JobsV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20190319'
|
REVISION = '20190425'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -1456,7 +1456,8 @@ module Google
|
||||||
|
|
||||||
# Optional.
|
# Optional.
|
||||||
# Specifies the custom attributes histogram requests.
|
# 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`
|
# Corresponds to the JSON property `customAttributeHistogramFacets`
|
||||||
# @return [Array<Google::Apis::JobsV2::CustomAttributeHistogramRequest>]
|
# @return [Array<Google::Apis::JobsV2::CustomAttributeHistogramRequest>]
|
||||||
attr_accessor :custom_attribute_histogram_facets
|
attr_accessor :custom_attribute_histogram_facets
|
||||||
|
@ -2111,9 +2112,9 @@ module Google
|
||||||
# for example, "en-US".
|
# for example, "en-US".
|
||||||
# If a value is not specified, the search results may contain jobs in any
|
# If a value is not specified, the search results may contain jobs in any
|
||||||
# locale.
|
# locale.
|
||||||
# Language codes should be in BCP-47 format, for example, "en-US" or "sr-Latn".
|
# Language codes should be in BCP-47 format, for example, "en-US" or
|
||||||
# For more information, see
|
# "sr-Latn". For more information, see [Tags for Identifying
|
||||||
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
|
# Languages](https://tools.ietf.org/html/bcp47).
|
||||||
# At most 10 language code filters are allowed.
|
# At most 10 language code filters are allowed.
|
||||||
# Corresponds to the JSON property `languageCodes`
|
# Corresponds to the JSON property `languageCodes`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
|
@ -2683,8 +2684,8 @@ module Google
|
||||||
attr_accessor :job_summary
|
attr_accessor :job_summary
|
||||||
|
|
||||||
# Contains snippets of text from the Job.job_title field most
|
# Contains snippets of text from the Job.job_title field most
|
||||||
# closely matching a search query's keywords, if available. The matching query
|
# closely matching a search query's keywords, if available. The matching
|
||||||
# keywords are enclosed in HTML bold tags.
|
# query keywords are enclosed in HTML bold tags.
|
||||||
# Corresponds to the JSON property `jobTitleSnippet`
|
# Corresponds to the JSON property `jobTitleSnippet`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :job_title_snippet
|
attr_accessor :job_title_snippet
|
||||||
|
@ -3134,8 +3135,8 @@ module Google
|
||||||
|
|
||||||
# Optional.
|
# Optional.
|
||||||
# An integer that specifies the current offset (that is, starting result
|
# An integer that specifies the current offset (that is, starting result
|
||||||
# location, amongst the jobs deemed by the API as relevant) in
|
# location, amongst the jobs deemed by the API as relevant) in search
|
||||||
# search results. This field is only considered if page_token is unset.
|
# results. This field is only considered if page_token is unset.
|
||||||
# For example, 0 means to return results starting from the first matching
|
# 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
|
# 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
|
# pagination, (for example, pageSize = 10 and offset = 10 means to return
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
||||||
module JobsV3
|
module JobsV3
|
||||||
VERSION = 'V3'
|
VERSION = 'V3'
|
||||||
REVISION = '20190423'
|
REVISION = '20190425'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -2396,8 +2396,10 @@ module Google
|
||||||
# * "relevance desc": By relevance descending, as determined by the API
|
# * "relevance desc": By relevance descending, as determined by the API
|
||||||
# algorithms. Relevance thresholding of query results is only available
|
# algorithms. Relevance thresholding of query results is only available
|
||||||
# with this ordering.
|
# with this ordering.
|
||||||
# * "posting`_`publish`_`time desc": By Job.posting_publish_time descending.
|
# * "posting`_`publish`_`time desc": By Job.posting_publish_time
|
||||||
# * "posting`_`update`_`time desc": By Job.posting_update_time descending.
|
# descending.
|
||||||
|
# * "posting`_`update`_`time desc": By Job.posting_update_time
|
||||||
|
# descending.
|
||||||
# * "title": By Job.title ascending.
|
# * "title": By Job.title ascending.
|
||||||
# * "title desc": By Job.title descending.
|
# * "title desc": By Job.title descending.
|
||||||
# * "annualized`_`base`_`compensation": By job's
|
# * "annualized`_`base`_`compensation": By job's
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
||||||
module JobsV3p1beta1
|
module JobsV3p1beta1
|
||||||
VERSION = 'V3p1beta1'
|
VERSION = 'V3p1beta1'
|
||||||
REVISION = '20190423'
|
REVISION = '20190425'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -2684,8 +2684,10 @@ module Google
|
||||||
# * "relevance desc": By relevance descending, as determined by the API
|
# * "relevance desc": By relevance descending, as determined by the API
|
||||||
# algorithms. Relevance thresholding of query results is only available
|
# algorithms. Relevance thresholding of query results is only available
|
||||||
# with this ordering.
|
# with this ordering.
|
||||||
# * "posting`_`publish`_`time desc": By Job.posting_publish_time descending.
|
# * "posting`_`publish`_`time desc": By Job.posting_publish_time
|
||||||
# * "posting`_`update`_`time desc": By Job.posting_update_time descending.
|
# descending.
|
||||||
|
# * "posting`_`update`_`time desc": By Job.posting_update_time
|
||||||
|
# descending.
|
||||||
# * "title": By Job.title ascending.
|
# * "title": By Job.title ascending.
|
||||||
# * "title desc": By Job.title descending.
|
# * "title desc": By Job.title descending.
|
||||||
# * "annualized`_`base`_`compensation": By job's
|
# * "annualized`_`base`_`compensation": By job's
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/service-control/
|
# @see https://cloud.google.com/service-control/
|
||||||
module ServicecontrolV1
|
module ServicecontrolV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190318'
|
REVISION = '20190422'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -686,7 +686,8 @@ module Google
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :project_number
|
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`
|
# Corresponds to the JSON property `type`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :type
|
attr_accessor :type
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/cloud-test-lab/
|
# @see https://developers.google.com/cloud-test-lab/
|
||||||
module TestingV1
|
module TestingV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190325'
|
REVISION = '20190424'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -693,6 +693,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :package_name
|
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)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -704,6 +709,7 @@ module Google
|
||||||
@max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version)
|
@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)
|
@min_sdk_version = args[:min_sdk_version] if args.key?(:min_sdk_version)
|
||||||
@package_name = args[:package_name] if args.key?(:package_name)
|
@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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -551,6 +551,7 @@ module Google
|
||||||
property :max_sdk_version, as: 'maxSdkVersion'
|
property :max_sdk_version, as: 'maxSdkVersion'
|
||||||
property :min_sdk_version, as: 'minSdkVersion'
|
property :min_sdk_version, as: 'minSdkVersion'
|
||||||
property :package_name, as: 'packageName'
|
property :package_name, as: 'packageName'
|
||||||
|
property :target_sdk_version, as: 'targetSdkVersion'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue