Пример #1
0
 /// <summary>Snippet for GetAssetFieldTypeView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetAssetFieldTypeView()
 {
     // Create client
     AssetFieldTypeViewServiceClient assetFieldTypeViewServiceClient = AssetFieldTypeViewServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/assetFieldTypeViews/[FIELD_TYPE]";
     // Make the request
     AssetFieldTypeView response = assetFieldTypeViewServiceClient.GetAssetFieldTypeView(resourceName);
 }
Пример #2
0
 /// <summary>Snippet for GetAssetFieldTypeView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetAssetFieldTypeViewResourceNames()
 {
     // Create client
     AssetFieldTypeViewServiceClient assetFieldTypeViewServiceClient = AssetFieldTypeViewServiceClient.Create();
     // Initialize request argument(s)
     AssetFieldTypeViewName resourceName = AssetFieldTypeViewName.FromCustomerFieldType("[CUSTOMER_ID]", "[FIELD_TYPE]");
     // Make the request
     AssetFieldTypeView response = assetFieldTypeViewServiceClient.GetAssetFieldTypeView(resourceName);
 }
 /// <summary>Snippet for GetAssetFieldTypeView</summary>
 public void GetAssetFieldTypeViewRequestObject()
 {
     // Snippet: GetAssetFieldTypeView(GetAssetFieldTypeViewRequest, CallSettings)
     // Create client
     AssetFieldTypeViewServiceClient assetFieldTypeViewServiceClient = AssetFieldTypeViewServiceClient.Create();
     // Initialize request argument(s)
     GetAssetFieldTypeViewRequest request = new GetAssetFieldTypeViewRequest
     {
         ResourceNameAsAssetFieldTypeViewName = AssetFieldTypeViewName.FromCustomerFieldType("[CUSTOMER_ID]", "[FIELD_TYPE]"),
     };
     // Make the request
     AssetFieldTypeView response = assetFieldTypeViewServiceClient.GetAssetFieldTypeView(request);
     // End snippet
 }