google-api-client 0.37.2 → 0.37.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +74 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +11 -1
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +1 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +6 -5
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +2 -1
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +7 -71
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +0 -31
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +111 -9
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +56 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +151 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +2 -2
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +11 -0
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +4 -2
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +23 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +3 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -5
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouddebugger_v2/service.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +2 -2
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +30 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +15 -0
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2.rb +4 -4
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2beta1.rb +4 -4
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +3 -3
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +2 -2
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +224 -66
- data/generated/google/apis/container_v1/representations.rb +70 -0
- data/generated/google/apis/container_v1/service.rb +116 -116
- data/generated/google/apis/container_v1beta1/classes.rb +18 -4
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +18 -2
- data/generated/google/apis/content_v2/service.rb +3 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +51 -0
- data/generated/google/apis/content_v2_1/representations.rb +15 -0
- data/generated/google/apis/content_v2_1/service.rb +73 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +27 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +15 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +43 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +15 -0
- data/generated/google/apis/dataproc_v1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +11 -3
- data/generated/google/apis/dialogflow_v2/service.rb +555 -16
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +11 -3
- data/generated/google/apis/dialogflow_v2beta1/service.rb +26 -42
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +417 -2
- data/generated/google/apis/dlp_v2/representations.rb +175 -0
- data/generated/google/apis/dlp_v2/service.rb +116 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -145
- data/generated/google/apis/file_v1/representations.rb +0 -34
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -145
- data/generated/google/apis/file_v1beta1/representations.rb +0 -34
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +3 -3
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -0
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/logging_v2.rb +6 -7
- data/generated/google/apis/logging_v2/service.rb +5 -6
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +966 -21
- data/generated/google/apis/ml_v1/representations.rb +477 -0
- data/generated/google/apis/ml_v1/service.rb +491 -0
- data/generated/google/apis/{toolresults_v1.rb → networkmanagement_v1beta1.rb} +13 -9
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1856 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +664 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +214 -0
- data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1beta1/service.rb +123 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +84 -0
- data/generated/google/apis/run_v1/representations.rb +44 -0
- data/generated/google/apis/run_v1/service.rb +138 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +154 -6
- data/generated/google/apis/securitycenter_v1/representations.rb +61 -0
- data/generated/google/apis/securitycenter_v1/service.rb +194 -6
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +171 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +52 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +171 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +52 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +183 -6
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +52 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -6
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -7
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +58 -1
- data/generated/google/apis/servicemanagement_v1/representations.rb +17 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +8 -7
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +280 -7
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +117 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +515 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +7 -1
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +6 -3
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +13 -13
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +13 -13
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +13 -13
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +13 -13
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +13 -13
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/lib/google/apis/core/api_command.rb +4 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -7
- data/generated/google/apis/toolresults_v1/classes.rb +0 -696
- data/generated/google/apis/toolresults_v1/representations.rb +0 -438
- data/generated/google/apis/toolresults_v1/service.rb +0 -59
@@ -116,6 +116,10 @@ module Google
|
|
116
116
|
end
|
117
117
|
|
118
118
|
# Returns a budget.
|
119
|
+
# WARNING: There are some fields exposed on the Google Cloud Console that
|
120
|
+
# aren’t available on this API. When reading from the API, you will not
|
121
|
+
# see these fields in the return value, though they may have been set
|
122
|
+
# in the Cloud Console.
|
119
123
|
# @param [String] name
|
120
124
|
# Required. Name of budget to get. Values are of the form
|
121
125
|
# `billingAccounts/`billingAccountId`/budgets/`budgetId``.
|
@@ -147,6 +151,10 @@ module Google
|
|
147
151
|
end
|
148
152
|
|
149
153
|
# Returns a list of budgets for a billing account.
|
154
|
+
# WARNING: There are some fields exposed on the Google Cloud Console that
|
155
|
+
# aren’t available on this API. When reading from the API, you will not
|
156
|
+
# see these fields in the return value, though they may have been set
|
157
|
+
# in the Cloud Console.
|
150
158
|
# @param [String] parent
|
151
159
|
# Required. Name of billing account to list budgets under. Values
|
152
160
|
# are of the form `billingAccounts/`billingAccountId``.
|
@@ -187,6 +195,9 @@ module Google
|
|
187
195
|
end
|
188
196
|
|
189
197
|
# Updates a budget and returns the updated budget.
|
198
|
+
# WARNING: There are some fields exposed on the Google Cloud Console that
|
199
|
+
# aren’t available on this API. Budget fields that are not exposed in
|
200
|
+
# this API will not be changed by this method.
|
190
201
|
# @param [String] name
|
191
202
|
# Output only. Resource name of the budget.
|
192
203
|
# The resource name implies the scope of a budget. Values are of the form
|
@@ -364,8 +364,10 @@ module Google
|
|
364
364
|
class FormAction
|
365
365
|
include Google::Apis::Core::Hashable
|
366
366
|
|
367
|
-
#
|
368
|
-
#
|
367
|
+
# The method name is used to identify which part of the form triggered the
|
368
|
+
# form submission. This information is echoed back to the bot as part of
|
369
|
+
# the card click event. The same method name can be used for several
|
370
|
+
# elements that trigger a common behavior if desired.
|
369
371
|
# Corresponds to the JSON property `actionMethodName`
|
370
372
|
# @return [String]
|
371
373
|
attr_accessor :action_method_name
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/classroom/
|
26
26
|
module ClassroomV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200305'
|
29
29
|
|
30
30
|
# View and manage announcements in Google Classroom
|
31
31
|
AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/cloud-build/docs/
|
26
26
|
module CloudbuildV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200308'
|
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'
|
@@ -1024,6 +1024,12 @@ module Google
|
|
1024
1024
|
# @return [String]
|
1025
1025
|
attr_accessor :comment_control
|
1026
1026
|
|
1027
|
+
# If true, branches that do NOT match the git_ref will trigger a build.
|
1028
|
+
# Corresponds to the JSON property `invertRegex`
|
1029
|
+
# @return [Boolean]
|
1030
|
+
attr_accessor :invert_regex
|
1031
|
+
alias_method :invert_regex?, :invert_regex
|
1032
|
+
|
1027
1033
|
def initialize(**args)
|
1028
1034
|
update!(**args)
|
1029
1035
|
end
|
@@ -1032,6 +1038,7 @@ module Google
|
|
1032
1038
|
def update!(**args)
|
1033
1039
|
@branch = args[:branch] if args.key?(:branch)
|
1034
1040
|
@comment_control = args[:comment_control] if args.key?(:comment_control)
|
1041
|
+
@invert_regex = args[:invert_regex] if args.key?(:invert_regex)
|
1035
1042
|
end
|
1036
1043
|
end
|
1037
1044
|
|
@@ -1046,6 +1053,13 @@ module Google
|
|
1046
1053
|
# @return [String]
|
1047
1054
|
attr_accessor :branch
|
1048
1055
|
|
1056
|
+
# When true, only trigger a build if the revision regex does NOT match the
|
1057
|
+
# git_ref regex.
|
1058
|
+
# Corresponds to the JSON property `invertRegex`
|
1059
|
+
# @return [Boolean]
|
1060
|
+
attr_accessor :invert_regex
|
1061
|
+
alias_method :invert_regex?, :invert_regex
|
1062
|
+
|
1049
1063
|
# Regexes matching tags to build.
|
1050
1064
|
# The syntax of the regular expressions accepted is the syntax accepted by
|
1051
1065
|
# RE2 and described at https://github.com/google/re2/wiki/Syntax
|
@@ -1060,6 +1074,7 @@ module Google
|
|
1060
1074
|
# Update properties of this object
|
1061
1075
|
def update!(**args)
|
1062
1076
|
@branch = args[:branch] if args.key?(:branch)
|
1077
|
+
@invert_regex = args[:invert_regex] if args.key?(:invert_regex)
|
1063
1078
|
@tag = args[:tag] if args.key?(:tag)
|
1064
1079
|
end
|
1065
1080
|
end
|
@@ -1087,6 +1102,13 @@ module Google
|
|
1087
1102
|
# @return [String]
|
1088
1103
|
attr_accessor :dir
|
1089
1104
|
|
1105
|
+
# Only trigger a build if the revision regex does NOT match the revision
|
1106
|
+
# regex.
|
1107
|
+
# Corresponds to the JSON property `invertRegex`
|
1108
|
+
# @return [Boolean]
|
1109
|
+
attr_accessor :invert_regex
|
1110
|
+
alias_method :invert_regex?, :invert_regex
|
1111
|
+
|
1090
1112
|
# ID of the project that owns the Cloud Source Repository. If omitted, the
|
1091
1113
|
# project ID requesting the build is assumed.
|
1092
1114
|
# Corresponds to the JSON property `projectId`
|
@@ -1120,6 +1142,7 @@ module Google
|
|
1120
1142
|
@branch_name = args[:branch_name] if args.key?(:branch_name)
|
1121
1143
|
@commit_sha = args[:commit_sha] if args.key?(:commit_sha)
|
1122
1144
|
@dir = args[:dir] if args.key?(:dir)
|
1145
|
+
@invert_regex = args[:invert_regex] if args.key?(:invert_regex)
|
1123
1146
|
@project_id = args[:project_id] if args.key?(:project_id)
|
1124
1147
|
@repo_name = args[:repo_name] if args.key?(:repo_name)
|
1125
1148
|
@substitutions = args[:substitutions] if args.key?(:substitutions)
|
@@ -443,6 +443,7 @@ module Google
|
|
443
443
|
class Representation < Google::Apis::Core::JsonRepresentation
|
444
444
|
property :branch, as: 'branch'
|
445
445
|
property :comment_control, as: 'commentControl'
|
446
|
+
property :invert_regex, as: 'invertRegex'
|
446
447
|
end
|
447
448
|
end
|
448
449
|
|
@@ -450,6 +451,7 @@ module Google
|
|
450
451
|
# @private
|
451
452
|
class Representation < Google::Apis::Core::JsonRepresentation
|
452
453
|
property :branch, as: 'branch'
|
454
|
+
property :invert_regex, as: 'invertRegex'
|
453
455
|
property :tag, as: 'tag'
|
454
456
|
end
|
455
457
|
end
|
@@ -460,6 +462,7 @@ module Google
|
|
460
462
|
property :branch_name, as: 'branchName'
|
461
463
|
property :commit_sha, as: 'commitSha'
|
462
464
|
property :dir, as: 'dir'
|
465
|
+
property :invert_regex, as: 'invertRegex'
|
463
466
|
property :project_id, as: 'projectId'
|
464
467
|
property :repo_name, as: 'repoName'
|
465
468
|
hash :substitutions, as: 'substitutions'
|
@@ -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 = '20200308'
|
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'
|
@@ -746,6 +746,13 @@ module Google
|
|
746
746
|
# @return [String]
|
747
747
|
attr_accessor :dir
|
748
748
|
|
749
|
+
# Only trigger a build if the revision regex does NOT match the revision
|
750
|
+
# regex.
|
751
|
+
# Corresponds to the JSON property `invertRegex`
|
752
|
+
# @return [Boolean]
|
753
|
+
attr_accessor :invert_regex
|
754
|
+
alias_method :invert_regex?, :invert_regex
|
755
|
+
|
749
756
|
# ID of the project that owns the Cloud Source Repository. If omitted, the
|
750
757
|
# project ID requesting the build is assumed.
|
751
758
|
# Corresponds to the JSON property `projectId`
|
@@ -779,6 +786,7 @@ module Google
|
|
779
786
|
@branch_name = args[:branch_name] if args.key?(:branch_name)
|
780
787
|
@commit_sha = args[:commit_sha] if args.key?(:commit_sha)
|
781
788
|
@dir = args[:dir] if args.key?(:dir)
|
789
|
+
@invert_regex = args[:invert_regex] if args.key?(:invert_regex)
|
782
790
|
@project_id = args[:project_id] if args.key?(:project_id)
|
783
791
|
@repo_name = args[:repo_name] if args.key?(:repo_name)
|
784
792
|
@substitutions = args[:substitutions] if args.key?(:substitutions)
|
@@ -327,6 +327,7 @@ module Google
|
|
327
327
|
property :branch_name, as: 'branchName'
|
328
328
|
property :commit_sha, as: 'commitSha'
|
329
329
|
property :dir, as: 'dir'
|
330
|
+
property :invert_regex, as: 'invertRegex'
|
330
331
|
property :project_id, as: 'projectId'
|
331
332
|
property :repo_name, as: 'repoName'
|
332
333
|
hash :substitutions, as: 'substitutions'
|
@@ -48,7 +48,6 @@ module Google
|
|
48
48
|
end
|
49
49
|
|
50
50
|
# Creates a `WorkerPool` to run the builds, and returns the new worker pool.
|
51
|
-
# This API is experimental.
|
52
51
|
# @param [String] parent
|
53
52
|
# ID of the parent project.
|
54
53
|
# @param [Google::Apis::CloudbuildV1alpha1::WorkerPool] worker_pool_object
|
@@ -82,7 +81,6 @@ module Google
|
|
82
81
|
end
|
83
82
|
|
84
83
|
# Deletes a `WorkerPool` by its project ID and WorkerPool name.
|
85
|
-
# This API is experimental.
|
86
84
|
# @param [String] name
|
87
85
|
# The field will contain name of the resource requested, for example:
|
88
86
|
# "projects/project-1/workerPools/workerpool-name"
|
@@ -114,7 +112,6 @@ module Google
|
|
114
112
|
end
|
115
113
|
|
116
114
|
# Returns information about a `WorkerPool`.
|
117
|
-
# This API is experimental.
|
118
115
|
# @param [String] name
|
119
116
|
# The field will contain name of the resource requested, for example:
|
120
117
|
# "projects/project-1/workerPools/workerpool-name"
|
@@ -146,7 +143,6 @@ module Google
|
|
146
143
|
end
|
147
144
|
|
148
145
|
# List project's `WorkerPool`s.
|
149
|
-
# This API is experimental.
|
150
146
|
# @param [String] parent
|
151
147
|
# ID of the parent project.
|
152
148
|
# @param [String] fields
|
@@ -177,7 +173,6 @@ module Google
|
|
177
173
|
end
|
178
174
|
|
179
175
|
# Update a `WorkerPool`.
|
180
|
-
# This API is experimental.
|
181
176
|
# @param [String] name
|
182
177
|
# The field will contain name of the resource requested, for example:
|
183
178
|
# "projects/project-1/workerPools/workerpool-name"
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/cloud-build/docs/
|
26
26
|
module CloudbuildV1alpha2
|
27
27
|
VERSION = 'V1alpha2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200308'
|
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'
|
@@ -733,6 +733,13 @@ module Google
|
|
733
733
|
# @return [String]
|
734
734
|
attr_accessor :dir
|
735
735
|
|
736
|
+
# Only trigger a build if the revision regex does NOT match the revision
|
737
|
+
# regex.
|
738
|
+
# Corresponds to the JSON property `invertRegex`
|
739
|
+
# @return [Boolean]
|
740
|
+
attr_accessor :invert_regex
|
741
|
+
alias_method :invert_regex?, :invert_regex
|
742
|
+
|
736
743
|
# ID of the project that owns the Cloud Source Repository. If omitted, the
|
737
744
|
# project ID requesting the build is assumed.
|
738
745
|
# Corresponds to the JSON property `projectId`
|
@@ -766,6 +773,7 @@ module Google
|
|
766
773
|
@branch_name = args[:branch_name] if args.key?(:branch_name)
|
767
774
|
@commit_sha = args[:commit_sha] if args.key?(:commit_sha)
|
768
775
|
@dir = args[:dir] if args.key?(:dir)
|
776
|
+
@invert_regex = args[:invert_regex] if args.key?(:invert_regex)
|
769
777
|
@project_id = args[:project_id] if args.key?(:project_id)
|
770
778
|
@repo_name = args[:repo_name] if args.key?(:repo_name)
|
771
779
|
@substitutions = args[:substitutions] if args.key?(:substitutions)
|
@@ -325,6 +325,7 @@ module Google
|
|
325
325
|
property :branch_name, as: 'branchName'
|
326
326
|
property :commit_sha, as: 'commitSha'
|
327
327
|
property :dir, as: 'dir'
|
328
|
+
property :invert_regex, as: 'invertRegex'
|
328
329
|
property :project_id, as: 'projectId'
|
329
330
|
property :repo_name, as: 'repoName'
|
330
331
|
hash :substitutions, as: 'substitutions'
|
@@ -18,7 +18,7 @@ require 'google/apis/clouddebugger_v2/representations.rb'
|
|
18
18
|
|
19
19
|
module Google
|
20
20
|
module Apis
|
21
|
-
#
|
21
|
+
# Cloud Debugger API
|
22
22
|
#
|
23
23
|
# Examines the call stack and variables of a running application without
|
24
24
|
# stopping or slowing it down.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/debugger
|
27
27
|
module ClouddebuggerV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200228'
|
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'
|
@@ -18,7 +18,7 @@ require 'google/apis/clouderrorreporting_v1beta1/representations.rb'
|
|
18
18
|
|
19
19
|
module Google
|
20
20
|
module Apis
|
21
|
-
#
|
21
|
+
# Error Reporting API
|
22
22
|
#
|
23
23
|
# Groups and counts similar errors from cloud services and applications, reports
|
24
24
|
# new errors, and provides access to error groups and their associated errors.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/error-reporting/
|
27
27
|
module ClouderrorreportingV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200226'
|
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'
|
@@ -20,7 +20,7 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module ClouderrorreportingV1beta1
|
23
|
-
#
|
23
|
+
# Error Reporting API
|
24
24
|
#
|
25
25
|
# Groups and counts similar errors from cloud services and applications, reports
|
26
26
|
# new errors, and provides access to error groups and their associated errors.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/identity/
|
26
26
|
module CloudidentityV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200303'
|
29
29
|
|
30
30
|
# See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
|
31
31
|
AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'
|
@@ -62,11 +62,11 @@ module Google
|
|
62
62
|
|
63
63
|
# A group within the Cloud Identity Groups API.
|
64
64
|
# A `Group` is a collection of entities, where each entity is either a user or
|
65
|
-
# another group.
|
65
|
+
# another group or a service account.
|
66
66
|
class Group
|
67
67
|
include Google::Apis::Core::Hashable
|
68
68
|
|
69
|
-
#
|
69
|
+
# Additional entity key aliases for a Group.
|
70
70
|
# Corresponds to the JSON property `additionalGroupKeys`
|
71
71
|
# @return [Array<Google::Apis::CloudidentityV1beta1::EntityKey>]
|
72
72
|
attr_accessor :additional_group_keys
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tasks/
|
26
26
|
module CloudtasksV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200228'
|
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'
|
@@ -1110,6 +1110,12 @@ module Google
|
|
1110
1110
|
# @return [Google::Apis::CloudtasksV2::RetryConfig]
|
1111
1111
|
attr_accessor :retry_config
|
1112
1112
|
|
1113
|
+
# Configuration options for writing logs to
|
1114
|
+
# [Stackdriver Logging](https://cloud.google.com/logging/docs/).
|
1115
|
+
# Corresponds to the JSON property `stackdriverLoggingConfig`
|
1116
|
+
# @return [Google::Apis::CloudtasksV2::StackdriverLoggingConfig]
|
1117
|
+
attr_accessor :stackdriver_logging_config
|
1118
|
+
|
1113
1119
|
# Output only. The state of the queue.
|
1114
1120
|
# `state` can only be changed by called
|
1115
1121
|
# PauseQueue,
|
@@ -1132,6 +1138,7 @@ module Google
|
|
1132
1138
|
@purge_time = args[:purge_time] if args.key?(:purge_time)
|
1133
1139
|
@rate_limits = args[:rate_limits] if args.key?(:rate_limits)
|
1134
1140
|
@retry_config = args[:retry_config] if args.key?(:retry_config)
|
1141
|
+
@stackdriver_logging_config = args[:stackdriver_logging_config] if args.key?(:stackdriver_logging_config)
|
1135
1142
|
@state = args[:state] if args.key?(:state)
|
1136
1143
|
end
|
1137
1144
|
end
|
@@ -1442,6 +1449,29 @@ module Google
|
|
1442
1449
|
end
|
1443
1450
|
end
|
1444
1451
|
|
1452
|
+
# Configuration options for writing logs to
|
1453
|
+
# [Stackdriver Logging](https://cloud.google.com/logging/docs/).
|
1454
|
+
class StackdriverLoggingConfig
|
1455
|
+
include Google::Apis::Core::Hashable
|
1456
|
+
|
1457
|
+
# Specifies the fraction of operations to write to
|
1458
|
+
# [Stackdriver Logging](https://cloud.google.com/logging/docs/).
|
1459
|
+
# This field may contain any value between 0.0 and 1.0, inclusive.
|
1460
|
+
# 0.0 is the default and means that no operations are logged.
|
1461
|
+
# Corresponds to the JSON property `samplingRatio`
|
1462
|
+
# @return [Float]
|
1463
|
+
attr_accessor :sampling_ratio
|
1464
|
+
|
1465
|
+
def initialize(**args)
|
1466
|
+
update!(**args)
|
1467
|
+
end
|
1468
|
+
|
1469
|
+
# Update properties of this object
|
1470
|
+
def update!(**args)
|
1471
|
+
@sampling_ratio = args[:sampling_ratio] if args.key?(:sampling_ratio)
|
1472
|
+
end
|
1473
|
+
end
|
1474
|
+
|
1445
1475
|
# The `Status` type defines a logical error model that is suitable for
|
1446
1476
|
# different programming environments, including REST APIs and RPC APIs. It is
|
1447
1477
|
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
@@ -172,6 +172,12 @@ module Google
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
173
173
|
end
|
174
174
|
|
175
|
+
class StackdriverLoggingConfig
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
175
181
|
class Status
|
176
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
183
|
|
@@ -380,6 +386,8 @@ module Google
|
|
380
386
|
|
381
387
|
property :retry_config, as: 'retryConfig', class: Google::Apis::CloudtasksV2::RetryConfig, decorator: Google::Apis::CloudtasksV2::RetryConfig::Representation
|
382
388
|
|
389
|
+
property :stackdriver_logging_config, as: 'stackdriverLoggingConfig', class: Google::Apis::CloudtasksV2::StackdriverLoggingConfig, decorator: Google::Apis::CloudtasksV2::StackdriverLoggingConfig::Representation
|
390
|
+
|
383
391
|
property :state, as: 'state'
|
384
392
|
end
|
385
393
|
end
|
@@ -425,6 +433,13 @@ module Google
|
|
425
433
|
end
|
426
434
|
end
|
427
435
|
|
436
|
+
class StackdriverLoggingConfig
|
437
|
+
# @private
|
438
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
439
|
+
property :sampling_ratio, as: 'samplingRatio'
|
440
|
+
end
|
441
|
+
end
|
442
|
+
|
428
443
|
class Status
|
429
444
|
# @private
|
430
445
|
class Representation < Google::Apis::Core::JsonRepresentation
|