Skip to content

Commit 08746d6

Browse files
1 parent cec9396 commit 08746d6

File tree

5 files changed

+320
-6
lines changed

5 files changed

+320
-6
lines changed

clients/google-api-services-apphub/v1alpha/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-apphub</artifactId>
25-
<version>v1alpha-rev20250414-2.0.0</version>
25+
<version>v1alpha-rev20250416-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-apphub:v1alpha-rev20250414-2.0.0'
38+
implementation 'com.google.apis:google-api-services-apphub:v1alpha-rev20250416-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-apphub/v1alpha/2.0.0/com/google/api/services/apphub/v1alpha/AppHub.java

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,154 @@ public Get set(String parameterName, Object value) {
454454
return (Get) super.set(parameterName, value);
455455
}
456456
}
457+
/**
458+
* Gets a perimeter
459+
*
460+
* Create a request for the method "locations.getPerimeter".
461+
*
462+
* This request holds the parameters needed by the apphub server. After setting any optional
463+
* parameters, call the {@link GetPerimeter#execute()} method to invoke the remote operation.
464+
*
465+
* @param name Required. Fully qualified name of the Perimeter Expected format:
466+
* `projects/{project}/locations/{location}/perimeter`.
467+
* @return the request
468+
*/
469+
public GetPerimeter getPerimeter(java.lang.String name) throws java.io.IOException {
470+
GetPerimeter result = new GetPerimeter(name);
471+
initialize(result);
472+
return result;
473+
}
474+
475+
public class GetPerimeter extends AppHubRequest<com.google.api.services.apphub.v1alpha.model.Perimeter> {
476+
477+
private static final String REST_PATH = "v1alpha/{+name}";
478+
479+
private final java.util.regex.Pattern NAME_PATTERN =
480+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/perimeter$");
481+
482+
/**
483+
* Gets a perimeter
484+
*
485+
* Create a request for the method "locations.getPerimeter".
486+
*
487+
* This request holds the parameters needed by the the apphub server. After setting any optional
488+
* parameters, call the {@link GetPerimeter#execute()} method to invoke the remote operation. <p>
489+
* {@link
490+
* GetPerimeter#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
491+
* must be called to initialize this instance immediately after invoking the constructor. </p>
492+
*
493+
* @param name Required. Fully qualified name of the Perimeter Expected format:
494+
* `projects/{project}/locations/{location}/perimeter`.
495+
* @since 1.13
496+
*/
497+
protected GetPerimeter(java.lang.String name) {
498+
super(AppHub.this, "GET", REST_PATH, null, com.google.api.services.apphub.v1alpha.model.Perimeter.class);
499+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
500+
if (!getSuppressPatternChecks()) {
501+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
502+
"Parameter name must conform to the pattern " +
503+
"^projects/[^/]+/locations/[^/]+/perimeter$");
504+
}
505+
}
506+
507+
@Override
508+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
509+
return super.executeUsingHead();
510+
}
511+
512+
@Override
513+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
514+
return super.buildHttpRequestUsingHead();
515+
}
516+
517+
@Override
518+
public GetPerimeter set$Xgafv(java.lang.String $Xgafv) {
519+
return (GetPerimeter) super.set$Xgafv($Xgafv);
520+
}
521+
522+
@Override
523+
public GetPerimeter setAccessToken(java.lang.String accessToken) {
524+
return (GetPerimeter) super.setAccessToken(accessToken);
525+
}
526+
527+
@Override
528+
public GetPerimeter setAlt(java.lang.String alt) {
529+
return (GetPerimeter) super.setAlt(alt);
530+
}
531+
532+
@Override
533+
public GetPerimeter setCallback(java.lang.String callback) {
534+
return (GetPerimeter) super.setCallback(callback);
535+
}
536+
537+
@Override
538+
public GetPerimeter setFields(java.lang.String fields) {
539+
return (GetPerimeter) super.setFields(fields);
540+
}
541+
542+
@Override
543+
public GetPerimeter setKey(java.lang.String key) {
544+
return (GetPerimeter) super.setKey(key);
545+
}
546+
547+
@Override
548+
public GetPerimeter setOauthToken(java.lang.String oauthToken) {
549+
return (GetPerimeter) super.setOauthToken(oauthToken);
550+
}
551+
552+
@Override
553+
public GetPerimeter setPrettyPrint(java.lang.Boolean prettyPrint) {
554+
return (GetPerimeter) super.setPrettyPrint(prettyPrint);
555+
}
556+
557+
@Override
558+
public GetPerimeter setQuotaUser(java.lang.String quotaUser) {
559+
return (GetPerimeter) super.setQuotaUser(quotaUser);
560+
}
561+
562+
@Override
563+
public GetPerimeter setUploadType(java.lang.String uploadType) {
564+
return (GetPerimeter) super.setUploadType(uploadType);
565+
}
566+
567+
@Override
568+
public GetPerimeter setUploadProtocol(java.lang.String uploadProtocol) {
569+
return (GetPerimeter) super.setUploadProtocol(uploadProtocol);
570+
}
571+
572+
/**
573+
* Required. Fully qualified name of the Perimeter Expected format:
574+
* `projects/{project}/locations/{location}/perimeter`.
575+
*/
576+
@com.google.api.client.util.Key
577+
private java.lang.String name;
578+
579+
/** Required. Fully qualified name of the Perimeter Expected format:
580+
`projects/{project}/locations/{location}/perimeter`.
581+
*/
582+
public java.lang.String getName() {
583+
return name;
584+
}
585+
586+
/**
587+
* Required. Fully qualified name of the Perimeter Expected format:
588+
* `projects/{project}/locations/{location}/perimeter`.
589+
*/
590+
public GetPerimeter setName(java.lang.String name) {
591+
if (!getSuppressPatternChecks()) {
592+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
593+
"Parameter name must conform to the pattern " +
594+
"^projects/[^/]+/locations/[^/]+/perimeter$");
595+
}
596+
this.name = name;
597+
return this;
598+
}
599+
600+
@Override
601+
public GetPerimeter set(String parameterName, Object value) {
602+
return (GetPerimeter) super.set(parameterName, value);
603+
}
604+
}
457605
/**
458606
* Lists information about the supported locations for this service.
459607
*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.apphub.v1alpha.model;
18+
19+
/**
20+
* Perimeter is a boundary that describes application management on a `perimeter_node` (currently
21+
* limited to an app-enabled folder).
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the App Hub API. For a detailed explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class Perimeter extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. Create time.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private String createTime;
39+
40+
/**
41+
* Identifier. Name of the Perimeter resource.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String name;
46+
47+
/**
48+
* Immutable. Cloud Resource Manager node that determines the perimeter. Only
49+
* `folders/{folder_number}` is currently supported.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String perimeterNode;
54+
55+
/**
56+
* Output only. Perimeter state.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.String state;
61+
62+
/**
63+
* Output only. Update time.
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private String updateTime;
68+
69+
/**
70+
* Output only. Create time.
71+
* @return value or {@code null} for none
72+
*/
73+
public String getCreateTime() {
74+
return createTime;
75+
}
76+
77+
/**
78+
* Output only. Create time.
79+
* @param createTime createTime or {@code null} for none
80+
*/
81+
public Perimeter setCreateTime(String createTime) {
82+
this.createTime = createTime;
83+
return this;
84+
}
85+
86+
/**
87+
* Identifier. Name of the Perimeter resource.
88+
* @return value or {@code null} for none
89+
*/
90+
public java.lang.String getName() {
91+
return name;
92+
}
93+
94+
/**
95+
* Identifier. Name of the Perimeter resource.
96+
* @param name name or {@code null} for none
97+
*/
98+
public Perimeter setName(java.lang.String name) {
99+
this.name = name;
100+
return this;
101+
}
102+
103+
/**
104+
* Immutable. Cloud Resource Manager node that determines the perimeter. Only
105+
* `folders/{folder_number}` is currently supported.
106+
* @return value or {@code null} for none
107+
*/
108+
public java.lang.String getPerimeterNode() {
109+
return perimeterNode;
110+
}
111+
112+
/**
113+
* Immutable. Cloud Resource Manager node that determines the perimeter. Only
114+
* `folders/{folder_number}` is currently supported.
115+
* @param perimeterNode perimeterNode or {@code null} for none
116+
*/
117+
public Perimeter setPerimeterNode(java.lang.String perimeterNode) {
118+
this.perimeterNode = perimeterNode;
119+
return this;
120+
}
121+
122+
/**
123+
* Output only. Perimeter state.
124+
* @return value or {@code null} for none
125+
*/
126+
public java.lang.String getState() {
127+
return state;
128+
}
129+
130+
/**
131+
* Output only. Perimeter state.
132+
* @param state state or {@code null} for none
133+
*/
134+
public Perimeter setState(java.lang.String state) {
135+
this.state = state;
136+
return this;
137+
}
138+
139+
/**
140+
* Output only. Update time.
141+
* @return value or {@code null} for none
142+
*/
143+
public String getUpdateTime() {
144+
return updateTime;
145+
}
146+
147+
/**
148+
* Output only. Update time.
149+
* @param updateTime updateTime or {@code null} for none
150+
*/
151+
public Perimeter setUpdateTime(String updateTime) {
152+
this.updateTime = updateTime;
153+
return this;
154+
}
155+
156+
@Override
157+
public Perimeter set(String fieldName, Object value) {
158+
return (Perimeter) super.set(fieldName, value);
159+
}
160+
161+
@Override
162+
public Perimeter clone() {
163+
return (Perimeter) super.clone();
164+
}
165+
166+
}

clients/google-api-services-apphub/v1alpha/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-apphub</artifactId>
11-
<version>v1alpha-rev20250414-2.0.0</version>
12-
<name>App Hub API v1alpha-rev20250414-2.0.0</name>
11+
<version>v1alpha-rev20250416-2.0.0</version>
12+
<name>App Hub API v1alpha-rev20250416-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-apphub/v1alpha/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-apphub</artifactId>
25-
<version>v1alpha-rev20250414-2.0.0</version>
25+
<version>v1alpha-rev20250416-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-apphub:v1alpha-rev20250414-2.0.0'
38+
implementation 'com.google.apis:google-api-services-apphub:v1alpha-rev20250416-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)