/// <summary>Snippet for GetCustomerAsset</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetCustomerAssetResourceNames()
 {
     // Create client
     CustomerAssetServiceClient customerAssetServiceClient = CustomerAssetServiceClient.Create();
     // Initialize request argument(s)
     CustomerAssetName resourceName = CustomerAssetName.FromCustomerAssetFieldType("[CUSTOMER_ID]", "[ASSET_ID]", "[FIELD_TYPE]");
     // Make the request
     CustomerAsset response = customerAssetServiceClient.GetCustomerAsset(resourceName);
 }
Ejemplo n.º 2
0
 /// <summary>Snippet for GetCustomerAsset</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetCustomerAsset()
 {
     // Create client
     CustomerAssetServiceClient customerAssetServiceClient = CustomerAssetServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/customerAssets/[ASSET_ID]~[FIELD_TYPE]";
     // Make the request
     CustomerAsset response = customerAssetServiceClient.GetCustomerAsset(resourceName);
 }
Ejemplo n.º 3
0
 /// <summary>Snippet for GetCustomerAsset</summary>
 public void GetCustomerAssetRequestObject()
 {
     // Snippet: GetCustomerAsset(GetCustomerAssetRequest, CallSettings)
     // Create client
     CustomerAssetServiceClient customerAssetServiceClient = CustomerAssetServiceClient.Create();
     // Initialize request argument(s)
     GetCustomerAssetRequest request = new GetCustomerAssetRequest
     {
         ResourceNameAsCustomerAssetName = CustomerAssetName.FromCustomerAssetFieldType("[CUSTOMER_ID]", "[ASSET_ID]", "[FIELD_TYPE]"),
     };
     // Make the request
     CustomerAsset response = customerAssetServiceClient.GetCustomerAsset(request);
     // End snippet
 }