Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34605,6 +34605,10 @@
"/alertcenter:v1beta1/Alert/startTime": start_time
"/alertcenter:v1beta1/Alert/type": type
"/alertcenter:v1beta1/Alert/updateTime": update_time
"/alertcenter:v1beta1/AlertDetail": alert_detail
"/alertcenter:v1beta1/AlertDetail/fieldName": field_name
"/alertcenter:v1beta1/AlertDetail/fieldValues": field_values
"/alertcenter:v1beta1/AlertDetail/fieldValues/field_value": field_value
"/alertcenter:v1beta1/AlertFeedback": alert_feedback
"/alertcenter:v1beta1/AlertFeedback/alertId": alert_id
"/alertcenter:v1beta1/AlertFeedback/createTime": create_time
Expand Down Expand Up @@ -35107,6 +35111,14 @@
"/alertcenter:v1beta1/SuspiciousActivitySecurityDetail/oldValue": old_value
"/alertcenter:v1beta1/SuspiciousActivitySecurityDetail/resourceId": resource_id
"/alertcenter:v1beta1/SuspiciousActivitySecurityDetail/serialNumber": serial_number
"/alertcenter:v1beta1/SystemDefinedAlertData": system_defined_alert_data
"/alertcenter:v1beta1/SystemDefinedAlertData/alertDetails": alert_details
"/alertcenter:v1beta1/SystemDefinedAlertData/alertDetails/alert_detail": alert_detail
"/alertcenter:v1beta1/SystemDefinedAlertDataAlertDetailFieldValue": system_defined_alert_data_alert_detail_field_value
"/alertcenter:v1beta1/SystemDefinedAlertDataAlertDetailFieldValue/boolValue": bool_value
"/alertcenter:v1beta1/SystemDefinedAlertDataAlertDetailFieldValue/intValue": int_value
"/alertcenter:v1beta1/SystemDefinedAlertDataAlertDetailFieldValue/stringValue": string_value
"/alertcenter:v1beta1/SystemDefinedAlertDataAlertDetailFieldValue/timestampValue": timestamp_value
"/alertcenter:v1beta1/TransferError": transfer_error
"/alertcenter:v1beta1/TransferError/email": email
"/alertcenter:v1beta1/TransferError/entityType": entity_type
Expand Down
5 changes: 5 additions & 0 deletions generated/google-apis-alertcenter_v1beta1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release history for google-apis-alertcenter_v1beta1

### v0.51.0 (2026-11-01)

* Regenerated from discovery document revision 20261030
* Regenerated using generator version 0.19.1

### v0.50.0 (2026-06-14)

* Regenerated using generator version 0.19.0
Expand Down
4 changes: 2 additions & 2 deletions generated/google-apis-alertcenter_v1beta1/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
google-apis-alertcenter_v1beta1 (0.50.0)
google-apis-alertcenter_v1beta1 (0.51.0)
google-apis-core (>= 0.15.0, < 2.a)

GEM
Expand Down Expand Up @@ -105,7 +105,7 @@ CHECKSUMS
faraday (2.14.3) sha256=1882247e6766615c8220b4392bf1d27f6ebb63d8e28267587cef1fb0bf37f278
faraday-follow_redirects (0.5.0) sha256=5cde93c894b30943a5d2b93c2fe9284216a6b756f7af406a1e55f211d97d10ad
faraday-net_http (3.4.4) sha256=0e78af151747ed1b00f33e25973b4bc220d7f16c00c39676817c8b12331eb588
google-apis-alertcenter_v1beta1 (0.50.0)
google-apis-alertcenter_v1beta1 (0.51.0)
google-apis-core (1.2.5) sha256=e21562b5627a0fc6a0c3165e429c3afed0f6a628eaa514e83f7204dda1adff69
google-cloud-env (2.4.0) sha256=01cb35ecee5d1c4d1cd4deaed8bb5bddc838e296bcc2a35c5d1ddd07ce40d28d
google-logging-utils (0.2.0) sha256=675462b4ea5affa825a3442694ca2d75d0069455a1d0956127207498fca3df7b
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,31 @@ def update!(**args)
end
end

# The alert data relevant for this alert
class AlertDetail
include Google::Apis::Core::Hashable

# Audit data key
# Corresponds to the JSON property `fieldName`
# @return [String]
attr_accessor :field_name

# Audit data values
# Corresponds to the JSON property `fieldValues`
# @return [Array<Google::Apis::AlertcenterV1beta1::SystemDefinedAlertDataAlertDetailFieldValue>]
attr_accessor :field_values

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@field_name = args[:field_name] if args.key?(:field_name)
@field_values = args[:field_values] if args.key?(:field_values)
end
end

# A customer feedback about an alert.
class AlertFeedback
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -2385,6 +2410,63 @@ def update!(**args)
end
end

# System defined alerts which trigger when an relevant audit event occures.
class SystemDefinedAlertData
include Google::Apis::Core::Hashable

# Details of the conditions which led to alert being created
# Corresponds to the JSON property `alertDetails`
# @return [Array<Google::Apis::AlertcenterV1beta1::AlertDetail>]
attr_accessor :alert_details

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@alert_details = args[:alert_details] if args.key?(:alert_details)
end
end

# Audit data value
class SystemDefinedAlertDataAlertDetailFieldValue
include Google::Apis::Core::Hashable

# Value if the type is boolean
# Corresponds to the JSON property `boolValue`
# @return [Boolean]
attr_accessor :bool_value
alias_method :bool_value?, :bool_value

# Value if the type is integer
# Corresponds to the JSON property `intValue`
# @return [Fixnum]
attr_accessor :int_value

# Value if the type is string
# Corresponds to the JSON property `stringValue`
# @return [String]
attr_accessor :string_value

# Value is the type is a timestamp
# Corresponds to the JSON property `timestampValue`
# @return [String]
attr_accessor :timestamp_value

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@bool_value = args[:bool_value] if args.key?(:bool_value)
@int_value = args[:int_value] if args.key?(:int_value)
@string_value = args[:string_value] if args.key?(:string_value)
@timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value)
end
end

# Details for an invalid transfer or forward.
class TransferError
include Google::Apis::Core::Hashable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module AlertcenterV1beta1
# Version of the google-apis-alertcenter_v1beta1 gem
GEM_VERSION = "0.50.0"
GEM_VERSION = "0.51.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.19.0"
GENERATOR_VERSION = "0.19.1"

# Revision of the discovery document this client was generated from
REVISION = "20260525"
REVISION = "20261030"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class AlertDetail
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class AlertFeedback
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -418,6 +424,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class SystemDefinedAlertData
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class SystemDefinedAlertDataAlertDetailFieldValue
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class TransferError
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -574,6 +592,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class AlertDetail
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :field_name, as: 'fieldName'
collection :field_values, as: 'fieldValues', class: Google::Apis::AlertcenterV1beta1::SystemDefinedAlertDataAlertDetailFieldValue, decorator: Google::Apis::AlertcenterV1beta1::SystemDefinedAlertDataAlertDetailFieldValue::Representation

end
end

class AlertFeedback
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -1145,6 +1172,24 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class SystemDefinedAlertData
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :alert_details, as: 'alertDetails', class: Google::Apis::AlertcenterV1beta1::AlertDetail, decorator: Google::Apis::AlertcenterV1beta1::AlertDetail::Representation

end
end

class SystemDefinedAlertDataAlertDetailFieldValue
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bool_value, as: 'boolValue'
property :int_value, :numeric_string => true, as: 'intValue'
property :string_value, as: 'stringValue'
property :timestamp_value, as: 'timestampValue'
end
end

class TransferError
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down
Loading