You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bc80666
Browse filesBrowse the repository at this point in the historyBrowse files
fix(secretmanager)!: regenerate with EnableManagedRotationRequest changes (#9818)
Follow-up to #9817, which held back `google-cloud-secretmanager` with
`skip_generate: true`.
This PR removes `skip_generate` (and its `comment`) from
`google-cloud-secretmanager` in `librarian.yaml` and regenerates the
package with the googleapis commit already on main (`librarian generate
google-cloud-secretmanager` + `librarian tidy`, librarian v0.51.0). Only
`librarian.yaml` and 7 files under
`packages/google-cloud-secretmanager/` change.
The regeneration includes googleapis
googleapis/googleapis@e99a085652:
- `feat`: add top-level `CloudSqlSingleUserCredentials` message in
`resources.proto`.
- `fix!`: `EnableManagedRotationRequest` references the top-level
`CloudSqlSingleUserCredentials` (the nested
`CloudSQLSingleUserCredentials` message is removed), and `oneof
credentials` is renamed to `oneof credential`.
The field `cloud_sql_single_user_credentials` (number 2) and the message
fields are unchanged, so the wire format and plain-object requests are
unchanged. TypeScript code that names
`EnableManagedRotationRequest.ICloudSQLSingleUserCredentials` or reads
the `credentials` oneof property needs updating. The `!` in the title
releases `@google-cloud/secret-manager` as a new major version (8.0.0).
BREAKING CHANGE: `EnableManagedRotationRequest` now references the
top-level `CloudSqlSingleUserCredentials` message, and its oneof
`credentials` is renamed to `credential`.
🤖 _Opened by an AI agent on behalf of zhumin._
Copy file name to clipboardExpand all lines: librarian.yaml
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1491,12 +1491,10 @@ libraries:
1491
1491
main_service: scheduler
1492
1492
- name: google-cloud-secretmanager
1493
1493
version: 7.2.0
1494
-
comment: Generation is skipped temporarily so the EnableManagedRotationRequest change (oneof credentials renamed to credential, top-level CloudSqlSingleUserCredentials) is regenerated in a separate pull request, which removes skip_generate before the next release.
* Creates a new CloudSqlSingleUserCredentials instance using the specified properties.
1858
+
* @param [properties] Properties to set
1859
+
* @returns CloudSqlSingleUserCredentials instance
1860
+
*/
1861
+
public static create(properties?: google.cloud.secretmanager.v1.ICloudSqlSingleUserCredentials): google.cloud.secretmanager.v1.CloudSqlSingleUserCredentials;
1862
+
1863
+
/**
1864
+
* Encodes the specified CloudSqlSingleUserCredentials message. Does not implicitly {@link google.cloud.secretmanager.v1.CloudSqlSingleUserCredentials.verify|verify} messages.
1865
+
* @param message CloudSqlSingleUserCredentials message or plain object to encode
1866
+
* @param [writer] Writer to encode to
1867
+
* @returns Writer
1868
+
*/
1869
+
public static encode(message: google.cloud.secretmanager.v1.ICloudSqlSingleUserCredentials, writer?: $protobuf.Writer): $protobuf.Writer;
1870
+
1871
+
/**
1872
+
* Encodes the specified CloudSqlSingleUserCredentials message, length delimited. Does not implicitly {@link google.cloud.secretmanager.v1.CloudSqlSingleUserCredentials.verify|verify} messages.
1873
+
* @param message CloudSqlSingleUserCredentials message or plain object to encode
1874
+
* @param [writer] Writer to encode to
1875
+
* @returns Writer
1876
+
*/
1877
+
public static encodeDelimited(message: google.cloud.secretmanager.v1.ICloudSqlSingleUserCredentials, writer?: $protobuf.Writer): $protobuf.Writer;
1878
+
1879
+
/**
1880
+
* Decodes a CloudSqlSingleUserCredentials message from the specified reader or buffer.
1881
+
* @param reader Reader or buffer to decode from
1882
+
* @param [length] Message length if known beforehand
1883
+
* @returns CloudSqlSingleUserCredentials
1884
+
* @throws {Error} If the payload is not a reader or valid buffer
1885
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1886
+
*/
1887
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.secretmanager.v1.CloudSqlSingleUserCredentials;
1888
+
1889
+
/**
1890
+
* Decodes a CloudSqlSingleUserCredentials message from the specified reader or buffer, length delimited.
1891
+
* @param reader Reader or buffer to decode from
1892
+
* @returns CloudSqlSingleUserCredentials
1893
+
* @throws {Error} If the payload is not a reader or valid buffer
1894
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
1895
+
*/
1896
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.secretmanager.v1.CloudSqlSingleUserCredentials;
1897
+
1898
+
/**
1899
+
* Verifies a CloudSqlSingleUserCredentials message.
1900
+
* @param message Plain object to verify
1901
+
* @returns `null` if valid, otherwise the reason why it is not
1902
+
*/
1903
+
public static verify(message: { [k: string]: any }): (string|null);
1904
+
1905
+
/**
1906
+
* Creates a CloudSqlSingleUserCredentials message from a plain object. Also converts values to their respective internal types.
1907
+
* @param object Plain object
1908
+
* @returns CloudSqlSingleUserCredentials
1909
+
*/
1910
+
public static fromObject(object: { [k: string]: any }): google.cloud.secretmanager.v1.CloudSqlSingleUserCredentials;
1911
+
1912
+
/**
1913
+
* Creates a plain object from a CloudSqlSingleUserCredentials message. Also converts values to other types if specified.
1914
+
* @param message CloudSqlSingleUserCredentials
1915
+
* @param [options] Conversion options
1916
+
* @returns Plain object
1917
+
*/
1918
+
public static toObject(message: google.cloud.secretmanager.v1.CloudSqlSingleUserCredentials, options?: $protobuf.IConversionOptions): { [k: string]: any };
1919
+
1920
+
/**
1921
+
* Converts this CloudSqlSingleUserCredentials to JSON.
1922
+
* @returns JSON object
1923
+
*/
1924
+
public toJSON(): { [k: string]: any };
1925
+
1926
+
/**
1927
+
* Gets the default type url for CloudSqlSingleUserCredentials
1928
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1929
+
* @returns The default type url
1930
+
*/
1931
+
public static getTypeUrl(typeUrlPrefix?: string): string;
1932
+
}
1933
+
1825
1934
/** Represents a SecretManagerService */
1826
1935
class SecretManagerService extends $protobuf.rpc.Service {
* Creates a new CloudSQLSingleUserCredentials instance using the specified properties.
2783
-
* @param [properties] Properties to set
2784
-
* @returns CloudSQLSingleUserCredentials instance
2785
-
*/
2786
-
public static create(properties?: google.cloud.secretmanager.v1.EnableManagedRotationRequest.ICloudSQLSingleUserCredentials): google.cloud.secretmanager.v1.EnableManagedRotationRequest.CloudSQLSingleUserCredentials;
2787
-
2788
-
/**
2789
-
* Encodes the specified CloudSQLSingleUserCredentials message. Does not implicitly {@link google.cloud.secretmanager.v1.EnableManagedRotationRequest.CloudSQLSingleUserCredentials.verify|verify} messages.
2790
-
* @param message CloudSQLSingleUserCredentials message or plain object to encode
2791
-
* @param [writer] Writer to encode to
2792
-
* @returns Writer
2793
-
*/
2794
-
public static encode(message: google.cloud.secretmanager.v1.EnableManagedRotationRequest.ICloudSQLSingleUserCredentials, writer?: $protobuf.Writer): $protobuf.Writer;
2795
-
2796
-
/**
2797
-
* Encodes the specified CloudSQLSingleUserCredentials message, length delimited. Does not implicitly {@link google.cloud.secretmanager.v1.EnableManagedRotationRequest.CloudSQLSingleUserCredentials.verify|verify} messages.
2798
-
* @param message CloudSQLSingleUserCredentials message or plain object to encode
2799
-
* @param [writer] Writer to encode to
2800
-
* @returns Writer
2801
-
*/
2802
-
public static encodeDelimited(message: google.cloud.secretmanager.v1.EnableManagedRotationRequest.ICloudSQLSingleUserCredentials, writer?: $protobuf.Writer): $protobuf.Writer;
2803
-
2804
-
/**
2805
-
* Decodes a CloudSQLSingleUserCredentials message from the specified reader or buffer.
2806
-
* @param reader Reader or buffer to decode from
2807
-
* @param [length] Message length if known beforehand
2808
-
* @returns CloudSQLSingleUserCredentials
2809
-
* @throws {Error} If the payload is not a reader or valid buffer
2810
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2811
-
*/
2812
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.secretmanager.v1.EnableManagedRotationRequest.CloudSQLSingleUserCredentials;
2813
-
2814
-
/**
2815
-
* Decodes a CloudSQLSingleUserCredentials message from the specified reader or buffer, length delimited.
2816
-
* @param reader Reader or buffer to decode from
2817
-
* @returns CloudSQLSingleUserCredentials
2818
-
* @throws {Error} If the payload is not a reader or valid buffer
2819
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
2820
-
*/
2821
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.secretmanager.v1.EnableManagedRotationRequest.CloudSQLSingleUserCredentials;
2822
-
2823
-
/**
2824
-
* Verifies a CloudSQLSingleUserCredentials message.
2825
-
* @param message Plain object to verify
2826
-
* @returns `null` if valid, otherwise the reason why it is not
2827
-
*/
2828
-
public static verify(message: { [k: string]: any }): (string|null);
2829
-
2830
-
/**
2831
-
* Creates a CloudSQLSingleUserCredentials message from a plain object. Also converts values to their respective internal types.
2832
-
* @param object Plain object
2833
-
* @returns CloudSQLSingleUserCredentials
2834
-
*/
2835
-
public static fromObject(object: { [k: string]: any }): google.cloud.secretmanager.v1.EnableManagedRotationRequest.CloudSQLSingleUserCredentials;
2836
-
2837
-
/**
2838
-
* Creates a plain object from a CloudSQLSingleUserCredentials message. Also converts values to other types if specified.
2839
-
* @param message CloudSQLSingleUserCredentials
2840
-
* @param [options] Conversion options
2841
-
* @returns Plain object
2842
-
*/
2843
-
public static toObject(message: google.cloud.secretmanager.v1.EnableManagedRotationRequest.CloudSQLSingleUserCredentials, options?: $protobuf.IConversionOptions): { [k: string]: any };
2844
-
2845
-
/**
2846
-
* Converts this CloudSQLSingleUserCredentials to JSON.
2847
-
* @returns JSON object
2848
-
*/
2849
-
public toJSON(): { [k: string]: any };
2850
-
2851
-
/**
2852
-
* Gets the default type url for CloudSQLSingleUserCredentials
2853
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2854
-
* @returns The default type url
2855
-
*/
2856
-
public static getTypeUrl(typeUrlPrefix?: string): string;
0 commit comments