Skip to content

Commit

Permalink
chore: regenerate accessapproval client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot committed Nov 30, 2023
1 parent d7bf338 commit 6634597
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 6 deletions.
4 changes: 2 additions & 2 deletions clients/google-api-services-accessapproval/v1/2.0.0/README.md
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-accessapproval</artifactId>
<version>v1-rev20231020-2.0.0</version>
<version>v1-rev20231110-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-accessapproval:v1-rev20231020-2.0.0'
implementation 'com.google.apis:google-api-services-accessapproval:v1-rev20231110-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ public final class SignatureInfo extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private java.lang.String customerKmsKeyVersion;

/**
* The hashing algorithm used for signature verification. It will only be present in the case of
* Google managed keys.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String googleKeyAlgorithm;

/**
* The public key for the Google default signing, encoded in PEM format. The signature was created
* using a private key which may be verified using this public key.
Expand All @@ -44,6 +52,14 @@ public final class SignatureInfo extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private java.lang.String googlePublicKeyPem;

/**
* The serialized ApprovalRequest message without the approve.signature_info field. This to allow
* the customer to verify signatures if they want to.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String serializedApprovalRequest;

/**
* The digital signature.
* The value may be {@code null}.
Expand All @@ -68,6 +84,25 @@ public SignatureInfo setCustomerKmsKeyVersion(java.lang.String customerKmsKeyVer
return this;
}

/**
* The hashing algorithm used for signature verification. It will only be present in the case of
* Google managed keys.
* @return value or {@code null} for none
*/
public java.lang.String getGoogleKeyAlgorithm() {
return googleKeyAlgorithm;
}

/**
* The hashing algorithm used for signature verification. It will only be present in the case of
* Google managed keys.
* @param googleKeyAlgorithm googleKeyAlgorithm or {@code null} for none
*/
public SignatureInfo setGoogleKeyAlgorithm(java.lang.String googleKeyAlgorithm) {
this.googleKeyAlgorithm = googleKeyAlgorithm;
return this;
}

/**
* The public key for the Google default signing, encoded in PEM format. The signature was created
* using a private key which may be verified using this public key.
Expand All @@ -87,6 +122,55 @@ public SignatureInfo setGooglePublicKeyPem(java.lang.String googlePublicKeyPem)
return this;
}

/**
* The serialized ApprovalRequest message without the approve.signature_info field. This to allow
* the customer to verify signatures if they want to.
* @see #decodeSerializedApprovalRequest()
* @return value or {@code null} for none
*/
public java.lang.String getSerializedApprovalRequest() {
return serializedApprovalRequest;
}

/**
* The serialized ApprovalRequest message without the approve.signature_info field. This to allow
* the customer to verify signatures if they want to.
* @see #getSerializedApprovalRequest()
* @return Base64 decoded value or {@code null} for none
*
* @since 1.14
*/
public byte[] decodeSerializedApprovalRequest() {
return com.google.api.client.util.Base64.decodeBase64(serializedApprovalRequest);
}

/**
* The serialized ApprovalRequest message without the approve.signature_info field. This to allow
* the customer to verify signatures if they want to.
* @see #encodeSerializedApprovalRequest()
* @param serializedApprovalRequest serializedApprovalRequest or {@code null} for none
*/
public SignatureInfo setSerializedApprovalRequest(java.lang.String serializedApprovalRequest) {
this.serializedApprovalRequest = serializedApprovalRequest;
return this;
}

/**
* The serialized ApprovalRequest message without the approve.signature_info field. This to allow
* the customer to verify signatures if they want to.
* @see #setSerializedApprovalRequest()
*
* <p>
* The value is encoded Base64 or {@code null} for none.
* </p>
*
* @since 1.14
*/
public SignatureInfo encodeSerializedApprovalRequest(byte[] serializedApprovalRequest) {
this.serializedApprovalRequest = com.google.api.client.util.Base64.encodeBase64URLSafeString(serializedApprovalRequest);
return this;
}

/**
* The digital signature.
* @see #decodeSignature()
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-accessapproval/v1/2.0.0/pom.xml
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-accessapproval</artifactId>
<version>v1-rev20231020-2.0.0</version>
<name>Access Approval API v1-rev20231020-2.0.0</name>
<version>v1-rev20231110-2.0.0</version>
<name>Access Approval API v1-rev20231110-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-accessapproval/v1/README.md
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-accessapproval</artifactId>
<version>v1-rev20231020-2.0.0</version>
<version>v1-rev20231110-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-accessapproval:v1-rev20231020-2.0.0'
implementation 'com.google.apis:google-api-services-accessapproval:v1-rev20231110-2.0.0'
}
```

Expand Down

0 comments on commit 6634597

Please sign in to comment.