Interface CreateApiRequestOrBuilder (2.68.0)

publicinterface CreateApiRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getApi()

publicabstractApigetApi()

Required. API resource.

.google.cloud.apigateway.v1.Api api = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Api

The api.

getApiId()

publicabstractStringgetApiId()

Required. Identifier to assign to the API. Must be unique within scope of the parent resource.

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

Returns
Type Description
String

The apiId.

getApiIdBytes()

publicabstractByteStringgetApiIdBytes()

Required. Identifier to assign to the API. Must be unique within scope of the parent resource.

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

Returns
Type Description
ByteString

The bytes for apiId.

getApiOrBuilder()

publicabstractApiOrBuildergetApiOrBuilder()

Required. API resource.

.google.cloud.apigateway.v1.Api api = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApiOrBuilder

getParent()

publicabstractStringgetParent()

Required. Parent resource of the API, of the form: projects/*/locations/global

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

Returns
Type Description
String

The parent.

getParentBytes()

publicabstractByteStringgetParentBytes()

Required. Parent resource of the API, of the form: projects/*/locations/global

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

Returns
Type Description
ByteString

The bytes for parent.

hasApi()

publicabstractbooleanhasApi()

Required. API resource.

.google.cloud.apigateway.v1.Api api = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the api field is set.

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年11月19日 UTC.