예제 #1
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.FromCustomerCustomerLink("[CUSTOMER_ID]", "[CUSTOMER_LINK_ID]"),
            };
            // Make the request
            ThirdPartyAppAnalyticsLink response = await thirdPartyAppAnalyticsLinkServiceClient.GetThirdPartyAppAnalyticsLinkAsync(request);
        }
예제 #2
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
        }