/// <summary>Snippet for RegenerateShareableLinkId</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void RegenerateShareableLinkIdRequestObject() { // Create client ThirdPartyAppAnalyticsLinkServiceClient thirdPartyAppAnalyticsLinkServiceClient = ThirdPartyAppAnalyticsLinkServiceClient.Create(); // Initialize request argument(s) RegenerateShareableLinkIdRequest request = new RegenerateShareableLinkIdRequest { ResourceNameAsThirdPartyAppAnalyticsLinkName = ThirdPartyAppAnalyticsLinkName.FromCustomerCustomerLink("[CUSTOMER_ID]", "[CUSTOMER_LINK_ID]"), }; // Make the request RegenerateShareableLinkIdResponse response = thirdPartyAppAnalyticsLinkServiceClient.RegenerateShareableLinkId(request); }
/// <summary>Snippet for GetThirdPartyAppAnalyticsLinkAsync</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 GetThirdPartyAppAnalyticsLinkRequestObjectAsync() { // Create client ThirdPartyAppAnalyticsLinkServiceClient thirdPartyAppAnalyticsLinkServiceClient = await ThirdPartyAppAnalyticsLinkServiceClient.CreateAsync(); // Initialize request argument(s) GetThirdPartyAppAnalyticsLinkRequest request = new GetThirdPartyAppAnalyticsLinkRequest { ResourceNameAsThirdPartyAppAnalyticsLinkName = ThirdPartyAppAnalyticsLinkName.FromCustomerCustomerLink("[CUSTOMER_ID]", "[CUSTOMER_LINK_ID]"), }; // Make the request ThirdPartyAppAnalyticsLink response = await thirdPartyAppAnalyticsLinkServiceClient.GetThirdPartyAppAnalyticsLinkAsync(request); }
/// <summary>Snippet for GetThirdPartyAppAnalyticsLink</summary> public void GetThirdPartyAppAnalyticsLinkRequestObject() { // Snippet: GetThirdPartyAppAnalyticsLink(GetThirdPartyAppAnalyticsLinkRequest, CallSettings) // Create client ThirdPartyAppAnalyticsLinkServiceClient thirdPartyAppAnalyticsLinkServiceClient = ThirdPartyAppAnalyticsLinkServiceClient.Create(); // Initialize request argument(s) GetThirdPartyAppAnalyticsLinkRequest request = new GetThirdPartyAppAnalyticsLinkRequest { ResourceNameAsThirdPartyAppAnalyticsLinkName = ThirdPartyAppAnalyticsLinkName.FromCustomerCustomerLink("[CUSTOMER_ID]", "[CUSTOMER_LINK_ID]"), }; // Make the request ThirdPartyAppAnalyticsLink response = thirdPartyAppAnalyticsLinkServiceClient.GetThirdPartyAppAnalyticsLink(request); // End snippet }
/// <summary>Snippet for RegenerateShareableLinkIdAsync</summary> public async Task RegenerateShareableLinkIdRequestObjectAsync() { // Snippet: RegenerateShareableLinkIdAsync(RegenerateShareableLinkIdRequest, CallSettings) // Additional: RegenerateShareableLinkIdAsync(RegenerateShareableLinkIdRequest, CancellationToken) // Create client ThirdPartyAppAnalyticsLinkServiceClient thirdPartyAppAnalyticsLinkServiceClient = await ThirdPartyAppAnalyticsLinkServiceClient.CreateAsync(); // Initialize request argument(s) RegenerateShareableLinkIdRequest request = new RegenerateShareableLinkIdRequest { ResourceNameAsThirdPartyAppAnalyticsLinkName = ThirdPartyAppAnalyticsLinkName.FromCustomerCustomerLink("[CUSTOMER_ID]", "[CUSTOMER_LINK_ID]"), }; // Make the request RegenerateShareableLinkIdResponse response = await thirdPartyAppAnalyticsLinkServiceClient.RegenerateShareableLinkIdAsync(request); // End snippet }