/// <summary>Snippet for UpdatePolicyTag</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void UpdatePolicyTagRequestObject() { // Create client PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.Create(); // Initialize request argument(s) UpdatePolicyTagRequest request = new UpdatePolicyTagRequest { PolicyTag = new PolicyTag(), UpdateMask = new FieldMask(), }; // Make the request PolicyTag response = policyTagManagerClient.UpdatePolicyTag(request); }
/// <summary>Snippet for UpdatePolicyTagAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task UpdatePolicyTagRequestObjectAsync() { // Create client PolicyTagManagerClient policyTagManagerClient = await PolicyTagManagerClient.CreateAsync(); // Initialize request argument(s) UpdatePolicyTagRequest request = new UpdatePolicyTagRequest { PolicyTag = new PolicyTag(), UpdateMask = new FieldMask(), }; // Make the request PolicyTag response = await policyTagManagerClient.UpdatePolicyTagAsync(request); }