Skip to content

Commit

Permalink
feat: Automated regeneration of eventarc v1 client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Apr 28, 2024
1 parent f2b23f7 commit d02eb8b
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 2 deletions.
2 changes: 2 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -221223,6 +221223,7 @@
"/eventarc:v1/Channel/name": name
"/eventarc:v1/Channel/provider": provider
"/eventarc:v1/Channel/pubsubTopic": pubsub_topic
"/eventarc:v1/Channel/satisfiesPzs": satisfies_pzs
"/eventarc:v1/Channel/state": state
"/eventarc:v1/Channel/uid": uid
"/eventarc:v1/Channel/updateTime": update_time
Expand Down Expand Up @@ -221385,6 +221386,7 @@
"/eventarc:v1/Trigger/labels": labels
"/eventarc:v1/Trigger/labels/label": label
"/eventarc:v1/Trigger/name": name
"/eventarc:v1/Trigger/satisfiesPzs": satisfies_pzs
"/eventarc:v1/Trigger/serviceAccount": service_account
"/eventarc:v1/Trigger/transport": transport
"/eventarc:v1/Trigger/uid": uid
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-eventarc_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-eventarc_v1

### v0.52.0 (2024-04-28)

* Regenerated from discovery document revision 20240417

### v0.51.0 (2024-02-24)

* Regenerated using generator version 0.14.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,13 @@ class Channel
# @return [String]
attr_accessor :pubsub_topic

# Output only. Whether or not this Channel satisfies the requirements of
# physical zone separation
# Corresponds to the JSON property `satisfiesPzs`
# @return [Boolean]
attr_accessor :satisfies_pzs
alias_method :satisfies_pzs?, :satisfies_pzs

# Output only. The state of a Channel.
# Corresponds to the JSON property `state`
# @return [String]
Expand Down Expand Up @@ -269,6 +276,7 @@ def update!(**args)
@name = args[:name] if args.key?(:name)
@provider = args[:provider] if args.key?(:provider)
@pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
@state = args[:state] if args.key?(:state)
@uid = args[:uid] if args.key?(:uid)
@update_time = args[:update_time] if args.key?(:update_time)
Expand Down Expand Up @@ -1498,6 +1506,13 @@ class Trigger
# @return [String]
attr_accessor :name

# Output only. Whether or not this Trigger satisfies the requirements of
# physical zone separation
# Corresponds to the JSON property `satisfiesPzs`
# @return [Boolean]
attr_accessor :satisfies_pzs
alias_method :satisfies_pzs?, :satisfies_pzs

# Optional. The IAM service account email associated with the trigger. The
# service account represents the identity of the trigger. The `iam.
# serviceAccounts.actAs` permission must be granted on the service account to
Expand Down Expand Up @@ -1540,6 +1555,7 @@ def update!(**args)
@event_filters = args[:event_filters] if args.key?(:event_filters)
@labels = args[:labels] if args.key?(:labels)
@name = args[:name] if args.key?(:name)
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
@service_account = args[:service_account] if args.key?(:service_account)
@transport = args[:transport] if args.key?(:transport)
@uid = args[:uid] if args.key?(:uid)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module EventarcV1
# Version of the google-apis-eventarc_v1 gem
GEM_VERSION = "0.51.0"
GEM_VERSION = "0.52.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20240119"
REVISION = "20240417"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :provider, as: 'provider'
property :pubsub_topic, as: 'pubsubTopic'
property :satisfies_pzs, as: 'satisfiesPzs'
property :state, as: 'state'
property :uid, as: 'uid'
property :update_time, as: 'updateTime'
Expand Down Expand Up @@ -590,6 +591,7 @@ class Representation < Google::Apis::Core::JsonRepresentation

hash :labels, as: 'labels'
property :name, as: 'name'
property :satisfies_pzs, as: 'satisfiesPzs'
property :service_account, as: 'serviceAccount'
property :transport, as: 'transport', class: Google::Apis::EventarcV1::Transport, decorator: Google::Apis::EventarcV1::Transport::Representation

Expand Down

0 comments on commit d02eb8b

Please sign in to comment.