public interface CreateMembershipRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getMembershipId()
public abstract String getMembershipId()
Required. Client chosen ID for the membership. membership_id
must be a valid RFC
1123 compliant DNS label:
- At most 63 characters in length
- It must consist of lower case alphanumeric characters or
-
- 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];
Type | Description |
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:
- At most 63 characters in length
- It must consist of lower case alphanumeric characters or
-
- 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];
Type | Description |
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) = { ... }
Type | Description |
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) = { ... }
Type | Description |
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];
Type | Description |
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];
Type | Description |
MembershipOrBuilder |
hasResource()
public abstract boolean hasResource()
Required. The membership to create.
.google.cloud.gkehub.v1alpha2.Membership resource = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the resource field is set. |