@@ -1653,6 +1653,29 @@ public List setName(java.lang.String name) {
16531653 return this;
16541654 }
16551655
1656+ /**
1657+ * Optional. A list of extra location types that should be used as conditions for
1658+ * controlling the visibility of the locations.
1659+ */
1660+ @com.google.api.client.util.Key
1661+ private java.util.List<java.lang.String> extraLocationTypes;
1662+
1663+ /** Optional. A list of extra location types that should be used as conditions for controlling the
1664+ visibility of the locations.
1665+ */
1666+ public java.util.List<java.lang.String> getExtraLocationTypes() {
1667+ return extraLocationTypes;
1668+ }
1669+
1670+ /**
1671+ * Optional. A list of extra location types that should be used as conditions for
1672+ * controlling the visibility of the locations.
1673+ */
1674+ public List setExtraLocationTypes(java.util.List<java.lang.String> extraLocationTypes) {
1675+ this.extraLocationTypes = extraLocationTypes;
1676+ return this;
1677+ }
1678+
16561679 /**
16571680 * A filter to narrow down results to a preferred subset. The filtering language accepts
16581681 * strings like `"displayName=tokyo"`, and is documented in more detail in
@@ -6580,177 +6603,6 @@ public SetIamPolicy set(String parameterName, Object value) {
65806603 return (SetIamPolicy) super.set(parameterName, value);
65816604 }
65826605 }
6583- /**
6584- * Calls the Bouncer method ShouldThrottle to check if a request should be throttled.
6585- *
6586- * Create a request for the method "appGateways.shouldThrottle".
6587- *
6588- * This request holds the parameters needed by the beyondcorp server. After setting any optional
6589- * parameters, call the {@link ShouldThrottle#execute()} method to invoke the remote operation.
6590- *
6591- * @param name Required. Name of the resource
6592- * @return the request
6593- */
6594- public ShouldThrottle shouldThrottle(java.lang.String name) throws java.io.IOException {
6595- ShouldThrottle result = new ShouldThrottle(name);
6596- initialize(result);
6597- return result;
6598- }
6599-
6600- public class ShouldThrottle extends BeyondCorpRequest<com.google.api.services.beyondcorp.v1.model.ShouldThrottleResponse> {
6601-
6602- private static final String REST_PATH = "v1/{+name}:shouldThrottle";
6603-
6604- private final java.util.regex.Pattern NAME_PATTERN =
6605- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/appGateways/[^/]+$");
6606-
6607- /**
6608- * Calls the Bouncer method ShouldThrottle to check if a request should be throttled.
6609- *
6610- * Create a request for the method "appGateways.shouldThrottle".
6611- *
6612- * This request holds the parameters needed by the the beyondcorp server. After setting any
6613- * optional parameters, call the {@link ShouldThrottle#execute()} method to invoke the remote
6614- * operation. <p> {@link ShouldThrottle#initialize(com.google.api.client.googleapis.services.Abstr
6615- * actGoogleClientRequest)} must be called to initialize this instance immediately after invoking
6616- * the constructor. </p>
6617- *
6618- * @param name Required. Name of the resource
6619- * @since 1.13
6620- */
6621- protected ShouldThrottle(java.lang.String name) {
6622- super(BeyondCorp.this, "GET", REST_PATH, null, com.google.api.services.beyondcorp.v1.model.ShouldThrottleResponse.class);
6623- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
6624- if (!getSuppressPatternChecks()) {
6625- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
6626- "Parameter name must conform to the pattern " +
6627- "^projects/[^/]+/locations/[^/]+/appGateways/[^/]+$");
6628- }
6629- }
6630-
6631- @Override
6632- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
6633- return super.executeUsingHead();
6634- }
6635-
6636- @Override
6637- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
6638- return super.buildHttpRequestUsingHead();
6639- }
6640-
6641- @Override
6642- public ShouldThrottle set$Xgafv(java.lang.String $Xgafv) {
6643- return (ShouldThrottle) super.set$Xgafv($Xgafv);
6644- }
6645-
6646- @Override
6647- public ShouldThrottle setAccessToken(java.lang.String accessToken) {
6648- return (ShouldThrottle) super.setAccessToken(accessToken);
6649- }
6650-
6651- @Override
6652- public ShouldThrottle setAlt(java.lang.String alt) {
6653- return (ShouldThrottle) super.setAlt(alt);
6654- }
6655-
6656- @Override
6657- public ShouldThrottle setCallback(java.lang.String callback) {
6658- return (ShouldThrottle) super.setCallback(callback);
6659- }
6660-
6661- @Override
6662- public ShouldThrottle setFields(java.lang.String fields) {
6663- return (ShouldThrottle) super.setFields(fields);
6664- }
6665-
6666- @Override
6667- public ShouldThrottle setKey(java.lang.String key) {
6668- return (ShouldThrottle) super.setKey(key);
6669- }
6670-
6671- @Override
6672- public ShouldThrottle setOauthToken(java.lang.String oauthToken) {
6673- return (ShouldThrottle) super.setOauthToken(oauthToken);
6674- }
6675-
6676- @Override
6677- public ShouldThrottle setPrettyPrint(java.lang.Boolean prettyPrint) {
6678- return (ShouldThrottle) super.setPrettyPrint(prettyPrint);
6679- }
6680-
6681- @Override
6682- public ShouldThrottle setQuotaUser(java.lang.String quotaUser) {
6683- return (ShouldThrottle) super.setQuotaUser(quotaUser);
6684- }
6685-
6686- @Override
6687- public ShouldThrottle setUploadType(java.lang.String uploadType) {
6688- return (ShouldThrottle) super.setUploadType(uploadType);
6689- }
6690-
6691- @Override
6692- public ShouldThrottle setUploadProtocol(java.lang.String uploadProtocol) {
6693- return (ShouldThrottle) super.setUploadProtocol(uploadProtocol);
6694- }
6695-
6696- /** Required. Name of the resource */
6697- @com.google.api.client.util.Key
6698- private java.lang.String name;
6699-
6700- /** Required. Name of the resource
6701- */
6702- public java.lang.String getName() {
6703- return name;
6704- }
6705-
6706- /** Required. Name of the resource */
6707- public ShouldThrottle setName(java.lang.String name) {
6708- if (!getSuppressPatternChecks()) {
6709- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
6710- "Parameter name must conform to the pattern " +
6711- "^projects/[^/]+/locations/[^/]+/appGateways/[^/]+$");
6712- }
6713- this.name = name;
6714- return this;
6715- }
6716-
6717- /** Optional. The port that is being throttled */
6718- @com.google.api.client.util.Key
6719- private java.lang.Integer port;
6720-
6721- /** Optional. The port that is being throttled
6722- */
6723- public java.lang.Integer getPort() {
6724- return port;
6725- }
6726-
6727- /** Optional. The port that is being throttled */
6728- public ShouldThrottle setPort(java.lang.Integer port) {
6729- this.port = port;
6730- return this;
6731- }
6732-
6733- /** Optional. The current throughput through the port (mbps) */
6734- @com.google.api.client.util.Key
6735- private java.lang.Long requestedAmount;
6736-
6737- /** Optional. The current throughput through the port (mbps)
6738- */
6739- public java.lang.Long getRequestedAmount() {
6740- return requestedAmount;
6741- }
6742-
6743- /** Optional. The current throughput through the port (mbps) */
6744- public ShouldThrottle setRequestedAmount(java.lang.Long requestedAmount) {
6745- this.requestedAmount = requestedAmount;
6746- return this;
6747- }
6748-
6749- @Override
6750- public ShouldThrottle set(String parameterName, Object value) {
6751- return (ShouldThrottle) super.set(parameterName, value);
6752- }
6753- }
67546606 /**
67556607 * Returns permissions that a caller has on the specified resource. If the resource does not exist,
67566608 * this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is
0 commit comments