Interface CreateMembershipRequestOrBuilder (1.36.0)

public interface CreateMembershipRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMembershipId()

public abstract String getMembershipId()

Required. Client chosen ID for the membership. membership_id must be a valid RFC 1123 compliant DNS label:

  1. At most 63 characters in length
  2. It must consist of lower case alphanumeric characters or -
  3. It must start and end with an alphanumeric character

    Which can be expressed as the regex: a-z0-9?, with a maximum length of 63 characters.

string membership_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The membershipId.

getMembershipIdBytes()

public abstract ByteString getMembershipIdBytes()

Required. Client chosen ID for the membership. membership_id must be a valid RFC 1123 compliant DNS label:

  1. At most 63 characters in length
  2. It must consist of lower case alphanumeric characters or -
  3. It must start and end with an alphanumeric character

    Which can be expressed as the regex: a-z0-9?, with a maximum length of 63 characters.

string membership_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for membershipId.

getParent()

public abstract String getParent()

Required. The parent (project and location) where the Memberships will be created. Specified in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent (project and location) where the Memberships will be created. Specified in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getResource()

public abstract Membership getResource()

Required. The membership to create.

.google.cloud.gkehub.v1alpha2.Membership resource = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Membership

The resource.

getResourceOrBuilder()

public abstract MembershipOrBuilder getResourceOrBuilder()

Required. The membership to create.

.google.cloud.gkehub.v1alpha2.Membership resource = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
MembershipOrBuilder

hasResource()

public abstract boolean hasResource()

Required. The membership to create.

.google.cloud.gkehub.v1alpha2.Membership resource = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the resource field is set.