/// <summary>Snippet for AddSignedUrlKey</summary> public void AddSignedUrlKeyRequestObject() { // Snippet: AddSignedUrlKey(AddSignedUrlKeyBackendBucketRequest, CallSettings) // Create client BackendBucketsClient backendBucketsClient = BackendBucketsClient.Create(); // Initialize request argument(s) AddSignedUrlKeyBackendBucketRequest request = new AddSignedUrlKeyBackendBucketRequest { RequestId = "", BackendBucket = "", Project = "", SignedUrlKeyResource = new SignedUrlKey(), }; // Make the request Operation response = backendBucketsClient.AddSignedUrlKey(request); // End snippet }
/// <summary>Snippet for AddSignedUrlKeyAsync</summary> public async Task AddSignedUrlKeyRequestObjectAsync() { // Snippet: AddSignedUrlKeyAsync(AddSignedUrlKeyBackendBucketRequest, CallSettings) // Additional: AddSignedUrlKeyAsync(AddSignedUrlKeyBackendBucketRequest, CancellationToken) // Create client BackendBucketsClient backendBucketsClient = await BackendBucketsClient.CreateAsync(); // Initialize request argument(s) AddSignedUrlKeyBackendBucketRequest request = new AddSignedUrlKeyBackendBucketRequest { RequestId = "", BackendBucket = "", Project = "", SignedUrlKeyResource = new SignedUrlKey(), }; // Make the request Operation response = await backendBucketsClient.AddSignedUrlKeyAsync(request); // End snippet }