google-api-client 0.27.0 → 0.27.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +32 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -2
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +15 -3
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +74 -1
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +42 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +67 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +6 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +6 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/classes.rb +6 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +6 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +44 -6
- data/generated/google/apis/bigquery_v2/representations.rb +17 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +5 -2
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +5 -2
- data/generated/google/apis/cloudidentity_v1.rb +31 -0
- data/generated/google/apis/cloudidentity_v1/classes.rb +495 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +197 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +517 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +31 -0
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +475 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +184 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +477 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +2 -2
- data/generated/google/apis/composer_v1beta1/service.rb +10 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +7 -103
- data/generated/google/apis/dialogflow_v2/representations.rb +0 -30
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +7 -103
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +0 -30
- data/generated/google/apis/dialogflow_v2beta1/service.rb +0 -228
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +7 -0
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -0
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/service.rb +3 -2
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/service.rb +3 -2
- data/generated/google/apis/monitoring_v1.rb +33 -0
- data/generated/google/apis/monitoring_v1/classes.rb +474 -0
- data/generated/google/apis/monitoring_v1/representations.rb +195 -0
- data/generated/google/apis/monitoring_v1/service.rb +211 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +3 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -8
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +10 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +22 -9
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta/service.rb +1 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +12 -8
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +12 -8
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +14 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6c08d4953831078b0034df02298cd8763e280e4
|
4
|
+
data.tar.gz: b05c63b18775b250b6565b47508ba987f1963f2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01e248dce807204dc8bfbb6027041a5a64ddac96e83a8a403ceff997284f094b46a694e46d8592ca2b68b639f8b055d973cceed0a524e7da33fbdb34afe04002
|
7
|
+
data.tar.gz: c28d0cacc166c653071bb40e2120fa20a4e8a18243e72e4ddadc93097232399933785443eea47b86e90f1401f1d01b4ceff61cf70c37ff68a4d64b93ab8dfd5a
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,35 @@
|
|
1
|
+
# 0.27.1
|
2
|
+
* Backwards compatible changes:
|
3
|
+
* Added `cloudidentity_v1`
|
4
|
+
* Added `cloudidentity_v1beta1`
|
5
|
+
* Added `monitoring_v1`
|
6
|
+
* Updated `accesscontextmanager_v1beta`
|
7
|
+
* Updated `admin_reports_v1`
|
8
|
+
* Updated `alertcenter_v1beta1`
|
9
|
+
* Updated `appengine_v1`
|
10
|
+
* Updated `appengine_v1beta`
|
11
|
+
* Updated `appengine_v1beta4`
|
12
|
+
* Updated `appengine_v1beta5`
|
13
|
+
* Updated `bigquery_v2`
|
14
|
+
* Updated `cloudbuild_v1alpha1`
|
15
|
+
* Updated `cloudfunctions_v1`
|
16
|
+
* Updated `cloudfunctions_v1beta2`
|
17
|
+
* Updated `composer_v1beta1`
|
18
|
+
* Updated `datastore_v1`
|
19
|
+
* Updated `dialogflow_v2`
|
20
|
+
* Updated `dialogflow_v2beta1`
|
21
|
+
* Updated `dlp_v2`
|
22
|
+
* Updated `drive_v3`
|
23
|
+
* Updated `logging_v2`
|
24
|
+
* Updated `logging_v2beta1`
|
25
|
+
* Updated `pubsub_v1`
|
26
|
+
* Updated `serviceconsumermanagement_v1`
|
27
|
+
* Updated `servicecontrol_v1`
|
28
|
+
* Updated `servicenetworking_v1beta`
|
29
|
+
* Updated `serviceusage_v1`
|
30
|
+
* Updated `serviceusage_v1beta1`
|
31
|
+
* Updated `youtube_partner_v1`
|
32
|
+
|
1
33
|
# 0.27.0
|
2
34
|
* Breaking changes:
|
3
35
|
* Deleted `replicapoolupdater_v1beta1`
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
|
26
26
|
module AccesscontextmanagerV1beta
|
27
27
|
VERSION = 'V1beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20181219'
|
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'
|
@@ -24,8 +24,6 @@ module Google
|
|
24
24
|
|
25
25
|
# An `AccessLevel` is a label that can be applied to requests to GCP services,
|
26
26
|
# along with a list of requirements necessary for the label to be applied.
|
27
|
-
# `AccessLevels` can be referenced in `AccessZones` and in the `Cloud Org
|
28
|
-
# Policy` API.
|
29
27
|
class AccessLevel
|
30
28
|
include Google::Apis::Core::Hashable
|
31
29
|
|
@@ -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 = '20181219'
|
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'
|
@@ -73,6 +73,9 @@ module Google
|
|
73
73
|
# parameter2 name][operator][parameter2 value],...
|
74
74
|
# @param [Fixnum] max_results
|
75
75
|
# Number of activity records to be shown in each page.
|
76
|
+
# @param [String] org_unit_id
|
77
|
+
# the organizational unit's(OU) ID to filter activities from users belonging to
|
78
|
+
# a specific OU or one of its sub-OU(s)
|
76
79
|
# @param [String] page_token
|
77
80
|
# Token to specify next page.
|
78
81
|
# @param [String] start_time
|
@@ -96,7 +99,7 @@ module Google
|
|
96
99
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
97
100
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
98
101
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
99
|
-
def list_activities(user_key, application_name, actor_ip_address: nil, customer_id: nil, end_time: nil, event_name: nil, filters: nil, max_results: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
102
|
+
def list_activities(user_key, application_name, actor_ip_address: nil, customer_id: nil, end_time: nil, event_name: nil, filters: nil, max_results: nil, org_unit_id: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
100
103
|
command = make_simple_command(:get, 'activity/users/{userKey}/applications/{applicationName}', options)
|
101
104
|
command.response_representation = Google::Apis::AdminReportsV1::Activities::Representation
|
102
105
|
command.response_class = Google::Apis::AdminReportsV1::Activities
|
@@ -108,6 +111,7 @@ module Google
|
|
108
111
|
command.query['eventName'] = event_name unless event_name.nil?
|
109
112
|
command.query['filters'] = filters unless filters.nil?
|
110
113
|
command.query['maxResults'] = max_results unless max_results.nil?
|
114
|
+
command.query['orgUnitID'] = org_unit_id unless org_unit_id.nil?
|
111
115
|
command.query['pageToken'] = page_token unless page_token.nil?
|
112
116
|
command.query['startTime'] = start_time unless start_time.nil?
|
113
117
|
command.query['fields'] = fields unless fields.nil?
|
@@ -138,6 +142,9 @@ module Google
|
|
138
142
|
# parameter2 name][operator][parameter2 value],...
|
139
143
|
# @param [Fixnum] max_results
|
140
144
|
# Number of activity records to be shown in each page.
|
145
|
+
# @param [String] org_unit_id
|
146
|
+
# the organizational unit's(OU) ID to filter activities from users belonging to
|
147
|
+
# a specific OU or one of its sub-OU(s)
|
141
148
|
# @param [String] page_token
|
142
149
|
# Token to specify next page.
|
143
150
|
# @param [String] start_time
|
@@ -161,7 +168,7 @@ module Google
|
|
161
168
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
162
169
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
163
170
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
164
|
-
def watch_activity(user_key, application_name, channel_object = nil, actor_ip_address: nil, customer_id: nil, end_time: nil, event_name: nil, filters: nil, max_results: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
171
|
+
def watch_activity(user_key, application_name, channel_object = nil, actor_ip_address: nil, customer_id: nil, end_time: nil, event_name: nil, filters: nil, max_results: nil, org_unit_id: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
165
172
|
command = make_simple_command(:post, 'activity/users/{userKey}/applications/{applicationName}/watch', options)
|
166
173
|
command.request_representation = Google::Apis::AdminReportsV1::Channel::Representation
|
167
174
|
command.request_object = channel_object
|
@@ -175,6 +182,7 @@ module Google
|
|
175
182
|
command.query['eventName'] = event_name unless event_name.nil?
|
176
183
|
command.query['filters'] = filters unless filters.nil?
|
177
184
|
command.query['maxResults'] = max_results unless max_results.nil?
|
185
|
+
command.query['orgUnitID'] = org_unit_id unless org_unit_id.nil?
|
178
186
|
command.query['pageToken'] = page_token unless page_token.nil?
|
179
187
|
command.query['startTime'] = start_time unless start_time.nil?
|
180
188
|
command.query['fields'] = fields unless fields.nil?
|
@@ -327,6 +335,9 @@ module Google
|
|
327
335
|
# Represents the set of filters including parameter operator value.
|
328
336
|
# @param [Fixnum] max_results
|
329
337
|
# Maximum number of results to return. Maximum allowed is 1000
|
338
|
+
# @param [String] org_unit_id
|
339
|
+
# the organizational unit's ID to filter usage parameters from users belonging
|
340
|
+
# to a specific OU or one of its sub-OU(s).
|
330
341
|
# @param [String] page_token
|
331
342
|
# Token to specify next page.
|
332
343
|
# @param [String] parameters
|
@@ -351,7 +362,7 @@ module Google
|
|
351
362
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
352
363
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
353
364
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
354
|
-
def get_user_usage_report(user_key, date, customer_id: nil, filters: nil, max_results: nil, page_token: nil, parameters: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
365
|
+
def get_user_usage_report(user_key, date, customer_id: nil, filters: nil, max_results: nil, org_unit_id: nil, page_token: nil, parameters: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
355
366
|
command = make_simple_command(:get, 'usage/users/{userKey}/dates/{date}', options)
|
356
367
|
command.response_representation = Google::Apis::AdminReportsV1::UsageReports::Representation
|
357
368
|
command.response_class = Google::Apis::AdminReportsV1::UsageReports
|
@@ -360,6 +371,7 @@ module Google
|
|
360
371
|
command.query['customerId'] = customer_id unless customer_id.nil?
|
361
372
|
command.query['filters'] = filters unless filters.nil?
|
362
373
|
command.query['maxResults'] = max_results unless max_results.nil?
|
374
|
+
command.query['orgUnitID'] = org_unit_id unless org_unit_id.nil?
|
363
375
|
command.query['pageToken'] = page_token unless page_token.nil?
|
364
376
|
command.query['parameters'] = parameters unless parameters.nil?
|
365
377
|
command.query['fields'] = fields unless fields.nil?
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/admin-sdk/alertcenter/
|
26
26
|
module AlertcenterV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20181215'
|
29
29
|
|
30
30
|
# See and delete your domain's G Suite alerts, and send alert feedback
|
31
31
|
AUTH_APPS_ALERTS = 'https://www.googleapis.com/auth/apps.alerts'
|
@@ -93,7 +93,7 @@ module Google
|
|
93
93
|
# @return [String]
|
94
94
|
attr_accessor :security_investigation_tool_link
|
95
95
|
|
96
|
-
# Required. A unique identifier for the system that
|
96
|
+
# Required. A unique identifier for the system that reported the alert.
|
97
97
|
# Supported sources are any of the following:
|
98
98
|
# * Google Operations
|
99
99
|
# * Mobile device management
|
@@ -245,6 +245,36 @@ module Google
|
|
245
245
|
end
|
246
246
|
end
|
247
247
|
|
248
|
+
# A reference to a Cloud Pubsub topic.
|
249
|
+
# To register for notifications, the owner of the topic must grant
|
250
|
+
# `alerts-api-push-notifications@system.gserviceaccount.com` the
|
251
|
+
# `projects.topics.publish` permission.
|
252
|
+
class CloudPubsubTopic
|
253
|
+
include Google::Apis::Core::Hashable
|
254
|
+
|
255
|
+
# Optional. The format of the payload that would be sent.
|
256
|
+
# If not specified the format will be JSON.
|
257
|
+
# Corresponds to the JSON property `payloadFormat`
|
258
|
+
# @return [String]
|
259
|
+
attr_accessor :payload_format
|
260
|
+
|
261
|
+
# The `name` field of a Cloud Pubsub [Topic]
|
262
|
+
# (https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics#Topic).
|
263
|
+
# Corresponds to the JSON property `topicName`
|
264
|
+
# @return [String]
|
265
|
+
attr_accessor :topic_name
|
266
|
+
|
267
|
+
def initialize(**args)
|
268
|
+
update!(**args)
|
269
|
+
end
|
270
|
+
|
271
|
+
# Update properties of this object
|
272
|
+
def update!(**args)
|
273
|
+
@payload_format = args[:payload_format] if args.key?(:payload_format)
|
274
|
+
@topic_name = args[:topic_name] if args.key?(:topic_name)
|
275
|
+
end
|
276
|
+
end
|
277
|
+
|
248
278
|
# A representation of a CSV file attachment, as a list of column headers and
|
249
279
|
# a list of data rows.
|
250
280
|
class Csv
|
@@ -674,6 +704,30 @@ module Google
|
|
674
704
|
end
|
675
705
|
end
|
676
706
|
|
707
|
+
# Settings for callback notifications.
|
708
|
+
# For more details see [G Suite Alert
|
709
|
+
# Notification](/admin-sdk/alertcenter/guides/notifications).
|
710
|
+
class Notification
|
711
|
+
include Google::Apis::Core::Hashable
|
712
|
+
|
713
|
+
# A reference to a Cloud Pubsub topic.
|
714
|
+
# To register for notifications, the owner of the topic must grant
|
715
|
+
# `alerts-api-push-notifications@system.gserviceaccount.com` the
|
716
|
+
# `projects.topics.publish` permission.
|
717
|
+
# Corresponds to the JSON property `cloudPubsubTopic`
|
718
|
+
# @return [Google::Apis::AlertcenterV1beta1::CloudPubsubTopic]
|
719
|
+
attr_accessor :cloud_pubsub_topic
|
720
|
+
|
721
|
+
def initialize(**args)
|
722
|
+
update!(**args)
|
723
|
+
end
|
724
|
+
|
725
|
+
# Update properties of this object
|
726
|
+
def update!(**args)
|
727
|
+
@cloud_pubsub_topic = args[:cloud_pubsub_topic] if args.key?(:cloud_pubsub_topic)
|
728
|
+
end
|
729
|
+
end
|
730
|
+
|
677
731
|
# Alert for a spike in user reported phishing.
|
678
732
|
# <aside class="warning"><b>Warning</b>: This type has been deprecated. Use
|
679
733
|
# [MailPhishing](/admin-sdk/alertcenter/reference/rest/v1beta1/MailPhishing)
|
@@ -715,6 +769,25 @@ module Google
|
|
715
769
|
end
|
716
770
|
end
|
717
771
|
|
772
|
+
# Customer-level settings.
|
773
|
+
class Settings
|
774
|
+
include Google::Apis::Core::Hashable
|
775
|
+
|
776
|
+
# The list of notifications.
|
777
|
+
# Corresponds to the JSON property `notifications`
|
778
|
+
# @return [Array<Google::Apis::AlertcenterV1beta1::Notification>]
|
779
|
+
attr_accessor :notifications
|
780
|
+
|
781
|
+
def initialize(**args)
|
782
|
+
update!(**args)
|
783
|
+
end
|
784
|
+
|
785
|
+
# Update properties of this object
|
786
|
+
def update!(**args)
|
787
|
+
@notifications = args[:notifications] if args.key?(:notifications)
|
788
|
+
end
|
789
|
+
end
|
790
|
+
|
718
791
|
# A state-sponsored attack alert. Derived from audit logs.
|
719
792
|
class StateSponsoredAttack
|
720
793
|
include Google::Apis::Core::Hashable
|
@@ -52,6 +52,12 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
+
class CloudPubsubTopic
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
55
61
|
class Csv
|
56
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
63
|
|
@@ -136,12 +142,24 @@ module Google
|
|
136
142
|
include Google::Apis::Core::JsonObjectSupport
|
137
143
|
end
|
138
144
|
|
145
|
+
class Notification
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
139
151
|
class PhishingSpike
|
140
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
153
|
|
142
154
|
include Google::Apis::Core::JsonObjectSupport
|
143
155
|
end
|
144
156
|
|
157
|
+
class Settings
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
145
163
|
class StateSponsoredAttack
|
146
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
165
|
|
@@ -224,6 +242,14 @@ module Google
|
|
224
242
|
end
|
225
243
|
end
|
226
244
|
|
245
|
+
class CloudPubsubTopic
|
246
|
+
# @private
|
247
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
248
|
+
property :payload_format, as: 'payloadFormat'
|
249
|
+
property :topic_name, as: 'topicName'
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
227
253
|
class Csv
|
228
254
|
# @private
|
229
255
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -353,6 +379,14 @@ module Google
|
|
353
379
|
end
|
354
380
|
end
|
355
381
|
|
382
|
+
class Notification
|
383
|
+
# @private
|
384
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
385
|
+
property :cloud_pubsub_topic, as: 'cloudPubsubTopic', class: Google::Apis::AlertcenterV1beta1::CloudPubsubTopic, decorator: Google::Apis::AlertcenterV1beta1::CloudPubsubTopic::Representation
|
386
|
+
|
387
|
+
end
|
388
|
+
end
|
389
|
+
|
356
390
|
class PhishingSpike
|
357
391
|
# @private
|
358
392
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -366,6 +400,14 @@ module Google
|
|
366
400
|
end
|
367
401
|
end
|
368
402
|
|
403
|
+
class Settings
|
404
|
+
# @private
|
405
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
406
|
+
collection :notifications, as: 'notifications', class: Google::Apis::AlertcenterV1beta1::Notification, decorator: Google::Apis::AlertcenterV1beta1::Notification::Representation
|
407
|
+
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
369
411
|
class StateSponsoredAttack
|
370
412
|
# @private
|
371
413
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -297,6 +297,73 @@ module Google
|
|
297
297
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
298
298
|
execute_or_queue_command(command, &block)
|
299
299
|
end
|
300
|
+
|
301
|
+
# Returns customer-level settings.
|
302
|
+
# @param [String] customer_id
|
303
|
+
# Optional. The unique identifier of the G Suite organization account of the
|
304
|
+
# customer the alert settings are associated with.
|
305
|
+
# Inferred from the caller identity if not provided.
|
306
|
+
# @param [String] fields
|
307
|
+
# Selector specifying which fields to include in a partial response.
|
308
|
+
# @param [String] quota_user
|
309
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
310
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
311
|
+
# @param [Google::Apis::RequestOptions] options
|
312
|
+
# Request-specific options
|
313
|
+
#
|
314
|
+
# @yield [result, err] Result & error if block supplied
|
315
|
+
# @yieldparam result [Google::Apis::AlertcenterV1beta1::Settings] parsed result object
|
316
|
+
# @yieldparam err [StandardError] error object if request failed
|
317
|
+
#
|
318
|
+
# @return [Google::Apis::AlertcenterV1beta1::Settings]
|
319
|
+
#
|
320
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
321
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
322
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
323
|
+
def get_settings(customer_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
324
|
+
command = make_simple_command(:get, 'v1beta1/settings', options)
|
325
|
+
command.response_representation = Google::Apis::AlertcenterV1beta1::Settings::Representation
|
326
|
+
command.response_class = Google::Apis::AlertcenterV1beta1::Settings
|
327
|
+
command.query['customerId'] = customer_id unless customer_id.nil?
|
328
|
+
command.query['fields'] = fields unless fields.nil?
|
329
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
330
|
+
execute_or_queue_command(command, &block)
|
331
|
+
end
|
332
|
+
|
333
|
+
# Update the customer-level settings.
|
334
|
+
# @param [Google::Apis::AlertcenterV1beta1::Settings] settings_object
|
335
|
+
# @param [String] customer_id
|
336
|
+
# Optional. The unique identifier of the G Suite organization account of the
|
337
|
+
# customer the alert settings are associated with.
|
338
|
+
# Inferred from the caller identity if not provided.
|
339
|
+
# @param [String] fields
|
340
|
+
# Selector specifying which fields to include in a partial response.
|
341
|
+
# @param [String] quota_user
|
342
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
343
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
344
|
+
# @param [Google::Apis::RequestOptions] options
|
345
|
+
# Request-specific options
|
346
|
+
#
|
347
|
+
# @yield [result, err] Result & error if block supplied
|
348
|
+
# @yieldparam result [Google::Apis::AlertcenterV1beta1::Settings] parsed result object
|
349
|
+
# @yieldparam err [StandardError] error object if request failed
|
350
|
+
#
|
351
|
+
# @return [Google::Apis::AlertcenterV1beta1::Settings]
|
352
|
+
#
|
353
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
354
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
355
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
356
|
+
def update_settings(settings_object = nil, customer_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
357
|
+
command = make_simple_command(:patch, 'v1beta1/settings', options)
|
358
|
+
command.request_representation = Google::Apis::AlertcenterV1beta1::Settings::Representation
|
359
|
+
command.request_object = settings_object
|
360
|
+
command.response_representation = Google::Apis::AlertcenterV1beta1::Settings::Representation
|
361
|
+
command.response_class = Google::Apis::AlertcenterV1beta1::Settings
|
362
|
+
command.query['customerId'] = customer_id unless customer_id.nil?
|
363
|
+
command.query['fields'] = fields unless fields.nil?
|
364
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
365
|
+
execute_or_queue_command(command, &block)
|
366
|
+
end
|
300
367
|
|
301
368
|
protected
|
302
369
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
26
26
|
module AppengineV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20181218'
|
29
29
|
|
30
30
|
# View and manage your applications deployed on Google App Engine
|
31
31
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
@@ -2923,6 +2923,11 @@ module Google
|
|
2923
2923
|
# @return [String]
|
2924
2924
|
attr_accessor :runtime_channel
|
2925
2925
|
|
2926
|
+
# The path or name of the app's main executable.
|
2927
|
+
# Corresponds to the JSON property `runtimeMainExecutablePath`
|
2928
|
+
# @return [String]
|
2929
|
+
attr_accessor :runtime_main_executable_path
|
2930
|
+
|
2926
2931
|
# Current serving status of this version. Only the versions with a SERVING
|
2927
2932
|
# status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an
|
2928
2933
|
# invalid value. Defaults to SERVING.
|
@@ -2990,6 +2995,7 @@ module Google
|
|
2990
2995
|
@runtime = args[:runtime] if args.key?(:runtime)
|
2991
2996
|
@runtime_api_version = args[:runtime_api_version] if args.key?(:runtime_api_version)
|
2992
2997
|
@runtime_channel = args[:runtime_channel] if args.key?(:runtime_channel)
|
2998
|
+
@runtime_main_executable_path = args[:runtime_main_executable_path] if args.key?(:runtime_main_executable_path)
|
2993
2999
|
@serving_status = args[:serving_status] if args.key?(:serving_status)
|
2994
3000
|
@threadsafe = args[:threadsafe] if args.key?(:threadsafe)
|
2995
3001
|
@version_url = args[:version_url] if args.key?(:version_url)
|