Exemplo n.º 1
0
 /// <summary>Snippet for GetAppProfile</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetAppProfileResourceNames()
 {
     // Create client
     BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
     // Initialize request argument(s)
     AppProfileName name = AppProfileName.FromProjectInstanceAppProfile("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]");
     // Make the request
     AppProfile response = bigtableInstanceAdminClient.GetAppProfile(name);
 }
Exemplo n.º 2
0
        /// <summary>Snippet for DeleteAppProfileAsync</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 DeleteAppProfileResourceNamesAsync()
        {
            // Create client
            BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();

            // Initialize request argument(s)
            AppProfileName name = AppProfileName.FromProjectInstanceAppProfile("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]");
            // Make the request
            await bigtableInstanceAdminClient.DeleteAppProfileAsync(name);
        }
 /// <summary>Snippet for GetAppProfile</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetAppProfileRequestObject()
 {
     // Create client
     BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
     // Initialize request argument(s)
     GetAppProfileRequest request = new GetAppProfileRequest
     {
         AppProfileName = AppProfileName.FromProjectInstanceAppProfile("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"),
     };
     // Make the request
     AppProfile response = bigtableInstanceAdminClient.GetAppProfile(request);
 }
Exemplo n.º 4
0
        /// <summary>Snippet for DeleteAppProfile</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public void DeleteAppProfileRequestObject()
        {
            // Create client
            BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
            // Initialize request argument(s)
            DeleteAppProfileRequest request = new DeleteAppProfileRequest
            {
                AppProfileName = AppProfileName.FromProjectInstanceAppProfile("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"),
                IgnoreWarnings = false,
            };

            // Make the request
            bigtableInstanceAdminClient.DeleteAppProfile(request);
        }