@googleapis/dns 11.0.2 → 12.0.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 +19 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +60 -6
- package/build/v1.js.map +1 -1
- package/build/v1beta2.d.ts +60 -6
- package/build/v1beta2.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +67 -32
- package/v1beta2.ts +67 -32
package/v1.ts
CHANGED
|
@@ -414,6 +414,31 @@ export namespace dns_v1 {
|
|
|
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
|
*/
|
|
@@ -1192,6 +1217,23 @@ export namespace dns_v1 {
|
|
|
1192
1217
|
*/
|
|
1193
1218
|
weight?: number | null;
|
|
1194
1219
|
}
|
|
1220
|
+
/**
|
|
1221
|
+
* 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).
|
|
1222
|
+
*/
|
|
1223
|
+
export interface Schema$Status {
|
|
1224
|
+
/**
|
|
1225
|
+
* The status code, which should be an enum value of google.rpc.Code.
|
|
1226
|
+
*/
|
|
1227
|
+
code?: number | null;
|
|
1228
|
+
/**
|
|
1229
|
+
* A list of messages that carry the error details. There is a common set of message types for APIs to use.
|
|
1230
|
+
*/
|
|
1231
|
+
details?: Array<{[key: string]: any}> | null;
|
|
1232
|
+
/**
|
|
1233
|
+
* 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.
|
|
1234
|
+
*/
|
|
1235
|
+
message?: string | null;
|
|
1236
|
+
}
|
|
1195
1237
|
|
|
1196
1238
|
export class Resource$Changes {
|
|
1197
1239
|
context: APIRequestContext;
|
|
@@ -1200,7 +1242,7 @@ export namespace dns_v1 {
|
|
|
1200
1242
|
}
|
|
1201
1243
|
|
|
1202
1244
|
/**
|
|
1203
|
-
* Atomically updates the ResourceRecordSet collection.
|
|
1245
|
+
* Atomically updates the ResourceRecordSet collection. Note: While `dns.changes.create` is the baseline permission required to invoke this method, additional permissions are checked depending on the specific additions or deletions contained in the payload.
|
|
1204
1246
|
* @example
|
|
1205
1247
|
* ```js
|
|
1206
1248
|
* // Before running the sample:
|
|
@@ -1314,8 +1356,7 @@ export namespace dns_v1 {
|
|
|
1314
1356
|
| BodyResponseCallback<Schema$Change>
|
|
1315
1357
|
| BodyResponseCallback<Readable>,
|
|
1316
1358
|
callback?:
|
|
1317
|
-
|
|
1318
|
-
| BodyResponseCallback<Readable>
|
|
1359
|
+
BodyResponseCallback<Schema$Change> | BodyResponseCallback<Readable>
|
|
1319
1360
|
):
|
|
1320
1361
|
| void
|
|
1321
1362
|
| Promise<GaxiosResponseWithHTTP2<Schema$Change>>
|
|
@@ -1467,8 +1508,7 @@ export namespace dns_v1 {
|
|
|
1467
1508
|
| BodyResponseCallback<Schema$Change>
|
|
1468
1509
|
| BodyResponseCallback<Readable>,
|
|
1469
1510
|
callback?:
|
|
1470
|
-
|
|
1471
|
-
| BodyResponseCallback<Readable>
|
|
1511
|
+
BodyResponseCallback<Schema$Change> | BodyResponseCallback<Readable>
|
|
1472
1512
|
):
|
|
1473
1513
|
| void
|
|
1474
1514
|
| Promise<GaxiosResponseWithHTTP2<Schema$Change>>
|
|
@@ -1850,8 +1890,7 @@ export namespace dns_v1 {
|
|
|
1850
1890
|
| BodyResponseCallback<Schema$DnsKey>
|
|
1851
1891
|
| BodyResponseCallback<Readable>,
|
|
1852
1892
|
callback?:
|
|
1853
|
-
|
|
1854
|
-
| BodyResponseCallback<Readable>
|
|
1893
|
+
BodyResponseCallback<Schema$DnsKey> | BodyResponseCallback<Readable>
|
|
1855
1894
|
):
|
|
1856
1895
|
| void
|
|
1857
1896
|
| Promise<GaxiosResponseWithHTTP2<Schema$DnsKey>>
|
|
@@ -2207,8 +2246,7 @@ export namespace dns_v1 {
|
|
|
2207
2246
|
| BodyResponseCallback<Schema$Operation>
|
|
2208
2247
|
| BodyResponseCallback<Readable>,
|
|
2209
2248
|
callback?:
|
|
2210
|
-
|
|
2211
|
-
| BodyResponseCallback<Readable>
|
|
2249
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
2212
2250
|
):
|
|
2213
2251
|
| void
|
|
2214
2252
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -2467,7 +2505,7 @@ export namespace dns_v1 {
|
|
|
2467
2505
|
}
|
|
2468
2506
|
|
|
2469
2507
|
/**
|
|
2470
|
-
* Creates a new ManagedZone.
|
|
2508
|
+
* Creates a new ManagedZone. Note: While `dns.managedZones.create` is the baseline permission required to invoke this method, additional permissions are required if the managed zone configuration references other resources.
|
|
2471
2509
|
* @example
|
|
2472
2510
|
* ```js
|
|
2473
2511
|
* // Before running the sample:
|
|
@@ -3182,8 +3220,7 @@ export namespace dns_v1 {
|
|
|
3182
3220
|
list(
|
|
3183
3221
|
params: Params$Resource$Managedzones$List,
|
|
3184
3222
|
options:
|
|
3185
|
-
|
|
|
3186
|
-
| BodyResponseCallback<Schema$ManagedZonesListResponse>,
|
|
3223
|
+
MethodOptions | BodyResponseCallback<Schema$ManagedZonesListResponse>,
|
|
3187
3224
|
callback: BodyResponseCallback<Schema$ManagedZonesListResponse>
|
|
3188
3225
|
): void;
|
|
3189
3226
|
list(
|
|
@@ -3377,8 +3414,7 @@ export namespace dns_v1 {
|
|
|
3377
3414
|
| BodyResponseCallback<Schema$Operation>
|
|
3378
3415
|
| BodyResponseCallback<Readable>,
|
|
3379
3416
|
callback?:
|
|
3380
|
-
|
|
3381
|
-
| BodyResponseCallback<Readable>
|
|
3417
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
3382
3418
|
):
|
|
3383
3419
|
| void
|
|
3384
3420
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -3865,8 +3901,7 @@ export namespace dns_v1 {
|
|
|
3865
3901
|
| BodyResponseCallback<Schema$Operation>
|
|
3866
3902
|
| BodyResponseCallback<Readable>,
|
|
3867
3903
|
callback?:
|
|
3868
|
-
|
|
3869
|
-
| BodyResponseCallback<Readable>
|
|
3904
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
3870
3905
|
):
|
|
3871
3906
|
| void
|
|
3872
3907
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -4170,8 +4205,7 @@ export namespace dns_v1 {
|
|
|
4170
4205
|
| BodyResponseCallback<Schema$Policy>
|
|
4171
4206
|
| BodyResponseCallback<Readable>,
|
|
4172
4207
|
callback?:
|
|
4173
|
-
|
|
4174
|
-
| BodyResponseCallback<Readable>
|
|
4208
|
+
BodyResponseCallback<Schema$Policy> | BodyResponseCallback<Readable>
|
|
4175
4209
|
):
|
|
4176
4210
|
| void
|
|
4177
4211
|
| Promise<GaxiosResponseWithHTTP2<Schema$Policy>>
|
|
@@ -4458,8 +4492,7 @@ export namespace dns_v1 {
|
|
|
4458
4492
|
| BodyResponseCallback<Schema$Policy>
|
|
4459
4493
|
| BodyResponseCallback<Readable>,
|
|
4460
4494
|
callback?:
|
|
4461
|
-
|
|
4462
|
-
| BodyResponseCallback<Readable>
|
|
4495
|
+
BodyResponseCallback<Schema$Policy> | BodyResponseCallback<Readable>
|
|
4463
4496
|
):
|
|
4464
4497
|
| void
|
|
4465
4498
|
| Promise<GaxiosResponseWithHTTP2<Schema$Policy>>
|
|
@@ -4586,8 +4619,7 @@ export namespace dns_v1 {
|
|
|
4586
4619
|
list(
|
|
4587
4620
|
params: Params$Resource$Policies$List,
|
|
4588
4621
|
options:
|
|
4589
|
-
|
|
|
4590
|
-
| BodyResponseCallback<Schema$PoliciesListResponse>,
|
|
4622
|
+
MethodOptions | BodyResponseCallback<Schema$PoliciesListResponse>,
|
|
4591
4623
|
callback: BodyResponseCallback<Schema$PoliciesListResponse>
|
|
4592
4624
|
): void;
|
|
4593
4625
|
list(
|
|
@@ -4747,8 +4779,7 @@ export namespace dns_v1 {
|
|
|
4747
4779
|
patch(
|
|
4748
4780
|
params: Params$Resource$Policies$Patch,
|
|
4749
4781
|
options:
|
|
4750
|
-
|
|
|
4751
|
-
| BodyResponseCallback<Schema$PoliciesPatchResponse>,
|
|
4782
|
+
MethodOptions | BodyResponseCallback<Schema$PoliciesPatchResponse>,
|
|
4752
4783
|
callback: BodyResponseCallback<Schema$PoliciesPatchResponse>
|
|
4753
4784
|
): void;
|
|
4754
4785
|
patch(
|
|
@@ -4907,8 +4938,7 @@ export namespace dns_v1 {
|
|
|
4907
4938
|
update(
|
|
4908
4939
|
params: Params$Resource$Policies$Update,
|
|
4909
4940
|
options:
|
|
4910
|
-
|
|
|
4911
|
-
| BodyResponseCallback<Schema$PoliciesUpdateResponse>,
|
|
4941
|
+
MethodOptions | BodyResponseCallback<Schema$PoliciesUpdateResponse>,
|
|
4912
4942
|
callback: BodyResponseCallback<Schema$PoliciesUpdateResponse>
|
|
4913
4943
|
): void;
|
|
4914
4944
|
update(
|
|
@@ -5175,8 +5205,7 @@ export namespace dns_v1 {
|
|
|
5175
5205
|
| BodyResponseCallback<Schema$Project>
|
|
5176
5206
|
| BodyResponseCallback<Readable>,
|
|
5177
5207
|
callback?:
|
|
5178
|
-
|
|
5179
|
-
| BodyResponseCallback<Readable>
|
|
5208
|
+
BodyResponseCallback<Schema$Project> | BodyResponseCallback<Readable>
|
|
5180
5209
|
):
|
|
5181
5210
|
| void
|
|
5182
5211
|
| Promise<GaxiosResponseWithHTTP2<Schema$Project>>
|
|
@@ -5753,17 +5782,19 @@ export namespace dns_v1 {
|
|
|
5753
5782
|
*
|
|
5754
5783
|
* // Do the magic
|
|
5755
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',
|
|
5756
5787
|
* // Identifies the managed zone addressed by this request. Can be the managed zone name or ID.
|
|
5757
5788
|
* managedZone: 'placeholder-value',
|
|
5758
5789
|
* // Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.
|
|
5759
5790
|
* maxResults: 'placeholder-value',
|
|
5760
|
-
* // 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`.
|
|
5761
5792
|
* name: 'placeholder-value',
|
|
5762
5793
|
* // Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.
|
|
5763
5794
|
* pageToken: 'placeholder-value',
|
|
5764
5795
|
* // Identifies the project addressed by this request.
|
|
5765
5796
|
* project: 'placeholder-value',
|
|
5766
|
-
* // 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`.
|
|
5767
5798
|
* type: 'placeholder-value',
|
|
5768
5799
|
* });
|
|
5769
5800
|
* console.log(res.data);
|
|
@@ -6110,6 +6141,10 @@ export namespace dns_v1 {
|
|
|
6110
6141
|
type?: string;
|
|
6111
6142
|
}
|
|
6112
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;
|
|
6113
6148
|
/**
|
|
6114
6149
|
* Identifies the managed zone addressed by this request. Can be the managed zone name or ID.
|
|
6115
6150
|
*/
|
|
@@ -6119,7 +6154,7 @@ export namespace dns_v1 {
|
|
|
6119
6154
|
*/
|
|
6120
6155
|
maxResults?: number;
|
|
6121
6156
|
/**
|
|
6122
|
-
* 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`.
|
|
6123
6158
|
*/
|
|
6124
6159
|
name?: string;
|
|
6125
6160
|
/**
|
|
@@ -6131,7 +6166,7 @@ export namespace dns_v1 {
|
|
|
6131
6166
|
*/
|
|
6132
6167
|
project?: string;
|
|
6133
6168
|
/**
|
|
6134
|
-
* 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`.
|
|
6135
6170
|
*/
|
|
6136
6171
|
type?: string;
|
|
6137
6172
|
}
|
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;
|
|
@@ -1201,7 +1243,7 @@ export namespace dns_v1beta2 {
|
|
|
1201
1243
|
}
|
|
1202
1244
|
|
|
1203
1245
|
/**
|
|
1204
|
-
* Atomically updates the ResourceRecordSet collection.
|
|
1246
|
+
* Atomically updates the ResourceRecordSet collection. Note: While `dns.changes.create` is the baseline permission required to invoke this method, additional permissions are checked depending on the specific additions or deletions contained in the payload.
|
|
1205
1247
|
* @example
|
|
1206
1248
|
* ```js
|
|
1207
1249
|
* // Before running the sample:
|
|
@@ -1315,8 +1357,7 @@ export namespace dns_v1beta2 {
|
|
|
1315
1357
|
| BodyResponseCallback<Schema$Change>
|
|
1316
1358
|
| BodyResponseCallback<Readable>,
|
|
1317
1359
|
callback?:
|
|
1318
|
-
|
|
1319
|
-
| BodyResponseCallback<Readable>
|
|
1360
|
+
BodyResponseCallback<Schema$Change> | BodyResponseCallback<Readable>
|
|
1320
1361
|
):
|
|
1321
1362
|
| void
|
|
1322
1363
|
| Promise<GaxiosResponseWithHTTP2<Schema$Change>>
|
|
@@ -1468,8 +1509,7 @@ export namespace dns_v1beta2 {
|
|
|
1468
1509
|
| BodyResponseCallback<Schema$Change>
|
|
1469
1510
|
| BodyResponseCallback<Readable>,
|
|
1470
1511
|
callback?:
|
|
1471
|
-
|
|
1472
|
-
| BodyResponseCallback<Readable>
|
|
1512
|
+
BodyResponseCallback<Schema$Change> | BodyResponseCallback<Readable>
|
|
1473
1513
|
):
|
|
1474
1514
|
| void
|
|
1475
1515
|
| Promise<GaxiosResponseWithHTTP2<Schema$Change>>
|
|
@@ -1851,8 +1891,7 @@ export namespace dns_v1beta2 {
|
|
|
1851
1891
|
| BodyResponseCallback<Schema$DnsKey>
|
|
1852
1892
|
| BodyResponseCallback<Readable>,
|
|
1853
1893
|
callback?:
|
|
1854
|
-
|
|
1855
|
-
| BodyResponseCallback<Readable>
|
|
1894
|
+
BodyResponseCallback<Schema$DnsKey> | BodyResponseCallback<Readable>
|
|
1856
1895
|
):
|
|
1857
1896
|
| void
|
|
1858
1897
|
| Promise<GaxiosResponseWithHTTP2<Schema$DnsKey>>
|
|
@@ -2208,8 +2247,7 @@ export namespace dns_v1beta2 {
|
|
|
2208
2247
|
| BodyResponseCallback<Schema$Operation>
|
|
2209
2248
|
| BodyResponseCallback<Readable>,
|
|
2210
2249
|
callback?:
|
|
2211
|
-
|
|
2212
|
-
| BodyResponseCallback<Readable>
|
|
2250
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
2213
2251
|
):
|
|
2214
2252
|
| void
|
|
2215
2253
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -2468,7 +2506,7 @@ export namespace dns_v1beta2 {
|
|
|
2468
2506
|
}
|
|
2469
2507
|
|
|
2470
2508
|
/**
|
|
2471
|
-
* Creates a new ManagedZone.
|
|
2509
|
+
* Creates a new ManagedZone. Note: While `dns.managedZones.create` is the baseline permission required to invoke this method, additional permissions are required if the managed zone configuration references other resources.
|
|
2472
2510
|
* @example
|
|
2473
2511
|
* ```js
|
|
2474
2512
|
* // Before running the sample:
|
|
@@ -3184,8 +3222,7 @@ export namespace dns_v1beta2 {
|
|
|
3184
3222
|
list(
|
|
3185
3223
|
params: Params$Resource$Managedzones$List,
|
|
3186
3224
|
options:
|
|
3187
|
-
|
|
|
3188
|
-
| BodyResponseCallback<Schema$ManagedZonesListResponse>,
|
|
3225
|
+
MethodOptions | BodyResponseCallback<Schema$ManagedZonesListResponse>,
|
|
3189
3226
|
callback: BodyResponseCallback<Schema$ManagedZonesListResponse>
|
|
3190
3227
|
): void;
|
|
3191
3228
|
list(
|
|
@@ -3378,8 +3415,7 @@ export namespace dns_v1beta2 {
|
|
|
3378
3415
|
| BodyResponseCallback<Schema$Operation>
|
|
3379
3416
|
| BodyResponseCallback<Readable>,
|
|
3380
3417
|
callback?:
|
|
3381
|
-
|
|
3382
|
-
| BodyResponseCallback<Readable>
|
|
3418
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
3383
3419
|
):
|
|
3384
3420
|
| void
|
|
3385
3421
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -3866,8 +3902,7 @@ export namespace dns_v1beta2 {
|
|
|
3866
3902
|
| BodyResponseCallback<Schema$Operation>
|
|
3867
3903
|
| BodyResponseCallback<Readable>,
|
|
3868
3904
|
callback?:
|
|
3869
|
-
|
|
3870
|
-
| BodyResponseCallback<Readable>
|
|
3905
|
+
BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
|
|
3871
3906
|
):
|
|
3872
3907
|
| void
|
|
3873
3908
|
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
@@ -4172,8 +4207,7 @@ export namespace dns_v1beta2 {
|
|
|
4172
4207
|
| BodyResponseCallback<Schema$Policy>
|
|
4173
4208
|
| BodyResponseCallback<Readable>,
|
|
4174
4209
|
callback?:
|
|
4175
|
-
|
|
4176
|
-
| BodyResponseCallback<Readable>
|
|
4210
|
+
BodyResponseCallback<Schema$Policy> | BodyResponseCallback<Readable>
|
|
4177
4211
|
):
|
|
4178
4212
|
| void
|
|
4179
4213
|
| Promise<GaxiosResponseWithHTTP2<Schema$Policy>>
|
|
@@ -4460,8 +4494,7 @@ export namespace dns_v1beta2 {
|
|
|
4460
4494
|
| BodyResponseCallback<Schema$Policy>
|
|
4461
4495
|
| BodyResponseCallback<Readable>,
|
|
4462
4496
|
callback?:
|
|
4463
|
-
|
|
4464
|
-
| BodyResponseCallback<Readable>
|
|
4497
|
+
BodyResponseCallback<Schema$Policy> | BodyResponseCallback<Readable>
|
|
4465
4498
|
):
|
|
4466
4499
|
| void
|
|
4467
4500
|
| Promise<GaxiosResponseWithHTTP2<Schema$Policy>>
|
|
@@ -4588,8 +4621,7 @@ export namespace dns_v1beta2 {
|
|
|
4588
4621
|
list(
|
|
4589
4622
|
params: Params$Resource$Policies$List,
|
|
4590
4623
|
options:
|
|
4591
|
-
|
|
|
4592
|
-
| BodyResponseCallback<Schema$PoliciesListResponse>,
|
|
4624
|
+
MethodOptions | BodyResponseCallback<Schema$PoliciesListResponse>,
|
|
4593
4625
|
callback: BodyResponseCallback<Schema$PoliciesListResponse>
|
|
4594
4626
|
): void;
|
|
4595
4627
|
list(
|
|
@@ -4749,8 +4781,7 @@ export namespace dns_v1beta2 {
|
|
|
4749
4781
|
patch(
|
|
4750
4782
|
params: Params$Resource$Policies$Patch,
|
|
4751
4783
|
options:
|
|
4752
|
-
|
|
|
4753
|
-
| BodyResponseCallback<Schema$PoliciesPatchResponse>,
|
|
4784
|
+
MethodOptions | BodyResponseCallback<Schema$PoliciesPatchResponse>,
|
|
4754
4785
|
callback: BodyResponseCallback<Schema$PoliciesPatchResponse>
|
|
4755
4786
|
): void;
|
|
4756
4787
|
patch(
|
|
@@ -4909,8 +4940,7 @@ export namespace dns_v1beta2 {
|
|
|
4909
4940
|
update(
|
|
4910
4941
|
params: Params$Resource$Policies$Update,
|
|
4911
4942
|
options:
|
|
4912
|
-
|
|
|
4913
|
-
| BodyResponseCallback<Schema$PoliciesUpdateResponse>,
|
|
4943
|
+
MethodOptions | BodyResponseCallback<Schema$PoliciesUpdateResponse>,
|
|
4914
4944
|
callback: BodyResponseCallback<Schema$PoliciesUpdateResponse>
|
|
4915
4945
|
): void;
|
|
4916
4946
|
update(
|
|
@@ -5177,8 +5207,7 @@ export namespace dns_v1beta2 {
|
|
|
5177
5207
|
| BodyResponseCallback<Schema$Project>
|
|
5178
5208
|
| BodyResponseCallback<Readable>,
|
|
5179
5209
|
callback?:
|
|
5180
|
-
|
|
5181
|
-
| BodyResponseCallback<Readable>
|
|
5210
|
+
BodyResponseCallback<Schema$Project> | BodyResponseCallback<Readable>
|
|
5182
5211
|
):
|
|
5183
5212
|
| void
|
|
5184
5213
|
| Promise<GaxiosResponseWithHTTP2<Schema$Project>>
|
|
@@ -5740,17 +5769,19 @@ export namespace dns_v1beta2 {
|
|
|
5740
5769
|
*
|
|
5741
5770
|
* // Do the magic
|
|
5742
5771
|
* const res = await dns.resourceRecordSets.list({
|
|
5772
|
+
* // 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"
|
|
5773
|
+
* filter: 'placeholder-value',
|
|
5743
5774
|
* // Identifies the managed zone addressed by this request. Can be the managed zone name or ID.
|
|
5744
5775
|
* managedZone: 'placeholder-value',
|
|
5745
5776
|
* // Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.
|
|
5746
5777
|
* 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
|
|
5778
|
+
* // 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
5779
|
* name: 'placeholder-value',
|
|
5749
5780
|
* // Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.
|
|
5750
5781
|
* pageToken: 'placeholder-value',
|
|
5751
5782
|
* // Identifies the project addressed by this request.
|
|
5752
5783
|
* 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
|
|
5784
|
+
* // 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
5785
|
* type: 'placeholder-value',
|
|
5755
5786
|
* });
|
|
5756
5787
|
* console.log(res.data);
|
|
@@ -6097,6 +6128,10 @@ export namespace dns_v1beta2 {
|
|
|
6097
6128
|
type?: string;
|
|
6098
6129
|
}
|
|
6099
6130
|
export interface Params$Resource$Resourcerecordsets$List extends StandardParameters {
|
|
6131
|
+
/**
|
|
6132
|
+
* 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"
|
|
6133
|
+
*/
|
|
6134
|
+
filter?: string;
|
|
6100
6135
|
/**
|
|
6101
6136
|
* Identifies the managed zone addressed by this request. Can be the managed zone name or ID.
|
|
6102
6137
|
*/
|
|
@@ -6106,7 +6141,7 @@ export namespace dns_v1beta2 {
|
|
|
6106
6141
|
*/
|
|
6107
6142
|
maxResults?: number;
|
|
6108
6143
|
/**
|
|
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
|
|
6144
|
+
* 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
6145
|
*/
|
|
6111
6146
|
name?: string;
|
|
6112
6147
|
/**
|
|
@@ -6118,7 +6153,7 @@ export namespace dns_v1beta2 {
|
|
|
6118
6153
|
*/
|
|
6119
6154
|
project?: string;
|
|
6120
6155
|
/**
|
|
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
|
|
6156
|
+
* 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
6157
|
*/
|
|
6123
6158
|
type?: string;
|
|
6124
6159
|
}
|