Skip to content

Commit 945f63d

Browse files
chore: regenerate compute client
1 parent 21c8e17 commit 945f63d

100 files changed

Lines changed: 24332 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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.compute.preview.model;
18+
19+
/**
20+
* Model definition for SetCommonInstanceMetadataOperationMetadata.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class SetCommonInstanceMetadataOperationMetadata extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* [Output Only] The client operation id.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String clientOperationId;
38+
39+
/**
40+
* [Output Only] Status information per location (location name is key). Example key: zones/us-
41+
* central1-a
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.Map<String, SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> perLocationOperations;
46+
47+
/**
48+
* [Output Only] The client operation id.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.lang.String getClientOperationId() {
52+
return clientOperationId;
53+
}
54+
55+
/**
56+
* [Output Only] The client operation id.
57+
* @param clientOperationId clientOperationId or {@code null} for none
58+
*/
59+
public SetCommonInstanceMetadataOperationMetadata setClientOperationId(java.lang.String clientOperationId) {
60+
this.clientOperationId = clientOperationId;
61+
return this;
62+
}
63+
64+
/**
65+
* [Output Only] Status information per location (location name is key). Example key: zones/us-
66+
* central1-a
67+
* @return value or {@code null} for none
68+
*/
69+
public java.util.Map<String, SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> getPerLocationOperations() {
70+
return perLocationOperations;
71+
}
72+
73+
/**
74+
* [Output Only] Status information per location (location name is key). Example key: zones/us-
75+
* central1-a
76+
* @param perLocationOperations perLocationOperations or {@code null} for none
77+
*/
78+
public SetCommonInstanceMetadataOperationMetadata setPerLocationOperations(java.util.Map<String, SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> perLocationOperations) {
79+
this.perLocationOperations = perLocationOperations;
80+
return this;
81+
}
82+
83+
@Override
84+
public SetCommonInstanceMetadataOperationMetadata set(String fieldName, Object value) {
85+
return (SetCommonInstanceMetadataOperationMetadata) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public SetCommonInstanceMetadataOperationMetadata clone() {
90+
return (SetCommonInstanceMetadataOperationMetadata) super.clone();
91+
}
92+
93+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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.compute.preview.model;
18+
19+
/**
20+
* Model definition for SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* [Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private Status error;
38+
39+
/**
40+
* [Output Only] Status of the action, which can be one of the following: `PROPAGATING`,
41+
* `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String state;
46+
47+
/**
48+
* [Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.
49+
* @return value or {@code null} for none
50+
*/
51+
public Status getError() {
52+
return error;
53+
}
54+
55+
/**
56+
* [Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.
57+
* @param error error or {@code null} for none
58+
*/
59+
public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo setError(Status error) {
60+
this.error = error;
61+
return this;
62+
}
63+
64+
/**
65+
* [Output Only] Status of the action, which can be one of the following: `PROPAGATING`,
66+
* `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
67+
* @return value or {@code null} for none
68+
*/
69+
public java.lang.String getState() {
70+
return state;
71+
}
72+
73+
/**
74+
* [Output Only] Status of the action, which can be one of the following: `PROPAGATING`,
75+
* `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
76+
* @param state state or {@code null} for none
77+
*/
78+
public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo setState(java.lang.String state) {
79+
this.state = state;
80+
return this;
81+
}
82+
83+
@Override
84+
public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo set(String fieldName, Object value) {
85+
return (SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo clone() {
90+
return (SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo) super.clone();
91+
}
92+
93+
}
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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.compute.preview.model;
18+
19+
/**
20+
* The share setting for reservations and sole tenancy node groups.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class ShareSettings extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* A map of project id and project config. This is only valid when share_type's value is
34+
* SPECIFIC_PROJECTS.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.Map<String, ShareSettingsProjectConfig> projectMap;
39+
40+
/**
41+
* Type of sharing for this shared-reservation
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String shareType;
46+
47+
/**
48+
* A map of project id and project config. This is only valid when share_type's value is
49+
* SPECIFIC_PROJECTS.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.util.Map<String, ShareSettingsProjectConfig> getProjectMap() {
53+
return projectMap;
54+
}
55+
56+
/**
57+
* A map of project id and project config. This is only valid when share_type's value is
58+
* SPECIFIC_PROJECTS.
59+
* @param projectMap projectMap or {@code null} for none
60+
*/
61+
public ShareSettings setProjectMap(java.util.Map<String, ShareSettingsProjectConfig> projectMap) {
62+
this.projectMap = projectMap;
63+
return this;
64+
}
65+
66+
/**
67+
* Type of sharing for this shared-reservation
68+
* @return value or {@code null} for none
69+
*/
70+
public java.lang.String getShareType() {
71+
return shareType;
72+
}
73+
74+
/**
75+
* Type of sharing for this shared-reservation
76+
* @param shareType shareType or {@code null} for none
77+
*/
78+
public ShareSettings setShareType(java.lang.String shareType) {
79+
this.shareType = shareType;
80+
return this;
81+
}
82+
83+
@Override
84+
public ShareSettings set(String fieldName, Object value) {
85+
return (ShareSettings) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public ShareSettings clone() {
90+
return (ShareSettings) super.clone();
91+
}
92+
93+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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.compute.preview.model;
18+
19+
/**
20+
* Config for each project in the share settings.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class ShareSettingsProjectConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The project ID, should be same as the key of this project config in the parent map.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String projectId;
38+
39+
/**
40+
* The project ID, should be same as the key of this project config in the parent map.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getProjectId() {
44+
return projectId;
45+
}
46+
47+
/**
48+
* The project ID, should be same as the key of this project config in the parent map.
49+
* @param projectId projectId or {@code null} for none
50+
*/
51+
public ShareSettingsProjectConfig setProjectId(java.lang.String projectId) {
52+
this.projectId = projectId;
53+
return this;
54+
}
55+
56+
@Override
57+
public ShareSettingsProjectConfig set(String fieldName, Object value) {
58+
return (ShareSettingsProjectConfig) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public ShareSettingsProjectConfig clone() {
63+
return (ShareSettingsProjectConfig) super.clone();
64+
}
65+
66+
}

0 commit comments

Comments
 (0)