Class: Google::Apis::BigtableadminV2::Instance
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::Instance
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigtableadmin_v2/classes.rb,
lib/google/apis/bigtableadmin_v2/representations.rb,
lib/google/apis/bigtableadmin_v2/representations.rb
Overview
A collection of Bigtable Tables and the resources that serve them. All tables in an instance are served from all Clusters in the instance.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Required.
-
#labels ⇒ Hash<String,String>
Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies.
-
#name ⇒ String
The unique name of the instance.
-
#satisfies_pzi ⇒ Boolean
(also: #satisfies_pzi?)
Output only.
-
#satisfies_pzs ⇒ Boolean
(also: #satisfies_pzs?)
Output only.
-
#state ⇒ String
Output only.
-
#type ⇒ String
The type of the instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Instance
constructor
A new instance of Instance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Instance
Returns a new instance of Instance.
1924 1925 1926 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1924 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. A commit timestamp representing when this Instance was created.
For instances created before this field was added (August 2021), this value is
seconds: 0, nanos: 1
.
Corresponds to the JSON property createTime
1876 1877 1878 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1876 def create_time @create_time end |
#display_name ⇒ String
Required. The descriptive name for this instance as it appears in UIs. Can be
changed at any time, but should be kept globally unique to avoid confusion.
Corresponds to the JSON property displayName
1882 1883 1884 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1882 def display_name @display_name end |
#labels ⇒ Hash<String,String>
Labels are a flexible and lightweight mechanism for organizing cloud resources
into groups that reflect a customer's organizational needs and deployment
strategies. They can be used to filter resources and aggregate metrics. *
Label keys must be between 1 and 63 characters long and must conform to the
regular expression: \p
Ll\p
Lo0,62
. * Label values must be between 0 and
63 characters long and must conform to the regular expression: [\p
Ll\p
Lo\
p
N_-]
0,63`. * No more than 64 labels can be associated with a given
resource. * Keys and values must both be under 128 bytes.
Corresponds to the JSON property
labels`
1894 1895 1896 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1894 def labels @labels end |
#name ⇒ String
The unique name of the instance. Values are of the form projects/
project/
instances/a-z+[a-z0-9]
.
Corresponds to the JSON property name
1900 1901 1902 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1900 def name @name end |
#satisfies_pzi ⇒ Boolean Also known as: satisfies_pzi?
Output only. Reserved for future use.
Corresponds to the JSON property satisfiesPzi
1905 1906 1907 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1905 def satisfies_pzi @satisfies_pzi end |
#satisfies_pzs ⇒ Boolean Also known as: satisfies_pzs?
Output only. Reserved for future use.
Corresponds to the JSON property satisfiesPzs
1911 1912 1913 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1911 def satisfies_pzs @satisfies_pzs end |
#state ⇒ String
Output only. The current state of the instance.
Corresponds to the JSON property state
1917 1918 1919 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1917 def state @state end |
#type ⇒ String
The type of the instance. Defaults to PRODUCTION
.
Corresponds to the JSON property type
1922 1923 1924 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1922 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1929 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi) @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs) @state = args[:state] if args.key?(:state) @type = args[:type] if args.key?(:type) end |