/// <summary>Snippet for RegenerateShareableLinkIdAsync</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 RegenerateShareableLinkIdRequestObjectAsync()
        {
            // 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);
        }
Example #2
0
        /// <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.FromCustomerThirdPartyAppAnalyticsLink("[CUSTOMER]", "[THIRD_PARTY_APP_ANALYTICS_LINK]"),
            };
            // Make the request
            RegenerateShareableLinkIdResponse response = await thirdPartyAppAnalyticsLinkServiceClient.RegenerateShareableLinkIdAsync(request);

            // End snippet
        }
Example #3
0
        /// <summary>Snippet for GetThirdPartyAppAnalyticsLinkAsync</summary>
        public async Task GetThirdPartyAppAnalyticsLinkRequestObjectAsync()
        {
            // Snippet: GetThirdPartyAppAnalyticsLinkAsync(GetThirdPartyAppAnalyticsLinkRequest, CallSettings)
            // Additional: GetThirdPartyAppAnalyticsLinkAsync(GetThirdPartyAppAnalyticsLinkRequest, CancellationToken)
            // 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);

            // End snippet
        }
Example #4
0
        /// <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.FromCustomerThirdPartyAppAnalyticsLink("[CUSTOMER]", "[THIRD_PARTY_APP_ANALYTICS_LINK]"),
            };
            // Make the request
            ThirdPartyAppAnalyticsLink response = await thirdPartyAppAnalyticsLinkServiceClient.GetThirdPartyAppAnalyticsLinkAsync(request);
        }