예제 #1
0
        /// <summary>Snippet for GetAssetFieldTypeViewAsync</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 GetAssetFieldTypeViewAsync()
        {
            // Create client
            AssetFieldTypeViewServiceClient assetFieldTypeViewServiceClient = await AssetFieldTypeViewServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER_ID]/assetFieldTypeViews/[FIELD_TYPE]";
            // Make the request
            AssetFieldTypeView response = await assetFieldTypeViewServiceClient.GetAssetFieldTypeViewAsync(resourceName);
        }
        /// <summary>Snippet for GetAssetFieldTypeViewAsync</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 GetAssetFieldTypeViewResourceNamesAsync()
        {
            // Create client
            AssetFieldTypeViewServiceClient assetFieldTypeViewServiceClient = await AssetFieldTypeViewServiceClient.CreateAsync();

            // Initialize request argument(s)
            AssetFieldTypeViewName resourceName = AssetFieldTypeViewName.FromCustomerFieldType("[CUSTOMER_ID]", "[FIELD_TYPE]");
            // Make the request
            AssetFieldTypeView response = await assetFieldTypeViewServiceClient.GetAssetFieldTypeViewAsync(resourceName);
        }
        /// <summary>Snippet for GetAssetFieldTypeViewAsync</summary>
        public async Task GetAssetFieldTypeViewAsync()
        {
            // Snippet: GetAssetFieldTypeViewAsync(string, CallSettings)
            // Additional: GetAssetFieldTypeViewAsync(string, CancellationToken)
            // Create client
            AssetFieldTypeViewServiceClient assetFieldTypeViewServiceClient = await AssetFieldTypeViewServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER_ID]/assetFieldTypeViews/[FIELD_TYPE]";
            // Make the request
            AssetFieldTypeView response = await assetFieldTypeViewServiceClient.GetAssetFieldTypeViewAsync(resourceName);

            // End snippet
        }
        /// <summary>Snippet for GetAssetFieldTypeViewAsync</summary>
        public async Task GetAssetFieldTypeViewResourceNamesAsync()
        {
            // Snippet: GetAssetFieldTypeViewAsync(AssetFieldTypeViewName, CallSettings)
            // Additional: GetAssetFieldTypeViewAsync(AssetFieldTypeViewName, CancellationToken)
            // Create client
            AssetFieldTypeViewServiceClient assetFieldTypeViewServiceClient = await AssetFieldTypeViewServiceClient.CreateAsync();

            // Initialize request argument(s)
            AssetFieldTypeViewName resourceName = AssetFieldTypeViewName.FromCustomerFieldType("[CUSTOMER_ID]", "[FIELD_TYPE]");
            // Make the request
            AssetFieldTypeView response = await assetFieldTypeViewServiceClient.GetAssetFieldTypeViewAsync(resourceName);

            // End snippet
        }