/// <summary>Snippet for Get</summary> public void Get() { // Snippet: Get(string, string, string, CallSettings) // Create client ForwardingRulesClient forwardingRulesClient = ForwardingRulesClient.Create(); // Initialize request argument(s) string project = ""; string region = ""; string forwardingRule = ""; // Make the request ForwardingRule response = forwardingRulesClient.Get(project, region, forwardingRule); // End snippet }
/// <summary>Snippet for Get</summary> public void GetRequestObject() { // Snippet: Get(GetForwardingRuleRequest, CallSettings) // Create client ForwardingRulesClient forwardingRulesClient = ForwardingRulesClient.Create(); // Initialize request argument(s) GetForwardingRuleRequest request = new GetForwardingRuleRequest { Region = "", Project = "", ForwardingRule = "", }; // Make the request ForwardingRule response = forwardingRulesClient.Get(request); // End snippet }