Constructor
new AppProfile(instance, name)
Parameters:
Name | Type | Description |
---|---|---|
instance |
Instance |
The parent instance of this app profile. |
name |
string |
Name of the app profile. |
Methods
create(optionsopt)
Create an app profile.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options |
object |
<optional> |
Example
```
<caption>include:samples/api-reference-doc-snippets/app-profile.js</caption>
region_tag:bigtable_api_create_app_profile
```
delete(optionsopt, callbackopt)
Delete the app profile.
Parameters:
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
<optional> |
Cluster creation options. Properties
|
||||||||||||
callback |
function |
<optional> |
The callback function. Properties
|
Example
```
<caption>include:samples/api-reference-doc-snippets/app-profile.js</caption>
region_tag:bigtable_api_delete_app_profile
```
exists(gaxOptionsopt, callback)
Check if an app profile exists.
Parameters:
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
gaxOptions |
object |
<optional> |
Request configuration options, outlined here: https://googleapis.github.io/gax-nodejs/CallSettings.html. |
||||||||||||
callback |
function |
The callback function. Properties
|
Example
```
<caption>include:samples/api-reference-doc-snippets/app-profile.js</caption>
region_tag:bigtable_api_exists_app_profile
```
get(gaxOptionsopt)
Get a appProfile if it exists.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
gaxOptions |
object |
<optional> |
Request configuration options, outlined here: https://googleapis.github.io/gax-nodejs/CallSettings.html. |
Example
```
<caption>include:samples/api-reference-doc-snippets/app-profile.js</caption>
region_tag:bigtable_api_get_app_profile
```
getMetadata(gaxOptionsopt, callback)
Get the app profile metadata.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
gaxOptions |
object |
<optional> |
Request configuration options, outlined here: https://googleapis.github.io/gax-nodejs/CallSettings.html. |
||||||||||||||||
callback |
function |
The callback function. Properties
|
Example
```
<caption>include:samples/api-reference-doc-snippets/app-profile.js</caption>
region_tag:bigtable_api_app_profile_get_meta
```
setMetadata(metadata, gaxOptionsopt, callback)
Set the app profile metadata.
Parameters:
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
metadata |
object |
See Instance#createAppProfile for the available metadata options. |
|||||||||||||
gaxOptions |
object |
<optional> |
Request configuration options, outlined here: https://googleapis.github.io/gax-nodejs/CallSettings.html. |
||||||||||||
callback |
function |
The callback function. Properties
|