@@ -17348,6 +17348,153 @@ public ValuedResources valuedResources() {
1734817348 */
1734917349 public class ValuedResources {
1735017350
17351+ /**
17352+ * Get the valued resource by name
17353+ *
17354+ * Create a request for the method "valuedResources.get".
17355+ *
17356+ * This request holds the parameters needed by the securitycenter server. After setting any
17357+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
17358+ *
17359+ * @param name Required. The name of this valued resource Valid format:
17360+ * "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}"
17361+ * @return the request
17362+ */
17363+ public Get get(java.lang.String name) throws java.io.IOException {
17364+ Get result = new Get(name);
17365+ initialize(result);
17366+ return result;
17367+ }
17368+
17369+ public class Get extends SecurityCommandCenterRequest<com.google.api.services.securitycenter.v1.model.ValuedResource> {
17370+
17371+ private static final String REST_PATH = "v1/{+name}";
17372+
17373+ private final java.util.regex.Pattern NAME_PATTERN =
17374+ java.util.regex.Pattern.compile("^organizations/[^/]+/simulations/[^/]+/valuedResources/[^/]+$");
17375+
17376+ /**
17377+ * Get the valued resource by name
17378+ *
17379+ * Create a request for the method "valuedResources.get".
17380+ *
17381+ * This request holds the parameters needed by the the securitycenter server. After setting any
17382+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. <p>
17383+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
17384+ * must be called to initialize this instance immediately after invoking the constructor. </p>
17385+ *
17386+ * @param name Required. The name of this valued resource Valid format:
17387+ * "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}"
17388+ * @since 1.13
17389+ */
17390+ protected Get(java.lang.String name) {
17391+ super(SecurityCommandCenter.this, "GET", REST_PATH, null, com.google.api.services.securitycenter.v1.model.ValuedResource.class);
17392+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
17393+ if (!getSuppressPatternChecks()) {
17394+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
17395+ "Parameter name must conform to the pattern " +
17396+ "^organizations/[^/]+/simulations/[^/]+/valuedResources/[^/]+$");
17397+ }
17398+ }
17399+
17400+ @Override
17401+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
17402+ return super.executeUsingHead();
17403+ }
17404+
17405+ @Override
17406+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
17407+ return super.buildHttpRequestUsingHead();
17408+ }
17409+
17410+ @Override
17411+ public Get set$Xgafv(java.lang.String $Xgafv) {
17412+ return (Get) super.set$Xgafv($Xgafv);
17413+ }
17414+
17415+ @Override
17416+ public Get setAccessToken(java.lang.String accessToken) {
17417+ return (Get) super.setAccessToken(accessToken);
17418+ }
17419+
17420+ @Override
17421+ public Get setAlt(java.lang.String alt) {
17422+ return (Get) super.setAlt(alt);
17423+ }
17424+
17425+ @Override
17426+ public Get setCallback(java.lang.String callback) {
17427+ return (Get) super.setCallback(callback);
17428+ }
17429+
17430+ @Override
17431+ public Get setFields(java.lang.String fields) {
17432+ return (Get) super.setFields(fields);
17433+ }
17434+
17435+ @Override
17436+ public Get setKey(java.lang.String key) {
17437+ return (Get) super.setKey(key);
17438+ }
17439+
17440+ @Override
17441+ public Get setOauthToken(java.lang.String oauthToken) {
17442+ return (Get) super.setOauthToken(oauthToken);
17443+ }
17444+
17445+ @Override
17446+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
17447+ return (Get) super.setPrettyPrint(prettyPrint);
17448+ }
17449+
17450+ @Override
17451+ public Get setQuotaUser(java.lang.String quotaUser) {
17452+ return (Get) super.setQuotaUser(quotaUser);
17453+ }
17454+
17455+ @Override
17456+ public Get setUploadType(java.lang.String uploadType) {
17457+ return (Get) super.setUploadType(uploadType);
17458+ }
17459+
17460+ @Override
17461+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
17462+ return (Get) super.setUploadProtocol(uploadProtocol);
17463+ }
17464+
17465+ /**
17466+ * Required. The name of this valued resource Valid format: "organizations/{organization}/
17467+ * simulations/{simulation}/valuedResources/{valued_resource}"
17468+ */
17469+ @com.google.api.client.util.Key
17470+ private java.lang.String name;
17471+
17472+ /** Required. The name of this valued resource Valid format:
17473+ "organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}"
17474+ */
17475+ public java.lang.String getName() {
17476+ return name;
17477+ }
17478+
17479+ /**
17480+ * Required. The name of this valued resource Valid format: "organizations/{organization}/
17481+ * simulations/{simulation}/valuedResources/{valued_resource}"
17482+ */
17483+ public Get setName(java.lang.String name) {
17484+ if (!getSuppressPatternChecks()) {
17485+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
17486+ "Parameter name must conform to the pattern " +
17487+ "^organizations/[^/]+/simulations/[^/]+/valuedResources/[^/]+$");
17488+ }
17489+ this.name = name;
17490+ return this;
17491+ }
17492+
17493+ @Override
17494+ public Get set(String parameterName, Object value) {
17495+ return (Get) super.set(parameterName, value);
17496+ }
17497+ }
1735117498 /**
1735217499 * Lists the valued resources for a set of simulation results and filter.
1735317500 *
0 commit comments