Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-cloudresourcemanager</artifactId>
<version>v3-rev20260218-2.0.0</version>
<version>v3-rev20260715-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-cloudresourcemanager:v3-rev20260218-2.0.0'
implementation 'com.google.apis:google-api-services-cloudresourcemanager:v3-rev20260715-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10272,6 +10272,163 @@ public List set(String parameterName, Object value) {
}
}

/**
* An accessor for creating requests from the V3 collection.
*
* <p>The typical use is:</p>
* <pre>
* {@code CloudResourceManager cloudresourcemanager = new CloudResourceManager(...);}
* {@code CloudResourceManager.V3.List request = cloudresourcemanager.v3().list(parameters ...)}
* </pre>
*
* @return the resource collection
*/
public V3 v3() {
return new V3();
}

/**
* The "v3" collection of methods.
*/
public class V3 {

/**
* Returns the semantics associated with the specified resource.
*
* Create a request for the method "v3.fetchResourceSemantics".
*
* This request holds the parameters needed by the cloudresourcemanager server. After setting any
* optional parameters, call the {@link FetchResourceSemantics#execute()} method to invoke the
* remote operation.
*
* @return the request
*/
public FetchResourceSemantics fetchResourceSemantics() throws java.io.IOException {
FetchResourceSemantics result = new FetchResourceSemantics();
initialize(result);
return result;
}

public class FetchResourceSemantics extends CloudResourceManagerRequest<com.google.api.services.cloudresourcemanager.v3.model.FetchResourceSemanticsResponse> {

private static final String REST_PATH = "v3:fetchResourceSemantics";

/**
* Returns the semantics associated with the specified resource.
*
* Create a request for the method "v3.fetchResourceSemantics".
*
* This request holds the parameters needed by the the cloudresourcemanager server. After setting
* any optional parameters, call the {@link FetchResourceSemantics#execute()} method to invoke the
* remote operation. <p> {@link FetchResourceSemantics#initialize(com.google.api.client.googleapis
* .services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
* after invoking the constructor. </p>
*
* @since 1.13
*/
protected FetchResourceSemantics() {
super(CloudResourceManager.this, "GET", REST_PATH, null, com.google.api.services.cloudresourcemanager.v3.model.FetchResourceSemanticsResponse.class);
}

@Override
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
return super.executeUsingHead();
}

@Override
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
return super.buildHttpRequestUsingHead();
}

@Override
public FetchResourceSemantics set$Xgafv(java.lang.String $Xgafv) {
return (FetchResourceSemantics) super.set$Xgafv($Xgafv);
}

@Override
public FetchResourceSemantics setAccessToken(java.lang.String accessToken) {
return (FetchResourceSemantics) super.setAccessToken(accessToken);
}

@Override
public FetchResourceSemantics setAlt(java.lang.String alt) {
return (FetchResourceSemantics) super.setAlt(alt);
}

@Override
public FetchResourceSemantics setCallback(java.lang.String callback) {
return (FetchResourceSemantics) super.setCallback(callback);
}

@Override
public FetchResourceSemantics setFields(java.lang.String fields) {
return (FetchResourceSemantics) super.setFields(fields);
}

@Override
public FetchResourceSemantics setKey(java.lang.String key) {
return (FetchResourceSemantics) super.setKey(key);
}

@Override
public FetchResourceSemantics setOauthToken(java.lang.String oauthToken) {
return (FetchResourceSemantics) super.setOauthToken(oauthToken);
}

@Override
public FetchResourceSemantics setPrettyPrint(java.lang.Boolean prettyPrint) {
return (FetchResourceSemantics) super.setPrettyPrint(prettyPrint);
}

@Override
public FetchResourceSemantics setQuotaUser(java.lang.String quotaUser) {
return (FetchResourceSemantics) super.setQuotaUser(quotaUser);
}

@Override
public FetchResourceSemantics setUploadType(java.lang.String uploadType) {
return (FetchResourceSemantics) super.setUploadType(uploadType);
}

@Override
public FetchResourceSemantics setUploadProtocol(java.lang.String uploadProtocol) {
return (FetchResourceSemantics) super.setUploadProtocol(uploadProtocol);
}

/**
* Required. The full resource name of the GCP resource to retrieve semantics for. Examples:
* "//compute.googleapis.com/projects/123/zones/us-central1-a/instances/my-instance"
* "//storage.googleapis.com/projects/_/buckets/my_bucket"
*/
@com.google.api.client.util.Key
private java.lang.String fullResourceName;

/** Required. The full resource name of the GCP resource to retrieve semantics for. Examples:
"//compute.googleapis.com/projects/123/zones/us-central1-a/instances/my-instance"
"//storage.googleapis.com/projects/_/buckets/my_bucket"
*/
public java.lang.String getFullResourceName() {
return fullResourceName;
}

/**
* Required. The full resource name of the GCP resource to retrieve semantics for. Examples:
* "//compute.googleapis.com/projects/123/zones/us-central1-a/instances/my-instance"
* "//storage.googleapis.com/projects/_/buckets/my_bucket"
*/
public FetchResourceSemantics setFullResourceName(java.lang.String fullResourceName) {
this.fullResourceName = fullResourceName;
return this;
}

@Override
public FetchResourceSemantics set(String parameterName, Object value) {
return (FetchResourceSemantics) super.set(parameterName, value);
}
}

}

/**
* Builder for {@link CloudResourceManager}.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.cloudresourcemanager.v3.model;

/**
* Response message for FetchResourceSemantics.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Cloud Resource Manager API. For a detailed
* explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class FetchResourceSemanticsResponse extends com.google.api.client.json.GenericJson {

/**
* The full resource name for which semantics are returned. Examples:
* "//compute.googleapis.com/projects/123/zones/us-central1-a/instances/my-instance"
* "//storage.googleapis.com/projects/_/buckets/my_bucket"
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String fullResourceName;

/**
* Map of resource semantics (e.g., `"ENVIRONMENT": "PRODUCTION"`).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map<String, java.lang.String> semantics;

/**
* The full resource name for which semantics are returned. Examples:
* "//compute.googleapis.com/projects/123/zones/us-central1-a/instances/my-instance"
* "//storage.googleapis.com/projects/_/buckets/my_bucket"
* @return value or {@code null} for none
*/
public java.lang.String getFullResourceName() {
return fullResourceName;
}

/**
* The full resource name for which semantics are returned. Examples:
* "//compute.googleapis.com/projects/123/zones/us-central1-a/instances/my-instance"
* "//storage.googleapis.com/projects/_/buckets/my_bucket"
* @param fullResourceName fullResourceName or {@code null} for none
*/
public FetchResourceSemanticsResponse setFullResourceName(java.lang.String fullResourceName) {
this.fullResourceName = fullResourceName;
return this;
}

/**
* Map of resource semantics (e.g., `"ENVIRONMENT": "PRODUCTION"`).
* @return value or {@code null} for none
*/
public java.util.Map<String, java.lang.String> getSemantics() {
return semantics;
}

/**
* Map of resource semantics (e.g., `"ENVIRONMENT": "PRODUCTION"`).
* @param semantics semantics or {@code null} for none
*/
public FetchResourceSemanticsResponse setSemantics(java.util.Map<String, java.lang.String> semantics) {
this.semantics = semantics;
return this;
}

@Override
public FetchResourceSemanticsResponse set(String fieldName, Object value) {
return (FetchResourceSemanticsResponse) super.set(fieldName, value);
}

@Override
public FetchResourceSemanticsResponse clone() {
return (FetchResourceSemanticsResponse) super.clone();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-cloudresourcemanager</artifactId>
<version>v3-rev20260218-2.0.0</version>
<name>Cloud Resource Manager API v3-rev20260218-2.0.0</name>
<version>v3-rev20260715-2.0.0</version>
<name>Cloud Resource Manager API v3-rev20260715-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-cloudresourcemanager</artifactId>
<version>v3-rev20260218-2.0.0</version>
<version>v3-rev20260715-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-cloudresourcemanager:v3-rev20260218-2.0.0'
implementation 'com.google.apis:google-api-services-cloudresourcemanager:v3-rev20260715-2.0.0'
}
```

Expand Down
Loading