diff --git a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsAsyncSnippet.g.cs b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsAsyncSnippet.g.cs index 82f17b1fa4e7..eba8ddfafcac 100644 --- a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsAsyncSnippet.g.cs +++ b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsAsyncSnippet.g.cs @@ -40,7 +40,9 @@ public async Task ListAccessApprovalRequestsAsync() // Initialize request argument(s) string parent = "organizations/[ORGANIZATION]/locations/[LOCATION]/customers/[CUSTOMER]/workloads/[WORKLOAD]"; // Make the request +#pragma warning disable CS0612 PagedAsyncEnumerable response = cloudControlsPartnerCoreClient.ListAccessApprovalRequestsAsync(parent); +#pragma warning restore CS0612 // Iterate over all response items, lazily performing RPCs as required await response.ForEachAsync((AccessApprovalRequest item) => diff --git a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsRequestObjectAsyncSnippet.g.cs index 3867010d71b1..0a5361e6dfe2 100644 --- a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsRequestObjectAsyncSnippet.g.cs +++ b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsRequestObjectAsyncSnippet.g.cs @@ -45,7 +45,9 @@ public async Task ListAccessApprovalRequestsRequestObjectAsync() OrderBy = "", }; // Make the request +#pragma warning disable CS0612 PagedAsyncEnumerable response = cloudControlsPartnerCoreClient.ListAccessApprovalRequestsAsync(request); +#pragma warning restore CS0612 // Iterate over all response items, lazily performing RPCs as required await response.ForEachAsync((AccessApprovalRequest item) => diff --git a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsRequestObjectSnippet.g.cs b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsRequestObjectSnippet.g.cs index 9a8756434779..96ecf06227b8 100644 --- a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsRequestObjectSnippet.g.cs +++ b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsRequestObjectSnippet.g.cs @@ -43,7 +43,9 @@ public void ListAccessApprovalRequestsRequestObject() OrderBy = "", }; // Make the request +#pragma warning disable CS0612 PagedEnumerable response = cloudControlsPartnerCoreClient.ListAccessApprovalRequests(request); +#pragma warning restore CS0612 // Iterate over all response items, lazily performing RPCs as required foreach (AccessApprovalRequest item in response) diff --git a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsResourceNamesAsyncSnippet.g.cs index 1253e9e2cab3..8396f7f10dfb 100644 --- a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsResourceNamesAsyncSnippet.g.cs +++ b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsResourceNamesAsyncSnippet.g.cs @@ -40,7 +40,9 @@ public async Task ListAccessApprovalRequestsResourceNamesAsync() // Initialize request argument(s) WorkloadName parent = WorkloadName.FromOrganizationLocationCustomerWorkload("[ORGANIZATION]", "[LOCATION]", "[CUSTOMER]", "[WORKLOAD]"); // Make the request +#pragma warning disable CS0612 PagedAsyncEnumerable response = cloudControlsPartnerCoreClient.ListAccessApprovalRequestsAsync(parent); +#pragma warning restore CS0612 // Iterate over all response items, lazily performing RPCs as required await response.ForEachAsync((AccessApprovalRequest item) => diff --git a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsResourceNamesSnippet.g.cs b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsResourceNamesSnippet.g.cs index 3d6bb3246211..98a15112d82f 100644 --- a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsResourceNamesSnippet.g.cs +++ b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsResourceNamesSnippet.g.cs @@ -38,7 +38,9 @@ public void ListAccessApprovalRequestsResourceNames() // Initialize request argument(s) WorkloadName parent = WorkloadName.FromOrganizationLocationCustomerWorkload("[ORGANIZATION]", "[LOCATION]", "[CUSTOMER]", "[WORKLOAD]"); // Make the request +#pragma warning disable CS0612 PagedEnumerable response = cloudControlsPartnerCoreClient.ListAccessApprovalRequests(parent); +#pragma warning restore CS0612 // Iterate over all response items, lazily performing RPCs as required foreach (AccessApprovalRequest item in response) diff --git a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsSnippet.g.cs b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsSnippet.g.cs index 9b8196a36b82..651259bb34a3 100644 --- a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsSnippet.g.cs +++ b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/CloudControlsPartnerCoreClient.ListAccessApprovalRequestsSnippet.g.cs @@ -38,7 +38,9 @@ public void ListAccessApprovalRequests() // Initialize request argument(s) string parent = "organizations/[ORGANIZATION]/locations/[LOCATION]/customers/[CUSTOMER]/workloads/[WORKLOAD]"; // Make the request +#pragma warning disable CS0612 PagedEnumerable response = cloudControlsPartnerCoreClient.ListAccessApprovalRequests(parent); +#pragma warning restore CS0612 // Iterate over all response items, lazily performing RPCs as required foreach (AccessApprovalRequest item in response) diff --git a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/snippet_metadata_google.cloud.cloudcontrolspartner.v1.json b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/snippet_metadata_google.cloud.cloudcontrolspartner.v1.json index ae6dc76b06d9..bfb918da3a23 100644 --- a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/snippet_metadata_google.cloud.cloudcontrolspartner.v1.json +++ b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.GeneratedSnippets/snippet_metadata_google.cloud.cloudcontrolspartner.v1.json @@ -1834,12 +1834,12 @@ "segments": [ { "start": 20, - "end": 80, + "end": 82, "type": "FULL" }, { "start": 36, - "end": 78, + "end": 80, "type": "SHORT" } ] @@ -1883,12 +1883,12 @@ "segments": [ { "start": 20, - "end": 82, + "end": 84, "type": "FULL" }, { "start": 38, - "end": 80, + "end": 82, "type": "SHORT" } ] @@ -1938,12 +1938,12 @@ "segments": [ { "start": 20, - "end": 75, + "end": 77, "type": "FULL" }, { "start": 36, - "end": 73, + "end": 75, "type": "SHORT" } ] @@ -1994,12 +1994,12 @@ "segments": [ { "start": 20, - "end": 77, + "end": 79, "type": "FULL" }, { "start": 38, - "end": 75, + "end": 77, "type": "SHORT" } ] @@ -2049,12 +2049,12 @@ "segments": [ { "start": 20, - "end": 75, + "end": 77, "type": "FULL" }, { "start": 36, - "end": 73, + "end": 75, "type": "SHORT" } ] @@ -2105,12 +2105,12 @@ "segments": [ { "start": 20, - "end": 77, + "end": 79, "type": "FULL" }, { "start": 38, - "end": 75, + "end": 77, "type": "SHORT" } ] diff --git a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.Snippets/CloudControlsPartnerCoreClientSnippets.g.cs b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.Snippets/CloudControlsPartnerCoreClientSnippets.g.cs index b27a25ae529e..293c08854606 100644 --- a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.Snippets/CloudControlsPartnerCoreClientSnippets.g.cs +++ b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1.Snippets/CloudControlsPartnerCoreClientSnippets.g.cs @@ -947,7 +947,9 @@ public void ListAccessApprovalRequestsRequestObject() OrderBy = "", }; // Make the request +#pragma warning disable CS0612 PagedEnumerable response = cloudControlsPartnerCoreClient.ListAccessApprovalRequests(request); +#pragma warning restore CS0612 // Iterate over all response items, lazily performing RPCs as required foreach (AccessApprovalRequest item in response) @@ -997,7 +999,9 @@ public async Task ListAccessApprovalRequestsRequestObjectAsync() OrderBy = "", }; // Make the request +#pragma warning disable CS0612 PagedAsyncEnumerable response = cloudControlsPartnerCoreClient.ListAccessApprovalRequestsAsync(request); +#pragma warning restore CS0612 // Iterate over all response items, lazily performing RPCs as required await response.ForEachAsync((AccessApprovalRequest item) => @@ -1042,7 +1046,9 @@ public void ListAccessApprovalRequests() // Initialize request argument(s) string parent = "organizations/[ORGANIZATION]/locations/[LOCATION]/customers/[CUSTOMER]/workloads/[WORKLOAD]"; // Make the request +#pragma warning disable CS0612 PagedEnumerable response = cloudControlsPartnerCoreClient.ListAccessApprovalRequests(parent); +#pragma warning restore CS0612 // Iterate over all response items, lazily performing RPCs as required foreach (AccessApprovalRequest item in response) @@ -1087,7 +1093,9 @@ public async Task ListAccessApprovalRequestsAsync() // Initialize request argument(s) string parent = "organizations/[ORGANIZATION]/locations/[LOCATION]/customers/[CUSTOMER]/workloads/[WORKLOAD]"; // Make the request +#pragma warning disable CS0612 PagedAsyncEnumerable response = cloudControlsPartnerCoreClient.ListAccessApprovalRequestsAsync(parent); +#pragma warning restore CS0612 // Iterate over all response items, lazily performing RPCs as required await response.ForEachAsync((AccessApprovalRequest item) => @@ -1132,7 +1140,9 @@ public void ListAccessApprovalRequestsResourceNames() // Initialize request argument(s) WorkloadName parent = WorkloadName.FromOrganizationLocationCustomerWorkload("[ORGANIZATION]", "[LOCATION]", "[CUSTOMER]", "[WORKLOAD]"); // Make the request +#pragma warning disable CS0612 PagedEnumerable response = cloudControlsPartnerCoreClient.ListAccessApprovalRequests(parent); +#pragma warning restore CS0612 // Iterate over all response items, lazily performing RPCs as required foreach (AccessApprovalRequest item in response) @@ -1177,7 +1187,9 @@ public async Task ListAccessApprovalRequestsResourceNamesAsync() // Initialize request argument(s) WorkloadName parent = WorkloadName.FromOrganizationLocationCustomerWorkload("[ORGANIZATION]", "[LOCATION]", "[CUSTOMER]", "[WORKLOAD]"); // Make the request +#pragma warning disable CS0612 PagedAsyncEnumerable response = cloudControlsPartnerCoreClient.ListAccessApprovalRequestsAsync(parent); +#pragma warning restore CS0612 // Iterate over all response items, lazily performing RPCs as required await response.ForEachAsync((AccessApprovalRequest item) => diff --git a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1/CloudControlsPartnerCoreClient.g.cs b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1/CloudControlsPartnerCoreClient.g.cs index fb9248cfa1a1..88ae85d8e236 100644 --- a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1/CloudControlsPartnerCoreClient.g.cs +++ b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1/CloudControlsPartnerCoreClient.g.cs @@ -1034,25 +1034,30 @@ public virtual PartnerPermissions GetPartnerPermissions(PartnerPermissionsName n GetPartnerPermissionsAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Lists access requests associated with a workload + /// Deprecated: Only returns access approval requests directly associated with + /// an assured workload folder. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. /// A pageable sequence of resources. + [sys::ObsoleteAttribute] public virtual gax::PagedEnumerable ListAccessApprovalRequests(ListAccessApprovalRequestsRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException(); /// - /// Lists access requests associated with a workload + /// Deprecated: Only returns access approval requests directly associated with + /// an assured workload folder. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. /// A pageable asynchronous sequence of resources. + [sys::ObsoleteAttribute] public virtual gax::PagedAsyncEnumerable ListAccessApprovalRequestsAsync(ListAccessApprovalRequestsRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException(); /// - /// Lists access requests associated with a workload + /// Deprecated: Only returns access approval requests directly associated with + /// an assured workload folder. /// /// /// Required. Parent resource @@ -1069,6 +1074,7 @@ public virtual PartnerPermissions GetPartnerPermissions(PartnerPermissionsName n /// /// If not null, applies overrides to this RPC call. /// A pageable sequence of resources. + [sys::ObsoleteAttribute] public virtual gax::PagedEnumerable ListAccessApprovalRequests(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) => ListAccessApprovalRequests(new ListAccessApprovalRequestsRequest { @@ -1078,7 +1084,8 @@ public virtual PartnerPermissions GetPartnerPermissions(PartnerPermissionsName n }, callSettings); /// - /// Lists access requests associated with a workload + /// Deprecated: Only returns access approval requests directly associated with + /// an assured workload folder. /// /// /// Required. Parent resource @@ -1095,6 +1102,7 @@ public virtual PartnerPermissions GetPartnerPermissions(PartnerPermissionsName n /// /// If not null, applies overrides to this RPC call. /// A pageable asynchronous sequence of resources. + [sys::ObsoleteAttribute] public virtual gax::PagedAsyncEnumerable ListAccessApprovalRequestsAsync(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) => ListAccessApprovalRequestsAsync(new ListAccessApprovalRequestsRequest { @@ -1104,7 +1112,8 @@ public virtual PartnerPermissions GetPartnerPermissions(PartnerPermissionsName n }, callSettings); /// - /// Lists access requests associated with a workload + /// Deprecated: Only returns access approval requests directly associated with + /// an assured workload folder. /// /// /// Required. Parent resource @@ -1121,6 +1130,7 @@ public virtual PartnerPermissions GetPartnerPermissions(PartnerPermissionsName n /// /// If not null, applies overrides to this RPC call. /// A pageable sequence of resources. + [sys::ObsoleteAttribute] public virtual gax::PagedEnumerable ListAccessApprovalRequests(WorkloadName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) => ListAccessApprovalRequests(new ListAccessApprovalRequestsRequest { @@ -1130,7 +1140,8 @@ public virtual PartnerPermissions GetPartnerPermissions(PartnerPermissionsName n }, callSettings); /// - /// Lists access requests associated with a workload + /// Deprecated: Only returns access approval requests directly associated with + /// an assured workload folder. /// /// /// Required. Parent resource @@ -1147,6 +1158,7 @@ public virtual PartnerPermissions GetPartnerPermissions(PartnerPermissionsName n /// /// If not null, applies overrides to this RPC call. /// A pageable asynchronous sequence of resources. + [sys::ObsoleteAttribute] public virtual gax::PagedAsyncEnumerable ListAccessApprovalRequestsAsync(WorkloadName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) => ListAccessApprovalRequestsAsync(new ListAccessApprovalRequestsRequest { @@ -1325,7 +1337,9 @@ public CloudControlsPartnerCoreClientImpl(CloudControlsPartnerCore.CloudControls _callGetPartnerPermissions = clientHelper.BuildApiCall("GetPartnerPermissions", grpcClient.GetPartnerPermissionsAsync, grpcClient.GetPartnerPermissions, effectiveSettings.GetPartnerPermissionsSettings).WithGoogleRequestParam("name", request => request.Name); Modify_ApiCall(ref _callGetPartnerPermissions); Modify_GetPartnerPermissionsApiCall(ref _callGetPartnerPermissions); +#pragma warning disable CS0612 _callListAccessApprovalRequests = clientHelper.BuildApiCall("ListAccessApprovalRequests", grpcClient.ListAccessApprovalRequestsAsync, grpcClient.ListAccessApprovalRequests, effectiveSettings.ListAccessApprovalRequestsSettings).WithGoogleRequestParam("parent", request => request.Parent); +#pragma warning restore CS0612 Modify_ApiCall(ref _callListAccessApprovalRequests); Modify_ListAccessApprovalRequestsApiCall(ref _callListAccessApprovalRequests); _callGetPartner = clientHelper.BuildApiCall("GetPartner", grpcClient.GetPartnerAsync, grpcClient.GetPartner, effectiveSettings.GetPartnerSettings).WithGoogleRequestParam("name", request => request.Name); @@ -1518,11 +1532,13 @@ public override PartnerPermissions GetPartnerPermissions(GetPartnerPermissionsRe } /// - /// Lists access requests associated with a workload + /// Deprecated: Only returns access approval requests directly associated with + /// an assured workload folder. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. /// A pageable sequence of resources. + [sys::ObsoleteAttribute] public override gax::PagedEnumerable ListAccessApprovalRequests(ListAccessApprovalRequestsRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_ListAccessApprovalRequestsRequest(ref request, ref callSettings); @@ -1530,11 +1546,13 @@ public override PartnerPermissions GetPartnerPermissions(GetPartnerPermissionsRe } /// - /// Lists access requests associated with a workload + /// Deprecated: Only returns access approval requests directly associated with + /// an assured workload folder. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. /// A pageable asynchronous sequence of resources. + [sys::ObsoleteAttribute] public override gax::PagedAsyncEnumerable ListAccessApprovalRequestsAsync(ListAccessApprovalRequestsRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_ListAccessApprovalRequestsRequest(ref request, ref callSettings); diff --git a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1/Core.g.cs b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1/Core.g.cs index 0c50bb6c6c64..81ca99366c83 100644 --- a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1/Core.g.cs +++ b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1/Core.g.cs @@ -43,7 +43,7 @@ static CoreReflection() { "QgPgQQMSEwoGdGFyZ2V0GAMgASgJQgPgQQMSEQoEdmVyYhgEIAEoCUID4EED", "EhsKDnN0YXR1c19tZXNzYWdlGAUgASgJQgPgQQMSIwoWcmVxdWVzdGVkX2Nh", "bmNlbGxhdGlvbhgGIAEoCEID4EEDEhgKC2FwaV92ZXJzaW9uGAcgASgJQgPg", - "QQMy2w4KGENsb3VkQ29udHJvbHNQYXJ0bmVyQ29yZRLGAQoLR2V0V29ya2xv", + "QQMy3g4KGENsb3VkQ29udHJvbHNQYXJ0bmVyQ29yZRLGAQoLR2V0V29ya2xv", "YWQSOC5nb29nbG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N0Gi0uZ29vZ2xlLmNsb3VkLmNs", + "b3VkY29udHJvbHNwYXJ0bmVyLnYxLlBhcnRuZXIiPdpBBG5hbWWC0+STAjAS", + "Li92MS97bmFtZT1vcmdhbml6YXRpb25zLyovbG9jYXRpb25zLyovcGFydG5l", + "cn0aV8pBI2Nsb3VkY29udHJvbHNwYXJ0bmVyLmdvb2dsZWFwaXMuY29t0kEu", + "aHR0cHM6Ly93d3cuZ29vZ2xlYXBpcy5jb20vYXV0aC9jbG91ZC1wbGF0Zm9y", + "bUL9AgooY29tLmdvb2dsZS5jbG91ZC5jbG91ZGNvbnRyb2xzcGFydG5lci52", + "MUIJQ29yZVByb3RvUAFaXGNsb3VkLmdvb2dsZS5jb20vZ28vY2xvdWRjb250", + "cm9sc3BhcnRuZXIvYXBpdjEvY2xvdWRjb250cm9sc3BhcnRuZXJwYjtjbG91", + "ZGNvbnRyb2xzcGFydG5lcnBiqgIkR29vZ2xlLkNsb3VkLkNsb3VkQ29udHJv", + "bHNQYXJ0bmVyLlYxygIkR29vZ2xlXENsb3VkXENsb3VkQ29udHJvbHNQYXJ0", + "bmVyXFYx6gInR29vZ2xlOjpDbG91ZDo6Q2xvdWRDb250cm9sc1BhcnRuZXI6", + "OlYx6kFtCjhjbG91ZGNvbnRyb2xzcGFydG5lci5nb29nbGVhcGlzLmNvbS9P", + "cmdhbml6YXRpb25Mb2NhdGlvbhIxb3JnYW5pemF0aW9ucy97b3JnYW5pemF0", + "aW9ufS9sb2NhdGlvbnMve2xvY2F0aW9ufWIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, 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.CloudControlsPartner.V1.AccessApprovalRequestsReflection.Descriptor, global::Google.Cloud.CloudControlsPartner.V1.CustomerWorkloadsReflection.Descriptor, global::Google.Cloud.CloudControlsPartner.V1.CustomersReflection.Descriptor, global::Google.Cloud.CloudControlsPartner.V1.EkmConnectionsReflection.Descriptor, global::Google.Cloud.CloudControlsPartner.V1.PartnerPermissionsReflection.Descriptor, global::Google.Cloud.CloudControlsPartner.V1.PartnersReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { diff --git a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1/CoreGrpc.g.cs b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1/CoreGrpc.g.cs index d9ff7e8ef1b5..1e6a38c7ecab 100644 --- a/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1/CoreGrpc.g.cs +++ b/apis/Google.Cloud.CloudControlsPartner.V1/Google.Cloud.CloudControlsPartner.V1/CoreGrpc.g.cs @@ -243,11 +243,13 @@ public abstract partial class CloudControlsPartnerCoreBase } /// - /// Lists access requests associated with a workload + /// Deprecated: Only returns access approval requests directly associated with + /// an assured workload folder. /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). + [global::System.ObsoleteAttribute] [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task ListAccessApprovalRequests(global::Google.Cloud.CloudControlsPartner.V1.ListAccessApprovalRequestsRequest request, grpc::ServerCallContext context) { @@ -584,48 +586,56 @@ protected CloudControlsPartnerCoreClient(ClientBaseConfiguration configuration) return CallInvoker.AsyncUnaryCall(__Method_GetPartnerPermissions, null, options, request); } /// - /// Lists access requests associated with a workload + /// Deprecated: Only returns access approval requests directly associated with + /// an assured workload folder. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. + [global::System.ObsoleteAttribute] [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Google.Cloud.CloudControlsPartner.V1.ListAccessApprovalRequestsResponse ListAccessApprovalRequests(global::Google.Cloud.CloudControlsPartner.V1.ListAccessApprovalRequestsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return ListAccessApprovalRequests(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Lists access requests associated with a workload + /// Deprecated: Only returns access approval requests directly associated with + /// an assured workload folder. /// /// The request to send to the server. /// The options for the call. /// The response received from the server. + [global::System.ObsoleteAttribute] [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Google.Cloud.CloudControlsPartner.V1.ListAccessApprovalRequestsResponse ListAccessApprovalRequests(global::Google.Cloud.CloudControlsPartner.V1.ListAccessApprovalRequestsRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_ListAccessApprovalRequests, null, options, request); } /// - /// Lists access requests associated with a workload + /// Deprecated: Only returns access approval requests directly associated with + /// an assured workload folder. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. + [global::System.ObsoleteAttribute] [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall ListAccessApprovalRequestsAsync(global::Google.Cloud.CloudControlsPartner.V1.ListAccessApprovalRequestsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return ListAccessApprovalRequestsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Lists access requests associated with a workload + /// Deprecated: Only returns access approval requests directly associated with + /// an assured workload folder. /// /// The request to send to the server. /// The options for the call. /// The call object. + [global::System.ObsoleteAttribute] [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall ListAccessApprovalRequestsAsync(global::Google.Cloud.CloudControlsPartner.V1.ListAccessApprovalRequestsRequest request, grpc::CallOptions options) {