@googleapis/dns 11.0.2 → 11.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +58 -4
- package/build/v1.js.map +1 -1
- package/build/v1beta2.d.ts +58 -4
- package/build/v1beta2.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +52 -4
- package/v1beta2.ts +52 -4
package/v1beta2.ts
CHANGED
|
@@ -414,6 +414,31 @@ export namespace dns_v1beta2 {
|
|
|
414
414
|
*/
|
|
415
415
|
permissions?: string[] | null;
|
|
416
416
|
}
|
|
417
|
+
/**
|
|
418
|
+
* This resource represents a long-running operation that is the result of a network API call.
|
|
419
|
+
*/
|
|
420
|
+
export interface Schema$GoogleLongrunningOperation {
|
|
421
|
+
/**
|
|
422
|
+
* If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
|
|
423
|
+
*/
|
|
424
|
+
done?: boolean | null;
|
|
425
|
+
/**
|
|
426
|
+
* The error result of the operation in case of failure or cancellation.
|
|
427
|
+
*/
|
|
428
|
+
error?: Schema$Status;
|
|
429
|
+
/**
|
|
430
|
+
* Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
431
|
+
*/
|
|
432
|
+
metadata?: {[key: string]: any} | null;
|
|
433
|
+
/**
|
|
434
|
+
* The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id\}`.
|
|
435
|
+
*/
|
|
436
|
+
name?: string | null;
|
|
437
|
+
/**
|
|
438
|
+
* The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
439
|
+
*/
|
|
440
|
+
response?: {[key: string]: any} | null;
|
|
441
|
+
}
|
|
417
442
|
/**
|
|
418
443
|
* A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.
|
|
419
444
|
*/
|
|
@@ -1193,6 +1218,23 @@ export namespace dns_v1beta2 {
|
|
|
1193
1218
|
*/
|
|
1194
1219
|
weight?: number | null;
|
|
1195
1220
|
}
|
|
1221
|
+
/**
|
|
1222
|
+
* The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1223
|
+
*/
|
|
1224
|
+
export interface Schema$Status {
|
|
1225
|
+
/**
|
|
1226
|
+
* The status code, which should be an enum value of google.rpc.Code.
|
|
1227
|
+
*/
|
|
1228
|
+
code?: number | null;
|
|
1229
|
+
/**
|
|
1230
|
+
* A list of messages that carry the error details. There is a common set of message types for APIs to use.
|
|
1231
|
+
*/
|
|
1232
|
+
details?: Array<{[key: string]: any}> | null;
|
|
1233
|
+
/**
|
|
1234
|
+
* A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
|
|
1235
|
+
*/
|
|
1236
|
+
message?: string | null;
|
|
1237
|
+
}
|
|
1196
1238
|
|
|
1197
1239
|
export class Resource$Changes {
|
|
1198
1240
|
context: APIRequestContext;
|
|
@@ -5740,17 +5782,19 @@ export namespace dns_v1beta2 {
|
|
|
5740
5782
|
*
|
|
5741
5783
|
* // Do the magic
|
|
5742
5784
|
* const res = await dns.resourceRecordSets.list({
|
|
5785
|
+
* // Specify a filter expression to view records that exactly match the specified domain. Both the `name` and `type` parameters are not supported and must be omitted when you use `filter`. Your `filter` expression must conform to AIP-160 and you must specify a domain in the `name` field. Optionally, you can include the `type` field to filter records by type. You can also include the `has_suffix` function to view records that match by domain suffix. Examples: * `name`="example.com." * `name`="example.com." AND type="A" * `name`=`has_suffix`("example.com.") * `name`=`has_suffix`("example.com.") AND type="A"
|
|
5786
|
+
* filter: 'placeholder-value',
|
|
5743
5787
|
* // Identifies the managed zone addressed by this request. Can be the managed zone name or ID.
|
|
5744
5788
|
* managedZone: 'placeholder-value',
|
|
5745
5789
|
* // Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.
|
|
5746
5790
|
* maxResults: 'placeholder-value',
|
|
5747
|
-
* // Specify a fully qualified domain name to view only those records. The name parameter is not supported and must be omitted when you use filter
|
|
5791
|
+
* // Specify a fully qualified domain name to view only those records. The `name` parameter is not supported and must be omitted when you use `filter`.
|
|
5748
5792
|
* name: 'placeholder-value',
|
|
5749
5793
|
* // Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.
|
|
5750
5794
|
* pageToken: 'placeholder-value',
|
|
5751
5795
|
* // Identifies the project addressed by this request.
|
|
5752
5796
|
* project: 'placeholder-value',
|
|
5753
|
-
* // Specify a record type to view only those records. You must also specify the name parameter. The type parameter is not supported and must be omitted when you use filter
|
|
5797
|
+
* // Specify a record type to view only those records. You must also specify the `name` parameter. The `type` parameter is not supported and must be omitted when you use `filter`.
|
|
5754
5798
|
* type: 'placeholder-value',
|
|
5755
5799
|
* });
|
|
5756
5800
|
* console.log(res.data);
|
|
@@ -6097,6 +6141,10 @@ export namespace dns_v1beta2 {
|
|
|
6097
6141
|
type?: string;
|
|
6098
6142
|
}
|
|
6099
6143
|
export interface Params$Resource$Resourcerecordsets$List extends StandardParameters {
|
|
6144
|
+
/**
|
|
6145
|
+
* Specify a filter expression to view records that exactly match the specified domain. Both the `name` and `type` parameters are not supported and must be omitted when you use `filter`. Your `filter` expression must conform to AIP-160 and you must specify a domain in the `name` field. Optionally, you can include the `type` field to filter records by type. You can also include the `has_suffix` function to view records that match by domain suffix. Examples: * `name`="example.com." * `name`="example.com." AND type="A" * `name`=`has_suffix`("example.com.") * `name`=`has_suffix`("example.com.") AND type="A"
|
|
6146
|
+
*/
|
|
6147
|
+
filter?: string;
|
|
6100
6148
|
/**
|
|
6101
6149
|
* Identifies the managed zone addressed by this request. Can be the managed zone name or ID.
|
|
6102
6150
|
*/
|
|
@@ -6106,7 +6154,7 @@ export namespace dns_v1beta2 {
|
|
|
6106
6154
|
*/
|
|
6107
6155
|
maxResults?: number;
|
|
6108
6156
|
/**
|
|
6109
|
-
* Specify a fully qualified domain name to view only those records. The name parameter is not supported and must be omitted when you use filter
|
|
6157
|
+
* Specify a fully qualified domain name to view only those records. The `name` parameter is not supported and must be omitted when you use `filter`.
|
|
6110
6158
|
*/
|
|
6111
6159
|
name?: string;
|
|
6112
6160
|
/**
|
|
@@ -6118,7 +6166,7 @@ export namespace dns_v1beta2 {
|
|
|
6118
6166
|
*/
|
|
6119
6167
|
project?: string;
|
|
6120
6168
|
/**
|
|
6121
|
-
* Specify a record type to view only those records. You must also specify the name parameter. The type parameter is not supported and must be omitted when you use filter
|
|
6169
|
+
* Specify a record type to view only those records. You must also specify the `name` parameter. The `type` parameter is not supported and must be omitted when you use `filter`.
|
|
6122
6170
|
*/
|
|
6123
6171
|
type?: string;
|
|
6124
6172
|
}
|