@@ -17385,6 +17385,201 @@ public Get set(String parameterName, Object value) {
1738517385 return (Get) super.set(parameterName, value);
1738617386 }
1738717387 }
17388+ /**
17389+ * Updates an Entry Link.
17390+ *
17391+ * Create a request for the method "entryLinks.patch".
17392+ *
17393+ * This request holds the parameters needed by the dataplex server. After setting any optional
17394+ * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
17395+ *
17396+ * @param name Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: proje
17397+ * cts/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks
17398+ * /{entry_link_id}
17399+ * @param content the {@link com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1EntryLink}
17400+ * @return the request
17401+ */
17402+ public Patch patch(java.lang.String name, com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1EntryLink content) throws java.io.IOException {
17403+ Patch result = new Patch(name, content);
17404+ initialize(result);
17405+ return result;
17406+ }
17407+
17408+ public class Patch extends CloudDataplexRequest<com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1EntryLink> {
17409+
17410+ private static final String REST_PATH = "v1/{+name}";
17411+
17412+ private final java.util.regex.Pattern NAME_PATTERN =
17413+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entryLinks/.*$");
17414+
17415+ /**
17416+ * Updates an Entry Link.
17417+ *
17418+ * Create a request for the method "entryLinks.patch".
17419+ *
17420+ * This request holds the parameters needed by the the dataplex server. After setting any
17421+ * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
17422+ * <p> {@link
17423+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
17424+ * be called to initialize this instance immediately after invoking the constructor. </p>
17425+ *
17426+ * @param name Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: proje
17427+ * cts/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks
17428+ * /{entry_link_id}
17429+ * @param content the {@link com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1EntryLink}
17430+ * @since 1.13
17431+ */
17432+ protected Patch(java.lang.String name, com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1EntryLink content) {
17433+ super(CloudDataplex.this, "PATCH", REST_PATH, content, com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1EntryLink.class);
17434+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
17435+ if (!getSuppressPatternChecks()) {
17436+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
17437+ "Parameter name must conform to the pattern " +
17438+ "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entryLinks/.*$");
17439+ }
17440+ }
17441+
17442+ @Override
17443+ public Patch set$Xgafv(java.lang.String $Xgafv) {
17444+ return (Patch) super.set$Xgafv($Xgafv);
17445+ }
17446+
17447+ @Override
17448+ public Patch setAccessToken(java.lang.String accessToken) {
17449+ return (Patch) super.setAccessToken(accessToken);
17450+ }
17451+
17452+ @Override
17453+ public Patch setAlt(java.lang.String alt) {
17454+ return (Patch) super.setAlt(alt);
17455+ }
17456+
17457+ @Override
17458+ public Patch setCallback(java.lang.String callback) {
17459+ return (Patch) super.setCallback(callback);
17460+ }
17461+
17462+ @Override
17463+ public Patch setFields(java.lang.String fields) {
17464+ return (Patch) super.setFields(fields);
17465+ }
17466+
17467+ @Override
17468+ public Patch setKey(java.lang.String key) {
17469+ return (Patch) super.setKey(key);
17470+ }
17471+
17472+ @Override
17473+ public Patch setOauthToken(java.lang.String oauthToken) {
17474+ return (Patch) super.setOauthToken(oauthToken);
17475+ }
17476+
17477+ @Override
17478+ public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
17479+ return (Patch) super.setPrettyPrint(prettyPrint);
17480+ }
17481+
17482+ @Override
17483+ public Patch setQuotaUser(java.lang.String quotaUser) {
17484+ return (Patch) super.setQuotaUser(quotaUser);
17485+ }
17486+
17487+ @Override
17488+ public Patch setUploadType(java.lang.String uploadType) {
17489+ return (Patch) super.setUploadType(uploadType);
17490+ }
17491+
17492+ @Override
17493+ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
17494+ return (Patch) super.setUploadProtocol(uploadProtocol);
17495+ }
17496+
17497+ /**
17498+ * Output only. Immutable. Identifier. The relative resource name of the Entry Link, of
17499+ * the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_
17500+ * group_id}/entryLinks/{entry_link_id}
17501+ */
17502+ @com.google.api.client.util.Key
17503+ private java.lang.String name;
17504+
17505+ /** Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: proj
17506+ ects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_
17507+ link_id}
17508+ */
17509+ public java.lang.String getName() {
17510+ return name;
17511+ }
17512+
17513+ /**
17514+ * Output only. Immutable. Identifier. The relative resource name of the Entry Link, of
17515+ * the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_
17516+ * group_id}/entryLinks/{entry_link_id}
17517+ */
17518+ public Patch setName(java.lang.String name) {
17519+ if (!getSuppressPatternChecks()) {
17520+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
17521+ "Parameter name must conform to the pattern " +
17522+ "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entryLinks/.*$");
17523+ }
17524+ this.name = name;
17525+ return this;
17526+ }
17527+
17528+ /**
17529+ * Optional. If set to true and the entry link doesn't exist, the service will create
17530+ * it.
17531+ */
17532+ @com.google.api.client.util.Key
17533+ private java.lang.Boolean allowMissing;
17534+
17535+ /** Optional. If set to true and the entry link doesn't exist, the service will create it.
17536+ */
17537+ public java.lang.Boolean getAllowMissing() {
17538+ return allowMissing;
17539+ }
17540+
17541+ /**
17542+ * Optional. If set to true and the entry link doesn't exist, the service will create
17543+ * it.
17544+ */
17545+ public Patch setAllowMissing(java.lang.Boolean allowMissing) {
17546+ this.allowMissing = allowMissing;
17547+ return this;
17548+ }
17549+
17550+ /**
17551+ * Optional. The map keys of the Aspects which the service should modify. It should be
17552+ * the aspect type reference in the format
17553+ * {project_id_or_number}.{location_id}.{aspect_type_id}.If this field is left empty,
17554+ * the service treats it as specifying exactly those Aspects present in the request.
17555+ */
17556+ @com.google.api.client.util.Key
17557+ private java.util.List<java.lang.String> aspectKeys;
17558+
17559+ /** Optional. The map keys of the Aspects which the service should modify. It should be the aspect type
17560+ reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.If this field is left
17561+ empty, the service treats it as specifying exactly those Aspects present in the request.
17562+ */
17563+ public java.util.List<java.lang.String> getAspectKeys() {
17564+ return aspectKeys;
17565+ }
17566+
17567+ /**
17568+ * Optional. The map keys of the Aspects which the service should modify. It should be
17569+ * the aspect type reference in the format
17570+ * {project_id_or_number}.{location_id}.{aspect_type_id}.If this field is left empty,
17571+ * the service treats it as specifying exactly those Aspects present in the request.
17572+ */
17573+ public Patch setAspectKeys(java.util.List<java.lang.String> aspectKeys) {
17574+ this.aspectKeys = aspectKeys;
17575+ return this;
17576+ }
17577+
17578+ @Override
17579+ public Patch set(String parameterName, Object value) {
17580+ return (Patch) super.set(parameterName, value);
17581+ }
17582+ }
1738817583
1738917584 }
1739017585 }
0 commit comments