- 0.51.0 (latest)
- 0.50.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.2
public interface RestrictionsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAndroidKeyRestrictions()
public abstract AndroidKeyRestrictions getAndroidKeyRestrictions()
The Android apps that are allowed to use the key.
.google.api.apikeys.v2.AndroidKeyRestrictions android_key_restrictions = 3;
Type | Description |
AndroidKeyRestrictions | The androidKeyRestrictions. |
getAndroidKeyRestrictionsOrBuilder()
public abstract AndroidKeyRestrictionsOrBuilder getAndroidKeyRestrictionsOrBuilder()
The Android apps that are allowed to use the key.
.google.api.apikeys.v2.AndroidKeyRestrictions android_key_restrictions = 3;
Type | Description |
AndroidKeyRestrictionsOrBuilder |
getApiTargets(int index)
public abstract ApiTarget getApiTargets(int index)
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
Name | Description |
index | int |
Type | Description |
ApiTarget |
getApiTargetsCount()
public abstract int getApiTargetsCount()
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
Type | Description |
int |
getApiTargetsList()
public abstract List<ApiTarget> getApiTargetsList()
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
Type | Description |
List<ApiTarget> |
getApiTargetsOrBuilder(int index)
public abstract ApiTargetOrBuilder getApiTargetsOrBuilder(int index)
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
Name | Description |
index | int |
Type | Description |
ApiTargetOrBuilder |
getApiTargetsOrBuilderList()
public abstract List<? extends ApiTargetOrBuilder> getApiTargetsOrBuilderList()
A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.
repeated .google.api.apikeys.v2.ApiTarget api_targets = 5;
Type | Description |
List<? extends com.google.api.apikeys.v2.ApiTargetOrBuilder> |
getBrowserKeyRestrictions()
public abstract BrowserKeyRestrictions getBrowserKeyRestrictions()
The HTTP referrers (websites) that are allowed to use the key.
.google.api.apikeys.v2.BrowserKeyRestrictions browser_key_restrictions = 1;
Type | Description |
BrowserKeyRestrictions | The browserKeyRestrictions. |
getBrowserKeyRestrictionsOrBuilder()
public abstract BrowserKeyRestrictionsOrBuilder getBrowserKeyRestrictionsOrBuilder()
The HTTP referrers (websites) that are allowed to use the key.
.google.api.apikeys.v2.BrowserKeyRestrictions browser_key_restrictions = 1;
Type | Description |
BrowserKeyRestrictionsOrBuilder |
getClientRestrictionsCase()
public abstract Restrictions.ClientRestrictionsCase getClientRestrictionsCase()
Type | Description |
Restrictions.ClientRestrictionsCase |
getIosKeyRestrictions()
public abstract IosKeyRestrictions getIosKeyRestrictions()
The iOS apps that are allowed to use the key.
.google.api.apikeys.v2.IosKeyRestrictions ios_key_restrictions = 4;
Type | Description |
IosKeyRestrictions | The iosKeyRestrictions. |
getIosKeyRestrictionsOrBuilder()
public abstract IosKeyRestrictionsOrBuilder getIosKeyRestrictionsOrBuilder()
The iOS apps that are allowed to use the key.
.google.api.apikeys.v2.IosKeyRestrictions ios_key_restrictions = 4;
Type | Description |
IosKeyRestrictionsOrBuilder |
getServerKeyRestrictions()
public abstract ServerKeyRestrictions getServerKeyRestrictions()
The IP addresses of callers that are allowed to use the key.
.google.api.apikeys.v2.ServerKeyRestrictions server_key_restrictions = 2;
Type | Description |
ServerKeyRestrictions | The serverKeyRestrictions. |
getServerKeyRestrictionsOrBuilder()
public abstract ServerKeyRestrictionsOrBuilder getServerKeyRestrictionsOrBuilder()
The IP addresses of callers that are allowed to use the key.
.google.api.apikeys.v2.ServerKeyRestrictions server_key_restrictions = 2;
Type | Description |
ServerKeyRestrictionsOrBuilder |
hasAndroidKeyRestrictions()
public abstract boolean hasAndroidKeyRestrictions()
The Android apps that are allowed to use the key.
.google.api.apikeys.v2.AndroidKeyRestrictions android_key_restrictions = 3;
Type | Description |
boolean | Whether the androidKeyRestrictions field is set. |
hasBrowserKeyRestrictions()
public abstract boolean hasBrowserKeyRestrictions()
The HTTP referrers (websites) that are allowed to use the key.
.google.api.apikeys.v2.BrowserKeyRestrictions browser_key_restrictions = 1;
Type | Description |
boolean | Whether the browserKeyRestrictions field is set. |
hasIosKeyRestrictions()
public abstract boolean hasIosKeyRestrictions()
The iOS apps that are allowed to use the key.
.google.api.apikeys.v2.IosKeyRestrictions ios_key_restrictions = 4;
Type | Description |
boolean | Whether the iosKeyRestrictions field is set. |
hasServerKeyRestrictions()
public abstract boolean hasServerKeyRestrictions()
The IP addresses of callers that are allowed to use the key.
.google.api.apikeys.v2.ServerKeyRestrictions server_key_restrictions = 2;
Type | Description |
boolean | Whether the serverKeyRestrictions field is set. |