public interface UsageOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getProducerNotificationChannel()
public abstract String getProducerNotificationChannel()
The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports Google Cloud Pub/Sub as a notification channel. To use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format documented in https://cloud.google.com/pubsub/docs/overview.
string producer_notification_channel = 7;
Type | Description |
String | The producerNotificationChannel. |
getProducerNotificationChannelBytes()
public abstract ByteString getProducerNotificationChannelBytes()
The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports Google Cloud Pub/Sub as a notification channel. To use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format documented in https://cloud.google.com/pubsub/docs/overview.
string producer_notification_channel = 7;
Type | Description |
ByteString | The bytes for producerNotificationChannel. |
getRequirements(int index)
public abstract String getRequirements(int index)
Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form <service.name>/<requirement-id>; for example 'serviceusage.googleapis.com/billing-enabled'. For Google APIs, a Terms of Service requirement must be included here. Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". Other Google APIs should include "serviceusage.googleapis.com/tos/universal". Additional ToS can be included based on the business needs.
repeated string requirements = 1;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The requirements at the given index. |
getRequirementsBytes(int index)
public abstract ByteString getRequirementsBytes(int index)
Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form <service.name>/<requirement-id>; for example 'serviceusage.googleapis.com/billing-enabled'. For Google APIs, a Terms of Service requirement must be included here. Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". Other Google APIs should include "serviceusage.googleapis.com/tos/universal". Additional ToS can be included based on the business needs.
repeated string requirements = 1;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the requirements at the given index. |
getRequirementsCount()
public abstract int getRequirementsCount()
Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form <service.name>/<requirement-id>; for example 'serviceusage.googleapis.com/billing-enabled'. For Google APIs, a Terms of Service requirement must be included here. Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". Other Google APIs should include "serviceusage.googleapis.com/tos/universal". Additional ToS can be included based on the business needs.
repeated string requirements = 1;
Type | Description |
int | The count of requirements. |
getRequirementsList()
public abstract List<String> getRequirementsList()
Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form <service.name>/<requirement-id>; for example 'serviceusage.googleapis.com/billing-enabled'. For Google APIs, a Terms of Service requirement must be included here. Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". Other Google APIs should include "serviceusage.googleapis.com/tos/universal". Additional ToS can be included based on the business needs.
repeated string requirements = 1;
Type | Description |
List<String> | A list containing the requirements. |
getRules(int index)
public abstract UsageRule getRules(int index)
A list of usage rules that apply to individual API methods. NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.UsageRule rules = 6;
Name | Description |
index | int |
Type | Description |
UsageRule |
getRulesCount()
public abstract int getRulesCount()
A list of usage rules that apply to individual API methods. NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.UsageRule rules = 6;
Type | Description |
int |
getRulesList()
public abstract List<UsageRule> getRulesList()
A list of usage rules that apply to individual API methods. NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.UsageRule rules = 6;
Type | Description |
List<UsageRule> |
getRulesOrBuilder(int index)
public abstract UsageRuleOrBuilder getRulesOrBuilder(int index)
A list of usage rules that apply to individual API methods. NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.UsageRule rules = 6;
Name | Description |
index | int |
Type | Description |
UsageRuleOrBuilder |
getRulesOrBuilderList()
public abstract List<? extends UsageRuleOrBuilder> getRulesOrBuilderList()
A list of usage rules that apply to individual API methods. NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.UsageRule rules = 6;
Type | Description |
List<? extends com.google.api.UsageRuleOrBuilder> |