Interface GcpResourceOrBuilder (0.26.0)

publicinterface GcpResourceOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getGcpResourcename()

publicabstractStringgetGcpResourcename()

Name of the Google Cloud resource.

string gcp_resourcename = 1;

Returns
Type Description
String

The gcpResourcename.

getGcpResourcenameBytes()

publicabstractByteStringgetGcpResourcenameBytes()

Name of the Google Cloud resource.

string gcp_resourcename = 1;

Returns
Type Description
ByteString

The bytes for gcpResourcename.

getLocation()

publicabstractStringgetLocation()

Location of the resource: <region>/<zone>/"global"/"unspecified".

string location = 2;

Returns
Type Description
String

The location.

getLocationBytes()

publicabstractByteStringgetLocationBytes()

Location of the resource: <region>/<zone>/"global"/"unspecified".

string location = 2;

Returns
Type Description
ByteString

The bytes for location.

getType()

publicabstractStringgetType()

Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.

string type = 3;

Returns
Type Description
String

The type.

getTypeBytes()

publicabstractByteStringgetTypeBytes()

Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.

string type = 3;

Returns
Type Description
ByteString

The bytes for type.

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.