Skip to content

Commit

Permalink
feat: added StatusEvent.task_state
Browse files Browse the repository at this point in the history
docs: updated comments

PiperOrigin-RevId: 513426000

Source-Link: googleapis/googleapis@3f95ea2

Source-Link: googleapis/googleapis-gen@b191b40
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuQmF0Y2guVjEvLk93bEJvdC55YW1sIiwiaCI6ImIxOTFiNDBiOTVlNDJlZWVhOGQwYmNjZjkxZGQxZDFiYThhNjFmYjEifQ==
  • Loading branch information
gcf-owl-bot[bot] authored and jskeet committed Mar 9, 2023
1 parent ec3812e commit 25463ba
Show file tree
Hide file tree
Showing 6 changed files with 184 additions and 167 deletions.
117 changes: 59 additions & 58 deletions apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/Batch.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,61 +30,62 @@ public static partial class BatchReflection {
"YXZpb3IucHJvdG8aGWdvb2dsZS9hcGkvcmVzb3VyY2UucHJvdG8aH2dvb2ds",
"ZS9jbG91ZC9iYXRjaC92MS9qb2IucHJvdG8aIGdvb2dsZS9jbG91ZC9iYXRj",
"aC92MS90YXNrLnByb3RvGiNnb29nbGUvbG9uZ3J1bm5pbmcvb3BlcmF0aW9u",
"cy5wcm90bxofZ29vZ2xlL3Byb3RvYnVmL3RpbWVzdGFtcC5wcm90byKbAQoQ",
"Q3JlYXRlSm9iUmVxdWVzdBIwCgZwYXJlbnQYASABKAlCIOBBAvpBGhIYYmF0",
"Y2guZ29vZ2xlYXBpcy5jb20vSm9iEg4KBmpvYl9pZBgCIAEoCRIsCgNqb2IY",
"AyABKAsyGi5nb29nbGUuY2xvdWQuYmF0Y2gudjEuSm9iQgPgQQISFwoKcmVx",
"dWVzdF9pZBgEIAEoCUID4EEBIj8KDUdldEpvYlJlcXVlc3QSLgoEbmFtZRgB",
"IAEoCUIg4EEC+kEaChhiYXRjaC5nb29nbGVhcGlzLmNvbS9Kb2IiTgoQRGVs",
"ZXRlSm9iUmVxd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::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.Batch.V1.JobReflection.Descriptor, global::Google.Cloud.Batch.V1.TaskReflection.Descriptor, global::Google.LongRunning.OperationsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, },
new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.Batch.V1.JobReflection.Descriptor, global::Google.Cloud.Batch.V1.TaskReflection.Descriptor, global::Google.LongRunning.OperationsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Batch.V1.CreateJobRequest), global::Google.Cloud.Batch.V1.CreateJobRequest.Parser, new[]{ "Parent", "JobId", "Job", "RequestId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Batch.V1.GetJobRequest), global::Google.Cloud.Batch.V1.GetJobRequest.Parser, new[]{ "Name" }, null, null, null, null),
Expand Down Expand Up @@ -214,8 +215,8 @@ public sealed partial class CreateJobRequest : pb::IMessage<CreateJobRequest>
/// ignore the request if it has already been completed. The server will
/// guarantee that for at least 60 minutes since the first request.
///
/// For example, consider a situation where you make an initial request and t
/// he request times out. If you make the request again with the same request
/// For example, consider a situation where you make an initial request and
/// the request times out. If you make the request again with the same request
/// ID, the server can check if original operation with the same request ID
/// was received, and if so, will ignore the second request. This prevents
/// clients from accidentally creating duplicate commitments.
Expand Down Expand Up @@ -729,8 +730,8 @@ public sealed partial class DeleteJobRequest : pb::IMessage<DeleteJobRequest>
/// ignore the request if it has already been completed. The server will
/// guarantee that for at least 60 minutes after the first request.
///
/// For example, consider a situation where you make an initial request and t
/// he request times out. If you make the request again with the same request
/// For example, consider a situation where you make an initial request and
/// the request times out. If you make the request again with the same request
/// ID, the server can check if original operation with the same request ID
/// was received, and if so, will ignore the second request. This prevents
/// clients from accidentally creating duplicate commitments.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
using gax = Google.Api.Gax;
using gaxgrpc = Google.Api.Gax.Grpc;
using gagr = Google.Api.Gax.ResourceNames;
using gciv = Google.Cloud.Iam.V1;
using gcl = Google.Cloud.Location;
using lro = Google.LongRunning;
using proto = Google.Protobuf;
Expand Down Expand Up @@ -58,7 +57,6 @@ private BatchServiceSettings(BatchServiceSettings existing) : base(existing)
GetTaskSettings = existing.GetTaskSettings;
ListTasksSettings = existing.ListTasksSettings;
LocationsSettings = existing.LocationsSettings;
IAMPolicySettings = existing.IAMPolicySettings;
OnCopy(existing);
}

Expand Down Expand Up @@ -183,11 +181,6 @@ private BatchServiceSettings(BatchServiceSettings existing) : base(existing)
/// </summary>
public gcl::LocationsSettings LocationsSettings { get; set; } = gcl::LocationsSettings.GetDefault();

/// <summary>
/// The settings to use for the <see cref="gciv::IAMPolicyClient"/> associated with the client.
/// </summary>
public gciv::IAMPolicySettings IAMPolicySettings { get; set; } = gciv::IAMPolicySettings.GetDefault();

/// <summary>Creates a deep clone of this object, with all the same property values.</summary>
/// <returns>A deep clone of this <see cref="BatchServiceSettings"/> object.</returns>
public BatchServiceSettings Clone() => new BatchServiceSettings(this);
Expand Down Expand Up @@ -333,9 +326,6 @@ internal static BatchServiceClient Create(grpccore::CallInvoker callInvoker, Bat
/// <summary>The <see cref="gcl::LocationsClient"/> associated with this client.</summary>
public virtual gcl::LocationsClient LocationsClient => throw new sys::NotImplementedException();

/// <summary>The <see cref="gciv::IAMPolicyClient"/> associated with this client.</summary>
public virtual gciv::IAMPolicyClient IAMPolicyClient => throw new sys::NotImplementedException();

/// <summary>
/// Create a Job.
/// </summary>
Expand Down Expand Up @@ -1057,7 +1047,6 @@ public BatchServiceClientImpl(BatchService.BatchServiceClient grpcClient, BatchS
gaxgrpc::ClientHelper clientHelper = new gaxgrpc::ClientHelper(effectiveSettings, logger);
DeleteJobOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.DeleteJobOperationsSettings, logger);
LocationsClient = new gcl::LocationsClientImpl(grpcClient.CreateLocationsClient(), effectiveSettings.LocationsSettings, logger);
IAMPolicyClient = new gciv::IAMPolicyClientImpl(grpcClient.CreateIAMPolicyClient(), effectiveSettings.IAMPolicySettings, logger);
_callCreateJob = clientHelper.BuildApiCall<CreateJobRequest, Job>("CreateJob", grpcClient.CreateJobAsync, grpcClient.CreateJob, effectiveSettings.CreateJobSettings).WithGoogleRequestParam("parent", request => request.Parent);
Modify_ApiCall(ref _callCreateJob);
Modify_CreateJobApiCall(ref _callCreateJob);
Expand Down Expand Up @@ -1101,9 +1090,6 @@ public BatchServiceClientImpl(BatchService.BatchServiceClient grpcClient, BatchS
/// <summary>The <see cref="gcl::LocationsClient"/> associated with this client.</summary>
public override gcl::LocationsClient LocationsClient { get; }

/// <summary>The <see cref="gciv::IAMPolicyClient"/> associated with this client.</summary>
public override gciv::IAMPolicyClient IAMPolicyClient { get; }

partial void Modify_CreateJobRequest(ref CreateJobRequest request, ref gaxgrpc::CallSettings settings);

partial void Modify_GetJobRequest(ref GetJobRequest request, ref gaxgrpc::CallSettings settings);
Expand Down Expand Up @@ -1315,16 +1301,6 @@ public partial class BatchServiceClient
/// </returns>
public virtual gcl::Locations.LocationsClient CreateLocationsClient() =>
new gcl::Locations.LocationsClient(CallInvoker);

/// <summary>
/// Creates a new instance of <see cref="gciv::IAMPolicy.IAMPolicyClient"/> using the same call invoker as
/// this client.
/// </summary>
/// <returns>
/// A new <see cref="gciv::IAMPolicy.IAMPolicyClient"/> for the same target as this client.
/// </returns>
public virtual gciv::IAMPolicy.IAMPolicyClient CreateIAMPolicyClient() =>
new gciv::IAMPolicy.IAMPolicyClient(CallInvoker);
}
}
}
3 changes: 2 additions & 1 deletion apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/Job.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@ public sealed partial class Job : pb::IMessage<Job>
private long priority_;
/// <summary>
/// Priority of the Job.
/// The valid value range is [0, 100).
/// The valid value range is [0, 100). Default value is 0.
/// Higher value indicates higher priority.
/// A job with higher priority value is more likely to run earlier if all other
/// requirements are satisfied.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#pragma warning disable CS8981
using gaxgrpc = Google.Api.Gax.Grpc;
using gciv = Google.Cloud.Iam.V1;
using gcl = Google.Cloud.Location;
using lro = Google.LongRunning;
using proto = Google.Protobuf;
Expand All @@ -43,21 +42,6 @@ internal static class PackageApiMetadata
// { "get": "/v1/{name=projects/*}/locations" }
proto::ByteString.FromBase64("Eh8vdjEve25hbWU9cHJvamVjdHMvKn0vbG9jYXRpb25z")
},
{
"google.iam.v1.IAMPolicy.GetIamPolicy",
// { "get": "/v1/{resource=projects/*/locations/*/jobs/*}:getIamPolicy" }
proto::ByteString.FromBase64("EjkvdjEve3Jlc291cmNlPXByb2plY3RzLyovbG9jYXRpb25zLyovam9icy8qfTpnZXRJYW1Qb2xpY3k=")
},
{
"google.iam.v1.IAMPolicy.SetIamPolicy",
// { "post": "/v1/{resource=projects/*/locations/*/jobs/*}:setIamPolicy", "body": "*" }
proto::ByteString.FromBase64("IjkvdjEve3Jlc291cmNlPXByb2plY3RzLyovbG9jYXRpb25zLyovam9icy8qfTpzZXRJYW1Qb2xpY3k6ASo=")
},
{
"google.iam.v1.IAMPolicy.TestIamPermissions",
// { "post": "/v1/{resource=projects/*/locations/*/jobs/*}:testIamPermissions", "body": "*" }
proto::ByteString.FromBase64("Ij8vdjEve3Jlc291cmNlPXByb2plY3RzLyovbG9jYXRpb25zLyovam9icy8qfTp0ZXN0SWFtUGVybWlzc2lvbnM6ASo=")
},
{
"google.longrunning.Operations.CancelOperation",
// { "post": "/v1/{name=projects/*/locations/*/operations/*}:cancel", "body": "*" }
Expand Down Expand Up @@ -86,9 +70,6 @@ internal static class PackageApiMetadata
yield return JobReflection.Descriptor;
yield return TaskReflection.Descriptor;
yield return VolumeReflection.Descriptor;
yield return gciv::IamPolicyReflection.Descriptor;
yield return gciv::OptionsReflection.Descriptor;
yield return gciv::PolicyReflection.Descriptor;
yield return gcl::LocationsReflection.Descriptor;
yield return lro::OperationsReflection.Descriptor;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#pragma warning disable CS8981
using gaxgrpc = Google.Api.Gax.Grpc;
using gcbv = Google.Cloud.Batch.V1;
using gciv = Google.Cloud.Iam.V1;
using gcl = Google.Cloud.Location;
using lro = Google.LongRunning;
using proto = Google.Protobuf;
Expand Down
Loading

0 comments on commit 25463ba

Please sign in to comment.