Interface FleetOrBuilder (0.69.0)

publicinterface FleetOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getMembership()

publicabstractStringgetMembership()

Output only. The name of the managed Hub Membership resource associated to this cluster.

Membership names are formatted as projects/<project-number>/locations/global/membership/<cluster-id>.

string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The membership.

getMembershipBytes()

publicabstractByteStringgetMembershipBytes()

Output only. The name of the managed Hub Membership resource associated to this cluster.

Membership names are formatted as projects/<project-number>/locations/global/membership/<cluster-id>.

string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for membership.

getProject()

publicabstractStringgetProject()

Required. The name of the Fleet host project where this cluster will be registered.

Project names are formatted as projects/<project-number>.

string project = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The project.

getProjectBytes()

publicabstractByteStringgetProjectBytes()

Required. The name of the Fleet host project where this cluster will be registered.

Project names are formatted as projects/<project-number>.

string project = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for project.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.