-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Generate updated event definitions
- New events for APIs: Batch, Deploy, NetworkServices, Speech - Additional event types for Firestore and Datastore
- Loading branch information
Showing
29 changed files
with
57,422 additions
and
0 deletions.
There are no files selected for viewing
11,673 changes: 11,673 additions & 0 deletions
11,673
src/Google.Events.Protobuf/Cloud/Batch/V1/Data.g.cs
Large diffs are not rendered by default.
Oops, something went wrong.
35 changes: 35 additions & 0 deletions
35
src/Google.Events.Protobuf/Cloud/Batch/V1/ExtensionAttributes.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// Copyright 2024, Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
using CloudNative.CloudEvents; | ||
|
||
namespace Google.Events.Protobuf.Cloud.Batch.V1 | ||
{ | ||
/// <summary>Extension attributes for Google.Events.Protobuf.Cloud.Batch.V1 events.</summary> | ||
public static class ExtensionAttributes | ||
{ | ||
/// <summary> | ||
/// <para>The resource ID of the Job triggering the event.</para> | ||
/// | ||
/// <para>This is used by the following events:</para> | ||
/// | ||
/// <list type="bullet"> | ||
/// <item><description>google.cloud.batch.job.v1.created</description></item> | ||
/// <item><description>google.cloud.batch.job.v1.deleted</description></item> | ||
/// </list> | ||
/// </summary> | ||
public static CloudEventAttribute Job { get; } = CloudEventAttribute.CreateExtension("job", CloudEventAttributeType.String); | ||
|
||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
src/Google.Events.Protobuf/Cloud/Batch/V1/JobEventData.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Copyright 2024, Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
namespace Google.Events.Protobuf.Cloud.Batch.V1 | ||
{ | ||
[global::CloudNative.CloudEvents.CloudEventFormatterAttribute(typeof(ProtobufJsonCloudEventFormatter<JobEventData>))] | ||
public partial class JobEventData | ||
{ | ||
/// <summary>CloudEvent type for the 'created' event.</summary> | ||
public const string CreatedCloudEventType = "google.cloud.batch.job.v1.created"; | ||
|
||
/// <summary>CloudEvent type for the 'deleted' event.</summary> | ||
public const string DeletedCloudEventType = "google.cloud.batch.job.v1.deleted"; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
src/Google.Events.Protobuf/Cloud/Deploy/V1/AutomationEventData.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Copyright 2024, Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
namespace Google.Events.Protobuf.Cloud.Deploy.V1 | ||
{ | ||
[global::CloudNative.CloudEvents.CloudEventFormatterAttribute(typeof(ProtobufJsonCloudEventFormatter<AutomationEventData>))] | ||
public partial class AutomationEventData | ||
{ | ||
/// <summary>CloudEvent type for the 'created' event.</summary> | ||
public const string CreatedCloudEventType = "google.cloud.deploy.automation.v1.created"; | ||
|
||
/// <summary>CloudEvent type for the 'updated' event.</summary> | ||
public const string UpdatedCloudEventType = "google.cloud.deploy.automation.v1.updated"; | ||
|
||
/// <summary>CloudEvent type for the 'deleted' event.</summary> | ||
public const string DeletedCloudEventType = "google.cloud.deploy.automation.v1.deleted"; | ||
|
||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
src/Google.Events.Protobuf/Cloud/Deploy/V1/CustomTargetTypeEventData.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Copyright 2024, Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
namespace Google.Events.Protobuf.Cloud.Deploy.V1 | ||
{ | ||
[global::CloudNative.CloudEvents.CloudEventFormatterAttribute(typeof(ProtobufJsonCloudEventFormatter<CustomTargetTypeEventData>))] | ||
public partial class CustomTargetTypeEventData | ||
{ | ||
/// <summary>CloudEvent type for the 'created' event.</summary> | ||
public const string CreatedCloudEventType = "google.cloud.deploy.customTargetType.v1.created"; | ||
|
||
/// <summary>CloudEvent type for the 'updated' event.</summary> | ||
public const string UpdatedCloudEventType = "google.cloud.deploy.customTargetType.v1.updated"; | ||
|
||
/// <summary>CloudEvent type for the 'deleted' event.</summary> | ||
public const string DeletedCloudEventType = "google.cloud.deploy.customTargetType.v1.deleted"; | ||
|
||
} | ||
} |
Oops, something went wrong.