google-apis-alertcenter_v1beta1 0.34.0 → 0.36.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81831f6811236dedb613954a4eab93a398a821d65ee8f228b10230bbd3b70e3a
4
- data.tar.gz: abdd64f278a83af6a3ae14957def19b93d4429cc4e8d10a52a8373e72abb675e
3
+ metadata.gz: 490932823acfff12b69802dd475d2de1ec11fe3322b44040b20e907ea4f922f1
4
+ data.tar.gz: 663897246e40e9c466a9a161f2ec8458ef5933265f2cfe250ac01f0372f8ab7f
5
5
  SHA512:
6
- metadata.gz: d48293a01bc8c458249da92e5d5b206bd71702b885a784d3d10b338b8f4d8d3bb0e5e740187febffb2fa7c09d41c01ee7bf6eebb59c0c4a151a27fd0c136379f
7
- data.tar.gz: 61647438ae5c4ecf1a327a89a3394326ca184108f1b5d6d1d193e5f8d27a3781bc0736cb528b75e0ddc2c9ecf6ce18089697949bfe45da062ad3a77f5112db7d
6
+ metadata.gz: '00350832a14ac0f135a2ae089ffeaf2b22c2138595a76ce57181947459e1c423b355a6c4ed1510442a300f058c0adc7479d0f2d8a440bf6efe4c32d6517e67fa'
7
+ data.tar.gz: fb344b509743915bbab60b61b8def1405fa55c2d7a0687aadbbc52c89b17f01860f632bbef6902c07497b6bb2a53d7ff4182b81a1ea78f390cdc81d576b8f442
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-alertcenter_v1beta1
2
2
 
3
+ ### v0.36.0 (2024-01-23)
4
+
5
+ * Regenerated using generator version 0.13.0
6
+
7
+ ### v0.35.0 (2023-08-27)
8
+
9
+ * Regenerated from discovery document revision 20230821
10
+
3
11
  ### v0.34.0 (2023-04-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20230424
@@ -63,6 +63,58 @@ module Google
63
63
  end
64
64
  end
65
65
 
66
+ # Alert that is triggered when Google support requests to access customer data.
67
+ class AccessApproval
68
+ include Google::Apis::Core::Hashable
69
+
70
+ # Justification for data access based on justification enums.
71
+ # Corresponds to the JSON property `justificationReason`
72
+ # @return [Array<String>]
73
+ attr_accessor :justification_reason
74
+
75
+ # Office location of Google staff requesting access such as "US".
76
+ # Corresponds to the JSON property `officeLocation`
77
+ # @return [String]
78
+ attr_accessor :office_location
79
+
80
+ # Products within scope of the Access Approvals request.
81
+ # Corresponds to the JSON property `products`
82
+ # @return [Array<String>]
83
+ attr_accessor :products
84
+
85
+ # ID of the Access Approvals request. This is a helpful field when requesting
86
+ # support from Google.
87
+ # Corresponds to the JSON property `requestId`
88
+ # @return [String]
89
+ attr_accessor :request_id
90
+
91
+ # Scope of access, also known as a resource. This is further narrowed down by
92
+ # the product field.
93
+ # Corresponds to the JSON property `scope`
94
+ # @return [String]
95
+ attr_accessor :scope
96
+
97
+ # Support tickets related to this Access Approvals request. Populated if there
98
+ # is an associated case number.
99
+ # Corresponds to the JSON property `tickets`
100
+ # @return [Array<Google::Apis::AlertcenterV1beta1::SupportTicket>]
101
+ attr_accessor :tickets
102
+
103
+ def initialize(**args)
104
+ update!(**args)
105
+ end
106
+
107
+ # Update properties of this object
108
+ def update!(**args)
109
+ @justification_reason = args[:justification_reason] if args.key?(:justification_reason)
110
+ @office_location = args[:office_location] if args.key?(:office_location)
111
+ @products = args[:products] if args.key?(:products)
112
+ @request_id = args[:request_id] if args.key?(:request_id)
113
+ @scope = args[:scope] if args.key?(:scope)
114
+ @tickets = args[:tickets] if args.key?(:tickets)
115
+ end
116
+ end
117
+
66
118
  # Details about why an account is receiving an account suspension warning.
67
119
  class AccountSuspensionDetails
68
120
  include Google::Apis::Core::Hashable
@@ -1968,6 +2020,31 @@ module Google
1968
2020
  end
1969
2021
  end
1970
2022
 
2023
+ # Support ticket related to Access Approvals request
2024
+ class SupportTicket
2025
+ include Google::Apis::Core::Hashable
2026
+
2027
+ # Support ticket ID
2028
+ # Corresponds to the JSON property `ticketId`
2029
+ # @return [String]
2030
+ attr_accessor :ticket_id
2031
+
2032
+ # Link to support ticket
2033
+ # Corresponds to the JSON property `ticketUrl`
2034
+ # @return [String]
2035
+ attr_accessor :ticket_url
2036
+
2037
+ def initialize(**args)
2038
+ update!(**args)
2039
+ end
2040
+
2041
+ # Update properties of this object
2042
+ def update!(**args)
2043
+ @ticket_id = args[:ticket_id] if args.key?(:ticket_id)
2044
+ @ticket_url = args[:ticket_url] if args.key?(:ticket_url)
2045
+ end
2046
+ end
2047
+
1971
2048
  # A mobile suspicious activity alert. Derived from audit logs.
1972
2049
  class SuspiciousActivity
1973
2050
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlertcenterV1beta1
18
18
  # Version of the google-apis-alertcenter_v1beta1 gem
19
- GEM_VERSION = "0.34.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230424"
25
+ REVISION = "20230821"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AccessApproval
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class AccountSuspensionDetails
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -364,6 +370,12 @@ module Google
364
370
  include Google::Apis::Core::JsonObjectSupport
365
371
  end
366
372
 
373
+ class SupportTicket
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
367
379
  class SuspiciousActivity
368
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
381
 
@@ -441,6 +453,19 @@ module Google
441
453
  end
442
454
  end
443
455
 
456
+ class AccessApproval
457
+ # @private
458
+ class Representation < Google::Apis::Core::JsonRepresentation
459
+ collection :justification_reason, as: 'justificationReason'
460
+ property :office_location, as: 'officeLocation'
461
+ collection :products, as: 'products'
462
+ property :request_id, as: 'requestId'
463
+ property :scope, as: 'scope'
464
+ collection :tickets, as: 'tickets', class: Google::Apis::AlertcenterV1beta1::SupportTicket, decorator: Google::Apis::AlertcenterV1beta1::SupportTicket::Representation
465
+
466
+ end
467
+ end
468
+
444
469
  class AccountSuspensionDetails
445
470
  # @private
446
471
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -990,6 +1015,14 @@ module Google
990
1015
  end
991
1016
  end
992
1017
 
1018
+ class SupportTicket
1019
+ # @private
1020
+ class Representation < Google::Apis::Core::JsonRepresentation
1021
+ property :ticket_id, as: 'ticketId'
1022
+ property :ticket_url, as: 'ticketUrl'
1023
+ end
1024
+ end
1025
+
993
1026
  class SuspiciousActivity
994
1027
  # @private
995
1028
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -33,6 +33,8 @@ module Google
33
33
  #
34
34
  # @see https://developers.google.com/admin-sdk/alertcenter/
35
35
  class AlertCenterService < Google::Apis::Core::BaseService
36
+ DEFAULT_ENDPOINT_TEMPLATE = "https://alertcenter.$UNIVERSE_DOMAIN$/"
37
+
36
38
  # @return [String]
37
39
  # API key. Your API key identifies your project and provides you with API access,
38
40
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -44,7 +46,7 @@ module Google
44
46
  attr_accessor :quota_user
45
47
 
46
48
  def initialize
47
- super('https://alertcenter.googleapis.com/', '',
49
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
48
50
  client_name: 'google-apis-alertcenter_v1beta1',
49
51
  client_version: Google::Apis::AlertcenterV1beta1::GEM_VERSION)
50
52
  @batch_path = 'batch'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alertcenter_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.0
4
+ version: 0.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-30 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alertcenter_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-alertcenter_v1beta1/v0.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alertcenter_v1beta1/v0.36.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alertcenter_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Workspace Alert Center API V1beta1