google-api-client 0.28.1 → 0.28.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.kokoro/build.sh +1 -1
- data/CHANGELOG.md +28 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -1
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +9 -8
- data/generated/google/apis/androidenterprise_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/service.rb +81 -6
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +3 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +30 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +28 -0
- data/generated/google/apis/dlp_v2/representations.rb +15 -0
- data/generated/google/apis/dlp_v2/service.rb +23 -1
- data/generated/google/apis/docs_v1.rb +46 -0
- data/generated/google/apis/docs_v1/classes.rb +5383 -0
- data/generated/google/apis/docs_v1/representations.rb +2209 -0
- data/generated/google/apis/docs_v1/service.rb +176 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +0 -193
- data/generated/google/apis/file_v1/representations.rb +0 -70
- data/generated/google/apis/file_v1/service.rb +0 -190
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +8 -0
- data/generated/google/apis/jobs_v3/classes.rb +130 -3
- data/generated/google/apis/jobs_v3/representations.rb +47 -0
- data/generated/google/apis/jobs_v3/service.rb +40 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +44 -0
- data/generated/google/apis/ml_v1/representations.rb +21 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +5 -4
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +3 -2
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +3 -2
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +3 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +35 -0
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2872 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +1221 -0
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +93 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +100 -13
- data/generated/google/apis/youtube_v3/representations.rb +38 -1
- data/lib/google/apis/core/http_command.rb +9 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +10 -3
- data/.travis.yml +0 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a0c3bf480775807ef799db832d41bfed558c029
|
4
|
+
data.tar.gz: 6c8b6638a821768fa3ab1e96876c1e5d0d413044
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49e14784126e36dd1da62dba2d9559d929145427a55db768d7dec7ef81572993880ebc9caa97f5518309761f6464d64c7e5680ba03d0bfda53df231102950f11
|
7
|
+
data.tar.gz: 9a51b11dd6bf3c86fd0e15d80d527b876e101d34f5e50709565c33387d23c66f9a189fb73db078fe71624f971536a723df4a1311f97e89820259970e4ac8302e
|
data/.kokoro/build.sh
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,31 @@
|
|
1
|
+
# 0.28.2
|
2
|
+
* Backwards compatible changes:
|
3
|
+
* Added `docs_v1`
|
4
|
+
* Added `videointelligence_v1p2beta1`
|
5
|
+
* Updated `adexchangebuyer2_v2beta1`
|
6
|
+
* Updated `admin_reports_v1`
|
7
|
+
* Updated `androidenterprise_v1`
|
8
|
+
* Updated `cloudasset_v1beta1`
|
9
|
+
* Updated `cloudbuild_v1alpha1`
|
10
|
+
* Updated `cloudresourcemanager_v1`
|
11
|
+
* Updated `cloudresourcemanager_v1beta1`
|
12
|
+
* Updated `cloudtasks_v2beta3`
|
13
|
+
* Updated `dlp_v2`
|
14
|
+
* Updated `file_v1`
|
15
|
+
* Updated `iam_v1`
|
16
|
+
* Updated `ml_v1`
|
17
|
+
* Updated `redis_v1`
|
18
|
+
* Updated `redis_v1beta1`
|
19
|
+
* Updated `remotebuildexecution_v1`
|
20
|
+
* Updated `remotebuildexecution_v1alpha`
|
21
|
+
* Updated `remotebuildexecution_v2`
|
22
|
+
* Updated `storagetransfer_v1`
|
23
|
+
* Updated `testing_v1`
|
24
|
+
* Updated `vision_v1`
|
25
|
+
* Updated `vision_v1p1beta1`
|
26
|
+
* Updated `vision_v1p2beta1`
|
27
|
+
* Updated `youtube_v3`
|
28
|
+
|
1
29
|
# 0.28.1
|
2
30
|
* Backwards compatible changes:
|
3
31
|
* Added `file_v1`
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
|
28
28
|
module Adexchangebuyer2V2beta1
|
29
29
|
VERSION = 'V2beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20190128'
|
31
31
|
|
32
32
|
# Manage your Ad Exchange buyer account configuration
|
33
33
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/admin-sdk/reports/
|
27
27
|
module AdminReportsV1
|
28
28
|
VERSION = 'ReportsV1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190117'
|
30
30
|
|
31
31
|
# View audit reports for your G Suite domain
|
32
32
|
AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android/work/play/emm-api
|
26
26
|
module AndroidenterpriseV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190123'
|
29
29
|
|
30
30
|
# Manage corporate Android devices
|
31
31
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
@@ -534,17 +534,17 @@ module Google
|
|
534
534
|
class AutoInstallConstraint
|
535
535
|
include Google::Apis::Core::Hashable
|
536
536
|
|
537
|
-
# Charging state
|
537
|
+
# Charging state constraint.
|
538
538
|
# Corresponds to the JSON property `chargingStateConstraint`
|
539
539
|
# @return [String]
|
540
540
|
attr_accessor :charging_state_constraint
|
541
541
|
|
542
|
-
#
|
542
|
+
# Device idle state constraint.
|
543
543
|
# Corresponds to the JSON property `deviceIdleStateConstraint`
|
544
544
|
# @return [String]
|
545
545
|
attr_accessor :device_idle_state_constraint
|
546
546
|
|
547
|
-
# Network type
|
547
|
+
# Network type constraint.
|
548
548
|
# Corresponds to the JSON property `networkTypeConstraint`
|
549
549
|
# @return [String]
|
550
550
|
attr_accessor :network_type_constraint
|
@@ -565,23 +565,24 @@ module Google
|
|
565
565
|
class AutoInstallPolicy
|
566
566
|
include Google::Apis::Core::Hashable
|
567
567
|
|
568
|
-
#
|
568
|
+
# Constraints for auto-installing the app. You can specify a maximum of one
|
569
|
+
# constraint.
|
569
570
|
# Corresponds to the JSON property `autoInstallConstraint`
|
570
571
|
# @return [Array<Google::Apis::AndroidenterpriseV1::AutoInstallConstraint>]
|
571
572
|
attr_accessor :auto_install_constraint
|
572
573
|
|
573
|
-
# The auto
|
574
|
+
# The auto-install mode. If unset defaults to "doNotAutoInstall".
|
574
575
|
# Corresponds to the JSON property `autoInstallMode`
|
575
576
|
# @return [String]
|
576
577
|
attr_accessor :auto_install_mode
|
577
578
|
|
578
|
-
# The priority of the install, as an unsigned integer.
|
579
|
-
# priority.
|
579
|
+
# The priority of the install, as an unsigned integer. A lower number means
|
580
|
+
# higher priority.
|
580
581
|
# Corresponds to the JSON property `autoInstallPriority`
|
581
582
|
# @return [Fixnum]
|
582
583
|
attr_accessor :auto_install_priority
|
583
584
|
|
584
|
-
# The minimum version of the app. If a lower version of the app is installed
|
585
|
+
# The minimum version of the app. If a lower version of the app is installed,
|
585
586
|
# then the app will be auto-updated according to the auto-install constraints,
|
586
587
|
# instead of waiting for the regular auto-update.
|
587
588
|
# Corresponds to the JSON property `minimumVersionCode`
|
@@ -2146,7 +2146,7 @@ module Google
|
|
2146
2146
|
# approved apps will be returned (using the pagination parameters), including
|
2147
2147
|
# apps that are not available in the store (e.g. unpublished apps).
|
2148
2148
|
# @param [String] token
|
2149
|
-
# A pagination token is contained in a request'
|
2149
|
+
# A pagination token is contained in a request's response when there are more
|
2150
2150
|
# products. The token can be used in a subsequent request to obtain more
|
2151
2151
|
# products, and so forth. This parameter cannot be used in the initial request.
|
2152
2152
|
# @param [String] fields
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://console.cloud.google.com/apis/api/cloudasset.googleapis.com/overview
|
26
26
|
module CloudassetV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190128'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -47,11 +47,84 @@ module Google
|
|
47
47
|
@batch_path = 'batch'
|
48
48
|
end
|
49
49
|
|
50
|
+
# Exports assets with time and resource types to a given Cloud Storage
|
51
|
+
# location. The output format is newline-delimited JSON.
|
52
|
+
# This API implements the google.longrunning.Operation API allowing you
|
53
|
+
# to keep track of the export.
|
54
|
+
# @param [String] parent
|
55
|
+
# Required. The relative name of the root asset. This can only be an
|
56
|
+
# organization number (such as "organizations/123"), a project ID (such as
|
57
|
+
# "projects/my-project-id"), a project number (such as "projects/12345"), or
|
58
|
+
# a folder number (such as "folders/123").
|
59
|
+
# @param [Google::Apis::CloudassetV1beta1::ExportAssetsRequest] export_assets_request_object
|
60
|
+
# @param [String] fields
|
61
|
+
# Selector specifying which fields to include in a partial response.
|
62
|
+
# @param [String] quota_user
|
63
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
64
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
65
|
+
# @param [Google::Apis::RequestOptions] options
|
66
|
+
# Request-specific options
|
67
|
+
#
|
68
|
+
# @yield [result, err] Result & error if block supplied
|
69
|
+
# @yieldparam result [Google::Apis::CloudassetV1beta1::Operation] parsed result object
|
70
|
+
# @yieldparam err [StandardError] error object if request failed
|
71
|
+
#
|
72
|
+
# @return [Google::Apis::CloudassetV1beta1::Operation]
|
73
|
+
#
|
74
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
75
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
76
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
77
|
+
def export_folder_assets(parent, export_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
78
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}:exportAssets', options)
|
79
|
+
command.request_representation = Google::Apis::CloudassetV1beta1::ExportAssetsRequest::Representation
|
80
|
+
command.request_object = export_assets_request_object
|
81
|
+
command.response_representation = Google::Apis::CloudassetV1beta1::Operation::Representation
|
82
|
+
command.response_class = Google::Apis::CloudassetV1beta1::Operation
|
83
|
+
command.params['parent'] = parent unless parent.nil?
|
84
|
+
command.query['fields'] = fields unless fields.nil?
|
85
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
86
|
+
execute_or_queue_command(command, &block)
|
87
|
+
end
|
88
|
+
|
89
|
+
# Gets the latest state of a long-running operation. Clients can use this
|
90
|
+
# method to poll the operation result at intervals as recommended by the API
|
91
|
+
# service.
|
92
|
+
# @param [String] name
|
93
|
+
# The name of the operation resource.
|
94
|
+
# @param [String] fields
|
95
|
+
# Selector specifying which fields to include in a partial response.
|
96
|
+
# @param [String] quota_user
|
97
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
98
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
99
|
+
# @param [Google::Apis::RequestOptions] options
|
100
|
+
# Request-specific options
|
101
|
+
#
|
102
|
+
# @yield [result, err] Result & error if block supplied
|
103
|
+
# @yieldparam result [Google::Apis::CloudassetV1beta1::Operation] parsed result object
|
104
|
+
# @yieldparam err [StandardError] error object if request failed
|
105
|
+
#
|
106
|
+
# @return [Google::Apis::CloudassetV1beta1::Operation]
|
107
|
+
#
|
108
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
109
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
110
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
111
|
+
def get_folder_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
112
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
113
|
+
command.response_representation = Google::Apis::CloudassetV1beta1::Operation::Representation
|
114
|
+
command.response_class = Google::Apis::CloudassetV1beta1::Operation
|
115
|
+
command.params['name'] = name unless name.nil?
|
116
|
+
command.query['fields'] = fields unless fields.nil?
|
117
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
118
|
+
execute_or_queue_command(command, &block)
|
119
|
+
end
|
120
|
+
|
50
121
|
# Batch gets the update history of assets that overlap a time window.
|
51
122
|
# For RESOURCE content, this API outputs history with asset in both
|
52
123
|
# non-delete or deleted status.
|
53
124
|
# For IAM_POLICY content, this API outputs history when the asset and its
|
54
125
|
# attached IAM POLICY both exist. This can create gaps in the output history.
|
126
|
+
# If a specified asset does not exist, this API returns an INVALID_ARGUMENT
|
127
|
+
# error.
|
55
128
|
# @param [String] parent
|
56
129
|
# Required. The relative name of the root asset. It can only be an
|
57
130
|
# organization number (such as "organizations/123"), a project ID (such as
|
@@ -109,9 +182,9 @@ module Google
|
|
109
182
|
# to keep track of the export.
|
110
183
|
# @param [String] parent
|
111
184
|
# Required. The relative name of the root asset. This can only be an
|
112
|
-
# organization
|
113
|
-
#
|
114
|
-
#
|
185
|
+
# organization number (such as "organizations/123"), a project ID (such as
|
186
|
+
# "projects/my-project-id"), a project number (such as "projects/12345"), or
|
187
|
+
# a folder number (such as "folders/123").
|
115
188
|
# @param [Google::Apis::CloudassetV1beta1::ExportAssetsRequest] export_assets_request_object
|
116
189
|
# @param [String] fields
|
117
190
|
# Selector specifying which fields to include in a partial response.
|
@@ -179,6 +252,8 @@ module Google
|
|
179
252
|
# non-delete or deleted status.
|
180
253
|
# For IAM_POLICY content, this API outputs history when the asset and its
|
181
254
|
# attached IAM POLICY both exist. This can create gaps in the output history.
|
255
|
+
# If a specified asset does not exist, this API returns an INVALID_ARGUMENT
|
256
|
+
# error.
|
182
257
|
# @param [String] parent
|
183
258
|
# Required. The relative name of the root asset. It can only be an
|
184
259
|
# organization number (such as "organizations/123"), a project ID (such as
|
@@ -236,9 +311,9 @@ module Google
|
|
236
311
|
# to keep track of the export.
|
237
312
|
# @param [String] parent
|
238
313
|
# Required. The relative name of the root asset. This can only be an
|
239
|
-
# organization
|
240
|
-
#
|
241
|
-
#
|
314
|
+
# organization number (such as "organizations/123"), a project ID (such as
|
315
|
+
# "projects/my-project-id"), a project number (such as "projects/12345"), or
|
316
|
+
# a folder number (such as "folders/123").
|
242
317
|
# @param [Google::Apis::CloudassetV1beta1::ExportAssetsRequest] export_assets_request_object
|
243
318
|
# @param [String] fields
|
244
319
|
# Selector specifying which fields to include in a partial response.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/cloud-build/docs/
|
26
26
|
module CloudbuildV1alpha1
|
27
27
|
VERSION = 'V1alpha1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190127'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -691,7 +691,7 @@ module Google
|
|
691
691
|
include Google::Apis::Core::Hashable
|
692
692
|
|
693
693
|
# Network on which the workers are created.
|
694
|
-
#
|
694
|
+
# "default" network is used if empty.
|
695
695
|
# Corresponds to the JSON property `network`
|
696
696
|
# @return [String]
|
697
697
|
attr_accessor :network
|
@@ -706,7 +706,7 @@ module Google
|
|
706
706
|
attr_accessor :project_id
|
707
707
|
|
708
708
|
# Subnetwork on which the workers are created.
|
709
|
-
#
|
709
|
+
# "default" subnetwork is used if empty.
|
710
710
|
# Corresponds to the JSON property `subnetwork`
|
711
711
|
# @return [String]
|
712
712
|
attr_accessor :subnetwork
|
@@ -1097,7 +1097,7 @@ module Google
|
|
1097
1097
|
# @return [String]
|
1098
1098
|
attr_accessor :project_id
|
1099
1099
|
|
1100
|
-
# List of regions to create the `WorkerPool`. Regions can
|
1100
|
+
# List of regions to create the `WorkerPool`. Regions can't be empty.
|
1101
1101
|
# If Cloud Build adds a new GCP region in the future, the existing
|
1102
1102
|
# `WorkerPool` will not be enabled in the new region automatically;
|
1103
1103
|
# you must add the new region to the `regions` field to enable the
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
27
27
|
module CloudresourcemanagerV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190128'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -465,7 +465,9 @@ module Google
|
|
465
465
|
|
466
466
|
# Fetches an Organization resource identified by the specified resource name.
|
467
467
|
# @param [String] name
|
468
|
-
# The resource name of the Organization to fetch
|
468
|
+
# The resource name of the Organization to fetch. This is the organization's
|
469
|
+
# relative path in the API, formatted as "organizations/[organizationId]".
|
470
|
+
# For example, "organizations/1234".
|
469
471
|
# @param [String] fields
|
470
472
|
# Selector specifying which fields to include in a partial response.
|
471
473
|
# @param [String] quota_user
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
27
27
|
module CloudresourcemanagerV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190128'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -50,7 +50,9 @@ module Google
|
|
50
50
|
|
51
51
|
# Fetches an Organization resource identified by the specified resource name.
|
52
52
|
# @param [String] name
|
53
|
-
# The resource name of the Organization to fetch
|
53
|
+
# The resource name of the Organization to fetch. This is the organization's
|
54
|
+
# relative path in the API, formatted as "organizations/[organizationId]".
|
55
|
+
# For example, "organizations/1234".
|
54
56
|
# @param [String] organization_id
|
55
57
|
# The id of the Organization resource to fetch.
|
56
58
|
# This field is deprecated and will be removed in v1. Use name instead.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tasks/
|
26
26
|
module CloudtasksV2beta3
|
27
27
|
VERSION = 'V2beta3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190118'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1296,6 +1296,35 @@ module Google
|
|
1296
1296
|
# @return [Fixnum]
|
1297
1297
|
attr_accessor :dispatch_count
|
1298
1298
|
|
1299
|
+
# The deadline for requests sent to the worker. If the worker does not
|
1300
|
+
# respond by this deadline then the request is cancelled and the attempt
|
1301
|
+
# is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
|
1302
|
+
# task according to the RetryConfig.
|
1303
|
+
# Note that when the request is cancelled, Cloud Tasks will stop listing for
|
1304
|
+
# the response, but whether the worker stops processing depends on the
|
1305
|
+
# worker. For example, if the worker is stuck, it may not react to cancelled
|
1306
|
+
# requests.
|
1307
|
+
# The default and maximum values depend on the type of request:
|
1308
|
+
# * For App Engine tasks, 0 indicates that the
|
1309
|
+
# request has the default deadline. The default deadline depends on the
|
1310
|
+
# [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-
|
1311
|
+
# instances-are-managed#instance_scaling)
|
1312
|
+
# of the service: 10 minutes for standard apps with automatic scaling, 24
|
1313
|
+
# hours for standard apps with manual and basic scaling, and 60 minutes for
|
1314
|
+
# flex apps. If the request deadline is set, it must be in the interval [15
|
1315
|
+
# seconds, 24 hours 15 seconds]. Regardless of the task's
|
1316
|
+
# `dispatch_deadline`, the app handler will not run for longer than than
|
1317
|
+
# the service's timeout. We recommend setting the `dispatch_deadline` to
|
1318
|
+
# at most a few seconds more than the app handler's timeout. For more
|
1319
|
+
# information see
|
1320
|
+
# [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#
|
1321
|
+
# timeouts).
|
1322
|
+
# `dispatch_deadline` will be truncated to the nearest millisecond. The
|
1323
|
+
# deadline is an approximate deadline.
|
1324
|
+
# Corresponds to the JSON property `dispatchDeadline`
|
1325
|
+
# @return [String]
|
1326
|
+
attr_accessor :dispatch_deadline
|
1327
|
+
|
1299
1328
|
# The status of a task attempt.
|
1300
1329
|
# Corresponds to the JSON property `firstAttempt`
|
1301
1330
|
# @return [Google::Apis::CloudtasksV2beta3::Attempt]
|
@@ -1354,6 +1383,7 @@ module Google
|
|
1354
1383
|
@app_engine_http_request = args[:app_engine_http_request] if args.key?(:app_engine_http_request)
|
1355
1384
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1356
1385
|
@dispatch_count = args[:dispatch_count] if args.key?(:dispatch_count)
|
1386
|
+
@dispatch_deadline = args[:dispatch_deadline] if args.key?(:dispatch_deadline)
|
1357
1387
|
@first_attempt = args[:first_attempt] if args.key?(:first_attempt)
|
1358
1388
|
@last_attempt = args[:last_attempt] if args.key?(:last_attempt)
|
1359
1389
|
@name = args[:name] if args.key?(:name)
|
@@ -392,6 +392,7 @@ module Google
|
|
392
392
|
|
393
393
|
property :create_time, as: 'createTime'
|
394
394
|
property :dispatch_count, as: 'dispatchCount'
|
395
|
+
property :dispatch_deadline, as: 'dispatchDeadline'
|
395
396
|
property :first_attempt, as: 'firstAttempt', class: Google::Apis::CloudtasksV2beta3::Attempt, decorator: Google::Apis::CloudtasksV2beta3::Attempt::Representation
|
396
397
|
|
397
398
|
property :last_attempt, as: 'lastAttempt', class: Google::Apis::CloudtasksV2beta3::Attempt, decorator: Google::Apis::CloudtasksV2beta3::Attempt::Representation
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/dlp/docs/
|
28
28
|
module DlpV2
|
29
29
|
VERSION = 'V2'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20190129'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -27,6 +27,12 @@ module Google
|
|
27
27
|
class GooglePrivacyDlpV2Action
|
28
28
|
include Google::Apis::Core::Hashable
|
29
29
|
|
30
|
+
# Enable email notification to project owners and editors on jobs's
|
31
|
+
# completion/failure.
|
32
|
+
# Corresponds to the JSON property `jobNotificationEmails`
|
33
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobNotificationEmails]
|
34
|
+
attr_accessor :job_notification_emails
|
35
|
+
|
30
36
|
# Publish the results of a DlpJob to a pub sub channel.
|
31
37
|
# Compatible with: Inspect, Risk
|
32
38
|
# Corresponds to the JSON property `pubSub`
|
@@ -61,6 +67,7 @@ module Google
|
|
61
67
|
|
62
68
|
# Update properties of this object
|
63
69
|
def update!(**args)
|
70
|
+
@job_notification_emails = args[:job_notification_emails] if args.key?(:job_notification_emails)
|
64
71
|
@pub_sub = args[:pub_sub] if args.key?(:pub_sub)
|
65
72
|
@publish_summary_to_cscc = args[:publish_summary_to_cscc] if args.key?(:publish_summary_to_cscc)
|
66
73
|
@save_findings = args[:save_findings] if args.key?(:save_findings)
|
@@ -3057,6 +3064,20 @@ module Google
|
|
3057
3064
|
end
|
3058
3065
|
end
|
3059
3066
|
|
3067
|
+
# Enable email notification to project owners and editors on jobs's
|
3068
|
+
# completion/failure.
|
3069
|
+
class GooglePrivacyDlpV2JobNotificationEmails
|
3070
|
+
include Google::Apis::Core::Hashable
|
3071
|
+
|
3072
|
+
def initialize(**args)
|
3073
|
+
update!(**args)
|
3074
|
+
end
|
3075
|
+
|
3076
|
+
# Update properties of this object
|
3077
|
+
def update!(**args)
|
3078
|
+
end
|
3079
|
+
end
|
3080
|
+
|
3060
3081
|
# Contains a configuration to make dlp api calls on a repeating basis.
|
3061
3082
|
# See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
|
3062
3083
|
class GooglePrivacyDlpV2JobTrigger
|
@@ -4658,6 +4679,12 @@ module Google
|
|
4658
4679
|
class GooglePrivacyDlpV2Regex
|
4659
4680
|
include Google::Apis::Core::Hashable
|
4660
4681
|
|
4682
|
+
# The index of the submatch to extract as findings. When not
|
4683
|
+
# specified, the entire match is returned. No more than 3 may be included.
|
4684
|
+
# Corresponds to the JSON property `groupIndexes`
|
4685
|
+
# @return [Array<Fixnum>]
|
4686
|
+
attr_accessor :group_indexes
|
4687
|
+
|
4661
4688
|
# Pattern defining the regular expression. Its syntax
|
4662
4689
|
# (https://github.com/google/re2/wiki/Syntax) can be found under the
|
4663
4690
|
# google/re2 repository on GitHub.
|
@@ -4671,6 +4698,7 @@ module Google
|
|
4671
4698
|
|
4672
4699
|
# Update properties of this object
|
4673
4700
|
def update!(**args)
|
4701
|
+
@group_indexes = args[:group_indexes] if args.key?(:group_indexes)
|
4674
4702
|
@pattern = args[:pattern] if args.key?(:pattern)
|
4675
4703
|
end
|
4676
4704
|
end
|