Reference documentation and code samples for the Network Connectivity V1 API class Google::Cloud::NetworkConnectivity::V1::Group.
A group represents a subset of spokes attached to a hub.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#auto_accept
def auto_accept() -> ::Google::Cloud::NetworkConnectivity::V1::AutoAccept
Returns
- (::Google::Cloud::NetworkConnectivity::V1::AutoAccept) — Optional. The auto-accept setting for this group.
#auto_accept=
def auto_accept=(value) -> ::Google::Cloud::NetworkConnectivity::V1::AutoAccept
Parameter
- value (::Google::Cloud::NetworkConnectivity::V1::AutoAccept) — Optional. The auto-accept setting for this group.
Returns
- (::Google::Cloud::NetworkConnectivity::V1::AutoAccept) — Optional. The auto-accept setting for this group.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time the group was created.
#description
def description() -> ::String
Returns
- (::String) — Optional. The description of the group.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Optional. The description of the group.
Returns
- (::String) — Optional. The description of the group.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels in key-value pair format. For more information about labels, see Requirements for labels.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels in key-value pair format. For more information about labels, see Requirements for labels.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels in key-value pair format. For more information about labels, see Requirements for labels.
#name
def name() -> ::String
Returns
-
(::String) — Immutable. The name of the group. Group names must be unique. They
use the following form:
projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Immutable. The name of the group. Group names must be unique. They
use the following form:
projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}
Returns
-
(::String) — Immutable. The name of the group. Group names must be unique. They
use the following form:
projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}
#route_table
def route_table() -> ::String
Returns
-
(::String) — Output only. The name of the route table that corresponds to this group.
They use the following form:
projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}
#state
def state() -> ::Google::Cloud::NetworkConnectivity::V1::State
Returns
- (::Google::Cloud::NetworkConnectivity::V1::State) — Output only. The current lifecycle state of this group.
#uid
def uid() -> ::String
Returns
- (::String) — Output only. The Google-generated UUID for the group. This value is unique across all group resources. If a group is deleted and another with the same name is created, the new route table is assigned a different unique_id.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time the group was last updated.