Skip to content

Commit

Permalink
feat(eventarc): update the api
Browse files Browse the repository at this point in the history
#### eventarc:v1

The following keys were added:
- schemas.Channel.properties.labels (Total Keys: 2)
- schemas.ChannelConnection.properties.labels (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Dec 10, 2024
1 parent 8a30c6c commit dde23ec
Show file tree
Hide file tree
Showing 8 changed files with 67 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ <h3>Method Details</h3>
&quot;activationToken&quot;: &quot;A String&quot;, # Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.
&quot;channel&quot;: &quot;A String&quot;, # Required. The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in `projects/{project}/location/{location}/channels/{channel_id}` format.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
&quot;labels&quot;: { # Optional. Resource labels.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the connection.
&quot;uid&quot;: &quot;A String&quot;, # Output only. Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
Expand Down Expand Up @@ -208,6 +211,9 @@ <h3>Method Details</h3>
&quot;activationToken&quot;: &quot;A String&quot;, # Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.
&quot;channel&quot;: &quot;A String&quot;, # Required. The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in `projects/{project}/location/{location}/channels/{channel_id}` format.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
&quot;labels&quot;: { # Optional. Resource labels.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the connection.
&quot;uid&quot;: &quot;A String&quot;, # Output only. Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
Expand Down Expand Up @@ -284,6 +290,9 @@ <h3>Method Details</h3>
&quot;activationToken&quot;: &quot;A String&quot;, # Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.
&quot;channel&quot;: &quot;A String&quot;, # Required. The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in `projects/{project}/location/{location}/channels/{channel_id}` format.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
&quot;labels&quot;: { # Optional. Resource labels.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the connection.
&quot;uid&quot;: &quot;A String&quot;, # Output only. Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
Expand Down
12 changes: 12 additions & 0 deletions docs/dyn/eventarc_v1.projects.locations.channels.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ <h3>Method Details</h3>
&quot;activationToken&quot;: &quot;A String&quot;, # Output only. The activation token for the channel. The token must be used by the provider to register the channel for publishing.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
&quot;cryptoKeyName&quot;: &quot;A String&quot;, # Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
&quot;labels&quot;: { # Optional. Resource labels.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format.
&quot;provider&quot;: &quot;A String&quot;, # The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`.
&quot;pubsubTopic&quot;: &quot;A String&quot;, # Output only. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{project}/topics/{topic_id}`.
Expand Down Expand Up @@ -217,6 +220,9 @@ <h3>Method Details</h3>
&quot;activationToken&quot;: &quot;A String&quot;, # Output only. The activation token for the channel. The token must be used by the provider to register the channel for publishing.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
&quot;cryptoKeyName&quot;: &quot;A String&quot;, # Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
&quot;labels&quot;: { # Optional. Resource labels.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format.
&quot;provider&quot;: &quot;A String&quot;, # The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`.
&quot;pubsubTopic&quot;: &quot;A String&quot;, # Output only. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{project}/topics/{topic_id}`.
Expand Down Expand Up @@ -298,6 +304,9 @@ <h3>Method Details</h3>
&quot;activationToken&quot;: &quot;A String&quot;, # Output only. The activation token for the channel. The token must be used by the provider to register the channel for publishing.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
&quot;cryptoKeyName&quot;: &quot;A String&quot;, # Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
&quot;labels&quot;: { # Optional. Resource labels.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format.
&quot;provider&quot;: &quot;A String&quot;, # The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`.
&quot;pubsubTopic&quot;: &quot;A String&quot;, # Output only. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{project}/topics/{topic_id}`.
Expand Down Expand Up @@ -341,6 +350,9 @@ <h3>Method Details</h3>
&quot;activationToken&quot;: &quot;A String&quot;, # Output only. The activation token for the channel. The token must be used by the provider to register the channel for publishing.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation time.
&quot;cryptoKeyName&quot;: &quot;A String&quot;, # Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
&quot;labels&quot;: { # Optional. Resource labels.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format.
&quot;provider&quot;: &quot;A String&quot;, # The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`.
&quot;pubsubTopic&quot;: &quot;A String&quot;, # Output only. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{project}/topics/{topic_id}`.
Expand Down
2 changes: 1 addition & 1 deletion docs/dyn/eventarc_v1.projects.locations.enrollments.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ <h3>Method Details</h3>
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
}

enrollmentId: string, Required. The user-provided ID to be assigned to the Enrollment. It should match the format (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
enrollmentId: string, Required. The user-provided ID to be assigned to the Enrollment. It should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
validateOnly: boolean, Optional. If set, validate the request and preview the review, but do not post it.
x__xgafv: string, V1 error format.
Allowed values
Expand Down
10 changes: 5 additions & 5 deletions docs/dyn/eventarc_v1.projects.locations.googleApiSources.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,15 @@ <h3>Method Details</h3>
&quot;labels&quot;: { # Optional. Resource labels.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;loggingConfig&quot;: { # The configuration for Platform Telemetry logging for Eventarc Avdvanced resources. # Optional. Config to control Platform logging for the GoogleApiSource.
&quot;loggingConfig&quot;: { # The configuration for Platform Telemetry logging for Eventarc Advanced resources. # Optional. Config to control Platform logging for the GoogleApiSource.
&quot;logSeverity&quot;: &quot;A String&quot;, # Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be sent, unless it is NONE.
},
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}
&quot;uid&quot;: &quot;A String&quot;, # Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
}

googleApiSourceId: string, Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
googleApiSourceId: string, Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
validateOnly: boolean, Optional. If set, validate the request and preview the review, but do not post it.
x__xgafv: string, V1 error format.
Allowed values
Expand Down Expand Up @@ -234,7 +234,7 @@ <h3>Method Details</h3>
&quot;labels&quot;: { # Optional. Resource labels.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;loggingConfig&quot;: { # The configuration for Platform Telemetry logging for Eventarc Avdvanced resources. # Optional. Config to control Platform logging for the GoogleApiSource.
&quot;loggingConfig&quot;: { # The configuration for Platform Telemetry logging for Eventarc Advanced resources. # Optional. Config to control Platform logging for the GoogleApiSource.
&quot;logSeverity&quot;: &quot;A String&quot;, # Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be sent, unless it is NONE.
},
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}
Expand Down Expand Up @@ -323,7 +323,7 @@ <h3>Method Details</h3>
&quot;labels&quot;: { # Optional. Resource labels.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;loggingConfig&quot;: { # The configuration for Platform Telemetry logging for Eventarc Avdvanced resources. # Optional. Config to control Platform logging for the GoogleApiSource.
&quot;loggingConfig&quot;: { # The configuration for Platform Telemetry logging for Eventarc Advanced resources. # Optional. Config to control Platform logging for the GoogleApiSource.
&quot;logSeverity&quot;: &quot;A String&quot;, # Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be sent, unless it is NONE.
},
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}
Expand Down Expand Up @@ -373,7 +373,7 @@ <h3>Method Details</h3>
&quot;labels&quot;: { # Optional. Resource labels.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;loggingConfig&quot;: { # The configuration for Platform Telemetry logging for Eventarc Avdvanced resources. # Optional. Config to control Platform logging for the GoogleApiSource.
&quot;loggingConfig&quot;: { # The configuration for Platform Telemetry logging for Eventarc Advanced resources. # Optional. Config to control Platform logging for the GoogleApiSource.
&quot;logSeverity&quot;: &quot;A String&quot;, # Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be sent, unless it is NONE.
},
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}
Expand Down
12 changes: 6 additions & 6 deletions docs/dyn/eventarc_v1.projects.locations.messageBuses.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,15 @@ <h3>Method Details</h3>
&quot;labels&quot;: { # Optional. Resource labels.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;loggingConfig&quot;: { # The configuration for Platform Telemetry logging for Eventarc Avdvanced resources. # Optional. Config to control Platform logging for the Message Bus. This log configuration is applied to the Message Bus itself, and all the Enrollments attached to it.
&quot;loggingConfig&quot;: { # The configuration for Platform Telemetry logging for Eventarc Advanced resources. # Optional. Config to control Platform logging for the Message Bus. This log configuration is applied to the Message Bus itself, and all the Enrollments attached to it.
&quot;logSeverity&quot;: &quot;A String&quot;, # Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be sent, unless it is NONE.
},
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the form projects/{project}/locations/{location}/messageBuses/{message_bus}
&quot;uid&quot;: &quot;A String&quot;, # Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last-modified time.
}

messageBusId: string, Required. The user-provided ID to be assigned to the MessageBus. It should match the format (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$)
messageBusId: string, Required. The user-provided ID to be assigned to the MessageBus. It should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
validateOnly: boolean, Optional. If set, validate the request and preview the review, but do not post it.
x__xgafv: string, V1 error format.
Allowed values
Expand Down Expand Up @@ -238,7 +238,7 @@ <h3>Method Details</h3>
&quot;labels&quot;: { # Optional. Resource labels.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;loggingConfig&quot;: { # The configuration for Platform Telemetry logging for Eventarc Avdvanced resources. # Optional. Config to control Platform logging for the Message Bus. This log configuration is applied to the Message Bus itself, and all the Enrollments attached to it.
&quot;loggingConfig&quot;: { # The configuration for Platform Telemetry logging for Eventarc Advanced resources. # Optional. Config to control Platform logging for the Message Bus. This log configuration is applied to the Message Bus itself, and all the Enrollments attached to it.
&quot;logSeverity&quot;: &quot;A String&quot;, # Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be sent, unless it is NONE.
},
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the form projects/{project}/locations/{location}/messageBuses/{message_bus}
Expand Down Expand Up @@ -300,7 +300,7 @@ <h3>Method Details</h3>
<pre>List message buses.

Args:
parent: string, Required. The parent collection to list triggers on. (required)
parent: string, Required. The parent collection to list message buses on. (required)
filter: string, Optional. The filter field that the list request will filter on. Possible filtersare described in https://google.aip.dev/160.
orderBy: string, Optional. The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, update_time`.
pageSize: integer, Optional. The maximum number of results to return on each page. Note: The service may send fewer.
Expand All @@ -326,7 +326,7 @@ <h3>Method Details</h3>
&quot;labels&quot;: { # Optional. Resource labels.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;loggingConfig&quot;: { # The configuration for Platform Telemetry logging for Eventarc Avdvanced resources. # Optional. Config to control Platform logging for the Message Bus. This log configuration is applied to the Message Bus itself, and all the Enrollments attached to it.
&quot;loggingConfig&quot;: { # The configuration for Platform Telemetry logging for Eventarc Advanced resources. # Optional. Config to control Platform logging for the Message Bus. This log configuration is applied to the Message Bus itself, and all the Enrollments attached to it.
&quot;logSeverity&quot;: &quot;A String&quot;, # Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be sent, unless it is NONE.
},
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the form projects/{project}/locations/{location}/messageBuses/{message_bus}
Expand Down Expand Up @@ -416,7 +416,7 @@ <h3>Method Details</h3>
&quot;labels&quot;: { # Optional. Resource labels.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;loggingConfig&quot;: { # The configuration for Platform Telemetry logging for Eventarc Avdvanced resources. # Optional. Config to control Platform logging for the Message Bus. This log configuration is applied to the Message Bus itself, and all the Enrollments attached to it.
&quot;loggingConfig&quot;: { # The configuration for Platform Telemetry logging for Eventarc Advanced resources. # Optional. Config to control Platform logging for the Message Bus. This log configuration is applied to the Message Bus itself, and all the Enrollments attached to it.
&quot;logSeverity&quot;: &quot;A String&quot;, # Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be sent, unless it is NONE.
},
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the form projects/{project}/locations/{location}/messageBuses/{message_bus}
Expand Down
Loading

0 comments on commit dde23ec

Please sign in to comment.