-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: regenerate clouddeploy client (#23786)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
- Loading branch information
1 parent
e9f53d0
commit 2e8a7c1
Showing
10 changed files
with
599 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90 changes: 90 additions & 0 deletions
90
...i-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Targets.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
/* | ||
* 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.clouddeploy.v1.model; | ||
|
||
/** | ||
* The targets involved in a single timed promotion. | ||
* | ||
* <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 Deploy 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 Targets extends com.google.api.client.json.GenericJson { | ||
|
||
/** | ||
* Optional. The destination target ID. | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private java.lang.String destinationTargetId; | ||
|
||
/** | ||
* Optional. The source target ID. | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private java.lang.String sourceTargetId; | ||
|
||
/** | ||
* Optional. The destination target ID. | ||
* @return value or {@code null} for none | ||
*/ | ||
public java.lang.String getDestinationTargetId() { | ||
return destinationTargetId; | ||
} | ||
|
||
/** | ||
* Optional. The destination target ID. | ||
* @param destinationTargetId destinationTargetId or {@code null} for none | ||
*/ | ||
public Targets setDestinationTargetId(java.lang.String destinationTargetId) { | ||
this.destinationTargetId = destinationTargetId; | ||
return this; | ||
} | ||
|
||
/** | ||
* Optional. The source target ID. | ||
* @return value or {@code null} for none | ||
*/ | ||
public java.lang.String getSourceTargetId() { | ||
return sourceTargetId; | ||
} | ||
|
||
/** | ||
* Optional. The source target ID. | ||
* @param sourceTargetId sourceTargetId or {@code null} for none | ||
*/ | ||
public Targets setSourceTargetId(java.lang.String sourceTargetId) { | ||
this.sourceTargetId = sourceTargetId; | ||
return this; | ||
} | ||
|
||
@Override | ||
public Targets set(String fieldName, Object value) { | ||
return (Targets) super.set(fieldName, value); | ||
} | ||
|
||
@Override | ||
public Targets clone() { | ||
return (Targets) super.clone(); | ||
} | ||
|
||
} |
97 changes: 97 additions & 0 deletions
97
...y/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/TimedPromoteReleaseCondition.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.clouddeploy.v1.model; | ||
|
||
/** | ||
* `TimedPromoteReleaseCondition` contains conditions specific to an Automation with a Timed Promote | ||
* Release rule defined. | ||
* | ||
* <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 Deploy 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 TimedPromoteReleaseCondition extends com.google.api.client.json.GenericJson { | ||
|
||
/** | ||
* Output only. When the next scheduled promotion(s) will occur. | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private String nextPromotionTime; | ||
|
||
/** | ||
* Output only. A list of targets involved in the upcoming timed promotion(s). | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private java.util.List<Targets> targetsList; | ||
|
||
static { | ||
// hack to force ProGuard to consider Targets used, since otherwise it would be stripped out | ||
// see https://github.com/google/google-api-java-client/issues/543 | ||
com.google.api.client.util.Data.nullOf(Targets.class); | ||
} | ||
|
||
/** | ||
* Output only. When the next scheduled promotion(s) will occur. | ||
* @return value or {@code null} for none | ||
*/ | ||
public String getNextPromotionTime() { | ||
return nextPromotionTime; | ||
} | ||
|
||
/** | ||
* Output only. When the next scheduled promotion(s) will occur. | ||
* @param nextPromotionTime nextPromotionTime or {@code null} for none | ||
*/ | ||
public TimedPromoteReleaseCondition setNextPromotionTime(String nextPromotionTime) { | ||
this.nextPromotionTime = nextPromotionTime; | ||
return this; | ||
} | ||
|
||
/** | ||
* Output only. A list of targets involved in the upcoming timed promotion(s). | ||
* @return value or {@code null} for none | ||
*/ | ||
public java.util.List<Targets> getTargetsList() { | ||
return targetsList; | ||
} | ||
|
||
/** | ||
* Output only. A list of targets involved in the upcoming timed promotion(s). | ||
* @param targetsList targetsList or {@code null} for none | ||
*/ | ||
public TimedPromoteReleaseCondition setTargetsList(java.util.List<Targets> targetsList) { | ||
this.targetsList = targetsList; | ||
return this; | ||
} | ||
|
||
@Override | ||
public TimedPromoteReleaseCondition set(String fieldName, Object value) { | ||
return (TimedPromoteReleaseCondition) super.set(fieldName, value); | ||
} | ||
|
||
@Override | ||
public TimedPromoteReleaseCondition clone() { | ||
return (TimedPromoteReleaseCondition) super.clone(); | ||
} | ||
|
||
} |
Oops, something went wrong.