Ejemplo n.º 1
0
 /// <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.FromCustomerThirdPartyAppAnalyticsLink("[CUSTOMER]", "[THIRD_PARTY_APP_ANALYTICS_LINK]"),
     };
     // Make the request
     RegenerateShareableLinkIdResponse response = thirdPartyAppAnalyticsLinkServiceClient.RegenerateShareableLinkId(request);
 }
Ejemplo n.º 2
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);
        }
Ejemplo n.º 3
0
 /// <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.FromCustomerThirdPartyAppAnalyticsLink("[CUSTOMER]", "[THIRD_PARTY_APP_ANALYTICS_LINK]"),
     };
     // Make the request
     ThirdPartyAppAnalyticsLink response = thirdPartyAppAnalyticsLinkServiceClient.GetThirdPartyAppAnalyticsLink(request);
     // End snippet
 }
Ejemplo n.º 4
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
        }