From 7f5fc43f85bb06d8ac64fc31ed55c72a6f284d3a Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Mon, 6 Apr 2020 15:43:32 -0700 Subject: [PATCH 1/5] Change triggered by none of the following: This git repo (https://github.com/googleapis/java-compute.git) Git repo https://github.com/googleapis/discovery-artifact-manager.git Git repo https://github.com/googleapis/synthtool.git --- README.md | 4 +++- synth.metadata | 5 ++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6a25e2837..33f3dcc45 100644 --- a/README.md +++ b/README.md @@ -26,12 +26,13 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file + com.google.cloud google-cloud-compute - + ``` [//]: # ({x-version-update-start:google-cloud-compute:released}) @@ -44,6 +45,7 @@ If you are using Maven without BOM, add this to your dependencies: google-cloud-compute 0.117.0-alpha + ``` If you are using Gradle, add this to your dependencies diff --git a/synth.metadata b/synth.metadata index babda543f..40e05fba0 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,12 +1,11 @@ { - "updateTime": "2020-03-28T22:18:01.022852Z", + "updateTime": "2020-04-06T22:43:32.015306Z", "sources": [ { "git": { "name": "discovery-artifact-manager", "remote": "https://github.com/googleapis/discovery-artifact-manager.git", - "sha": "719a847d02865d80d6d6a5a66ffcd158015684d3", - "log": "719a847d02865d80d6d6a5a66ffcd158015684d3\nFix bazel generation for discogapic clients. (#141)\n\nAlso update compute_gapic.yaml.\n\nNote, the checked in cumput_gapic.yaml is not used for bazel generation and is kept here only for backward compatibility with artman generation. Bazel generates the gapic file on the fly.\nabe9fcd78c3ef527716eb1bfafb8c77c851c8e4d\nAutogenerated Discovery document update\n\n6c4449ad5b3eff4360311d71894522d9b03e5972\nAutogenerated Discovery document update\n\n7fe0e39ae3ba1f4405702e619e200d5dceabf8e1\nAutogenerated Discovery document update\n\n4661a533444bd68f37f84286b14e3505d27aba91\nAutogenerated Discovery document update\n\nd6430d09ef332c10c50e8a0475b5c973fad19e18\nAutogenerated Discovery document update\n\nbd35ad3863562dea4265ac88c66463028e956441\nAutogenerated Discovery document update\n\nafc14ac6568f527341bdcfd63a83ca4e429a6d68\nAutogenerated Discovery document update\n\ne6442c057fba0ee709f175476e145b71e584e41f\nAutogenerated Discovery document update\n\n8ee582db975ceea20932dd1da91ae5e421ca79d1\nAutogenerated Discovery document update\n\nbc5a72184951eae70dc0a0c74f582e328a471f22\nAutogenerated Discovery document update\n\n9ab844f1ac91a48527a4da70ca3fb0cf8dba5143\nAutogenerated Discovery document update\n\n4c973f85695c4c886b115049a099897025ecba58\nAutogenerated Discovery document update\n\ndcaf8e37e14a9fcc250f297ea289de8dcc65c54b\nAutogenerated Discovery document update\n\ncaee08bf581a606428f6dee9a444ceab2856cc74\nAutogenerated Discovery document update\n\n9acf934b1896d8a79f3a9ad44e667b0a60efed90\nAutogenerated Discovery document update\n\nc590e06b58dc4391a966844be76d27ae73c88289\nAutogenerated Discovery document update\n\n0915c02a3bba7aa11cf4c8cf782e3858aa518afd\nAutogenerated Discovery document update\n\n18c66fb2c8da551ff39c4b25368e7a9501134f34\nAutogenerated Discovery document update\n\nf051c487e5c455149e31ad233f1a06ea77c8053c\nAutogenerated Discovery document update\n\n7de1d731a57f42cb0a9ea558fd02bce316df194f\nAutogenerated Discovery document update\n\n6f84e2594bce34469fb68266be69bb99a122852b\nAutogenerated Discovery document update\n\n30016ff40504fd8b999c6992eebfd401e6b2fe83\nAutogenerated Discovery document update\n\ne205b6cefe3f1c39b43211710ea8837c3b4bdf98\nAutogenerated Discovery document update\n\n1e72ab1750e856792222e57d86b3719ccc349b72\nAutogenerated Discovery document update\n\n274949076299d39281de6ded15d449dfb4696ed5\nAutogenerated Discovery document update\n\ne57382379465f8dddd04d4fc8c7c3a9b3ddbb7ce\nAutogenerated Discovery document update\n\ne02eb4abfd243c66e4d12bce27da289efb9ee874\nAutogenerated Discovery document update\n\ne26553cdced03cb0fd70cdc38c10af8c1855ed2e\nAutogenerated Discovery document update\n\n6a9c802f966fb24a1984898587c01cec16039a3c\nAutogenerated Discovery document update\n\nf4c17f2f163536f0715b5a78d92049aea9489400\nAutogenerated Discovery document update\n\n5d66e80dbd9da73eb1619470fbc14add2e2288d0\nAutogenerated Discovery document update\n\nf87f2262c83219944186c6b1096717ef13ff3b33\nAutogenerated Discovery document update\n\n32d70aceb9a34eb189f3f2da787e25eb8013287b\nAutogenerated Discovery document update\n\n049b3b797ff3c45212e18ef69465dc1eea02a300\nAutogenerated Discovery document update\n\n64e215399d15ef1f53f91650c468f1410389ff0f\nAutogenerated Discovery document update\n\n8d8afb2d319b206f9745b9d5d41d071fb859ceb3\nAutogenerated Discovery document update\n\nc8c7f31725e0610e0765e0b3e2917ea5ffb25b1e\nAutogenerated Discovery document update\n\n5e58abc60d03a9399182dfca8b6c0e110b9ce6b6\nAutogenerated Discovery document update\n\n1acb9ec6ce845e4ae6faab458a2597dcf3017020\nAutogenerated Discovery document update\n\na8ebae6500bd0948b5dfe32a77e866bb34e25346\nAutogenerated Discovery document update\n\n" + "sha": "719a847d02865d80d6d6a5a66ffcd158015684d3" } }, { From a7b79a24701dba1b55fc65ab5a43c8f8441f7a9b Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Mon, 6 Apr 2020 15:47:45 -0700 Subject: [PATCH 2/5] chore(deps): update dependency com.google.cloud:libraries-bom to v4.4.0 (#97) https://github.com/googleapis/java-compute/commit/f210b15184415243b92da3cb4d2a7d840ea17cdc commit f210b15184415243b92da3cb4d2a7d840ea17cdc Author: WhiteSource Renovate Date: Fri Apr 3 17:44:10 2020 +0200 chore(deps): update dependency com.google.cloud:libraries-bom to v4.4.0 (#97) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `4.3.0` -> `4.4.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-compute). --- README.md | 2 +- synth.metadata | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 33f3dcc45..03b51f730 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 4.3.0 + 4.4.0 pom import diff --git a/synth.metadata b/synth.metadata index 40e05fba0..5bf1ce7ca 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2020-04-06T22:43:32.015306Z", + "updateTime": "2020-04-06T22:47:44.853465Z", "sources": [ { "git": { From d92286f8823663c1823a7b25e1117df73288eb59 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Mon, 6 Apr 2020 15:50:19 -0700 Subject: [PATCH 3/5] chore(deps): update dependency com.google.cloud:libraries-bom to v4.4.1 (#105) https://github.com/googleapis/java-compute/commit/622590b150e015293e7a44bdd6faddf407ad6bc3 commit 622590b150e015293e7a44bdd6faddf407ad6bc3 Author: WhiteSource Renovate Date: Mon Apr 6 21:54:08 2020 +0200 chore(deps): update dependency com.google.cloud:libraries-bom to v4.4.1 (#105) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | patch | `4.4.0` -> `4.4.1` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-compute). --- README.md | 2 +- synth.metadata | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 03b51f730..fd4d85ef3 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 4.4.0 + 4.4.1 pom import diff --git a/synth.metadata b/synth.metadata index 5bf1ce7ca..823410920 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2020-04-06T22:47:44.853465Z", + "updateTime": "2020-04-06T22:50:19.589343Z", "sources": [ { "git": { From f136a681d4844eaa9be7e060cf28c54395e17f66 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Mon, 6 Apr 2020 15:56:00 -0700 Subject: [PATCH 4/5] Autogenerated Discovery document update https://github.com/googleapis/discovery-artifact-manager/commit/56af37988f55b88f8111afa412bbbca1679346da commit 56af37988f55b88f8111afa412bbbca1679346da Author: Google APIs Date: Sat Apr 4 00:00:17 2020 +0000 Autogenerated Discovery document update --- ...egatedListAcceleratorTypesHttpRequest.java | 98 +-- .../AggregatedListAddressesHttpRequest.java | 98 +-- .../AggregatedListAutoscalersHttpRequest.java | 98 +-- ...regatedListBackendServicesHttpRequest.java | 98 +-- .../AggregatedListDiskTypesHttpRequest.java | 98 +-- .../v1/AggregatedListDisksHttpRequest.java | 98 +-- ...regatedListForwardingRulesHttpRequest.java | 98 +-- ...egatedListGlobalOperationsHttpRequest.java | 98 +-- ...AggregatedListHealthChecksHttpRequest.java | 98 +-- ...dListInstanceGroupManagersHttpRequest.java | 98 +-- ...gregatedListInstanceGroupsHttpRequest.java | 98 +-- .../AggregatedListInstancesHttpRequest.java | 98 +-- ...istInterconnectAttachmentsHttpRequest.java | 98 +-- ...AggregatedListMachineTypesHttpRequest.java | 98 +-- ...dListNetworkEndpointGroupsHttpRequest.java | 98 +-- .../AggregatedListNodeGroupsHttpRequest.java | 98 +-- ...ggregatedListNodeTemplatesHttpRequest.java | 98 +-- .../AggregatedListNodeTypesHttpRequest.java | 98 +-- ...egatedListPacketMirroringsHttpRequest.java | 98 +-- ...gatedListRegionCommitmentsHttpRequest.java | 98 +-- ...AggregatedListReservationsHttpRequest.java | 98 +-- ...egatedListResourcePoliciesHttpRequest.java | 98 +-- .../v1/AggregatedListRoutersHttpRequest.java | 98 +-- ...regatedListSslCertificatesHttpRequest.java | 98 +-- .../AggregatedListSubnetworksHttpRequest.java | 98 +-- ...gatedListTargetHttpProxiesHttpRequest.java | 98 +-- ...atedListTargetHttpsProxiesHttpRequest.java | 98 +-- ...regatedListTargetInstancesHttpRequest.java | 98 +-- .../AggregatedListTargetPoolsHttpRequest.java | 98 +-- ...gatedListTargetVpnGatewaysHttpRequest.java | 98 +-- .../v1/AggregatedListUrlMapsHttpRequest.java | 98 +-- .../AggregatedListVpnGatewaysHttpRequest.java | 98 +-- .../AggregatedListVpnTunnelsHttpRequest.java | 98 +-- .../google/cloud/compute/v1/AttachedDisk.java | 3 - .../v1/AttachedDiskInitializeParams.java | 14 +- .../com/google/cloud/compute/v1/Disk.java | 2 +- .../google/cloud/compute/v1/DiskClient.java | 4 +- .../v1/GetGlobalOperationHttpRequest.java | 2 +- .../GetNatMappingInfoRoutersHttpRequest.java | 98 +-- .../GetXpnResourcesProjectsHttpRequest.java | 98 +-- .../compute/v1/GlobalOperationClient.java | 48 +- .../compute/v1/InsertDiskHttpRequest.java | 6 +- .../v1/InsertRegionDiskHttpRequest.java | 6 +- .../v1/InsertTargetTcpProxyHttpRequest.java | 6 +- .../com/google/cloud/compute/v1/Instance.java | 47 ++ .../v1/InstanceGroupManagerClient.java | 174 ++++- .../v1/InstanceGroupManagerSettings.java | 11 +- ...pManagersListManagedInstancesResponse.java | 56 +- .../v1/ListAcceleratorTypesHttpRequest.java | 98 +-- .../compute/v1/ListAddressesHttpRequest.java | 98 +-- .../v1/ListAutoscalersHttpRequest.java | 98 +-- ...ailableFeaturesSslPoliciesHttpRequest.java | 98 +-- .../v1/ListBackendBucketsHttpRequest.java | 98 +-- .../v1/ListBackendServicesHttpRequest.java | 98 +-- .../compute/v1/ListDiskTypesHttpRequest.java | 98 +-- .../compute/v1/ListDisksHttpRequest.java | 98 +-- ...rrorsInstanceGroupManagersHttpRequest.java | 98 +-- ...egionInstanceGroupManagersHttpRequest.java | 98 +-- .../ListExternalVpnGatewaysHttpRequest.java | 98 +-- .../compute/v1/ListFirewallsHttpRequest.java | 98 +-- .../v1/ListForwardingRulesHttpRequest.java | 98 +-- .../v1/ListGlobalAddressesHttpRequest.java | 98 +-- .../ListGlobalForwardingRulesHttpRequest.java | 98 +-- ...lobalNetworkEndpointGroupsHttpRequest.java | 98 +-- .../v1/ListGlobalOperationsHttpRequest.java | 98 +-- .../v1/ListHealthChecksHttpRequest.java | 98 +-- .../v1/ListHttpHealthChecksHttpRequest.java | 98 +-- .../v1/ListHttpsHealthChecksHttpRequest.java | 98 +-- .../compute/v1/ListImagesHttpRequest.java | 98 +-- .../ListInstanceGroupManagersHttpRequest.java | 98 +-- .../v1/ListInstanceGroupsHttpRequest.java | 98 +-- .../v1/ListInstanceTemplatesHttpRequest.java | 98 +-- .../compute/v1/ListInstancesHttpRequest.java | 98 +-- ...istInstancesInstanceGroupsHttpRequest.java | 98 +-- ...tancesRegionInstanceGroupsHttpRequest.java | 98 +-- ...istInterconnectAttachmentsHttpRequest.java | 98 +-- .../ListInterconnectLocationsHttpRequest.java | 98 +-- .../v1/ListInterconnectsHttpRequest.java | 98 +-- .../compute/v1/ListLicensesHttpRequest.java | 98 +-- .../v1/ListMachineTypesHttpRequest.java | 98 +-- ...ancesInstanceGroupManagersHttpRequest.java | 98 +-- ...egionInstanceGroupManagersHttpRequest.java | 98 +-- .../ListNetworkEndpointGroupsHttpRequest.java | 98 +-- ...lobalNetworkEndpointGroupsHttpRequest.java | 98 +-- ...ointsNetworkEndpointGroupsHttpRequest.java | 98 +-- .../compute/v1/ListNetworksHttpRequest.java | 98 +-- .../compute/v1/ListNodeGroupsHttpRequest.java | 98 +-- .../v1/ListNodeTemplatesHttpRequest.java | 98 +-- .../compute/v1/ListNodeTypesHttpRequest.java | 98 +-- .../v1/ListNodesNodeGroupsHttpRequest.java | 98 +-- .../v1/ListPacketMirroringsHttpRequest.java | 98 +-- .../ListPeeringRoutesNetworksHttpRequest.java | 98 +-- ...essionSetsSecurityPoliciesHttpRequest.java | 690 ++++++++++++++++++ .../v1/ListReferrersInstancesHttpRequest.java | 98 +-- .../v1/ListRegionAutoscalersHttpRequest.java | 98 +-- .../ListRegionBackendServicesHttpRequest.java | 98 +-- .../v1/ListRegionCommitmentsHttpRequest.java | 98 +-- .../v1/ListRegionDiskTypesHttpRequest.java | 98 +-- .../v1/ListRegionDisksHttpRequest.java | 98 +-- .../v1/ListRegionHealthChecksHttpRequest.java | 98 +-- ...egionInstanceGroupManagersHttpRequest.java | 98 +-- .../ListRegionInstanceGroupsHttpRequest.java | 98 +-- .../v1/ListRegionOperationsHttpRequest.java | 98 +-- .../ListRegionSslCertificatesHttpRequest.java | 98 +-- ...istRegionTargetHttpProxiesHttpRequest.java | 98 +-- ...stRegionTargetHttpsProxiesHttpRequest.java | 98 +-- .../v1/ListRegionUrlMapsHttpRequest.java | 98 +-- .../compute/v1/ListRegionsHttpRequest.java | 98 +-- .../v1/ListReservationsHttpRequest.java | 98 +-- .../v1/ListResourcePoliciesHttpRequest.java | 98 +-- .../compute/v1/ListRoutersHttpRequest.java | 98 +-- .../compute/v1/ListRoutesHttpRequest.java | 98 +-- .../v1/ListSecurityPoliciesHttpRequest.java | 98 +-- .../compute/v1/ListSnapshotsHttpRequest.java | 98 +-- .../v1/ListSslCertificatesHttpRequest.java | 98 +-- .../v1/ListSslPoliciesHttpRequest.java | 98 +-- .../v1/ListSubnetworksHttpRequest.java | 98 +-- .../v1/ListTargetHttpProxiesHttpRequest.java | 98 +-- .../v1/ListTargetHttpsProxiesHttpRequest.java | 98 +-- .../v1/ListTargetInstancesHttpRequest.java | 98 +-- .../v1/ListTargetPoolsHttpRequest.java | 98 +-- .../v1/ListTargetSslProxiesHttpRequest.java | 98 +-- .../v1/ListTargetTcpProxiesHttpRequest.java | 98 +-- .../v1/ListTargetVpnGatewaysHttpRequest.java | 98 +-- .../compute/v1/ListUrlMapsHttpRequest.java | 98 +-- .../v1/ListUsableSubnetworksHttpRequest.java | 98 +-- .../v1/ListVpnGatewaysHttpRequest.java | 98 +-- .../compute/v1/ListVpnTunnelsHttpRequest.java | 98 +-- .../v1/ListXpnHostsProjectsHttpRequest.java | 98 +-- .../v1/ListZoneOperationsHttpRequest.java | 98 +-- .../compute/v1/ListZonesHttpRequest.java | 98 +-- .../google/cloud/compute/v1/Operation.java | 52 +- .../compute/v1/OperationAggregatedList.java | 26 +- .../cloud/compute/v1/OperationList.java | 24 +- .../v1/PatchSubnetworkHttpRequest.java | 2 +- .../cloud/compute/v1/PreconfiguredWafSet.java | 164 +++++ .../cloud/compute/v1/RegionDiskClient.java | 4 +- .../v1/RegionInstanceGroupManagerClient.java | 174 ++++- .../RegionInstanceGroupManagerSettings.java | 11 +- ...nceGroupManagersListInstancesResponse.java | 57 +- .../compute/v1/RegionOperationClient.java | 40 +- .../cloud/compute/v1/RouterInterface.java | 21 +- ...stPreconfiguredExpressionSetsResponse.java | 158 ++++ .../compute/v1/SecurityPoliciesWafConfig.java | 148 ++++ .../compute/v1/SecurityPolicyClient.java | 104 +++ .../compute/v1/SecurityPolicySettings.java | 23 + .../cloud/compute/v1/SubnetworkClient.java | 8 +- .../cloud/compute/v1/TargetTcpProxy.java | 2 +- .../compute/v1/TargetTcpProxyClient.java | 4 +- .../cloud/compute/v1/WafExpressionSet.java | 261 +++++++ .../v1/WafExpressionSetExpression.java | 166 +++++ .../v1/WaitGlobalOperationHttpRequest.java | 10 +- .../v1/WaitRegionOperationHttpRequest.java | 10 +- .../v1/WaitZoneOperationHttpRequest.java | 8 +- .../cloud/compute/v1/ZoneOperationClient.java | 40 +- .../HttpJsonInstanceGroupManagerStub.java | 18 + ...ttpJsonRegionInstanceGroupManagerStub.java | 18 + .../v1/stub/HttpJsonSecurityPolicyStub.java | 61 ++ .../v1/stub/InstanceGroupManagerStub.java | 10 + .../InstanceGroupManagerStubSettings.java | 110 ++- .../stub/RegionInstanceGroupManagerStub.java | 10 + ...egionInstanceGroupManagerStubSettings.java | 110 ++- .../compute/v1/stub/SecurityPolicyStub.java | 11 + .../v1/stub/SecurityPolicyStubSettings.java | 46 ++ .../v1/InstanceGroupManagerClientTest.java | 16 +- .../RegionInstanceGroupManagerClientTest.java | 16 +- .../compute/v1/SecurityPolicyClientTest.java | 48 ++ synth.metadata | 5 +- 168 files changed, 8569 insertions(+), 5962 deletions(-) create mode 100644 src/main/java/com/google/cloud/compute/v1/ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest.java create mode 100644 src/main/java/com/google/cloud/compute/v1/PreconfiguredWafSet.java create mode 100644 src/main/java/com/google/cloud/compute/v1/SecurityPoliciesListPreconfiguredExpressionSetsResponse.java create mode 100644 src/main/java/com/google/cloud/compute/v1/SecurityPoliciesWafConfig.java create mode 100644 src/main/java/com/google/cloud/compute/v1/WafExpressionSet.java create mode 100644 src/main/java/com/google/cloud/compute/v1/WafExpressionSetExpression.java diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java index 567d04710..d2e9c4e26 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java index a377d590e..3d9111fb9 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java index a80a857c8..d2fe73f07 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java index 73f7101b1..5fee39031 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java index 4a0f85645..36004a808 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java index b98116231..36f050d2a 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java index 5efc98002..50eecd375 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java index 4bb51dfc4..02ea29e77 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListHealthChecksHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListHealthChecksHttpRequest.java index 807789304..8ecc1a6cf 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListHealthChecksHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListHealthChecksHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java index 04ff87184..b530e6232 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java index 1577ae45c..339004326 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java index 4134c4346..1241f928f 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java index 6fa121991..4271504d2 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -400,21 +400,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -424,21 +424,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -481,9 +481,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -491,9 +491,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -505,11 +505,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -520,11 +520,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -532,16 +532,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java index c0b8dea73..3c71cc2f8 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListNetworkEndpointGroupsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListNetworkEndpointGroupsHttpRequest.java index f808ae766..67c3aeee6 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListNetworkEndpointGroupsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListNetworkEndpointGroupsHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java index 9f80ef060..b5438c075 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java index 64091b789..160a750ff 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java index 007309b72..e616e1a59 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListPacketMirroringsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListPacketMirroringsHttpRequest.java index fea60e75e..8ac44cea7 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListPacketMirroringsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListPacketMirroringsHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java index daf3539b4..f5332c60e 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListReservationsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListReservationsHttpRequest.java index ccaba7199..0fae97da1 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListReservationsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListReservationsHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListResourcePoliciesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListResourcePoliciesHttpRequest.java index 6db609491..b0f2652a3 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListResourcePoliciesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListResourcePoliciesHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java index 3e3bee662..9999fbc6a 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListSslCertificatesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListSslCertificatesHttpRequest.java index 0e1cfebf9..d0dea4fed 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListSslCertificatesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListSslCertificatesHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java index 880974ed8..97c6431ca 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetHttpProxiesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetHttpProxiesHttpRequest.java index 414da453b..63045385a 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetHttpProxiesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetHttpProxiesHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetHttpsProxiesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetHttpsProxiesHttpRequest.java index d50cfd7c5..b88b06ed4 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetHttpsProxiesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetHttpsProxiesHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java index ff0fd30f1..36152cc7c 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java index 9bbd28405..596ff498e 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java index a0ab3dd9d..c67b47762 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListUrlMapsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListUrlMapsHttpRequest.java index fc64ee31c..89e028732 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListUrlMapsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListUrlMapsHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnGatewaysHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnGatewaysHttpRequest.java index 53550d401..38f9d8725 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnGatewaysHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnGatewaysHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java index 859554cdf..0445973e6 100644 --- a/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -206,9 +206,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -219,19 +219,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -399,21 +399,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -423,21 +423,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -480,9 +480,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -490,9 +490,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -504,11 +504,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -519,11 +519,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -531,16 +531,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/AttachedDisk.java b/src/main/java/com/google/cloud/compute/v1/AttachedDisk.java index 5d7f2e0bb..6a8d87e30 100644 --- a/src/main/java/com/google/cloud/compute/v1/AttachedDisk.java +++ b/src/main/java/com/google/cloud/compute/v1/AttachedDisk.java @@ -256,7 +256,6 @@ public AttachedDiskInitializeParams getInitializeParams() { * default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt * to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or * SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. - * TODO(b/131765817): Update documentation when NVME is supported. */ public String getInterface() { return interface2; @@ -614,7 +613,6 @@ public Builder setInitializeParams(AttachedDiskInitializeParams initializeParams * The default is SCSI. Persistent disks must always use SCSI and the request will fail if you * attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either * NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. - * TODO(b/131765817): Update documentation when NVME is supported. */ public String getInterface() { return interface2; @@ -625,7 +623,6 @@ public String getInterface() { * The default is SCSI. Persistent disks must always use SCSI and the request will fail if you * attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either * NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. - * TODO(b/131765817): Update documentation when NVME is supported. */ public Builder setInterface(String interface2) { this.interface2 = interface2; diff --git a/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java b/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java index f11a29a1e..f1b59b6ac 100644 --- a/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java +++ b/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java @@ -148,9 +148,9 @@ public String getDescription() { } /** - * Specifies the disk name. If not specified, the default is to use the name of the instance. If - * the disk with the instance name exists already in the given zone/region, a new name will be - * automatically generated. + * Specifies the disk name. If not specified, the default is to use the name of the instance. If a + * disk with the same name already exists in the given region, the existing disk is attached to + * the new instance and the new disk is not created. */ public String getDiskName() { return diskName; @@ -362,8 +362,8 @@ public Builder setDescription(String description) { /** * Specifies the disk name. If not specified, the default is to use the name of the instance. If - * the disk with the instance name exists already in the given zone/region, a new name will be - * automatically generated. + * a disk with the same name already exists in the given region, the existing disk is attached + * to the new instance and the new disk is not created. */ public String getDiskName() { return diskName; @@ -371,8 +371,8 @@ public String getDiskName() { /** * Specifies the disk name. If not specified, the default is to use the name of the instance. If - * the disk with the instance name exists already in the given zone/region, a new name will be - * automatically generated. + * a disk with the same name already exists in the given region, the existing disk is attached + * to the new instance and the new disk is not created. */ public Builder setDiskName(String diskName) { this.diskName = diskName; diff --git a/src/main/java/com/google/cloud/compute/v1/Disk.java b/src/main/java/com/google/cloud/compute/v1/Disk.java index 9e28d1836..0da7e6833 100644 --- a/src/main/java/com/google/cloud/compute/v1/Disk.java +++ b/src/main/java/com/google/cloud/compute/v1/Disk.java @@ -31,7 +31,7 @@ * *

Google Compute Engine has two Disk resources: * - *

* [Global](/compute/docs/reference/rest/{$api_version}/disks) * + *

* [Zonal](/compute/docs/reference/rest/{$api_version}/disks) * * [Regional](/compute/docs/reference/rest/{$api_version}/regionDisks) * *

Persistent disks are required for running your VM instances. Create both boot and non-boot diff --git a/src/main/java/com/google/cloud/compute/v1/DiskClient.java b/src/main/java/com/google/cloud/compute/v1/DiskClient.java index 6f7b719f7..14b326f00 100644 --- a/src/main/java/com/google/cloud/compute/v1/DiskClient.java +++ b/src/main/java/com/google/cloud/compute/v1/DiskClient.java @@ -874,7 +874,7 @@ public final UnaryCallable getIamPolicyDisk * @param zone The name of the zone for this request. * @param diskResource Represents a Persistent Disk resource. *

Google Compute Engine has two Disk resources: - *

* [Global](/compute/docs/reference/rest/{$api_version}/disks) * + *

* [Zonal](/compute/docs/reference/rest/{$api_version}/disks) * * [Regional](/compute/docs/reference/rest/{$api_version}/regionDisks) *

Persistent disks are required for running your VM instances. Create both boot and * non-boot (data) persistent disks. For more information, read Persistent Disks. For more @@ -916,7 +916,7 @@ public final Operation insertDisk(ProjectZoneName zone, Disk diskResource) { * @param zone The name of the zone for this request. * @param diskResource Represents a Persistent Disk resource. *

Google Compute Engine has two Disk resources: - *

* [Global](/compute/docs/reference/rest/{$api_version}/disks) * + *

* [Zonal](/compute/docs/reference/rest/{$api_version}/disks) * * [Regional](/compute/docs/reference/rest/{$api_version}/regionDisks) *

Persistent disks are required for running your VM instances. Create both boot and * non-boot (data) persistent disks. For more information, read Persistent Disks. For more diff --git a/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java index 2f0f17aee..1487b1d75 100644 --- a/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java @@ -26,7 +26,7 @@ @BetaApi /** * Request object for method compute.globalOperations.get. Retrieves the specified Operations - * resource. Gets a list of operations by making a list() request. + * resource. Gets a list of operations by making a `list()` request. */ public final class GetGlobalOperationHttpRequest implements ApiMessage { private final String access_token; diff --git a/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java index abd29c826..1cbfdbea3 100644 --- a/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -377,21 +377,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -401,21 +401,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -435,9 +435,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -445,9 +445,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -459,11 +459,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -474,11 +474,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -486,16 +486,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java index 39c8c9ee7..71d2a2448 100644 --- a/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/GlobalOperationClient.java b/src/main/java/com/google/cloud/compute/v1/GlobalOperationClient.java index e28bfce87..125ce4e3f 100644 --- a/src/main/java/com/google/cloud/compute/v1/GlobalOperationClient.java +++ b/src/main/java/com/google/cloud/compute/v1/GlobalOperationClient.java @@ -417,7 +417,7 @@ public final void deleteGlobalOperation(DeleteGlobalOperationHttpRequest request // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Retrieves the specified Operations resource. Gets a list of operations by making a list() + * Retrieves the specified Operations resource. Gets a list of operations by making a `list()` * request. * *

Sample code: @@ -443,7 +443,7 @@ public final Operation getGlobalOperation(ProjectGlobalOperationName operation) // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Retrieves the specified Operations resource. Gets a list of operations by making a list() + * Retrieves the specified Operations resource. Gets a list of operations by making a `list()` * request. * *

Sample code: @@ -467,7 +467,7 @@ public final Operation getGlobalOperation(String operation) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Retrieves the specified Operations resource. Gets a list of operations by making a list() + * Retrieves the specified Operations resource. Gets a list of operations by making a `list()` * request. * *

Sample code: @@ -492,7 +492,7 @@ public final Operation getGlobalOperation(GetGlobalOperationHttpRequest request) // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Retrieves the specified Operations resource. Gets a list of operations by making a list() + * Retrieves the specified Operations resource. Gets a list of operations by making a `list()` * request. * *

Sample code: @@ -655,16 +655,16 @@ public final ListGlobalOperationsPagedResponse listGlobalOperations( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Waits for the specified Operation resource to return as DONE or for the request to approach the - * 2 minute deadline, and retrieves the specified Operation resource. This method differs from the - * GET method in that it waits for no more than the default deadline (2 minutes) and then returns - * the current state of the operation, which might be DONE or still in progress. + * Waits for the specified Operation resource to return as `DONE` or for the request to approach + * the 2 minute deadline, and retrieves the specified Operation resource. This method differs from + * the `GET` method in that it waits for no more than the default deadline (2 minutes) and then + * returns the current state of the operation, which might be `DONE` or still in progress. * *

This method is called on a best-effort basis. Specifically: - In uncommon cases, when the * server is overloaded, the request might return before the default deadline is reached, or might * return after zero seconds. - If the default deadline is reached, there is no guarantee that the * operation is actually done when the method returns. Be prepared to retry if the operation is - * not DONE. + * not `DONE`. * *

Sample code: * @@ -689,16 +689,16 @@ public final Operation waitGlobalOperation(ProjectGlobalOperationName operation) // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Waits for the specified Operation resource to return as DONE or for the request to approach the - * 2 minute deadline, and retrieves the specified Operation resource. This method differs from the - * GET method in that it waits for no more than the default deadline (2 minutes) and then returns - * the current state of the operation, which might be DONE or still in progress. + * Waits for the specified Operation resource to return as `DONE` or for the request to approach + * the 2 minute deadline, and retrieves the specified Operation resource. This method differs from + * the `GET` method in that it waits for no more than the default deadline (2 minutes) and then + * returns the current state of the operation, which might be `DONE` or still in progress. * *

This method is called on a best-effort basis. Specifically: - In uncommon cases, when the * server is overloaded, the request might return before the default deadline is reached, or might * return after zero seconds. - If the default deadline is reached, there is no guarantee that the * operation is actually done when the method returns. Be prepared to retry if the operation is - * not DONE. + * not `DONE`. * *

Sample code: * @@ -721,16 +721,16 @@ public final Operation waitGlobalOperation(String operation) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Waits for the specified Operation resource to return as DONE or for the request to approach the - * 2 minute deadline, and retrieves the specified Operation resource. This method differs from the - * GET method in that it waits for no more than the default deadline (2 minutes) and then returns - * the current state of the operation, which might be DONE or still in progress. + * Waits for the specified Operation resource to return as `DONE` or for the request to approach + * the 2 minute deadline, and retrieves the specified Operation resource. This method differs from + * the `GET` method in that it waits for no more than the default deadline (2 minutes) and then + * returns the current state of the operation, which might be `DONE` or still in progress. * *

This method is called on a best-effort basis. Specifically: - In uncommon cases, when the * server is overloaded, the request might return before the default deadline is reached, or might * return after zero seconds. - If the default deadline is reached, there is no guarantee that the * operation is actually done when the method returns. Be prepared to retry if the operation is - * not DONE. + * not `DONE`. * *

Sample code: * @@ -754,16 +754,16 @@ public final Operation waitGlobalOperation(WaitGlobalOperationHttpRequest reques // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Waits for the specified Operation resource to return as DONE or for the request to approach the - * 2 minute deadline, and retrieves the specified Operation resource. This method differs from the - * GET method in that it waits for no more than the default deadline (2 minutes) and then returns - * the current state of the operation, which might be DONE or still in progress. + * Waits for the specified Operation resource to return as `DONE` or for the request to approach + * the 2 minute deadline, and retrieves the specified Operation resource. This method differs from + * the `GET` method in that it waits for no more than the default deadline (2 minutes) and then + * returns the current state of the operation, which might be `DONE` or still in progress. * *

This method is called on a best-effort basis. Specifically: - In uncommon cases, when the * server is overloaded, the request might return before the default deadline is reached, or might * return after zero seconds. - If the default deadline is reached, there is no guarantee that the * operation is actually done when the method returns. Be prepared to retry if the operation is - * not DONE. + * not `DONE`. * *

Sample code: * diff --git a/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java index 49d05c1b2..51e6ffb61 100644 --- a/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java @@ -153,7 +153,7 @@ public String getCallback() { * *

Google Compute Engine has two Disk resources: * - *

* [Global](/compute/docs/reference/rest/{$api_version}/disks) * + *

* [Zonal](/compute/docs/reference/rest/{$api_version}/disks) * * [Regional](/compute/docs/reference/rest/{$api_version}/regionDisks) * *

Persistent disks are required for running your VM instances. Create both boot and non-boot @@ -345,7 +345,7 @@ public Builder setCallback(String callback) { * *

Google Compute Engine has two Disk resources: * - *

* [Global](/compute/docs/reference/rest/{$api_version}/disks) * + *

* [Zonal](/compute/docs/reference/rest/{$api_version}/disks) * * [Regional](/compute/docs/reference/rest/{$api_version}/regionDisks) * *

Persistent disks are required for running your VM instances. Create both boot and non-boot @@ -368,7 +368,7 @@ public Disk getDiskResource() { * *

Google Compute Engine has two Disk resources: * - *

* [Global](/compute/docs/reference/rest/{$api_version}/disks) * + *

* [Zonal](/compute/docs/reference/rest/{$api_version}/disks) * * [Regional](/compute/docs/reference/rest/{$api_version}/regionDisks) * *

Persistent disks are required for running your VM instances. Create both boot and non-boot diff --git a/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java index beef94dd5..e808e0d3d 100644 --- a/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java @@ -151,7 +151,7 @@ public String getCallback() { * *

Google Compute Engine has two Disk resources: * - *

* [Global](/compute/docs/reference/rest/{$api_version}/disks) * + *

* [Zonal](/compute/docs/reference/rest/{$api_version}/disks) * * [Regional](/compute/docs/reference/rest/{$api_version}/regionDisks) * *

Persistent disks are required for running your VM instances. Create both boot and non-boot @@ -343,7 +343,7 @@ public Builder setCallback(String callback) { * *

Google Compute Engine has two Disk resources: * - *

* [Global](/compute/docs/reference/rest/{$api_version}/disks) * + *

* [Zonal](/compute/docs/reference/rest/{$api_version}/disks) * * [Regional](/compute/docs/reference/rest/{$api_version}/regionDisks) * *

Persistent disks are required for running your VM instances. Create both boot and non-boot @@ -366,7 +366,7 @@ public Disk getDiskResource() { * *

Google Compute Engine has two Disk resources: * - *

* [Global](/compute/docs/reference/rest/{$api_version}/disks) * + *

* [Zonal](/compute/docs/reference/rest/{$api_version}/disks) * * [Regional](/compute/docs/reference/rest/{$api_version}/regionDisks) * *

Persistent disks are required for running your VM instances. Create both boot and non-boot diff --git a/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java index 19b28e833..0a4c3d090 100644 --- a/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java @@ -192,7 +192,7 @@ public String getRequestId() { * *

A target TCP proxy is a component of a TCP Proxy load balancer. Global forwarding rules * reference target TCP proxy, and the target proxy then references an external backend service. - * For more information, read TCP Proxy Load Balancing Concepts. (== resource_for + * For more information, read TCP Proxy Load Balancing overview. (== resource_for * {$api_version}.targetTcpProxies ==) */ public TargetTcpProxy getTargetTcpProxyResource() { @@ -417,7 +417,7 @@ public Builder setRequestId(String requestId) { * *

A target TCP proxy is a component of a TCP Proxy load balancer. Global forwarding rules * reference target TCP proxy, and the target proxy then references an external backend service. - * For more information, read TCP Proxy Load Balancing Concepts. (== resource_for + * For more information, read TCP Proxy Load Balancing overview. (== resource_for * {$api_version}.targetTcpProxies ==) */ public TargetTcpProxy getTargetTcpProxyResource() { @@ -429,7 +429,7 @@ public TargetTcpProxy getTargetTcpProxyResource() { * *

A target TCP proxy is a component of a TCP Proxy load balancer. Global forwarding rules * reference target TCP proxy, and the target proxy then references an external backend service. - * For more information, read TCP Proxy Load Balancing Concepts. (== resource_for + * For more information, read TCP Proxy Load Balancing overview. (== resource_for * {$api_version}.targetTcpProxies ==) */ public Builder setTargetTcpProxyResource(TargetTcpProxy targetTcpProxyResource) { diff --git a/src/main/java/com/google/cloud/compute/v1/Instance.java b/src/main/java/com/google/cloud/compute/v1/Instance.java index 30f4293e6..c52717025 100644 --- a/src/main/java/com/google/cloud/compute/v1/Instance.java +++ b/src/main/java/com/google/cloud/compute/v1/Instance.java @@ -53,6 +53,7 @@ public final class Instance implements ApiMessage { private final String name; private final List networkInterfaces; private final ReservationAffinity reservationAffinity; + private final List resourcePolicies; private final Scheduling scheduling; private final String selfLink; private final List serviceAccounts; @@ -85,6 +86,7 @@ private Instance() { this.name = null; this.networkInterfaces = null; this.reservationAffinity = null; + this.resourcePolicies = null; this.scheduling = null; this.selfLink = null; this.serviceAccounts = null; @@ -118,6 +120,7 @@ private Instance( String name, List networkInterfaces, ReservationAffinity reservationAffinity, + List resourcePolicies, Scheduling scheduling, String selfLink, List serviceAccounts, @@ -148,6 +151,7 @@ private Instance( this.name = name; this.networkInterfaces = networkInterfaces; this.reservationAffinity = reservationAffinity; + this.resourcePolicies = resourcePolicies; this.scheduling = scheduling; this.selfLink = selfLink; this.serviceAccounts = serviceAccounts; @@ -222,6 +226,9 @@ public Object getFieldValue(String fieldName) { if ("reservationAffinity".equals(fieldName)) { return reservationAffinity; } + if ("resourcePolicies".equals(fieldName)) { + return resourcePolicies; + } if ("scheduling".equals(fieldName)) { return scheduling; } @@ -433,6 +440,11 @@ public ReservationAffinity getReservationAffinity() { return reservationAffinity; } + /** Resource policies applied to this instance. */ + public List getResourcePoliciesList() { + return resourcePolicies; + } + /** Sets the scheduling options for this instance. */ public Scheduling getScheduling() { return scheduling; @@ -544,6 +556,7 @@ public static class Builder { private String name; private List networkInterfaces; private ReservationAffinity reservationAffinity; + private List resourcePolicies; private Scheduling scheduling; private String selfLink; private List serviceAccounts; @@ -619,6 +632,9 @@ public Builder mergeFrom(Instance other) { if (other.getReservationAffinity() != null) { this.reservationAffinity = other.reservationAffinity; } + if (other.getResourcePoliciesList() != null) { + this.resourcePolicies = other.resourcePolicies; + } if (other.getScheduling() != null) { this.scheduling = other.scheduling; } @@ -673,6 +689,7 @@ public Builder mergeFrom(Instance other) { this.name = source.name; this.networkInterfaces = source.networkInterfaces; this.reservationAffinity = source.reservationAffinity; + this.resourcePolicies = source.resourcePolicies; this.scheduling = source.scheduling; this.selfLink = source.selfLink; this.serviceAccounts = source.serviceAccounts; @@ -1074,6 +1091,29 @@ public Builder setReservationAffinity(ReservationAffinity reservationAffinity) { return this; } + /** Resource policies applied to this instance. */ + public List getResourcePoliciesList() { + return resourcePolicies; + } + + /** Resource policies applied to this instance. */ + public Builder addAllResourcePolicies(List resourcePolicies) { + if (this.resourcePolicies == null) { + this.resourcePolicies = new LinkedList<>(); + } + this.resourcePolicies.addAll(resourcePolicies); + return this; + } + + /** Resource policies applied to this instance. */ + public Builder addResourcePolicies(String resourcePolicies) { + if (this.resourcePolicies == null) { + this.resourcePolicies = new LinkedList<>(); + } + this.resourcePolicies.add(resourcePolicies); + return this; + } + /** Sets the scheduling options for this instance. */ public Scheduling getScheduling() { return scheduling; @@ -1265,6 +1305,7 @@ public Instance build() { name, networkInterfaces, reservationAffinity, + resourcePolicies, scheduling, selfLink, serviceAccounts, @@ -1299,6 +1340,7 @@ public Builder clone() { newBuilder.setName(this.name); newBuilder.addAllNetworkInterfaces(this.networkInterfaces); newBuilder.setReservationAffinity(this.reservationAffinity); + newBuilder.addAllResourcePolicies(this.resourcePolicies); newBuilder.setScheduling(this.scheduling); newBuilder.setSelfLink(this.selfLink); newBuilder.addAllServiceAccounts(this.serviceAccounts); @@ -1376,6 +1418,9 @@ public String toString() { + "reservationAffinity=" + reservationAffinity + ", " + + "resourcePolicies=" + + resourcePolicies + + ", " + "scheduling=" + scheduling + ", " @@ -1435,6 +1480,7 @@ public boolean equals(Object o) { && Objects.equals(this.name, that.getName()) && Objects.equals(this.networkInterfaces, that.getNetworkInterfacesList()) && Objects.equals(this.reservationAffinity, that.getReservationAffinity()) + && Objects.equals(this.resourcePolicies, that.getResourcePoliciesList()) && Objects.equals(this.scheduling, that.getScheduling()) && Objects.equals(this.selfLink, that.getSelfLink()) && Objects.equals(this.serviceAccounts, that.getServiceAccountsList()) @@ -1473,6 +1519,7 @@ public int hashCode() { name, networkInterfaces, reservationAffinity, + resourcePolicies, scheduling, selfLink, serviceAccounts, diff --git a/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerClient.java b/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerClient.java index 5890c36ce..eff7c5012 100644 --- a/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerClient.java +++ b/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerClient.java @@ -1579,7 +1579,9 @@ public final ListErrorsInstanceGroupManagersPagedResponse listErrorsInstanceGrou *


    * try (InstanceGroupManagerClient instanceGroupManagerClient = InstanceGroupManagerClient.create()) {
    *   ProjectZoneInstanceGroupManagerName instanceGroupManager = ProjectZoneInstanceGroupManagerName.of("[PROJECT]", "[ZONE]", "[INSTANCE_GROUP_MANAGER]");
-   *   InstanceGroupManagersListManagedInstancesResponse response = instanceGroupManagerClient.listManagedInstancesInstanceGroupManagers(instanceGroupManager);
+   *   for (ManagedInstance element : instanceGroupManagerClient.listManagedInstancesInstanceGroupManagers(instanceGroupManager).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
    * }
    * 
* @@ -1587,7 +1589,7 @@ public final ListErrorsInstanceGroupManagersPagedResponse listErrorsInstanceGrou * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi - public final InstanceGroupManagersListManagedInstancesResponse + public final ListManagedInstancesInstanceGroupManagersPagedResponse listManagedInstancesInstanceGroupManagers( ProjectZoneInstanceGroupManagerName instanceGroupManager) { ListManagedInstancesInstanceGroupManagersHttpRequest request = @@ -1610,7 +1612,9 @@ public final ListErrorsInstanceGroupManagersPagedResponse listErrorsInstanceGrou *

    * try (InstanceGroupManagerClient instanceGroupManagerClient = InstanceGroupManagerClient.create()) {
    *   ProjectZoneInstanceGroupManagerName instanceGroupManager = ProjectZoneInstanceGroupManagerName.of("[PROJECT]", "[ZONE]", "[INSTANCE_GROUP_MANAGER]");
-   *   InstanceGroupManagersListManagedInstancesResponse response = instanceGroupManagerClient.listManagedInstancesInstanceGroupManagers(instanceGroupManager.toString());
+   *   for (ManagedInstance element : instanceGroupManagerClient.listManagedInstancesInstanceGroupManagers(instanceGroupManager.toString()).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
    * }
    * 
* @@ -1618,7 +1622,7 @@ public final ListErrorsInstanceGroupManagersPagedResponse listErrorsInstanceGrou * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi - public final InstanceGroupManagersListManagedInstancesResponse + public final ListManagedInstancesInstanceGroupManagersPagedResponse listManagedInstancesInstanceGroupManagers(String instanceGroupManager) { ListManagedInstancesInstanceGroupManagersHttpRequest request = ListManagedInstancesInstanceGroupManagersHttpRequest.newBuilder() @@ -1642,7 +1646,9 @@ public final ListErrorsInstanceGroupManagersPagedResponse listErrorsInstanceGrou * ListManagedInstancesInstanceGroupManagersHttpRequest request = ListManagedInstancesInstanceGroupManagersHttpRequest.newBuilder() * .setInstanceGroupManager(formattedInstanceGroupManager) * .build(); - * InstanceGroupManagersListManagedInstancesResponse response = instanceGroupManagerClient.listManagedInstancesInstanceGroupManagers(request); + * for (ManagedInstance element : instanceGroupManagerClient.listManagedInstancesInstanceGroupManagers(request).iterateAll()) { + * // doThingsWith(element); + * } * } * * @@ -1650,10 +1656,10 @@ public final ListErrorsInstanceGroupManagersPagedResponse listErrorsInstanceGrou * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi - public final InstanceGroupManagersListManagedInstancesResponse + public final ListManagedInstancesInstanceGroupManagersPagedResponse listManagedInstancesInstanceGroupManagers( ListManagedInstancesInstanceGroupManagersHttpRequest request) { - return listManagedInstancesInstanceGroupManagersCallable().call(request); + return listManagedInstancesInstanceGroupManagersPagedCallable().call(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD @@ -1671,9 +1677,49 @@ public final ListErrorsInstanceGroupManagersPagedResponse listErrorsInstanceGrou * ListManagedInstancesInstanceGroupManagersHttpRequest request = ListManagedInstancesInstanceGroupManagersHttpRequest.newBuilder() * .setInstanceGroupManager(formattedInstanceGroupManager) * .build(); - * ApiFuture<InstanceGroupManagersListManagedInstancesResponse> future = instanceGroupManagerClient.listManagedInstancesInstanceGroupManagersCallable().futureCall(request); + * ApiFuture<ListManagedInstancesInstanceGroupManagersPagedResponse> future = instanceGroupManagerClient.listManagedInstancesInstanceGroupManagersPagedCallable().futureCall(request); * // Do something - * InstanceGroupManagersListManagedInstancesResponse response = future.get(); + * for (ManagedInstance element : future.get().iterateAll()) { + * // doThingsWith(element); + * } + * } + * + */ + @BetaApi + public final UnaryCallable< + ListManagedInstancesInstanceGroupManagersHttpRequest, + ListManagedInstancesInstanceGroupManagersPagedResponse> + listManagedInstancesInstanceGroupManagersPagedCallable() { + return stub.listManagedInstancesInstanceGroupManagersPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Lists all of the instances in the managed instance group. Each instance in the list has a + * currentAction, which indicates the action that the managed instance group is performing on the + * instance. For example, if the group is still creating an instance, the currentAction is + * CREATING. If a previous action failed, the list displays the errors for that failed action. + * + *

Sample code: + * + *


+   * try (InstanceGroupManagerClient instanceGroupManagerClient = InstanceGroupManagerClient.create()) {
+   *   String formattedInstanceGroupManager = ProjectZoneInstanceGroupManagerName.format("[PROJECT]", "[ZONE]", "[INSTANCE_GROUP_MANAGER]");
+   *   ListManagedInstancesInstanceGroupManagersHttpRequest request = ListManagedInstancesInstanceGroupManagersHttpRequest.newBuilder()
+   *     .setInstanceGroupManager(formattedInstanceGroupManager)
+   *     .build();
+   *   while (true) {
+   *     InstanceGroupManagersListManagedInstancesResponse response = instanceGroupManagerClient.listManagedInstancesInstanceGroupManagersCallable().call(request);
+   *     for (ManagedInstance element : response.getManagedInstancesList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
    * }
    * 
*/ @@ -2781,4 +2827,114 @@ protected ListErrorsInstanceGroupManagersFixedSizeCollection createCollection( return new ListErrorsInstanceGroupManagersFixedSizeCollection(pages, collectionSize); } } + + public static class ListManagedInstancesInstanceGroupManagersPagedResponse + extends AbstractPagedListResponse< + ListManagedInstancesInstanceGroupManagersHttpRequest, + InstanceGroupManagersListManagedInstancesResponse, + ManagedInstance, + ListManagedInstancesInstanceGroupManagersPage, + ListManagedInstancesInstanceGroupManagersFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext< + ListManagedInstancesInstanceGroupManagersHttpRequest, + InstanceGroupManagersListManagedInstancesResponse, + ManagedInstance> + context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListManagedInstancesInstanceGroupManagersPage.createEmptyPage() + .createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + new ApiFunction< + ListManagedInstancesInstanceGroupManagersPage, + ListManagedInstancesInstanceGroupManagersPagedResponse>() { + @Override + public ListManagedInstancesInstanceGroupManagersPagedResponse apply( + ListManagedInstancesInstanceGroupManagersPage input) { + return new ListManagedInstancesInstanceGroupManagersPagedResponse(input); + } + }, + MoreExecutors.directExecutor()); + } + + private ListManagedInstancesInstanceGroupManagersPagedResponse( + ListManagedInstancesInstanceGroupManagersPage page) { + super( + page, + ListManagedInstancesInstanceGroupManagersFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListManagedInstancesInstanceGroupManagersPage + extends AbstractPage< + ListManagedInstancesInstanceGroupManagersHttpRequest, + InstanceGroupManagersListManagedInstancesResponse, + ManagedInstance, + ListManagedInstancesInstanceGroupManagersPage> { + + private ListManagedInstancesInstanceGroupManagersPage( + PageContext< + ListManagedInstancesInstanceGroupManagersHttpRequest, + InstanceGroupManagersListManagedInstancesResponse, + ManagedInstance> + context, + InstanceGroupManagersListManagedInstancesResponse response) { + super(context, response); + } + + private static ListManagedInstancesInstanceGroupManagersPage createEmptyPage() { + return new ListManagedInstancesInstanceGroupManagersPage(null, null); + } + + @Override + protected ListManagedInstancesInstanceGroupManagersPage createPage( + PageContext< + ListManagedInstancesInstanceGroupManagersHttpRequest, + InstanceGroupManagersListManagedInstancesResponse, + ManagedInstance> + context, + InstanceGroupManagersListManagedInstancesResponse response) { + return new ListManagedInstancesInstanceGroupManagersPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext< + ListManagedInstancesInstanceGroupManagersHttpRequest, + InstanceGroupManagersListManagedInstancesResponse, + ManagedInstance> + context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListManagedInstancesInstanceGroupManagersFixedSizeCollection + extends AbstractFixedSizeCollection< + ListManagedInstancesInstanceGroupManagersHttpRequest, + InstanceGroupManagersListManagedInstancesResponse, + ManagedInstance, + ListManagedInstancesInstanceGroupManagersPage, + ListManagedInstancesInstanceGroupManagersFixedSizeCollection> { + + private ListManagedInstancesInstanceGroupManagersFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListManagedInstancesInstanceGroupManagersFixedSizeCollection + createEmptyCollection() { + return new ListManagedInstancesInstanceGroupManagersFixedSizeCollection(null, 0); + } + + @Override + protected ListManagedInstancesInstanceGroupManagersFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListManagedInstancesInstanceGroupManagersFixedSizeCollection( + pages, collectionSize); + } + } } diff --git a/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerSettings.java b/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerSettings.java index 2c9b6f5bf..1e46c94bd 100644 --- a/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerSettings.java +++ b/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerSettings.java @@ -18,6 +18,7 @@ import static com.google.cloud.compute.v1.InstanceGroupManagerClient.AggregatedListInstanceGroupManagersPagedResponse; import static com.google.cloud.compute.v1.InstanceGroupManagerClient.ListErrorsInstanceGroupManagersPagedResponse; import static com.google.cloud.compute.v1.InstanceGroupManagerClient.ListInstanceGroupManagersPagedResponse; +import static com.google.cloud.compute.v1.InstanceGroupManagerClient.ListManagedInstancesInstanceGroupManagersPagedResponse; import com.google.api.core.ApiFunction; import com.google.api.core.BetaApi; @@ -157,9 +158,10 @@ public class InstanceGroupManagerSettings extends ClientSettings + InstanceGroupManagersListManagedInstancesResponse, + ListManagedInstancesInstanceGroupManagersPagedResponse> listManagedInstancesInstanceGroupManagersSettings() { return ((InstanceGroupManagerStubSettings) getStubSettings()) .listManagedInstancesInstanceGroupManagersSettings(); @@ -392,9 +394,10 @@ public Builder applyToAllUnaryMethods( * Returns the builder for the settings used for calls to * listManagedInstancesInstanceGroupManagers. */ - public UnaryCallSettings.Builder< + public PagedCallSettings.Builder< ListManagedInstancesInstanceGroupManagersHttpRequest, - InstanceGroupManagersListManagedInstancesResponse> + InstanceGroupManagersListManagedInstancesResponse, + ListManagedInstancesInstanceGroupManagersPagedResponse> listManagedInstancesInstanceGroupManagersSettings() { return getStubSettingsBuilder().listManagedInstancesInstanceGroupManagersSettings(); } diff --git a/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersListManagedInstancesResponse.java b/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersListManagedInstancesResponse.java index 3215e9780..2ea22835a 100644 --- a/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersListManagedInstancesResponse.java +++ b/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersListManagedInstancesResponse.java @@ -27,14 +27,17 @@ @BetaApi public final class InstanceGroupManagersListManagedInstancesResponse implements ApiMessage { private final List managedInstances; + private final String nextPageToken; private InstanceGroupManagersListManagedInstancesResponse() { this.managedInstances = null; + this.nextPageToken = null; } private InstanceGroupManagersListManagedInstancesResponse( - List managedInstances) { + List managedInstances, String nextPageToken) { this.managedInstances = managedInstances; + this.nextPageToken = nextPageToken; } @Override @@ -42,6 +45,9 @@ public Object getFieldValue(String fieldName) { if ("managedInstances".equals(fieldName)) { return managedInstances; } + if ("nextPageToken".equals(fieldName)) { + return nextPageToken; + } return null; } @@ -68,6 +74,16 @@ public List getManagedInstancesList() { return managedInstances; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ + public String getNextPageToken() { + return nextPageToken; + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } @@ -92,6 +108,7 @@ public static InstanceGroupManagersListManagedInstancesResponse getDefaultInstan public static class Builder { private List managedInstances; + private String nextPageToken; Builder() {} @@ -101,11 +118,15 @@ public Builder mergeFrom(InstanceGroupManagersListManagedInstancesResponse other if (other.getManagedInstancesList() != null) { this.managedInstances = other.managedInstances; } + if (other.getNextPageToken() != null) { + this.nextPageToken = other.nextPageToken; + } return this; } Builder(InstanceGroupManagersListManagedInstancesResponse source) { this.managedInstances = source.managedInstances; + this.nextPageToken = source.nextPageToken; } /** [Output Only] The list of instances in the managed instance group. */ @@ -131,13 +152,36 @@ public Builder addManagedInstances(ManagedInstance managedInstances) { return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ + public String getNextPageToken() { + return nextPageToken; + } + + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ + public Builder setNextPageToken(String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + public InstanceGroupManagersListManagedInstancesResponse build() { - return new InstanceGroupManagersListManagedInstancesResponse(managedInstances); + + return new InstanceGroupManagersListManagedInstancesResponse(managedInstances, nextPageToken); } public Builder clone() { Builder newBuilder = new Builder(); newBuilder.addAllManagedInstances(this.managedInstances); + newBuilder.setNextPageToken(this.nextPageToken); return newBuilder; } } @@ -147,6 +191,9 @@ public String toString() { return "InstanceGroupManagersListManagedInstancesResponse{" + "managedInstances=" + managedInstances + + ", " + + "nextPageToken=" + + nextPageToken + "}"; } @@ -158,13 +205,14 @@ public boolean equals(Object o) { if (o instanceof InstanceGroupManagersListManagedInstancesResponse) { InstanceGroupManagersListManagedInstancesResponse that = (InstanceGroupManagersListManagedInstancesResponse) o; - return Objects.equals(this.managedInstances, that.getManagedInstancesList()); + return Objects.equals(this.managedInstances, that.getManagedInstancesList()) + && Objects.equals(this.nextPageToken, that.getNextPageToken()); } return false; } @Override public int hashCode() { - return Objects.hash(managedInstances); + return Objects.hash(managedInstances, nextPageToken); } } diff --git a/src/main/java/com/google/cloud/compute/v1/ListAcceleratorTypesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListAcceleratorTypesHttpRequest.java index 77ec829ae..20a59e817 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListAcceleratorTypesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListAcceleratorTypesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListAddressesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListAddressesHttpRequest.java index 7b6455623..ee5ee5a9e 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListAddressesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListAddressesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListAutoscalersHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListAutoscalersHttpRequest.java index 78b990ab3..b0c7c8a1e 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListAutoscalersHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListAutoscalersHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListAvailableFeaturesSslPoliciesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListAvailableFeaturesSslPoliciesHttpRequest.java index 869273f3d..fa893ed05 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListAvailableFeaturesSslPoliciesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListAvailableFeaturesSslPoliciesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListBackendBucketsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListBackendBucketsHttpRequest.java index f9c5dfced..f3072c4e2 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListBackendBucketsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListBackendBucketsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListBackendServicesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListBackendServicesHttpRequest.java index 8e6397f8d..1130e5709 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListBackendServicesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListBackendServicesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListDiskTypesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListDiskTypesHttpRequest.java index 77a599ffd..340d5f72e 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListDiskTypesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListDiskTypesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListDisksHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListDisksHttpRequest.java index f8fe26b59..faf97ccc8 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListDisksHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListDisksHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListErrorsInstanceGroupManagersHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListErrorsInstanceGroupManagersHttpRequest.java index e170e6e05..8c7f3b5e6 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListErrorsInstanceGroupManagersHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListErrorsInstanceGroupManagersHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -202,9 +202,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -215,19 +215,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -379,21 +379,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -403,21 +403,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -466,9 +466,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -476,9 +476,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -490,11 +490,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -505,11 +505,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -517,16 +517,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListErrorsRegionInstanceGroupManagersHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListErrorsRegionInstanceGroupManagersHttpRequest.java index 30c1d9fa8..241d8b1c6 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListErrorsRegionInstanceGroupManagersHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListErrorsRegionInstanceGroupManagersHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -202,9 +202,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -215,19 +215,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -380,21 +380,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -404,21 +404,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -467,9 +467,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -477,9 +477,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -491,11 +491,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -506,11 +506,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -518,16 +518,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListExternalVpnGatewaysHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListExternalVpnGatewaysHttpRequest.java index ce51fdac1..28bb348c3 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListExternalVpnGatewaysHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListExternalVpnGatewaysHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListFirewallsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListFirewallsHttpRequest.java index 4adcc5b61..ab85703b2 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListFirewallsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListFirewallsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListForwardingRulesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListForwardingRulesHttpRequest.java index 4070f3998..53fd3d463 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListForwardingRulesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListForwardingRulesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListGlobalAddressesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListGlobalAddressesHttpRequest.java index ef640ecc9..cd35f4e56 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListGlobalAddressesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListGlobalAddressesHttpRequest.java @@ -158,21 +158,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -185,9 +185,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -198,19 +198,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -373,21 +373,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -397,21 +397,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -431,9 +431,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -441,9 +441,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -455,11 +455,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -470,11 +470,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -482,16 +482,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListGlobalForwardingRulesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListGlobalForwardingRulesHttpRequest.java index bd46f6100..1d6968aeb 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListGlobalForwardingRulesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListGlobalForwardingRulesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListGlobalNetworkEndpointGroupsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListGlobalNetworkEndpointGroupsHttpRequest.java index 2fdf8d0ff..894753795 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListGlobalNetworkEndpointGroupsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListGlobalNetworkEndpointGroupsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListGlobalOperationsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListGlobalOperationsHttpRequest.java index ed25d181c..a8a7c9016 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListGlobalOperationsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListGlobalOperationsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListHealthChecksHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListHealthChecksHttpRequest.java index c369a1762..40d7f8077 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListHealthChecksHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListHealthChecksHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListHttpHealthChecksHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListHttpHealthChecksHttpRequest.java index 5bc2201db..9dab97614 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListHttpHealthChecksHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListHttpHealthChecksHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListHttpsHealthChecksHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListHttpsHealthChecksHttpRequest.java index 935085b1f..e9c860b91 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListHttpsHealthChecksHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListHttpsHealthChecksHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListImagesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListImagesHttpRequest.java index eab94ad9f..a45331ce3 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListImagesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListImagesHttpRequest.java @@ -164,21 +164,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -191,9 +191,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -204,19 +204,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -379,21 +379,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -403,21 +403,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -437,9 +437,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -447,9 +447,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -461,11 +461,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -476,11 +476,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -488,16 +488,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagersHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagersHttpRequest.java index adf99f3eb..a3818420f 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagersHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagersHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupsHttpRequest.java index a9bebf82f..7d3131da8 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListInstanceTemplatesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListInstanceTemplatesHttpRequest.java index efd5ee383..e6ff6510b 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListInstanceTemplatesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListInstanceTemplatesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListInstancesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListInstancesHttpRequest.java index 6c00229ec..5f4a538f0 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListInstancesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListInstancesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListInstancesInstanceGroupsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListInstancesInstanceGroupsHttpRequest.java index 930605eed..a3128f858 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListInstancesInstanceGroupsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListInstancesInstanceGroupsHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -211,9 +211,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -224,19 +224,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -395,21 +395,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -419,21 +419,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -490,9 +490,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -500,9 +500,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -514,11 +514,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -529,11 +529,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -541,16 +541,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListInstancesRegionInstanceGroupsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListInstancesRegionInstanceGroupsHttpRequest.java index 010d5da66..3c1d480f7 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListInstancesRegionInstanceGroupsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListInstancesRegionInstanceGroupsHttpRequest.java @@ -171,21 +171,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -210,9 +210,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -223,19 +223,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -400,21 +400,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -424,21 +424,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -483,9 +483,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -493,9 +493,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -507,11 +507,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -522,11 +522,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -534,16 +534,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListInterconnectAttachmentsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListInterconnectAttachmentsHttpRequest.java index 5f65f6710..50f4ad1f5 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListInterconnectAttachmentsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListInterconnectAttachmentsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListInterconnectLocationsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListInterconnectLocationsHttpRequest.java index c19dec674..dc01c75ac 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListInterconnectLocationsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListInterconnectLocationsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListInterconnectsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListInterconnectsHttpRequest.java index e45acbd14..42f95f45a 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListInterconnectsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListInterconnectsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListLicensesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListLicensesHttpRequest.java index f1cb55c2c..1a27d842e 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListLicensesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListLicensesHttpRequest.java @@ -165,21 +165,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -192,9 +192,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -205,19 +205,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -380,21 +380,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -404,21 +404,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -438,9 +438,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -448,9 +448,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -462,11 +462,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -477,11 +477,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -489,16 +489,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListMachineTypesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListMachineTypesHttpRequest.java index 8062fdaee..bf6326e63 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListMachineTypesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListMachineTypesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesInstanceGroupManagersHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesInstanceGroupManagersHttpRequest.java index ad8f17129..d637f42e5 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesInstanceGroupManagersHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesInstanceGroupManagersHttpRequest.java @@ -164,21 +164,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -203,9 +203,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -216,19 +216,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -381,21 +381,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -405,21 +405,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -464,9 +464,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -474,9 +474,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -488,11 +488,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -503,11 +503,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -515,16 +515,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesRegionInstanceGroupManagersHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesRegionInstanceGroupManagersHttpRequest.java index e184cbd4d..3cd9548c6 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesRegionInstanceGroupManagersHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesRegionInstanceGroupManagersHttpRequest.java @@ -163,21 +163,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -202,9 +202,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -215,19 +215,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -381,21 +381,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -405,21 +405,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -464,9 +464,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -474,9 +474,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -488,11 +488,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -503,11 +503,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -515,16 +515,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListNetworkEndpointGroupsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListNetworkEndpointGroupsHttpRequest.java index 86f3d62a6..417eafea6 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListNetworkEndpointGroupsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListNetworkEndpointGroupsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -377,21 +377,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -401,21 +401,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -435,9 +435,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -445,9 +445,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -459,11 +459,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -474,11 +474,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -486,16 +486,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListNetworkEndpointsGlobalNetworkEndpointGroupsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListNetworkEndpointsGlobalNetworkEndpointGroupsHttpRequest.java index 3c3a427f0..2d979e1e8 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListNetworkEndpointsGlobalNetworkEndpointGroupsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListNetworkEndpointsGlobalNetworkEndpointGroupsHttpRequest.java @@ -162,21 +162,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -189,9 +189,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -215,19 +215,19 @@ public String getNetworkEndpointGroup() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -381,21 +381,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -405,21 +405,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -439,9 +439,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -449,9 +449,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -490,11 +490,11 @@ public Builder setNetworkEndpointGroup(String networkEndpointGroup) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -505,11 +505,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -517,16 +517,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListNetworkEndpointsNetworkEndpointGroupsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListNetworkEndpointsNetworkEndpointGroupsHttpRequest.java index 8d094c5ec..06616948c 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListNetworkEndpointsNetworkEndpointGroupsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListNetworkEndpointsNetworkEndpointGroupsHttpRequest.java @@ -170,21 +170,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -197,9 +197,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -228,19 +228,19 @@ public String getNetworkEndpointGroup() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -401,21 +401,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -425,21 +425,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -459,9 +459,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -469,9 +469,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -523,11 +523,11 @@ public Builder setNetworkEndpointGroupsListEndpointsRequestResource( * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -538,11 +538,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -550,16 +550,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListNetworksHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListNetworksHttpRequest.java index abc6df9c4..622a1176e 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListNetworksHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListNetworksHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListNodeGroupsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListNodeGroupsHttpRequest.java index 97d6e39f4..7cd9dbd0d 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListNodeGroupsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListNodeGroupsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListNodeTemplatesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListNodeTemplatesHttpRequest.java index c166aba15..8d45a4004 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListNodeTemplatesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListNodeTemplatesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListNodeTypesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListNodeTypesHttpRequest.java index e9fe70742..216b3bc23 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListNodeTypesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListNodeTypesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListNodesNodeGroupsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListNodesNodeGroupsHttpRequest.java index 7ee1bf86a..444197018 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListNodesNodeGroupsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListNodesNodeGroupsHttpRequest.java @@ -158,21 +158,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -185,9 +185,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -210,19 +210,19 @@ public String getNodeGroup() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -374,21 +374,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -398,21 +398,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -432,9 +432,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -442,9 +442,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -481,11 +481,11 @@ public Builder setNodeGroup(String nodeGroup) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -496,11 +496,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -508,16 +508,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListPacketMirroringsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListPacketMirroringsHttpRequest.java index 654287c6d..1075eec2f 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListPacketMirroringsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListPacketMirroringsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListPeeringRoutesNetworksHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListPeeringRoutesNetworksHttpRequest.java index 286c41131..dc0c0ff12 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListPeeringRoutesNetworksHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListPeeringRoutesNetworksHttpRequest.java @@ -187,21 +187,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -214,9 +214,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -239,19 +239,19 @@ public String getNetwork() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -442,21 +442,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -466,21 +466,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -500,9 +500,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -510,9 +510,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -549,11 +549,11 @@ public Builder setNetwork(String network) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -564,11 +564,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -576,16 +576,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest.java new file mode 100644 index 000000000..30396c7f3 --- /dev/null +++ b/src/main/java/com/google/cloud/compute/v1/ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest.java @@ -0,0 +1,690 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.compute.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.ApiMessage; +import java.util.List; +import java.util.Objects; +import javax.annotation.Generated; +import javax.annotation.Nullable; + +@Generated("by GAPIC") +@BetaApi +/** + * Request object for method compute.securityPolicies.listPreconfiguredExpressionSets. Gets the + * current list of preconfigured Web Application Firewall (WAF) expressions. + */ +public final class ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest + implements ApiMessage { + private final String access_token; + private final String callback; + private final String fields; + private final String filter; + private final String key; + private final Integer maxResults; + private final String orderBy; + private final String pageToken; + private final String prettyPrint; + private final String project; + private final String quotaUser; + private final String userIp; + + private ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest() { + this.access_token = null; + this.callback = null; + this.fields = null; + this.filter = null; + this.key = null; + this.maxResults = null; + this.orderBy = null; + this.pageToken = null; + this.prettyPrint = null; + this.project = null; + this.quotaUser = null; + this.userIp = null; + } + + private ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest( + String access_token, + String callback, + String fields, + String filter, + String key, + Integer maxResults, + String orderBy, + String pageToken, + String prettyPrint, + String project, + String quotaUser, + String userIp) { + this.access_token = access_token; + this.callback = callback; + this.fields = fields; + this.filter = filter; + this.key = key; + this.maxResults = maxResults; + this.orderBy = orderBy; + this.pageToken = pageToken; + this.prettyPrint = prettyPrint; + this.project = project; + this.quotaUser = quotaUser; + this.userIp = userIp; + } + + @Override + public Object getFieldValue(String fieldName) { + if ("access_token".equals(fieldName)) { + return access_token; + } + if ("callback".equals(fieldName)) { + return callback; + } + if ("fields".equals(fieldName)) { + return fields; + } + if ("filter".equals(fieldName)) { + return filter; + } + if ("key".equals(fieldName)) { + return key; + } + if ("maxResults".equals(fieldName)) { + return maxResults; + } + if ("orderBy".equals(fieldName)) { + return orderBy; + } + if ("pageToken".equals(fieldName)) { + return pageToken; + } + if ("prettyPrint".equals(fieldName)) { + return prettyPrint; + } + if ("project".equals(fieldName)) { + return project; + } + if ("quotaUser".equals(fieldName)) { + return quotaUser; + } + if ("userIp".equals(fieldName)) { + return userIp; + } + return null; + } + + @Nullable + @Override + public ApiMessage getApiMessageRequestBody() { + return null; + } + + @Nullable + @Override + /** + * The fields that should be serialized (even if they have empty values). If the containing + * message object has a non-null fieldmask, then all the fields in the field mask (and only those + * fields in the field mask) will be serialized. If the containing object does not have a + * fieldmask, then only non-empty fields will be serialized. + */ + public List getFieldMask() { + return null; + } + + /** OAuth 2.0 token for the current user. */ + public String getAccessToken() { + return access_token; + } + + /** Name of the JavaScript callback function that handles the response. */ + public String getCallback() { + return callback; + } + + /** Selector specifying a subset of fields to include in the response. */ + public String getFields() { + return fields; + } + + /** + * A filter expression that filters resources listed in the response. The expression must specify + * the field name, a comparison operator, and the value that you want to use for filtering. The + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances named + * `example-instance` by specifying `name != example-instance`. + * + *

You can also filter nested fields. For example, you could specify + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. For + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` + */ + public String getFilter() { + return filter; + } + + /** API key. Required unless you provide an OAuth 2.0 token. */ + public String getKey() { + return key; + } + + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) + */ + public Integer getMaxResults() { + return maxResults; + } + + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order + * based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. + * + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. + */ + public String getOrderBy() { + return orderBy; + } + + /** + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. + */ + public String getPageToken() { + return pageToken; + } + + /** Returns response with indentations and line breaks. */ + public String getPrettyPrint() { + return prettyPrint; + } + + /** + * Project ID for this request. It must have the format + * `{project}/global/securityPolicies/listPreconfiguredExpressionSets`. \`{project}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * signs + * (\`%\`). It must be between 3 and 255 characters in length, and it * must not start with + * \`"goog"\`. + */ + public String getProject() { + return project; + } + + /** Alternative to userIp. */ + public String getQuotaUser() { + return quotaUser; + } + + /** IP address of the end user for whom the API call is being made. */ + public String getUserIp() { + return userIp; + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + public static ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest(); + } + + public static class Builder { + private String access_token; + private String callback; + private String fields; + private String filter; + private String key; + private Integer maxResults; + private String orderBy; + private String pageToken; + private String prettyPrint; + private String project; + private String quotaUser; + private String userIp; + + Builder() {} + + public Builder mergeFrom(ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest other) { + if (other == ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest.getDefaultInstance()) + return this; + if (other.getAccessToken() != null) { + this.access_token = other.access_token; + } + if (other.getCallback() != null) { + this.callback = other.callback; + } + if (other.getFields() != null) { + this.fields = other.fields; + } + if (other.getFilter() != null) { + this.filter = other.filter; + } + if (other.getKey() != null) { + this.key = other.key; + } + if (other.getMaxResults() != null) { + this.maxResults = other.maxResults; + } + if (other.getOrderBy() != null) { + this.orderBy = other.orderBy; + } + if (other.getPageToken() != null) { + this.pageToken = other.pageToken; + } + if (other.getPrettyPrint() != null) { + this.prettyPrint = other.prettyPrint; + } + if (other.getProject() != null) { + this.project = other.project; + } + if (other.getQuotaUser() != null) { + this.quotaUser = other.quotaUser; + } + if (other.getUserIp() != null) { + this.userIp = other.userIp; + } + return this; + } + + Builder(ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest source) { + this.access_token = source.access_token; + this.callback = source.callback; + this.fields = source.fields; + this.filter = source.filter; + this.key = source.key; + this.maxResults = source.maxResults; + this.orderBy = source.orderBy; + this.pageToken = source.pageToken; + this.prettyPrint = source.prettyPrint; + this.project = source.project; + this.quotaUser = source.quotaUser; + this.userIp = source.userIp; + } + + /** OAuth 2.0 token for the current user. */ + public String getAccessToken() { + return access_token; + } + + /** OAuth 2.0 token for the current user. */ + public Builder setAccessToken(String access_token) { + this.access_token = access_token; + return this; + } + + /** Name of the JavaScript callback function that handles the response. */ + public String getCallback() { + return callback; + } + + /** Name of the JavaScript callback function that handles the response. */ + public Builder setCallback(String callback) { + this.callback = callback; + return this; + } + + /** Selector specifying a subset of fields to include in the response. */ + public String getFields() { + return fields; + } + + /** Selector specifying a subset of fields to include in the response. */ + public Builder setFields(String fields) { + this.fields = fields; + return this; + } + + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either `=`, `!=`, `>`, or `<`. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named `example-instance` by specifying `name != example-instance`. + * + *

You can also filter nested fields. For example, you could specify + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` + */ + public String getFilter() { + return filter; + } + + /** + * A filter expression that filters resources listed in the response. The expression must + * specify the field name, a comparison operator, and the value that you want to use for + * filtering. The value must be a string, a number, or a boolean. The comparison operator must + * be either `=`, `!=`, `>`, or `<`. + * + *

For example, if you are filtering Compute Engine instances, you can exclude instances + * named `example-instance` by specifying `name != example-instance`. + * + *

You can also filter nested fields. For example, you could specify + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for + * automatic restarts. You can use filtering on nested fields to filter based on resource + * labels. + * + *

To filter on multiple expressions, provide each separate expression within parentheses. + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` + */ + public Builder setFilter(String filter) { + this.filter = filter; + return this; + } + + /** API key. Required unless you provide an OAuth 2.0 token. */ + public String getKey() { + return key; + } + + /** API key. Required unless you provide an OAuth 2.0 token. */ + public Builder setKey(String key) { + this.key = key; + return this; + } + + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) + */ + public Integer getMaxResults() { + return maxResults; + } + + /** + * The maximum number of results per page that should be returned. If the number of available + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) + */ + public Builder setMaxResults(Integer maxResults) { + this.maxResults = maxResults; + return this; + } + + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. + * + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. + */ + public String getOrderBy() { + return orderBy; + } + + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical + * order based on the resource name. + * + *

You can also sort results in descending order based on the creation timestamp using + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. + * + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. + */ + public Builder setOrderBy(String orderBy) { + this.orderBy = orderBy; + return this; + } + + /** + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. + */ + public String getPageToken() { + return pageToken; + } + + /** + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. + */ + public Builder setPageToken(String pageToken) { + this.pageToken = pageToken; + return this; + } + + /** Returns response with indentations and line breaks. */ + public String getPrettyPrint() { + return prettyPrint; + } + + /** Returns response with indentations and line breaks. */ + public Builder setPrettyPrint(String prettyPrint) { + this.prettyPrint = prettyPrint; + return this; + } + + /** + * Project ID for this request. It must have the format + * `{project}/global/securityPolicies/listPreconfiguredExpressionSets`. \`{project}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ + public String getProject() { + return project; + } + + /** + * Project ID for this request. It must have the format + * `{project}/global/securityPolicies/listPreconfiguredExpressionSets`. \`{project}\` must start + * with a letter, and contain only letters (\`[A-Za-z]\`), numbers (\`[0-9]\`), dashes (\`-\`), + * * underscores (\`_\`), periods (\`.\`), tildes (\`~\`), plus (\`+\`) or percent * + * signs (\`%\`). It must be between 3 and 255 characters in length, and it * must not start + * with \`"goog"\`. + */ + public Builder setProject(String project) { + this.project = project; + return this; + } + + /** Alternative to userIp. */ + public String getQuotaUser() { + return quotaUser; + } + + /** Alternative to userIp. */ + public Builder setQuotaUser(String quotaUser) { + this.quotaUser = quotaUser; + return this; + } + + /** IP address of the end user for whom the API call is being made. */ + public String getUserIp() { + return userIp; + } + + /** IP address of the end user for whom the API call is being made. */ + public Builder setUserIp(String userIp) { + this.userIp = userIp; + return this; + } + + public ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest build() { + String missing = ""; + + if (project == null) { + missing += " project"; + } + + if (!missing.isEmpty()) { + throw new IllegalStateException("Missing required properties:" + missing); + } + return new ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest( + access_token, + callback, + fields, + filter, + key, + maxResults, + orderBy, + pageToken, + prettyPrint, + project, + quotaUser, + userIp); + } + + public Builder clone() { + Builder newBuilder = new Builder(); + newBuilder.setAccessToken(this.access_token); + newBuilder.setCallback(this.callback); + newBuilder.setFields(this.fields); + newBuilder.setFilter(this.filter); + newBuilder.setKey(this.key); + newBuilder.setMaxResults(this.maxResults); + newBuilder.setOrderBy(this.orderBy); + newBuilder.setPageToken(this.pageToken); + newBuilder.setPrettyPrint(this.prettyPrint); + newBuilder.setProject(this.project); + newBuilder.setQuotaUser(this.quotaUser); + newBuilder.setUserIp(this.userIp); + return newBuilder; + } + } + + @Override + public String toString() { + return "ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest{" + + "access_token=" + + access_token + + ", " + + "callback=" + + callback + + ", " + + "fields=" + + fields + + ", " + + "filter=" + + filter + + ", " + + "key=" + + key + + ", " + + "maxResults=" + + maxResults + + ", " + + "orderBy=" + + orderBy + + ", " + + "pageToken=" + + pageToken + + ", " + + "prettyPrint=" + + prettyPrint + + ", " + + "project=" + + project + + ", " + + "quotaUser=" + + quotaUser + + ", " + + "userIp=" + + userIp + + "}"; + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest) { + ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest that = + (ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest) o; + return Objects.equals(this.access_token, that.getAccessToken()) + && Objects.equals(this.callback, that.getCallback()) + && Objects.equals(this.fields, that.getFields()) + && Objects.equals(this.filter, that.getFilter()) + && Objects.equals(this.key, that.getKey()) + && Objects.equals(this.maxResults, that.getMaxResults()) + && Objects.equals(this.orderBy, that.getOrderBy()) + && Objects.equals(this.pageToken, that.getPageToken()) + && Objects.equals(this.prettyPrint, that.getPrettyPrint()) + && Objects.equals(this.project, that.getProject()) + && Objects.equals(this.quotaUser, that.getQuotaUser()) + && Objects.equals(this.userIp, that.getUserIp()); + } + return false; + } + + @Override + public int hashCode() { + return Objects.hash( + access_token, + callback, + fields, + filter, + key, + maxResults, + orderBy, + pageToken, + prettyPrint, + project, + quotaUser, + userIp); + } +} diff --git a/src/main/java/com/google/cloud/compute/v1/ListReferrersInstancesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListReferrersInstancesHttpRequest.java index a73b77d4b..2208b1b7b 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListReferrersInstancesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListReferrersInstancesHttpRequest.java @@ -162,21 +162,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -202,9 +202,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -215,19 +215,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -379,21 +379,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -403,21 +403,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -464,9 +464,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -474,9 +474,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -488,11 +488,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -503,11 +503,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -515,16 +515,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListRegionAutoscalersHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListRegionAutoscalersHttpRequest.java index 1bb2990ac..0ea799603 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListRegionAutoscalersHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListRegionAutoscalersHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListRegionBackendServicesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListRegionBackendServicesHttpRequest.java index d562711ca..7f9e45d81 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListRegionBackendServicesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListRegionBackendServicesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListRegionCommitmentsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListRegionCommitmentsHttpRequest.java index 13b1338ed..d0677c10c 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListRegionCommitmentsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListRegionCommitmentsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListRegionDiskTypesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListRegionDiskTypesHttpRequest.java index daaeb93e1..606a0ba37 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListRegionDiskTypesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListRegionDiskTypesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListRegionDisksHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListRegionDisksHttpRequest.java index 349a6a08e..7c54730a5 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListRegionDisksHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListRegionDisksHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListRegionHealthChecksHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListRegionHealthChecksHttpRequest.java index 96587d5dc..dbc4ff199 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListRegionHealthChecksHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListRegionHealthChecksHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupManagersHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupManagersHttpRequest.java index a5b9a3bf5..587256523 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupManagersHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupManagersHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupsHttpRequest.java index 7def513ce..fe130a17c 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListRegionOperationsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListRegionOperationsHttpRequest.java index a27608506..9a4d787bd 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListRegionOperationsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListRegionOperationsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListRegionSslCertificatesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListRegionSslCertificatesHttpRequest.java index 4a9e299aa..fbd4cd5be 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListRegionSslCertificatesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListRegionSslCertificatesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListRegionTargetHttpProxiesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListRegionTargetHttpProxiesHttpRequest.java index 032817fee..efd18a2fd 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListRegionTargetHttpProxiesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListRegionTargetHttpProxiesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListRegionTargetHttpsProxiesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListRegionTargetHttpsProxiesHttpRequest.java index 01bf1c4d7..9dec888f0 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListRegionTargetHttpsProxiesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListRegionTargetHttpsProxiesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListRegionUrlMapsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListRegionUrlMapsHttpRequest.java index 021295f5e..25eab30a0 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListRegionUrlMapsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListRegionUrlMapsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListRegionsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListRegionsHttpRequest.java index 40e3c4402..d1d0f0d64 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListRegionsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListRegionsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListReservationsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListReservationsHttpRequest.java index c510458b2..09809330c 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListReservationsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListReservationsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListResourcePoliciesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListResourcePoliciesHttpRequest.java index 0fc82b0d1..1c5301bfd 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListResourcePoliciesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListResourcePoliciesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListRoutersHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListRoutersHttpRequest.java index 260578e84..a82efc943 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListRoutersHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListRoutersHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListRoutesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListRoutesHttpRequest.java index e4893c885..fb9436c7d 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListRoutesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListRoutesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListSecurityPoliciesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListSecurityPoliciesHttpRequest.java index 57358df12..f05cff7fa 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListSecurityPoliciesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListSecurityPoliciesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListSnapshotsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListSnapshotsHttpRequest.java index eebfb33f1..324d45182 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListSnapshotsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListSnapshotsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListSslCertificatesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListSslCertificatesHttpRequest.java index d09995f60..22792a7c1 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListSslCertificatesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListSslCertificatesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListSslPoliciesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListSslPoliciesHttpRequest.java index 39ef27d52..9e8a91568 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListSslPoliciesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListSslPoliciesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListSubnetworksHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListSubnetworksHttpRequest.java index baca50466..8e61ac7e3 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListSubnetworksHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListSubnetworksHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListTargetHttpProxiesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListTargetHttpProxiesHttpRequest.java index 210502620..f2de62e78 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListTargetHttpProxiesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListTargetHttpProxiesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListTargetHttpsProxiesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListTargetHttpsProxiesHttpRequest.java index 5a7efd57c..5404573ef 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListTargetHttpsProxiesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListTargetHttpsProxiesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListTargetInstancesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListTargetInstancesHttpRequest.java index 4afbf1c7f..b50ba4641 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListTargetInstancesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListTargetInstancesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListTargetPoolsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListTargetPoolsHttpRequest.java index e477d9836..2735526c8 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListTargetPoolsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListTargetPoolsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListTargetSslProxiesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListTargetSslProxiesHttpRequest.java index d18a52111..105df1e6c 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListTargetSslProxiesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListTargetSslProxiesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListTargetTcpProxiesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListTargetTcpProxiesHttpRequest.java index b7a6806c3..34ed95367 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListTargetTcpProxiesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListTargetTcpProxiesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListTargetVpnGatewaysHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListTargetVpnGatewaysHttpRequest.java index f5e31d7c2..9b99d3c96 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListTargetVpnGatewaysHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListTargetVpnGatewaysHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListUrlMapsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListUrlMapsHttpRequest.java index 465b05471..87a684a85 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListUrlMapsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListUrlMapsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListUsableSubnetworksHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListUsableSubnetworksHttpRequest.java index 63de80ea4..ec841032f 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListUsableSubnetworksHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListUsableSubnetworksHttpRequest.java @@ -162,21 +162,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -189,9 +189,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -202,19 +202,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -377,21 +377,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -401,21 +401,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -435,9 +435,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -445,9 +445,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -459,11 +459,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -474,11 +474,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -486,16 +486,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListVpnGatewaysHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListVpnGatewaysHttpRequest.java index a840a974d..5ba4532e4 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListVpnGatewaysHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListVpnGatewaysHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListVpnTunnelsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListVpnTunnelsHttpRequest.java index 6da30d29c..422913bd7 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListVpnTunnelsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListVpnTunnelsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListXpnHostsProjectsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListXpnHostsProjectsHttpRequest.java index fdc7b93e4..1d24ec79c 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListXpnHostsProjectsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListXpnHostsProjectsHttpRequest.java @@ -168,21 +168,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -195,9 +195,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -208,19 +208,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -392,21 +392,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -416,21 +416,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -450,9 +450,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -460,9 +460,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -474,11 +474,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -489,11 +489,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -501,16 +501,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListZoneOperationsHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListZoneOperationsHttpRequest.java index e6914191f..c7497c972 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListZoneOperationsHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListZoneOperationsHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/ListZonesHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/ListZonesHttpRequest.java index a76ffe308..19e2c3bd4 100644 --- a/src/main/java/com/google/cloud/compute/v1/ListZonesHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/ListZonesHttpRequest.java @@ -161,21 +161,21 @@ public String getFields() { /** * A filter expression that filters resources listed in the response. The expression must specify * the field name, a comparison operator, and the value that you want to use for filtering. The - * value must be a string, a number, or a boolean. The comparison operator must be either =, !=, - * >, or <. + * value must be a string, a number, or a boolean. The comparison operator must be either `=`, + * `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances named - * example-instance by specifying name != example-instance. + * `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. For - * example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each - * expression is an AND expression. However, you can include AND and OR expressions explicitly. - * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true). + * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -188,9 +188,9 @@ public String getKey() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used + * to get the next page of results in subsequent list requests. Acceptable values are `0` to + * `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -201,19 +201,19 @@ public Integer getMaxResults() { * based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; @@ -376,21 +376,21 @@ public Builder setFields(String fields) { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public String getFilter() { return filter; @@ -400,21 +400,21 @@ public String getFilter() { * A filter expression that filters resources listed in the response. The expression must * specify the field name, a comparison operator, and the value that you want to use for * filtering. The value must be a string, a number, or a boolean. The comparison operator must - * be either =, !=, >, or <. + * be either `=`, `!=`, `>`, or `<`. * *

For example, if you are filtering Compute Engine instances, you can exclude instances - * named example-instance by specifying name != example-instance. + * named `example-instance` by specifying `name != example-instance`. * *

You can also filter nested fields. For example, you could specify - * scheduling.automaticRestart = false to include instances only if they are not scheduled for + * `scheduling.automaticRestart = false` to include instances only if they are not scheduled for * automatic restarts. You can use filtering on nested fields to filter based on resource * labels. * *

To filter on multiple expressions, provide each separate expression within parentheses. - * For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By - * default, each expression is an AND expression. However, you can include AND and OR - * expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel - * Broadwell") AND (scheduling.automaticRestart = true). + * For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include `AND` and `OR` + * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = + * "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` */ public Builder setFilter(String filter) { this.filter = filter; @@ -434,9 +434,9 @@ public Builder setKey(String key) { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Integer getMaxResults() { return maxResults; @@ -444,9 +444,9 @@ public Integer getMaxResults() { /** * The maximum number of results per page that should be returned. If the number of available - * results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to - * get the next page of results in subsequent list requests. Acceptable values are 0 to 500, - * inclusive. (Default: 500) + * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be + * used to get the next page of results in subsequent list requests. Acceptable values are `0` + * to `500`, inclusive. (Default: `500`) */ public Builder setMaxResults(Integer maxResults) { this.maxResults = maxResults; @@ -458,11 +458,11 @@ public Builder setMaxResults(Integer maxResults) { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public String getOrderBy() { return orderBy; @@ -473,11 +473,11 @@ public String getOrderBy() { * order based on the resource name. * *

You can also sort results in descending order based on the creation timestamp using - * orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in - * reverse chronological order (newest result first). Use this to sort resources like operations - * so that the newest operation is returned first. + * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field + * in reverse chronological order (newest result first). Use this to sort resources like + * operations so that the newest operation is returned first. * - *

Currently, only sorting by name or creationTimestamp desc is supported. + *

Currently, only sorting by `name` or `creationTimestamp desc` is supported. */ public Builder setOrderBy(String orderBy) { this.orderBy = orderBy; @@ -485,16 +485,16 @@ public Builder setOrderBy(String orderBy) { } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public String getPageToken() { return pageToken; } /** - * Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list - * request to get the next page of results. + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous + * list request to get the next page of results. */ public Builder setPageToken(String pageToken) { this.pageToken = pageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/Operation.java b/src/main/java/com/google/cloud/compute/v1/Operation.java index c7f6e8285..922b2ec17 100644 --- a/src/main/java/com/google/cloud/compute/v1/Operation.java +++ b/src/main/java/com/google/cloud/compute/v1/Operation.java @@ -37,9 +37,9 @@ *

You can use an operation resource to manage asynchronous API requests. For more information, * read Handling API responses. * - *

Operations can be global, regional or zonal. - For global operations, use the globalOperations - * resource. - For regional operations, use the regionOperations resource. - For zonal operations, - * use the zoneOperations resource. + *

Operations can be global, regional or zonal. - For global operations, use the + * `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - + * For zonal operations, use the `zonalOperations` resource. * *

For more information, read Global, Regional, and Zonal Resources. (== resource_for * {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== @@ -275,7 +275,7 @@ public Error getError() { /** * [Output Only] If the operation fails, this field contains the HTTP error message that was - * returned, such as NOT FOUND. + * returned, such as `NOT FOUND`. */ public String getHttpErrorMessage() { return httpErrorMessage; @@ -283,7 +283,7 @@ public String getHttpErrorMessage() { /** * [Output Only] If the operation fails, this field contains the HTTP error status code that was - * returned. For example, a 404 means the resource was not found. + * returned. For example, a `404` means the resource was not found. */ public Integer getHttpErrorStatusCode() { return httpErrorStatusCode; @@ -304,7 +304,7 @@ public String getInsertTime() { return insertTime; } - /** [Output Only] Type of the resource. Always compute#operation for Operation resources. */ + /** [Output Only] Type of the resource. Always `compute#operation` for Operation resources. */ public String getKind() { return kind; } @@ -314,7 +314,7 @@ public String getName() { return name; } - /** [Output Only] The type of operation, such as insert, update, or delete, and so on. */ + /** [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on. */ public String getOperationType() { return operationType; } @@ -351,8 +351,8 @@ public String getStartTime() { } /** - * [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, - * or DONE. + * [Output Only] The status of the operation, which can be one of the following: `PENDING`, + * `RUNNING`, or `DONE`. */ public String getStatus() { return status; @@ -379,7 +379,7 @@ public String getTargetLink() { return targetLink; } - /** [Output Only] User who requested the operation, for example: user{@literal @}example.com. */ + /** [Output Only] User who requested the operation, for example: `user{@literal @}example.com`. */ public String getUser() { return user; } @@ -630,7 +630,7 @@ public Builder setError(Error error) { /** * [Output Only] If the operation fails, this field contains the HTTP error message that was - * returned, such as NOT FOUND. + * returned, such as `NOT FOUND`. */ public String getHttpErrorMessage() { return httpErrorMessage; @@ -638,7 +638,7 @@ public String getHttpErrorMessage() { /** * [Output Only] If the operation fails, this field contains the HTTP error message that was - * returned, such as NOT FOUND. + * returned, such as `NOT FOUND`. */ public Builder setHttpErrorMessage(String httpErrorMessage) { this.httpErrorMessage = httpErrorMessage; @@ -647,7 +647,7 @@ public Builder setHttpErrorMessage(String httpErrorMessage) { /** * [Output Only] If the operation fails, this field contains the HTTP error status code that was - * returned. For example, a 404 means the resource was not found. + * returned. For example, a `404` means the resource was not found. */ public Integer getHttpErrorStatusCode() { return httpErrorStatusCode; @@ -655,7 +655,7 @@ public Integer getHttpErrorStatusCode() { /** * [Output Only] If the operation fails, this field contains the HTTP error status code that was - * returned. For example, a 404 means the resource was not found. + * returned. For example, a `404` means the resource was not found. */ public Builder setHttpErrorStatusCode(Integer httpErrorStatusCode) { this.httpErrorStatusCode = httpErrorStatusCode; @@ -696,12 +696,12 @@ public Builder setInsertTime(String insertTime) { return this; } - /** [Output Only] Type of the resource. Always compute#operation for Operation resources. */ + /** [Output Only] Type of the resource. Always `compute#operation` for Operation resources. */ public String getKind() { return kind; } - /** [Output Only] Type of the resource. Always compute#operation for Operation resources. */ + /** [Output Only] Type of the resource. Always `compute#operation` for Operation resources. */ public Builder setKind(String kind) { this.kind = kind; return this; @@ -718,12 +718,12 @@ public Builder setName(String name) { return this; } - /** [Output Only] The type of operation, such as insert, update, or delete, and so on. */ + /** [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on. */ public String getOperationType() { return operationType; } - /** [Output Only] The type of operation, such as insert, update, or delete, and so on. */ + /** [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on. */ public Builder setOperationType(String operationType) { this.operationType = operationType; return this; @@ -796,16 +796,16 @@ public Builder setStartTime(String startTime) { } /** - * [Output Only] The status of the operation, which can be one of the following: PENDING, - * RUNNING, or DONE. + * [Output Only] The status of the operation, which can be one of the following: `PENDING`, + * `RUNNING`, or `DONE`. */ public String getStatus() { return status; } /** - * [Output Only] The status of the operation, which can be one of the following: PENDING, - * RUNNING, or DONE. + * [Output Only] The status of the operation, which can be one of the following: `PENDING`, + * `RUNNING`, or `DONE`. */ public Builder setStatus(String status) { this.status = status; @@ -857,12 +857,16 @@ public Builder setTargetLink(String targetLink) { return this; } - /** [Output Only] User who requested the operation, for example: user{@literal @}example.com. */ + /** + * [Output Only] User who requested the operation, for example: `user{@literal @}example.com`. + */ public String getUser() { return user; } - /** [Output Only] User who requested the operation, for example: user{@literal @}example.com. */ + /** + * [Output Only] User who requested the operation, for example: `user{@literal @}example.com`. + */ public Builder setUser(String user) { this.user = user; return this; diff --git a/src/main/java/com/google/cloud/compute/v1/OperationAggregatedList.java b/src/main/java/com/google/cloud/compute/v1/OperationAggregatedList.java index 8871df6c9..4f4dd326a 100644 --- a/src/main/java/com/google/cloud/compute/v1/OperationAggregatedList.java +++ b/src/main/java/com/google/cloud/compute/v1/OperationAggregatedList.java @@ -114,8 +114,8 @@ public Map getItemsMap() { } /** - * [Output Only] Type of resource. Always compute#operationAggregatedList for aggregated lists of - * operations. + * [Output Only] Type of resource. Always `compute#operationAggregatedList` for aggregated lists + * of operations. */ public String getKind() { return kind; @@ -123,9 +123,9 @@ public String getKind() { /** * [Output Only] This token allows you to get the next page of results for list requests. If the - * number of results is larger than maxResults, use the nextPageToken as a value for the query - * parameter pageToken in the next list request. Subsequent list requests will have their own - * nextPageToken to continue paging through the results. + * number of results is larger than `maxResults`, use the `nextPageToken` as a value for the query + * parameter `pageToken` in the next list request. Subsequent list requests will have their own + * `nextPageToken` to continue paging through the results. */ public String getNextPageToken() { return nextPageToken; @@ -240,7 +240,7 @@ public Builder putAllItems(Map items) { } /** - * [Output Only] Type of resource. Always compute#operationAggregatedList for aggregated lists + * [Output Only] Type of resource. Always `compute#operationAggregatedList` for aggregated lists * of operations. */ public String getKind() { @@ -248,7 +248,7 @@ public String getKind() { } /** - * [Output Only] Type of resource. Always compute#operationAggregatedList for aggregated lists + * [Output Only] Type of resource. Always `compute#operationAggregatedList` for aggregated lists * of operations. */ public Builder setKind(String kind) { @@ -258,9 +258,9 @@ public Builder setKind(String kind) { /** * [Output Only] This token allows you to get the next page of results for list requests. If the - * number of results is larger than maxResults, use the nextPageToken as a value for the query - * parameter pageToken in the next list request. Subsequent list requests will have their own - * nextPageToken to continue paging through the results. + * number of results is larger than `maxResults`, use the `nextPageToken` as a value for the + * query parameter `pageToken` in the next list request. Subsequent list requests will have + * their own `nextPageToken` to continue paging through the results. */ public String getNextPageToken() { return nextPageToken; @@ -268,9 +268,9 @@ public String getNextPageToken() { /** * [Output Only] This token allows you to get the next page of results for list requests. If the - * number of results is larger than maxResults, use the nextPageToken as a value for the query - * parameter pageToken in the next list request. Subsequent list requests will have their own - * nextPageToken to continue paging through the results. + * number of results is larger than `maxResults`, use the `nextPageToken` as a value for the + * query parameter `pageToken` in the next list request. Subsequent list requests will have + * their own `nextPageToken` to continue paging through the results. */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/OperationList.java b/src/main/java/com/google/cloud/compute/v1/OperationList.java index abda0331a..d1b18d76f 100644 --- a/src/main/java/com/google/cloud/compute/v1/OperationList.java +++ b/src/main/java/com/google/cloud/compute/v1/OperationList.java @@ -111,16 +111,16 @@ public List getItemsList() { return items; } - /** [Output Only] Type of resource. Always compute#operations for Operations resource. */ + /** [Output Only] Type of resource. Always `compute#operations` for Operations resource. */ public String getKind() { return kind; } /** * [Output Only] This token allows you to get the next page of results for list requests. If the - * number of results is larger than maxResults, use the nextPageToken as a value for the query - * parameter pageToken in the next list request. Subsequent list requests will have their own - * nextPageToken to continue paging through the results. + * number of results is larger than `maxResults`, use the `nextPageToken` as a value for the query + * parameter `pageToken` in the next list request. Subsequent list requests will have their own + * `nextPageToken` to continue paging through the results. */ public String getNextPageToken() { return nextPageToken; @@ -240,12 +240,12 @@ public Builder addItems(Operation items) { return this; } - /** [Output Only] Type of resource. Always compute#operations for Operations resource. */ + /** [Output Only] Type of resource. Always `compute#operations` for Operations resource. */ public String getKind() { return kind; } - /** [Output Only] Type of resource. Always compute#operations for Operations resource. */ + /** [Output Only] Type of resource. Always `compute#operations` for Operations resource. */ public Builder setKind(String kind) { this.kind = kind; return this; @@ -253,9 +253,9 @@ public Builder setKind(String kind) { /** * [Output Only] This token allows you to get the next page of results for list requests. If the - * number of results is larger than maxResults, use the nextPageToken as a value for the query - * parameter pageToken in the next list request. Subsequent list requests will have their own - * nextPageToken to continue paging through the results. + * number of results is larger than `maxResults`, use the `nextPageToken` as a value for the + * query parameter `pageToken` in the next list request. Subsequent list requests will have + * their own `nextPageToken` to continue paging through the results. */ public String getNextPageToken() { return nextPageToken; @@ -263,9 +263,9 @@ public String getNextPageToken() { /** * [Output Only] This token allows you to get the next page of results for list requests. If the - * number of results is larger than maxResults, use the nextPageToken as a value for the query - * parameter pageToken in the next list request. Subsequent list requests will have their own - * nextPageToken to continue paging through the results. + * number of results is larger than `maxResults`, use the `nextPageToken` as a value for the + * query parameter `pageToken` in the next list request. Subsequent list requests will have + * their own `nextPageToken` to continue paging through the results. */ public Builder setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; diff --git a/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java index eafe22b32..7b6d1c6b2 100644 --- a/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java @@ -28,7 +28,7 @@ /** * Request object for method compute.subnetworks.patch. Patches the specified subnetwork with the * data included in the request. Only certain fields can up updated with a patch request as - * indicated in the field descriptions. You must specify the current fingeprint of the subnetwork + * indicated in the field descriptions. You must specify the current fingerprint of the subnetwork * resource being patched. */ public final class PatchSubnetworkHttpRequest implements ApiMessage { diff --git a/src/main/java/com/google/cloud/compute/v1/PreconfiguredWafSet.java b/src/main/java/com/google/cloud/compute/v1/PreconfiguredWafSet.java new file mode 100644 index 000000000..e15c2d28c --- /dev/null +++ b/src/main/java/com/google/cloud/compute/v1/PreconfiguredWafSet.java @@ -0,0 +1,164 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.compute.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.ApiMessage; +import java.util.LinkedList; +import java.util.List; +import java.util.Objects; +import javax.annotation.Generated; +import javax.annotation.Nullable; + +@Generated("by GAPIC") +@BetaApi +public final class PreconfiguredWafSet implements ApiMessage { + private final List expressionSets; + + private PreconfiguredWafSet() { + this.expressionSets = null; + } + + private PreconfiguredWafSet(List expressionSets) { + this.expressionSets = expressionSets; + } + + @Override + public Object getFieldValue(String fieldName) { + if ("expressionSets".equals(fieldName)) { + return expressionSets; + } + return null; + } + + @Nullable + @Override + public ApiMessage getApiMessageRequestBody() { + return null; + } + + @Nullable + @Override + /** + * The fields that should be serialized (even if they have empty values). If the containing + * message object has a non-null fieldmask, then all the fields in the field mask (and only those + * fields in the field mask) will be serialized. If the containing object does not have a + * fieldmask, then only non-empty fields will be serialized. + */ + public List getFieldMask() { + return null; + } + + /** List of entities that are currently supported for WAF rules. */ + public List getExpressionSetsList() { + return expressionSets; + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(PreconfiguredWafSet prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + public static PreconfiguredWafSet getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final PreconfiguredWafSet DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new PreconfiguredWafSet(); + } + + public static class Builder { + private List expressionSets; + + Builder() {} + + public Builder mergeFrom(PreconfiguredWafSet other) { + if (other == PreconfiguredWafSet.getDefaultInstance()) return this; + if (other.getExpressionSetsList() != null) { + this.expressionSets = other.expressionSets; + } + return this; + } + + Builder(PreconfiguredWafSet source) { + this.expressionSets = source.expressionSets; + } + + /** List of entities that are currently supported for WAF rules. */ + public List getExpressionSetsList() { + return expressionSets; + } + + /** List of entities that are currently supported for WAF rules. */ + public Builder addAllExpressionSets(List expressionSets) { + if (this.expressionSets == null) { + this.expressionSets = new LinkedList<>(); + } + this.expressionSets.addAll(expressionSets); + return this; + } + + /** List of entities that are currently supported for WAF rules. */ + public Builder addExpressionSets(WafExpressionSet expressionSets) { + if (this.expressionSets == null) { + this.expressionSets = new LinkedList<>(); + } + this.expressionSets.add(expressionSets); + return this; + } + + public PreconfiguredWafSet build() { + return new PreconfiguredWafSet(expressionSets); + } + + public Builder clone() { + Builder newBuilder = new Builder(); + newBuilder.addAllExpressionSets(this.expressionSets); + return newBuilder; + } + } + + @Override + public String toString() { + return "PreconfiguredWafSet{" + "expressionSets=" + expressionSets + "}"; + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof PreconfiguredWafSet) { + PreconfiguredWafSet that = (PreconfiguredWafSet) o; + return Objects.equals(this.expressionSets, that.getExpressionSetsList()); + } + return false; + } + + @Override + public int hashCode() { + return Objects.hash(expressionSets); + } +} diff --git a/src/main/java/com/google/cloud/compute/v1/RegionDiskClient.java b/src/main/java/com/google/cloud/compute/v1/RegionDiskClient.java index c8283f6a3..61fc07e7f 100644 --- a/src/main/java/com/google/cloud/compute/v1/RegionDiskClient.java +++ b/src/main/java/com/google/cloud/compute/v1/RegionDiskClient.java @@ -599,7 +599,7 @@ public final UnaryCallable getRegionDiskCallable * @param region Name of the region for this request. * @param diskResource Represents a Persistent Disk resource. *

Google Compute Engine has two Disk resources: - *

* [Global](/compute/docs/reference/rest/{$api_version}/disks) * + *

* [Zonal](/compute/docs/reference/rest/{$api_version}/disks) * * [Regional](/compute/docs/reference/rest/{$api_version}/regionDisks) *

Persistent disks are required for running your VM instances. Create both boot and * non-boot (data) persistent disks. For more information, read Persistent Disks. For more @@ -639,7 +639,7 @@ public final Operation insertRegionDisk(ProjectRegionName region, Disk diskResou * @param region Name of the region for this request. * @param diskResource Represents a Persistent Disk resource. *

Google Compute Engine has two Disk resources: - *

* [Global](/compute/docs/reference/rest/{$api_version}/disks) * + *

* [Zonal](/compute/docs/reference/rest/{$api_version}/disks) * * [Regional](/compute/docs/reference/rest/{$api_version}/regionDisks) *

Persistent disks are required for running your VM instances. Create both boot and * non-boot (data) persistent disks. For more information, read Persistent Disks. For more diff --git a/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClient.java b/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClient.java index 9dbf23c71..b0f96e9aa 100644 --- a/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClient.java +++ b/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClient.java @@ -1398,7 +1398,9 @@ public final ListRegionInstanceGroupManagersPagedResponse listRegionInstanceGrou *


    * try (RegionInstanceGroupManagerClient regionInstanceGroupManagerClient = RegionInstanceGroupManagerClient.create()) {
    *   ProjectRegionInstanceGroupManagerName instanceGroupManager = ProjectRegionInstanceGroupManagerName.of("[PROJECT]", "[REGION]", "[INSTANCE_GROUP_MANAGER]");
-   *   RegionInstanceGroupManagersListInstancesResponse response = regionInstanceGroupManagerClient.listManagedInstancesRegionInstanceGroupManagers(instanceGroupManager);
+   *   for (ManagedInstance element : regionInstanceGroupManagerClient.listManagedInstancesRegionInstanceGroupManagers(instanceGroupManager).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
    * }
    * 
* @@ -1406,7 +1408,7 @@ public final ListRegionInstanceGroupManagersPagedResponse listRegionInstanceGrou * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi - public final RegionInstanceGroupManagersListInstancesResponse + public final ListManagedInstancesRegionInstanceGroupManagersPagedResponse listManagedInstancesRegionInstanceGroupManagers( ProjectRegionInstanceGroupManagerName instanceGroupManager) { ListManagedInstancesRegionInstanceGroupManagersHttpRequest request = @@ -1427,7 +1429,9 @@ public final ListRegionInstanceGroupManagersPagedResponse listRegionInstanceGrou *

    * try (RegionInstanceGroupManagerClient regionInstanceGroupManagerClient = RegionInstanceGroupManagerClient.create()) {
    *   ProjectRegionInstanceGroupManagerName instanceGroupManager = ProjectRegionInstanceGroupManagerName.of("[PROJECT]", "[REGION]", "[INSTANCE_GROUP_MANAGER]");
-   *   RegionInstanceGroupManagersListInstancesResponse response = regionInstanceGroupManagerClient.listManagedInstancesRegionInstanceGroupManagers(instanceGroupManager.toString());
+   *   for (ManagedInstance element : regionInstanceGroupManagerClient.listManagedInstancesRegionInstanceGroupManagers(instanceGroupManager.toString()).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
    * }
    * 
* @@ -1435,7 +1439,7 @@ public final ListRegionInstanceGroupManagersPagedResponse listRegionInstanceGrou * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi - public final RegionInstanceGroupManagersListInstancesResponse + public final ListManagedInstancesRegionInstanceGroupManagersPagedResponse listManagedInstancesRegionInstanceGroupManagers(String instanceGroupManager) { ListManagedInstancesRegionInstanceGroupManagersHttpRequest request = ListManagedInstancesRegionInstanceGroupManagersHttpRequest.newBuilder() @@ -1457,7 +1461,9 @@ public final ListRegionInstanceGroupManagersPagedResponse listRegionInstanceGrou * ListManagedInstancesRegionInstanceGroupManagersHttpRequest request = ListManagedInstancesRegionInstanceGroupManagersHttpRequest.newBuilder() * .setInstanceGroupManager(formattedInstanceGroupManager) * .build(); - * RegionInstanceGroupManagersListInstancesResponse response = regionInstanceGroupManagerClient.listManagedInstancesRegionInstanceGroupManagers(request); + * for (ManagedInstance element : regionInstanceGroupManagerClient.listManagedInstancesRegionInstanceGroupManagers(request).iterateAll()) { + * // doThingsWith(element); + * } * } * * @@ -1465,10 +1471,10 @@ public final ListRegionInstanceGroupManagersPagedResponse listRegionInstanceGrou * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi - public final RegionInstanceGroupManagersListInstancesResponse + public final ListManagedInstancesRegionInstanceGroupManagersPagedResponse listManagedInstancesRegionInstanceGroupManagers( ListManagedInstancesRegionInstanceGroupManagersHttpRequest request) { - return listManagedInstancesRegionInstanceGroupManagersCallable().call(request); + return listManagedInstancesRegionInstanceGroupManagersPagedCallable().call(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD @@ -1484,9 +1490,47 @@ public final ListRegionInstanceGroupManagersPagedResponse listRegionInstanceGrou * ListManagedInstancesRegionInstanceGroupManagersHttpRequest request = ListManagedInstancesRegionInstanceGroupManagersHttpRequest.newBuilder() * .setInstanceGroupManager(formattedInstanceGroupManager) * .build(); - * ApiFuture<RegionInstanceGroupManagersListInstancesResponse> future = regionInstanceGroupManagerClient.listManagedInstancesRegionInstanceGroupManagersCallable().futureCall(request); + * ApiFuture<ListManagedInstancesRegionInstanceGroupManagersPagedResponse> future = regionInstanceGroupManagerClient.listManagedInstancesRegionInstanceGroupManagersPagedCallable().futureCall(request); * // Do something - * RegionInstanceGroupManagersListInstancesResponse response = future.get(); + * for (ManagedInstance element : future.get().iterateAll()) { + * // doThingsWith(element); + * } + * } + * + */ + @BetaApi + public final UnaryCallable< + ListManagedInstancesRegionInstanceGroupManagersHttpRequest, + ListManagedInstancesRegionInstanceGroupManagersPagedResponse> + listManagedInstancesRegionInstanceGroupManagersPagedCallable() { + return stub.listManagedInstancesRegionInstanceGroupManagersPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Lists the instances in the managed instance group and instances that are scheduled to be + * created. The list includes any current actions that the group has scheduled for its instances. + * + *

Sample code: + * + *


+   * try (RegionInstanceGroupManagerClient regionInstanceGroupManagerClient = RegionInstanceGroupManagerClient.create()) {
+   *   String formattedInstanceGroupManager = ProjectRegionInstanceGroupManagerName.format("[PROJECT]", "[REGION]", "[INSTANCE_GROUP_MANAGER]");
+   *   ListManagedInstancesRegionInstanceGroupManagersHttpRequest request = ListManagedInstancesRegionInstanceGroupManagersHttpRequest.newBuilder()
+   *     .setInstanceGroupManager(formattedInstanceGroupManager)
+   *     .build();
+   *   while (true) {
+   *     RegionInstanceGroupManagersListInstancesResponse response = regionInstanceGroupManagerClient.listManagedInstancesRegionInstanceGroupManagersCallable().call(request);
+   *     for (ManagedInstance element : response.getManagedInstancesList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
    * }
    * 
*/ @@ -2452,4 +2496,116 @@ protected ListErrorsRegionInstanceGroupManagersFixedSizeCollection createCollect return new ListErrorsRegionInstanceGroupManagersFixedSizeCollection(pages, collectionSize); } } + + public static class ListManagedInstancesRegionInstanceGroupManagersPagedResponse + extends AbstractPagedListResponse< + ListManagedInstancesRegionInstanceGroupManagersHttpRequest, + RegionInstanceGroupManagersListInstancesResponse, + ManagedInstance, + ListManagedInstancesRegionInstanceGroupManagersPage, + ListManagedInstancesRegionInstanceGroupManagersFixedSizeCollection> { + + public static ApiFuture + createAsync( + PageContext< + ListManagedInstancesRegionInstanceGroupManagersHttpRequest, + RegionInstanceGroupManagersListInstancesResponse, + ManagedInstance> + context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListManagedInstancesRegionInstanceGroupManagersPage.createEmptyPage() + .createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + new ApiFunction< + ListManagedInstancesRegionInstanceGroupManagersPage, + ListManagedInstancesRegionInstanceGroupManagersPagedResponse>() { + @Override + public ListManagedInstancesRegionInstanceGroupManagersPagedResponse apply( + ListManagedInstancesRegionInstanceGroupManagersPage input) { + return new ListManagedInstancesRegionInstanceGroupManagersPagedResponse(input); + } + }, + MoreExecutors.directExecutor()); + } + + private ListManagedInstancesRegionInstanceGroupManagersPagedResponse( + ListManagedInstancesRegionInstanceGroupManagersPage page) { + super( + page, + ListManagedInstancesRegionInstanceGroupManagersFixedSizeCollection + .createEmptyCollection()); + } + } + + public static class ListManagedInstancesRegionInstanceGroupManagersPage + extends AbstractPage< + ListManagedInstancesRegionInstanceGroupManagersHttpRequest, + RegionInstanceGroupManagersListInstancesResponse, + ManagedInstance, + ListManagedInstancesRegionInstanceGroupManagersPage> { + + private ListManagedInstancesRegionInstanceGroupManagersPage( + PageContext< + ListManagedInstancesRegionInstanceGroupManagersHttpRequest, + RegionInstanceGroupManagersListInstancesResponse, + ManagedInstance> + context, + RegionInstanceGroupManagersListInstancesResponse response) { + super(context, response); + } + + private static ListManagedInstancesRegionInstanceGroupManagersPage createEmptyPage() { + return new ListManagedInstancesRegionInstanceGroupManagersPage(null, null); + } + + @Override + protected ListManagedInstancesRegionInstanceGroupManagersPage createPage( + PageContext< + ListManagedInstancesRegionInstanceGroupManagersHttpRequest, + RegionInstanceGroupManagersListInstancesResponse, + ManagedInstance> + context, + RegionInstanceGroupManagersListInstancesResponse response) { + return new ListManagedInstancesRegionInstanceGroupManagersPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext< + ListManagedInstancesRegionInstanceGroupManagersHttpRequest, + RegionInstanceGroupManagersListInstancesResponse, + ManagedInstance> + context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListManagedInstancesRegionInstanceGroupManagersFixedSizeCollection + extends AbstractFixedSizeCollection< + ListManagedInstancesRegionInstanceGroupManagersHttpRequest, + RegionInstanceGroupManagersListInstancesResponse, + ManagedInstance, + ListManagedInstancesRegionInstanceGroupManagersPage, + ListManagedInstancesRegionInstanceGroupManagersFixedSizeCollection> { + + private ListManagedInstancesRegionInstanceGroupManagersFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListManagedInstancesRegionInstanceGroupManagersFixedSizeCollection + createEmptyCollection() { + return new ListManagedInstancesRegionInstanceGroupManagersFixedSizeCollection(null, 0); + } + + @Override + protected ListManagedInstancesRegionInstanceGroupManagersFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListManagedInstancesRegionInstanceGroupManagersFixedSizeCollection( + pages, collectionSize); + } + } } diff --git a/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerSettings.java b/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerSettings.java index eb67adeb6..8507d1271 100644 --- a/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerSettings.java +++ b/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerSettings.java @@ -16,6 +16,7 @@ package com.google.cloud.compute.v1; import static com.google.cloud.compute.v1.RegionInstanceGroupManagerClient.ListErrorsRegionInstanceGroupManagersPagedResponse; +import static com.google.cloud.compute.v1.RegionInstanceGroupManagerClient.ListManagedInstancesRegionInstanceGroupManagersPagedResponse; import static com.google.cloud.compute.v1.RegionInstanceGroupManagerClient.ListRegionInstanceGroupManagersPagedResponse; import com.google.api.core.ApiFunction; @@ -158,9 +159,10 @@ public class RegionInstanceGroupManagerSettings * Returns the object with the settings used for calls to * listManagedInstancesRegionInstanceGroupManagers. */ - public UnaryCallSettings< + public PagedCallSettings< ListManagedInstancesRegionInstanceGroupManagersHttpRequest, - RegionInstanceGroupManagersListInstancesResponse> + RegionInstanceGroupManagersListInstancesResponse, + ListManagedInstancesRegionInstanceGroupManagersPagedResponse> listManagedInstancesRegionInstanceGroupManagersSettings() { return ((RegionInstanceGroupManagerStubSettings) getStubSettings()) .listManagedInstancesRegionInstanceGroupManagersSettings(); @@ -395,9 +397,10 @@ public Builder applyToAllUnaryMethods( * Returns the builder for the settings used for calls to * listManagedInstancesRegionInstanceGroupManagers. */ - public UnaryCallSettings.Builder< + public PagedCallSettings.Builder< ListManagedInstancesRegionInstanceGroupManagersHttpRequest, - RegionInstanceGroupManagersListInstancesResponse> + RegionInstanceGroupManagersListInstancesResponse, + ListManagedInstancesRegionInstanceGroupManagersPagedResponse> listManagedInstancesRegionInstanceGroupManagersSettings() { return getStubSettingsBuilder().listManagedInstancesRegionInstanceGroupManagersSettings(); } diff --git a/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersListInstancesResponse.java b/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersListInstancesResponse.java index 79d854e3b..ea702bac7 100644 --- a/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersListInstancesResponse.java +++ b/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersListInstancesResponse.java @@ -27,13 +27,17 @@ @BetaApi public final class RegionInstanceGroupManagersListInstancesResponse implements ApiMessage { private final List managedInstances; + private final String nextPageToken; private RegionInstanceGroupManagersListInstancesResponse() { this.managedInstances = null; + this.nextPageToken = null; } - private RegionInstanceGroupManagersListInstancesResponse(List managedInstances) { + private RegionInstanceGroupManagersListInstancesResponse( + List managedInstances, String nextPageToken) { this.managedInstances = managedInstances; + this.nextPageToken = nextPageToken; } @Override @@ -41,6 +45,9 @@ public Object getFieldValue(String fieldName) { if ("managedInstances".equals(fieldName)) { return managedInstances; } + if ("nextPageToken".equals(fieldName)) { + return nextPageToken; + } return null; } @@ -67,6 +74,16 @@ public List getManagedInstancesList() { return managedInstances; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ + public String getNextPageToken() { + return nextPageToken; + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } @@ -91,6 +108,7 @@ public static RegionInstanceGroupManagersListInstancesResponse getDefaultInstanc public static class Builder { private List managedInstances; + private String nextPageToken; Builder() {} @@ -100,11 +118,15 @@ public Builder mergeFrom(RegionInstanceGroupManagersListInstancesResponse other) if (other.getManagedInstancesList() != null) { this.managedInstances = other.managedInstances; } + if (other.getNextPageToken() != null) { + this.nextPageToken = other.nextPageToken; + } return this; } Builder(RegionInstanceGroupManagersListInstancesResponse source) { this.managedInstances = source.managedInstances; + this.nextPageToken = source.nextPageToken; } /** A list of managed instances. */ @@ -130,13 +152,36 @@ public Builder addManagedInstances(ManagedInstance managedInstances) { return this; } + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ + public String getNextPageToken() { + return nextPageToken; + } + + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the + * number of results is larger than maxResults, use the nextPageToken as a value for the query + * parameter pageToken in the next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ + public Builder setNextPageToken(String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + public RegionInstanceGroupManagersListInstancesResponse build() { - return new RegionInstanceGroupManagersListInstancesResponse(managedInstances); + + return new RegionInstanceGroupManagersListInstancesResponse(managedInstances, nextPageToken); } public Builder clone() { Builder newBuilder = new Builder(); newBuilder.addAllManagedInstances(this.managedInstances); + newBuilder.setNextPageToken(this.nextPageToken); return newBuilder; } } @@ -146,6 +191,9 @@ public String toString() { return "RegionInstanceGroupManagersListInstancesResponse{" + "managedInstances=" + managedInstances + + ", " + + "nextPageToken=" + + nextPageToken + "}"; } @@ -157,13 +205,14 @@ public boolean equals(Object o) { if (o instanceof RegionInstanceGroupManagersListInstancesResponse) { RegionInstanceGroupManagersListInstancesResponse that = (RegionInstanceGroupManagersListInstancesResponse) o; - return Objects.equals(this.managedInstances, that.getManagedInstancesList()); + return Objects.equals(this.managedInstances, that.getManagedInstancesList()) + && Objects.equals(this.nextPageToken, that.getNextPageToken()); } return false; } @Override public int hashCode() { - return Objects.hash(managedInstances); + return Objects.hash(managedInstances, nextPageToken); } } diff --git a/src/main/java/com/google/cloud/compute/v1/RegionOperationClient.java b/src/main/java/com/google/cloud/compute/v1/RegionOperationClient.java index 2e1ab795a..f64ca872c 100644 --- a/src/main/java/com/google/cloud/compute/v1/RegionOperationClient.java +++ b/src/main/java/com/google/cloud/compute/v1/RegionOperationClient.java @@ -486,16 +486,16 @@ public final ListRegionOperationsPagedResponse listRegionOperations( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Waits for the specified Operation resource to return as DONE or for the request to approach the - * 2 minute deadline, and retrieves the specified Operation resource. This method differs from the - * GET method in that it waits for no more than the default deadline (2 minutes) and then returns - * the current state of the operation, which might be DONE or still in progress. + * Waits for the specified Operation resource to return as `DONE` or for the request to approach + * the 2 minute deadline, and retrieves the specified Operation resource. This method differs from + * the `GET` method in that it waits for no more than the default deadline (2 minutes) and then + * returns the current state of the operation, which might be `DONE` or still in progress. * *

This method is called on a best-effort basis. Specifically: - In uncommon cases, when the * server is overloaded, the request might return before the default deadline is reached, or might * return after zero seconds. - If the default deadline is reached, there is no guarantee that the * operation is actually done when the method returns. Be prepared to retry if the operation is - * not DONE. + * not `DONE`. * *

Sample code: * @@ -520,16 +520,16 @@ public final Operation waitRegionOperation(ProjectRegionOperationName operation) // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Waits for the specified Operation resource to return as DONE or for the request to approach the - * 2 minute deadline, and retrieves the specified Operation resource. This method differs from the - * GET method in that it waits for no more than the default deadline (2 minutes) and then returns - * the current state of the operation, which might be DONE or still in progress. + * Waits for the specified Operation resource to return as `DONE` or for the request to approach + * the 2 minute deadline, and retrieves the specified Operation resource. This method differs from + * the `GET` method in that it waits for no more than the default deadline (2 minutes) and then + * returns the current state of the operation, which might be `DONE` or still in progress. * *

This method is called on a best-effort basis. Specifically: - In uncommon cases, when the * server is overloaded, the request might return before the default deadline is reached, or might * return after zero seconds. - If the default deadline is reached, there is no guarantee that the * operation is actually done when the method returns. Be prepared to retry if the operation is - * not DONE. + * not `DONE`. * *

Sample code: * @@ -552,16 +552,16 @@ public final Operation waitRegionOperation(String operation) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Waits for the specified Operation resource to return as DONE or for the request to approach the - * 2 minute deadline, and retrieves the specified Operation resource. This method differs from the - * GET method in that it waits for no more than the default deadline (2 minutes) and then returns - * the current state of the operation, which might be DONE or still in progress. + * Waits for the specified Operation resource to return as `DONE` or for the request to approach + * the 2 minute deadline, and retrieves the specified Operation resource. This method differs from + * the `GET` method in that it waits for no more than the default deadline (2 minutes) and then + * returns the current state of the operation, which might be `DONE` or still in progress. * *

This method is called on a best-effort basis. Specifically: - In uncommon cases, when the * server is overloaded, the request might return before the default deadline is reached, or might * return after zero seconds. - If the default deadline is reached, there is no guarantee that the * operation is actually done when the method returns. Be prepared to retry if the operation is - * not DONE. + * not `DONE`. * *

Sample code: * @@ -585,16 +585,16 @@ public final Operation waitRegionOperation(WaitRegionOperationHttpRequest reques // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Waits for the specified Operation resource to return as DONE or for the request to approach the - * 2 minute deadline, and retrieves the specified Operation resource. This method differs from the - * GET method in that it waits for no more than the default deadline (2 minutes) and then returns - * the current state of the operation, which might be DONE or still in progress. + * Waits for the specified Operation resource to return as `DONE` or for the request to approach + * the 2 minute deadline, and retrieves the specified Operation resource. This method differs from + * the `GET` method in that it waits for no more than the default deadline (2 minutes) and then + * returns the current state of the operation, which might be `DONE` or still in progress. * *

This method is called on a best-effort basis. Specifically: - In uncommon cases, when the * server is overloaded, the request might return before the default deadline is reached, or might * return after zero seconds. - If the default deadline is reached, there is no guarantee that the * operation is actually done when the method returns. Be prepared to retry if the operation is - * not DONE. + * not `DONE`. * *

Sample code: * diff --git a/src/main/java/com/google/cloud/compute/v1/RouterInterface.java b/src/main/java/com/google/cloud/compute/v1/RouterInterface.java index 502d76cad..7dda09cf7 100644 --- a/src/main/java/com/google/cloud/compute/v1/RouterInterface.java +++ b/src/main/java/com/google/cloud/compute/v1/RouterInterface.java @@ -101,8 +101,8 @@ public String getIpRange() { /** * URI of the linked Interconnect attachment. It must be in the same region as the router. Each - * interface can have one linked resource, which can be either be a VPN tunnel or an Interconnect - * attachment. + * interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, + * or a virtual machine instance. */ public String getLinkedInterconnectAttachment() { return linkedInterconnectAttachment; @@ -110,7 +110,8 @@ public String getLinkedInterconnectAttachment() { /** * URI of the linked VPN tunnel, which must be in the same region as the router. Each interface - * can have one linked resource, which can be either a VPN tunnel or an Interconnect attachment. + * can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a + * virtual machine instance. */ public String getLinkedVpnTunnel() { return linkedVpnTunnel; @@ -218,8 +219,8 @@ public Builder setIpRange(String ipRange) { /** * URI of the linked Interconnect attachment. It must be in the same region as the router. Each - * interface can have one linked resource, which can be either be a VPN tunnel or an - * Interconnect attachment. + * interface can have one linked resource, which can be a VPN tunnel, an Interconnect + * attachment, or a virtual machine instance. */ public String getLinkedInterconnectAttachment() { return linkedInterconnectAttachment; @@ -227,8 +228,8 @@ public String getLinkedInterconnectAttachment() { /** * URI of the linked Interconnect attachment. It must be in the same region as the router. Each - * interface can have one linked resource, which can be either be a VPN tunnel or an - * Interconnect attachment. + * interface can have one linked resource, which can be a VPN tunnel, an Interconnect + * attachment, or a virtual machine instance. */ public Builder setLinkedInterconnectAttachment(String linkedInterconnectAttachment) { this.linkedInterconnectAttachment = linkedInterconnectAttachment; @@ -237,7 +238,8 @@ public Builder setLinkedInterconnectAttachment(String linkedInterconnectAttachme /** * URI of the linked VPN tunnel, which must be in the same region as the router. Each interface - * can have one linked resource, which can be either a VPN tunnel or an Interconnect attachment. + * can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a + * virtual machine instance. */ public String getLinkedVpnTunnel() { return linkedVpnTunnel; @@ -245,7 +247,8 @@ public String getLinkedVpnTunnel() { /** * URI of the linked VPN tunnel, which must be in the same region as the router. Each interface - * can have one linked resource, which can be either a VPN tunnel or an Interconnect attachment. + * can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a + * virtual machine instance. */ public Builder setLinkedVpnTunnel(String linkedVpnTunnel) { this.linkedVpnTunnel = linkedVpnTunnel; diff --git a/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesListPreconfiguredExpressionSetsResponse.java b/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesListPreconfiguredExpressionSetsResponse.java new file mode 100644 index 000000000..583464526 --- /dev/null +++ b/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesListPreconfiguredExpressionSetsResponse.java @@ -0,0 +1,158 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.compute.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.ApiMessage; +import java.util.List; +import java.util.Objects; +import javax.annotation.Generated; +import javax.annotation.Nullable; + +@Generated("by GAPIC") +@BetaApi +public final class SecurityPoliciesListPreconfiguredExpressionSetsResponse implements ApiMessage { + private final SecurityPoliciesWafConfig preconfiguredExpressionSets; + + private SecurityPoliciesListPreconfiguredExpressionSetsResponse() { + this.preconfiguredExpressionSets = null; + } + + private SecurityPoliciesListPreconfiguredExpressionSetsResponse( + SecurityPoliciesWafConfig preconfiguredExpressionSets) { + this.preconfiguredExpressionSets = preconfiguredExpressionSets; + } + + @Override + public Object getFieldValue(String fieldName) { + if ("preconfiguredExpressionSets".equals(fieldName)) { + return preconfiguredExpressionSets; + } + return null; + } + + @Nullable + @Override + public ApiMessage getApiMessageRequestBody() { + return null; + } + + @Nullable + @Override + /** + * The fields that should be serialized (even if they have empty values). If the containing + * message object has a non-null fieldmask, then all the fields in the field mask (and only those + * fields in the field mask) will be serialized. If the containing object does not have a + * fieldmask, then only non-empty fields will be serialized. + */ + public List getFieldMask() { + return null; + } + + public SecurityPoliciesWafConfig getPreconfiguredExpressionSets() { + return preconfiguredExpressionSets; + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + SecurityPoliciesListPreconfiguredExpressionSetsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + public static SecurityPoliciesListPreconfiguredExpressionSetsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final SecurityPoliciesListPreconfiguredExpressionSetsResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new SecurityPoliciesListPreconfiguredExpressionSetsResponse(); + } + + public static class Builder { + private SecurityPoliciesWafConfig preconfiguredExpressionSets; + + Builder() {} + + public Builder mergeFrom(SecurityPoliciesListPreconfiguredExpressionSetsResponse other) { + if (other == SecurityPoliciesListPreconfiguredExpressionSetsResponse.getDefaultInstance()) + return this; + if (other.getPreconfiguredExpressionSets() != null) { + this.preconfiguredExpressionSets = other.preconfiguredExpressionSets; + } + return this; + } + + Builder(SecurityPoliciesListPreconfiguredExpressionSetsResponse source) { + this.preconfiguredExpressionSets = source.preconfiguredExpressionSets; + } + + public SecurityPoliciesWafConfig getPreconfiguredExpressionSets() { + return preconfiguredExpressionSets; + } + + public Builder setPreconfiguredExpressionSets( + SecurityPoliciesWafConfig preconfiguredExpressionSets) { + this.preconfiguredExpressionSets = preconfiguredExpressionSets; + return this; + } + + public SecurityPoliciesListPreconfiguredExpressionSetsResponse build() { + return new SecurityPoliciesListPreconfiguredExpressionSetsResponse( + preconfiguredExpressionSets); + } + + public Builder clone() { + Builder newBuilder = new Builder(); + newBuilder.setPreconfiguredExpressionSets(this.preconfiguredExpressionSets); + return newBuilder; + } + } + + @Override + public String toString() { + return "SecurityPoliciesListPreconfiguredExpressionSetsResponse{" + + "preconfiguredExpressionSets=" + + preconfiguredExpressionSets + + "}"; + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof SecurityPoliciesListPreconfiguredExpressionSetsResponse) { + SecurityPoliciesListPreconfiguredExpressionSetsResponse that = + (SecurityPoliciesListPreconfiguredExpressionSetsResponse) o; + return Objects.equals( + this.preconfiguredExpressionSets, that.getPreconfiguredExpressionSets()); + } + return false; + } + + @Override + public int hashCode() { + return Objects.hash(preconfiguredExpressionSets); + } +} diff --git a/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesWafConfig.java b/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesWafConfig.java new file mode 100644 index 000000000..e0db94d3d --- /dev/null +++ b/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesWafConfig.java @@ -0,0 +1,148 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.compute.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.ApiMessage; +import java.util.List; +import java.util.Objects; +import javax.annotation.Generated; +import javax.annotation.Nullable; + +@Generated("by GAPIC") +@BetaApi +public final class SecurityPoliciesWafConfig implements ApiMessage { + private final PreconfiguredWafSet wafRules; + + private SecurityPoliciesWafConfig() { + this.wafRules = null; + } + + private SecurityPoliciesWafConfig(PreconfiguredWafSet wafRules) { + this.wafRules = wafRules; + } + + @Override + public Object getFieldValue(String fieldName) { + if ("wafRules".equals(fieldName)) { + return wafRules; + } + return null; + } + + @Nullable + @Override + public ApiMessage getApiMessageRequestBody() { + return null; + } + + @Nullable + @Override + /** + * The fields that should be serialized (even if they have empty values). If the containing + * message object has a non-null fieldmask, then all the fields in the field mask (and only those + * fields in the field mask) will be serialized. If the containing object does not have a + * fieldmask, then only non-empty fields will be serialized. + */ + public List getFieldMask() { + return null; + } + + public PreconfiguredWafSet getWafRules() { + return wafRules; + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(SecurityPoliciesWafConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + public static SecurityPoliciesWafConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final SecurityPoliciesWafConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new SecurityPoliciesWafConfig(); + } + + public static class Builder { + private PreconfiguredWafSet wafRules; + + Builder() {} + + public Builder mergeFrom(SecurityPoliciesWafConfig other) { + if (other == SecurityPoliciesWafConfig.getDefaultInstance()) return this; + if (other.getWafRules() != null) { + this.wafRules = other.wafRules; + } + return this; + } + + Builder(SecurityPoliciesWafConfig source) { + this.wafRules = source.wafRules; + } + + public PreconfiguredWafSet getWafRules() { + return wafRules; + } + + public Builder setWafRules(PreconfiguredWafSet wafRules) { + this.wafRules = wafRules; + return this; + } + + public SecurityPoliciesWafConfig build() { + return new SecurityPoliciesWafConfig(wafRules); + } + + public Builder clone() { + Builder newBuilder = new Builder(); + newBuilder.setWafRules(this.wafRules); + return newBuilder; + } + } + + @Override + public String toString() { + return "SecurityPoliciesWafConfig{" + "wafRules=" + wafRules + "}"; + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof SecurityPoliciesWafConfig) { + SecurityPoliciesWafConfig that = (SecurityPoliciesWafConfig) o; + return Objects.equals(this.wafRules, that.getWafRules()); + } + return false; + } + + @Override + public int hashCode() { + return Objects.hash(wafRules); + } +} diff --git a/src/main/java/com/google/cloud/compute/v1/SecurityPolicyClient.java b/src/main/java/com/google/cloud/compute/v1/SecurityPolicyClient.java index 332ae890b..8ee95553a 100644 --- a/src/main/java/com/google/cloud/compute/v1/SecurityPolicyClient.java +++ b/src/main/java/com/google/cloud/compute/v1/SecurityPolicyClient.java @@ -822,6 +822,110 @@ public final ListSecurityPoliciesPagedResponse listSecurityPolicies( return stub.listSecurityPoliciesCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Gets the current list of preconfigured Web Application Firewall (WAF) expressions. + * + *

Sample code: + * + *


+   * try (SecurityPolicyClient securityPolicyClient = SecurityPolicyClient.create()) {
+   *   ProjectName project = ProjectName.of("[PROJECT]");
+   *   SecurityPoliciesListPreconfiguredExpressionSetsResponse response = securityPolicyClient.listPreconfiguredExpressionSetsSecurityPolicies(project);
+   * }
+   * 
+ * + * @param project Project ID for this request. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + @BetaApi + public final SecurityPoliciesListPreconfiguredExpressionSetsResponse + listPreconfiguredExpressionSetsSecurityPolicies(ProjectName project) { + ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest request = + ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest.newBuilder() + .setProject(project == null ? null : project.toString()) + .build(); + return listPreconfiguredExpressionSetsSecurityPolicies(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Gets the current list of preconfigured Web Application Firewall (WAF) expressions. + * + *

Sample code: + * + *


+   * try (SecurityPolicyClient securityPolicyClient = SecurityPolicyClient.create()) {
+   *   ProjectName project = ProjectName.of("[PROJECT]");
+   *   SecurityPoliciesListPreconfiguredExpressionSetsResponse response = securityPolicyClient.listPreconfiguredExpressionSetsSecurityPolicies(project.toString());
+   * }
+   * 
+ * + * @param project Project ID for this request. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + @BetaApi + public final SecurityPoliciesListPreconfiguredExpressionSetsResponse + listPreconfiguredExpressionSetsSecurityPolicies(String project) { + ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest request = + ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest.newBuilder() + .setProject(project) + .build(); + return listPreconfiguredExpressionSetsSecurityPolicies(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Gets the current list of preconfigured Web Application Firewall (WAF) expressions. + * + *

Sample code: + * + *


+   * try (SecurityPolicyClient securityPolicyClient = SecurityPolicyClient.create()) {
+   *   String formattedProject = ProjectName.format("[PROJECT]");
+   *   ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest request = ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest.newBuilder()
+   *     .setProject(formattedProject)
+   *     .build();
+   *   SecurityPoliciesListPreconfiguredExpressionSetsResponse response = securityPolicyClient.listPreconfiguredExpressionSetsSecurityPolicies(request);
+   * }
+   * 
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + @BetaApi + public final SecurityPoliciesListPreconfiguredExpressionSetsResponse + listPreconfiguredExpressionSetsSecurityPolicies( + ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest request) { + return listPreconfiguredExpressionSetsSecurityPoliciesCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Gets the current list of preconfigured Web Application Firewall (WAF) expressions. + * + *

Sample code: + * + *


+   * try (SecurityPolicyClient securityPolicyClient = SecurityPolicyClient.create()) {
+   *   String formattedProject = ProjectName.format("[PROJECT]");
+   *   ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest request = ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest.newBuilder()
+   *     .setProject(formattedProject)
+   *     .build();
+   *   ApiFuture<SecurityPoliciesListPreconfiguredExpressionSetsResponse> future = securityPolicyClient.listPreconfiguredExpressionSetsSecurityPoliciesCallable().futureCall(request);
+   *   // Do something
+   *   SecurityPoliciesListPreconfiguredExpressionSetsResponse response = future.get();
+   * }
+   * 
+ */ + @BetaApi + public final UnaryCallable< + ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest, + SecurityPoliciesListPreconfiguredExpressionSetsResponse> + listPreconfiguredExpressionSetsSecurityPoliciesCallable() { + return stub.listPreconfiguredExpressionSetsSecurityPoliciesCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Patches the specified policy with the data included in the request. diff --git a/src/main/java/com/google/cloud/compute/v1/SecurityPolicySettings.java b/src/main/java/com/google/cloud/compute/v1/SecurityPolicySettings.java index d992406fd..284e583f3 100644 --- a/src/main/java/com/google/cloud/compute/v1/SecurityPolicySettings.java +++ b/src/main/java/com/google/cloud/compute/v1/SecurityPolicySettings.java @@ -105,6 +105,18 @@ public class SecurityPolicySettings extends ClientSettings + listPreconfiguredExpressionSetsSecurityPoliciesSettings() { + return ((SecurityPolicyStubSettings) getStubSettings()) + .listPreconfiguredExpressionSetsSecurityPoliciesSettings(); + } + /** Returns the object with the settings used for calls to patchSecurityPolicy. */ public UnaryCallSettings patchSecurityPolicySettings() { @@ -262,6 +274,17 @@ public Builder applyToAllUnaryMethods( return getStubSettingsBuilder().listSecurityPoliciesSettings(); } + /** + * Returns the builder for the settings used for calls to + * listPreconfiguredExpressionSetsSecurityPolicies. + */ + public UnaryCallSettings.Builder< + ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest, + SecurityPoliciesListPreconfiguredExpressionSetsResponse> + listPreconfiguredExpressionSetsSecurityPoliciesSettings() { + return getStubSettingsBuilder().listPreconfiguredExpressionSetsSecurityPoliciesSettings(); + } + /** Returns the builder for the settings used for calls to patchSecurityPolicy. */ public UnaryCallSettings.Builder patchSecurityPolicySettings() { diff --git a/src/main/java/com/google/cloud/compute/v1/SubnetworkClient.java b/src/main/java/com/google/cloud/compute/v1/SubnetworkClient.java index 717e358ac..a1e0d555a 100644 --- a/src/main/java/com/google/cloud/compute/v1/SubnetworkClient.java +++ b/src/main/java/com/google/cloud/compute/v1/SubnetworkClient.java @@ -1124,7 +1124,7 @@ public final ListUsableSubnetworksPagedResponse listUsableSubnetworks( /** * Patches the specified subnetwork with the data included in the request. Only certain fields can * up updated with a patch request as indicated in the field descriptions. You must specify the - * current fingeprint of the subnetwork resource being patched. + * current fingerprint of the subnetwork resource being patched. * *

Sample code: * @@ -1177,7 +1177,7 @@ public final Operation patchSubnetwork( /** * Patches the specified subnetwork with the data included in the request. Only certain fields can * up updated with a patch request as indicated in the field descriptions. You must specify the - * current fingeprint of the subnetwork resource being patched. + * current fingerprint of the subnetwork resource being patched. * *

Sample code: * @@ -1230,7 +1230,7 @@ public final Operation patchSubnetwork( /** * Patches the specified subnetwork with the data included in the request. Only certain fields can * up updated with a patch request as indicated in the field descriptions. You must specify the - * current fingeprint of the subnetwork resource being patched. + * current fingerprint of the subnetwork resource being patched. * *

Sample code: * @@ -1262,7 +1262,7 @@ public final Operation patchSubnetwork(PatchSubnetworkHttpRequest request) { /** * Patches the specified subnetwork with the data included in the request. Only certain fields can * up updated with a patch request as indicated in the field descriptions. You must specify the - * current fingeprint of the subnetwork resource being patched. + * current fingerprint of the subnetwork resource being patched. * *

Sample code: * diff --git a/src/main/java/com/google/cloud/compute/v1/TargetTcpProxy.java b/src/main/java/com/google/cloud/compute/v1/TargetTcpProxy.java index 23841a047..a05427f8d 100644 --- a/src/main/java/com/google/cloud/compute/v1/TargetTcpProxy.java +++ b/src/main/java/com/google/cloud/compute/v1/TargetTcpProxy.java @@ -29,7 +29,7 @@ * *

A target TCP proxy is a component of a TCP Proxy load balancer. Global forwarding rules * reference target TCP proxy, and the target proxy then references an external backend service. For - * more information, read TCP Proxy Load Balancing Concepts. (== resource_for + * more information, read TCP Proxy Load Balancing overview. (== resource_for * {$api_version}.targetTcpProxies ==) */ public final class TargetTcpProxy implements ApiMessage { diff --git a/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyClient.java b/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyClient.java index 494de1864..3d03b2e49 100644 --- a/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyClient.java +++ b/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyClient.java @@ -368,7 +368,7 @@ public final TargetTcpProxy getTargetTcpProxy(GetTargetTcpProxyHttpRequest reque * @param targetTcpProxyResource Represents a Target TCP Proxy resource. *

A target TCP proxy is a component of a TCP Proxy load balancer. Global forwarding rules * reference target TCP proxy, and the target proxy then references an external backend - * service. For more information, read TCP Proxy Load Balancing Concepts. (== resource_for + * service. For more information, read TCP Proxy Load Balancing overview. (== resource_for * {$api_version}.targetTcpProxies ==) * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -402,7 +402,7 @@ public final Operation insertTargetTcpProxy( * @param targetTcpProxyResource Represents a Target TCP Proxy resource. *

A target TCP proxy is a component of a TCP Proxy load balancer. Global forwarding rules * reference target TCP proxy, and the target proxy then references an external backend - * service. For more information, read TCP Proxy Load Balancing Concepts. (== resource_for + * service. For more information, read TCP Proxy Load Balancing overview. (== resource_for * {$api_version}.targetTcpProxies ==) * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ diff --git a/src/main/java/com/google/cloud/compute/v1/WafExpressionSet.java b/src/main/java/com/google/cloud/compute/v1/WafExpressionSet.java new file mode 100644 index 000000000..d4e4255b3 --- /dev/null +++ b/src/main/java/com/google/cloud/compute/v1/WafExpressionSet.java @@ -0,0 +1,261 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.compute.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.ApiMessage; +import java.util.LinkedList; +import java.util.List; +import java.util.Objects; +import javax.annotation.Generated; +import javax.annotation.Nullable; + +@Generated("by GAPIC") +@BetaApi +public final class WafExpressionSet implements ApiMessage { + private final List aliases; + private final List expressions; + private final String id; + + private WafExpressionSet() { + this.aliases = null; + this.expressions = null; + this.id = null; + } + + private WafExpressionSet( + List aliases, List expressions, String id) { + this.aliases = aliases; + this.expressions = expressions; + this.id = id; + } + + @Override + public Object getFieldValue(String fieldName) { + if ("aliases".equals(fieldName)) { + return aliases; + } + if ("expressions".equals(fieldName)) { + return expressions; + } + if ("id".equals(fieldName)) { + return id; + } + return null; + } + + @Nullable + @Override + public ApiMessage getApiMessageRequestBody() { + return null; + } + + @Nullable + @Override + /** + * The fields that should be serialized (even if they have empty values). If the containing + * message object has a non-null fieldmask, then all the fields in the field mask (and only those + * fields in the field mask) will be serialized. If the containing object does not have a + * fieldmask, then only non-empty fields will be serialized. + */ + public List getFieldMask() { + return null; + } + + /** + * A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" + * is particularly useful if a policy likes to avail newer set of expressions without having to + * change the policy. A given alias name can't be used for more than one entity set. + */ + public List getAliasesList() { + return aliases; + } + + /** List of available expressions. */ + public List getExpressionsList() { + return expressions; + } + + /** Google specified expression set ID. The format should be: - E.g. XSS-20170329 */ + public String getId() { + return id; + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(WafExpressionSet prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + public static WafExpressionSet getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final WafExpressionSet DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new WafExpressionSet(); + } + + public static class Builder { + private List aliases; + private List expressions; + private String id; + + Builder() {} + + public Builder mergeFrom(WafExpressionSet other) { + if (other == WafExpressionSet.getDefaultInstance()) return this; + if (other.getAliasesList() != null) { + this.aliases = other.aliases; + } + if (other.getExpressionsList() != null) { + this.expressions = other.expressions; + } + if (other.getId() != null) { + this.id = other.id; + } + return this; + } + + Builder(WafExpressionSet source) { + this.aliases = source.aliases; + this.expressions = source.expressions; + this.id = source.id; + } + + /** + * A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" + * is particularly useful if a policy likes to avail newer set of expressions without having to + * change the policy. A given alias name can't be used for more than one entity set. + */ + public List getAliasesList() { + return aliases; + } + + /** + * A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" + * is particularly useful if a policy likes to avail newer set of expressions without having to + * change the policy. A given alias name can't be used for more than one entity set. + */ + public Builder addAllAliases(List aliases) { + if (this.aliases == null) { + this.aliases = new LinkedList<>(); + } + this.aliases.addAll(aliases); + return this; + } + + /** + * A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" + * is particularly useful if a policy likes to avail newer set of expressions without having to + * change the policy. A given alias name can't be used for more than one entity set. + */ + public Builder addAliases(String aliases) { + if (this.aliases == null) { + this.aliases = new LinkedList<>(); + } + this.aliases.add(aliases); + return this; + } + + /** List of available expressions. */ + public List getExpressionsList() { + return expressions; + } + + /** List of available expressions. */ + public Builder addAllExpressions(List expressions) { + if (this.expressions == null) { + this.expressions = new LinkedList<>(); + } + this.expressions.addAll(expressions); + return this; + } + + /** List of available expressions. */ + public Builder addExpressions(WafExpressionSetExpression expressions) { + if (this.expressions == null) { + this.expressions = new LinkedList<>(); + } + this.expressions.add(expressions); + return this; + } + + /** Google specified expression set ID. The format should be: - E.g. XSS-20170329 */ + public String getId() { + return id; + } + + /** Google specified expression set ID. The format should be: - E.g. XSS-20170329 */ + public Builder setId(String id) { + this.id = id; + return this; + } + + public WafExpressionSet build() { + + return new WafExpressionSet(aliases, expressions, id); + } + + public Builder clone() { + Builder newBuilder = new Builder(); + newBuilder.addAllAliases(this.aliases); + newBuilder.addAllExpressions(this.expressions); + newBuilder.setId(this.id); + return newBuilder; + } + } + + @Override + public String toString() { + return "WafExpressionSet{" + + "aliases=" + + aliases + + ", " + + "expressions=" + + expressions + + ", " + + "id=" + + id + + "}"; + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof WafExpressionSet) { + WafExpressionSet that = (WafExpressionSet) o; + return Objects.equals(this.aliases, that.getAliasesList()) + && Objects.equals(this.expressions, that.getExpressionsList()) + && Objects.equals(this.id, that.getId()); + } + return false; + } + + @Override + public int hashCode() { + return Objects.hash(aliases, expressions, id); + } +} diff --git a/src/main/java/com/google/cloud/compute/v1/WafExpressionSetExpression.java b/src/main/java/com/google/cloud/compute/v1/WafExpressionSetExpression.java new file mode 100644 index 000000000..051887d5a --- /dev/null +++ b/src/main/java/com/google/cloud/compute/v1/WafExpressionSetExpression.java @@ -0,0 +1,166 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.compute.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.ApiMessage; +import java.util.List; +import java.util.Objects; +import javax.annotation.Generated; +import javax.annotation.Nullable; + +@Generated("by GAPIC") +@BetaApi +public final class WafExpressionSetExpression implements ApiMessage { + private final String id; + + private WafExpressionSetExpression() { + this.id = null; + } + + private WafExpressionSetExpression(String id) { + this.id = id; + } + + @Override + public Object getFieldValue(String fieldName) { + if ("id".equals(fieldName)) { + return id; + } + return null; + } + + @Nullable + @Override + public ApiMessage getApiMessageRequestBody() { + return null; + } + + @Nullable + @Override + /** + * The fields that should be serialized (even if they have empty values). If the containing + * message object has a non-null fieldmask, then all the fields in the field mask (and only those + * fields in the field mask) will be serialized. If the containing object does not have a + * fieldmask, then only non-empty fields will be serialized. + */ + public List getFieldMask() { + return null; + } + + /** + * Expression ID should uniquely identify the origin of the expression. E.g. + * owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID + * could be used to determine the individual attack definition that has been detected. It could + * also be used to exclude it from the policy in case of false positive. + */ + public String getId() { + return id; + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(WafExpressionSetExpression prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + public static WafExpressionSetExpression getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final WafExpressionSetExpression DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new WafExpressionSetExpression(); + } + + public static class Builder { + private String id; + + Builder() {} + + public Builder mergeFrom(WafExpressionSetExpression other) { + if (other == WafExpressionSetExpression.getDefaultInstance()) return this; + if (other.getId() != null) { + this.id = other.id; + } + return this; + } + + Builder(WafExpressionSetExpression source) { + this.id = source.id; + } + + /** + * Expression ID should uniquely identify the origin of the expression. E.g. + * owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The + * ID could be used to determine the individual attack definition that has been detected. It + * could also be used to exclude it from the policy in case of false positive. + */ + public String getId() { + return id; + } + + /** + * Expression ID should uniquely identify the origin of the expression. E.g. + * owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The + * ID could be used to determine the individual attack definition that has been detected. It + * could also be used to exclude it from the policy in case of false positive. + */ + public Builder setId(String id) { + this.id = id; + return this; + } + + public WafExpressionSetExpression build() { + return new WafExpressionSetExpression(id); + } + + public Builder clone() { + Builder newBuilder = new Builder(); + newBuilder.setId(this.id); + return newBuilder; + } + } + + @Override + public String toString() { + return "WafExpressionSetExpression{" + "id=" + id + "}"; + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof WafExpressionSetExpression) { + WafExpressionSetExpression that = (WafExpressionSetExpression) o; + return Objects.equals(this.id, that.getId()); + } + return false; + } + + @Override + public int hashCode() { + return Objects.hash(id); + } +} diff --git a/src/main/java/com/google/cloud/compute/v1/WaitGlobalOperationHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/WaitGlobalOperationHttpRequest.java index 5556a0a99..5835fba57 100644 --- a/src/main/java/com/google/cloud/compute/v1/WaitGlobalOperationHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/WaitGlobalOperationHttpRequest.java @@ -26,16 +26,16 @@ @BetaApi /** * Request object for method compute.globalOperations.wait. Waits for the specified Operation - * resource to return as DONE or for the request to approach the 2 minute deadline, and retrieves - * the specified Operation resource. This method differs from the GET method in that it waits for no - * more than the default deadline (2 minutes) and then returns the current state of the operation, - * which might be DONE or still in progress. + * resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves + * the specified Operation resource. This method differs from the `GET` method in that it waits for + * no more than the default deadline (2 minutes) and then returns the current state of the + * operation, which might be `DONE` or still in progress. * *

This method is called on a best-effort basis. Specifically: - In uncommon cases, when the * server is overloaded, the request might return before the default deadline is reached, or might * return after zero seconds. - If the default deadline is reached, there is no guarantee that the * operation is actually done when the method returns. Be prepared to retry if the operation is not - * DONE. + * `DONE`. */ public final class WaitGlobalOperationHttpRequest implements ApiMessage { private final String access_token; diff --git a/src/main/java/com/google/cloud/compute/v1/WaitRegionOperationHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/WaitRegionOperationHttpRequest.java index 761f9a199..d1099f4d8 100644 --- a/src/main/java/com/google/cloud/compute/v1/WaitRegionOperationHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/WaitRegionOperationHttpRequest.java @@ -26,16 +26,16 @@ @BetaApi /** * Request object for method compute.regionOperations.wait. Waits for the specified Operation - * resource to return as DONE or for the request to approach the 2 minute deadline, and retrieves - * the specified Operation resource. This method differs from the GET method in that it waits for no - * more than the default deadline (2 minutes) and then returns the current state of the operation, - * which might be DONE or still in progress. + * resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves + * the specified Operation resource. This method differs from the `GET` method in that it waits for + * no more than the default deadline (2 minutes) and then returns the current state of the + * operation, which might be `DONE` or still in progress. * *

This method is called on a best-effort basis. Specifically: - In uncommon cases, when the * server is overloaded, the request might return before the default deadline is reached, or might * return after zero seconds. - If the default deadline is reached, there is no guarantee that the * operation is actually done when the method returns. Be prepared to retry if the operation is not - * DONE. + * `DONE`. */ public final class WaitRegionOperationHttpRequest implements ApiMessage { private final String access_token; diff --git a/src/main/java/com/google/cloud/compute/v1/WaitZoneOperationHttpRequest.java b/src/main/java/com/google/cloud/compute/v1/WaitZoneOperationHttpRequest.java index 0f074b3e2..500e53bc2 100644 --- a/src/main/java/com/google/cloud/compute/v1/WaitZoneOperationHttpRequest.java +++ b/src/main/java/com/google/cloud/compute/v1/WaitZoneOperationHttpRequest.java @@ -26,16 +26,16 @@ @BetaApi /** * Request object for method compute.zoneOperations.wait. Waits for the specified Operation resource - * to return as DONE or for the request to approach the 2 minute deadline, and retrieves the - * specified Operation resource. This method differs from the GET method in that it waits for no + * to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the + * specified Operation resource. This method differs from the `GET` method in that it waits for no * more than the default deadline (2 minutes) and then returns the current state of the operation, - * which might be DONE or still in progress. + * which might be `DONE` or still in progress. * *

This method is called on a best-effort basis. Specifically: - In uncommon cases, when the * server is overloaded, the request might return before the default deadline is reached, or might * return after zero seconds. - If the default deadline is reached, there is no guarantee that the * operation is actually done when the method returns. Be prepared to retry if the operation is not - * DONE. + * `DONE`. */ public final class WaitZoneOperationHttpRequest implements ApiMessage { private final String access_token; diff --git a/src/main/java/com/google/cloud/compute/v1/ZoneOperationClient.java b/src/main/java/com/google/cloud/compute/v1/ZoneOperationClient.java index 7b171b8f3..c55357f1e 100644 --- a/src/main/java/com/google/cloud/compute/v1/ZoneOperationClient.java +++ b/src/main/java/com/google/cloud/compute/v1/ZoneOperationClient.java @@ -483,16 +483,16 @@ public final ListZoneOperationsPagedResponse listZoneOperations( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Waits for the specified Operation resource to return as DONE or for the request to approach the - * 2 minute deadline, and retrieves the specified Operation resource. This method differs from the - * GET method in that it waits for no more than the default deadline (2 minutes) and then returns - * the current state of the operation, which might be DONE or still in progress. + * Waits for the specified Operation resource to return as `DONE` or for the request to approach + * the 2 minute deadline, and retrieves the specified Operation resource. This method differs from + * the `GET` method in that it waits for no more than the default deadline (2 minutes) and then + * returns the current state of the operation, which might be `DONE` or still in progress. * *

This method is called on a best-effort basis. Specifically: - In uncommon cases, when the * server is overloaded, the request might return before the default deadline is reached, or might * return after zero seconds. - If the default deadline is reached, there is no guarantee that the * operation is actually done when the method returns. Be prepared to retry if the operation is - * not DONE. + * not `DONE`. * *

Sample code: * @@ -517,16 +517,16 @@ public final Operation waitZoneOperation(ProjectZoneOperationName operation) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Waits for the specified Operation resource to return as DONE or for the request to approach the - * 2 minute deadline, and retrieves the specified Operation resource. This method differs from the - * GET method in that it waits for no more than the default deadline (2 minutes) and then returns - * the current state of the operation, which might be DONE or still in progress. + * Waits for the specified Operation resource to return as `DONE` or for the request to approach + * the 2 minute deadline, and retrieves the specified Operation resource. This method differs from + * the `GET` method in that it waits for no more than the default deadline (2 minutes) and then + * returns the current state of the operation, which might be `DONE` or still in progress. * *

This method is called on a best-effort basis. Specifically: - In uncommon cases, when the * server is overloaded, the request might return before the default deadline is reached, or might * return after zero seconds. - If the default deadline is reached, there is no guarantee that the * operation is actually done when the method returns. Be prepared to retry if the operation is - * not DONE. + * not `DONE`. * *

Sample code: * @@ -549,16 +549,16 @@ public final Operation waitZoneOperation(String operation) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Waits for the specified Operation resource to return as DONE or for the request to approach the - * 2 minute deadline, and retrieves the specified Operation resource. This method differs from the - * GET method in that it waits for no more than the default deadline (2 minutes) and then returns - * the current state of the operation, which might be DONE or still in progress. + * Waits for the specified Operation resource to return as `DONE` or for the request to approach + * the 2 minute deadline, and retrieves the specified Operation resource. This method differs from + * the `GET` method in that it waits for no more than the default deadline (2 minutes) and then + * returns the current state of the operation, which might be `DONE` or still in progress. * *

This method is called on a best-effort basis. Specifically: - In uncommon cases, when the * server is overloaded, the request might return before the default deadline is reached, or might * return after zero seconds. - If the default deadline is reached, there is no guarantee that the * operation is actually done when the method returns. Be prepared to retry if the operation is - * not DONE. + * not `DONE`. * *

Sample code: * @@ -582,16 +582,16 @@ public final Operation waitZoneOperation(WaitZoneOperationHttpRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Waits for the specified Operation resource to return as DONE or for the request to approach the - * 2 minute deadline, and retrieves the specified Operation resource. This method differs from the - * GET method in that it waits for no more than the default deadline (2 minutes) and then returns - * the current state of the operation, which might be DONE or still in progress. + * Waits for the specified Operation resource to return as `DONE` or for the request to approach + * the 2 minute deadline, and retrieves the specified Operation resource. This method differs from + * the `GET` method in that it waits for no more than the default deadline (2 minutes) and then + * returns the current state of the operation, which might be `DONE` or still in progress. * *

This method is called on a best-effort basis. Specifically: - In uncommon cases, when the * server is overloaded, the request might return before the default deadline is reached, or might * return after zero seconds. - If the default deadline is reached, there is no guarantee that the * operation is actually done when the method returns. Be prepared to retry if the operation is - * not DONE. + * not `DONE`. * *

Sample code: * diff --git a/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerStub.java b/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerStub.java index 00a0aa6af..47b9eb0b5 100644 --- a/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerStub.java +++ b/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerStub.java @@ -18,6 +18,7 @@ import static com.google.cloud.compute.v1.InstanceGroupManagerClient.AggregatedListInstanceGroupManagersPagedResponse; import static com.google.cloud.compute.v1.InstanceGroupManagerClient.ListErrorsInstanceGroupManagersPagedResponse; import static com.google.cloud.compute.v1.InstanceGroupManagerClient.ListInstanceGroupManagersPagedResponse; +import static com.google.cloud.compute.v1.InstanceGroupManagerClient.ListManagedInstancesInstanceGroupManagersPagedResponse; import com.google.api.client.http.HttpMethods; import com.google.api.core.BetaApi; @@ -483,6 +484,10 @@ public class HttpJsonInstanceGroupManagerStub extends InstanceGroupManagerStub { ListManagedInstancesInstanceGroupManagersHttpRequest, InstanceGroupManagersListManagedInstancesResponse> listManagedInstancesInstanceGroupManagersCallable; + private final UnaryCallable< + ListManagedInstancesInstanceGroupManagersHttpRequest, + ListManagedInstancesInstanceGroupManagersPagedResponse> + listManagedInstancesInstanceGroupManagersPagedCallable; private final UnaryCallable patchInstanceGroupManagerCallable; private final UnaryCallable @@ -708,6 +713,11 @@ protected HttpJsonInstanceGroupManagerStub( listManagedInstancesInstanceGroupManagersTransportSettings, settings.listManagedInstancesInstanceGroupManagersSettings(), clientContext); + this.listManagedInstancesInstanceGroupManagersPagedCallable = + callableFactory.createPagedCallable( + listManagedInstancesInstanceGroupManagersTransportSettings, + settings.listManagedInstancesInstanceGroupManagersSettings(), + clientContext); this.patchInstanceGroupManagerCallable = callableFactory.createUnaryCallable( patchInstanceGroupManagerTransportSettings, @@ -820,6 +830,14 @@ protected HttpJsonInstanceGroupManagerStub( return listErrorsInstanceGroupManagersCallable; } + @BetaApi + public UnaryCallable< + ListManagedInstancesInstanceGroupManagersHttpRequest, + ListManagedInstancesInstanceGroupManagersPagedResponse> + listManagedInstancesInstanceGroupManagersPagedCallable() { + return listManagedInstancesInstanceGroupManagersPagedCallable; + } + @BetaApi public UnaryCallable< ListManagedInstancesInstanceGroupManagersHttpRequest, diff --git a/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupManagerStub.java b/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupManagerStub.java index 5a6668ee6..7b2d95c0e 100644 --- a/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupManagerStub.java +++ b/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupManagerStub.java @@ -16,6 +16,7 @@ package com.google.cloud.compute.v1.stub; import static com.google.cloud.compute.v1.RegionInstanceGroupManagerClient.ListErrorsRegionInstanceGroupManagersPagedResponse; +import static com.google.cloud.compute.v1.RegionInstanceGroupManagerClient.ListManagedInstancesRegionInstanceGroupManagersPagedResponse; import static com.google.cloud.compute.v1.RegionInstanceGroupManagerClient.ListRegionInstanceGroupManagersPagedResponse; import com.google.api.client.http.HttpMethods; @@ -466,6 +467,10 @@ public class HttpJsonRegionInstanceGroupManagerStub extends RegionInstanceGroupM ListManagedInstancesRegionInstanceGroupManagersHttpRequest, RegionInstanceGroupManagersListInstancesResponse> listManagedInstancesRegionInstanceGroupManagersCallable; + private final UnaryCallable< + ListManagedInstancesRegionInstanceGroupManagersHttpRequest, + ListManagedInstancesRegionInstanceGroupManagersPagedResponse> + listManagedInstancesRegionInstanceGroupManagersPagedCallable; private final UnaryCallable patchRegionInstanceGroupManagerCallable; private final UnaryCallable @@ -683,6 +688,11 @@ protected HttpJsonRegionInstanceGroupManagerStub( listManagedInstancesRegionInstanceGroupManagersTransportSettings, settings.listManagedInstancesRegionInstanceGroupManagersSettings(), clientContext); + this.listManagedInstancesRegionInstanceGroupManagersPagedCallable = + callableFactory.createPagedCallable( + listManagedInstancesRegionInstanceGroupManagersTransportSettings, + settings.listManagedInstancesRegionInstanceGroupManagersSettings(), + clientContext); this.patchRegionInstanceGroupManagerCallable = callableFactory.createUnaryCallable( patchRegionInstanceGroupManagerTransportSettings, @@ -783,6 +793,14 @@ protected HttpJsonRegionInstanceGroupManagerStub( return listErrorsRegionInstanceGroupManagersCallable; } + @BetaApi + public UnaryCallable< + ListManagedInstancesRegionInstanceGroupManagersHttpRequest, + ListManagedInstancesRegionInstanceGroupManagersPagedResponse> + listManagedInstancesRegionInstanceGroupManagersPagedCallable() { + return listManagedInstancesRegionInstanceGroupManagersPagedCallable; + } + @BetaApi public UnaryCallable< ListManagedInstancesRegionInstanceGroupManagersHttpRequest, diff --git a/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSecurityPolicyStub.java b/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSecurityPolicyStub.java index 5292104bb..47172a941 100644 --- a/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSecurityPolicyStub.java +++ b/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSecurityPolicyStub.java @@ -35,6 +35,7 @@ import com.google.cloud.compute.v1.GetRuleSecurityPolicyHttpRequest; import com.google.cloud.compute.v1.GetSecurityPolicyHttpRequest; import com.google.cloud.compute.v1.InsertSecurityPolicyHttpRequest; +import com.google.cloud.compute.v1.ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest; import com.google.cloud.compute.v1.ListSecurityPoliciesHttpRequest; import com.google.cloud.compute.v1.Operation; import com.google.cloud.compute.v1.PatchRuleSecurityPolicyHttpRequest; @@ -42,6 +43,7 @@ import com.google.cloud.compute.v1.ProjectGlobalSecurityPolicyName; import com.google.cloud.compute.v1.ProjectName; import com.google.cloud.compute.v1.RemoveRuleSecurityPolicyHttpRequest; +import com.google.cloud.compute.v1.SecurityPoliciesListPreconfiguredExpressionSetsResponse; import com.google.cloud.compute.v1.SecurityPolicy; import com.google.cloud.compute.v1.SecurityPolicyList; import com.google.cloud.compute.v1.SecurityPolicyRule; @@ -180,6 +182,37 @@ public class HttpJsonSecurityPolicyStub extends SecurityPolicyStub { .build()) .build(); + @InternalApi + public static final ApiMethodDescriptor< + ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest, + SecurityPoliciesListPreconfiguredExpressionSetsResponse> + listPreconfiguredExpressionSetsSecurityPoliciesMethodDescriptor = + ApiMethodDescriptor + . + newBuilder() + .setFullMethodName("compute.securityPolicies.listPreconfiguredExpressionSets") + .setHttpMethod(HttpMethods.GET) + .setRequestFormatter( + ApiMessageHttpRequestFormatter + .newBuilder() + .setPathTemplate( + PathTemplate.create( + "{project}/global/securityPolicies/listPreconfiguredExpressionSets")) + .setQueryParams( + Sets.newHashSet("filter", "maxResults", "orderBy", "pageToken")) + .setResourceNameFactory(ProjectName.newFactory()) + .setResourceNameField("project") + .build()) + .setResponseParser( + ApiMessageHttpResponseParser + .newBuilder() + .setResponseInstance( + SecurityPoliciesListPreconfiguredExpressionSetsResponse + .getDefaultInstance()) + .build()) + .build(); + @InternalApi public static final ApiMethodDescriptor patchSecurityPolicyMethodDescriptor = @@ -258,6 +291,10 @@ public class HttpJsonSecurityPolicyStub extends SecurityPolicyStub { listSecurityPoliciesCallable; private final UnaryCallable listSecurityPoliciesPagedCallable; + private final UnaryCallable< + ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest, + SecurityPoliciesListPreconfiguredExpressionSetsResponse> + listPreconfiguredExpressionSetsSecurityPoliciesCallable; private final UnaryCallable patchSecurityPolicyCallable; private final UnaryCallable @@ -336,6 +373,17 @@ protected HttpJsonSecurityPolicyStub( HttpJsonCallSettings.newBuilder() .setMethodDescriptor(listSecurityPoliciesMethodDescriptor) .build(); + HttpJsonCallSettings< + ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest, + SecurityPoliciesListPreconfiguredExpressionSetsResponse> + listPreconfiguredExpressionSetsSecurityPoliciesTransportSettings = + HttpJsonCallSettings + . + newBuilder() + .setMethodDescriptor( + listPreconfiguredExpressionSetsSecurityPoliciesMethodDescriptor) + .build(); HttpJsonCallSettings patchSecurityPolicyTransportSettings = HttpJsonCallSettings.newBuilder() @@ -387,6 +435,11 @@ protected HttpJsonSecurityPolicyStub( listSecurityPoliciesTransportSettings, settings.listSecurityPoliciesSettings(), clientContext); + this.listPreconfiguredExpressionSetsSecurityPoliciesCallable = + callableFactory.createUnaryCallable( + listPreconfiguredExpressionSetsSecurityPoliciesTransportSettings, + settings.listPreconfiguredExpressionSetsSecurityPoliciesSettings(), + clientContext); this.patchSecurityPolicyCallable = callableFactory.createUnaryCallable( patchSecurityPolicyTransportSettings, @@ -445,6 +498,14 @@ public UnaryCallable insertSecurityP return listSecurityPoliciesCallable; } + @BetaApi + public UnaryCallable< + ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest, + SecurityPoliciesListPreconfiguredExpressionSetsResponse> + listPreconfiguredExpressionSetsSecurityPoliciesCallable() { + return listPreconfiguredExpressionSetsSecurityPoliciesCallable; + } + @BetaApi public UnaryCallable patchSecurityPolicyCallable() { return patchSecurityPolicyCallable; diff --git a/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerStub.java b/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerStub.java index 5bdc6912a..33a392922 100644 --- a/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerStub.java +++ b/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerStub.java @@ -18,6 +18,7 @@ import static com.google.cloud.compute.v1.InstanceGroupManagerClient.AggregatedListInstanceGroupManagersPagedResponse; import static com.google.cloud.compute.v1.InstanceGroupManagerClient.ListErrorsInstanceGroupManagersPagedResponse; import static com.google.cloud.compute.v1.InstanceGroupManagerClient.ListInstanceGroupManagersPagedResponse; +import static com.google.cloud.compute.v1.InstanceGroupManagerClient.ListManagedInstancesInstanceGroupManagersPagedResponse; import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; @@ -150,6 +151,15 @@ public abstract class InstanceGroupManagerStub implements BackgroundResource { "Not implemented: listErrorsInstanceGroupManagersCallable()"); } + @BetaApi + public UnaryCallable< + ListManagedInstancesInstanceGroupManagersHttpRequest, + ListManagedInstancesInstanceGroupManagersPagedResponse> + listManagedInstancesInstanceGroupManagersPagedCallable() { + throw new UnsupportedOperationException( + "Not implemented: listManagedInstancesInstanceGroupManagersPagedCallable()"); + } + @BetaApi public UnaryCallable< ListManagedInstancesInstanceGroupManagersHttpRequest, diff --git a/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerStubSettings.java b/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerStubSettings.java index 84218fb0b..aee254995 100644 --- a/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerStubSettings.java +++ b/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerStubSettings.java @@ -18,6 +18,7 @@ import static com.google.cloud.compute.v1.InstanceGroupManagerClient.AggregatedListInstanceGroupManagersPagedResponse; import static com.google.cloud.compute.v1.InstanceGroupManagerClient.ListErrorsInstanceGroupManagersPagedResponse; import static com.google.cloud.compute.v1.InstanceGroupManagerClient.ListInstanceGroupManagersPagedResponse; +import static com.google.cloud.compute.v1.InstanceGroupManagerClient.ListManagedInstancesInstanceGroupManagersPagedResponse; import com.google.api.core.ApiFunction; import com.google.api.core.ApiFuture; @@ -59,6 +60,7 @@ import com.google.cloud.compute.v1.ListErrorsInstanceGroupManagersHttpRequest; import com.google.cloud.compute.v1.ListInstanceGroupManagersHttpRequest; import com.google.cloud.compute.v1.ListManagedInstancesInstanceGroupManagersHttpRequest; +import com.google.cloud.compute.v1.ManagedInstance; import com.google.cloud.compute.v1.Operation; import com.google.cloud.compute.v1.PatchInstanceGroupManagerHttpRequest; import com.google.cloud.compute.v1.RecreateInstancesInstanceGroupManagerHttpRequest; @@ -150,9 +152,10 @@ public class InstanceGroupManagerStubSettings InstanceGroupManagersListErrorsResponse, ListErrorsInstanceGroupManagersPagedResponse> listErrorsInstanceGroupManagersSettings; - private final UnaryCallSettings< + private final PagedCallSettings< ListManagedInstancesInstanceGroupManagersHttpRequest, - InstanceGroupManagersListManagedInstancesResponse> + InstanceGroupManagersListManagedInstancesResponse, + ListManagedInstancesInstanceGroupManagersPagedResponse> listManagedInstancesInstanceGroupManagersSettings; private final UnaryCallSettings patchInstanceGroupManagerSettings; @@ -243,9 +246,10 @@ public class InstanceGroupManagerStubSettings * Returns the object with the settings used for calls to * listManagedInstancesInstanceGroupManagers. */ - public UnaryCallSettings< + public PagedCallSettings< ListManagedInstancesInstanceGroupManagersHttpRequest, - InstanceGroupManagersListManagedInstancesResponse> + InstanceGroupManagersListManagedInstancesResponse, + ListManagedInstancesInstanceGroupManagersPagedResponse> listManagedInstancesInstanceGroupManagersSettings() { return listManagedInstancesInstanceGroupManagersSettings; } @@ -535,6 +539,57 @@ public Iterable extractResources( } }; + private static final PagedListDescriptor< + ListManagedInstancesInstanceGroupManagersHttpRequest, + InstanceGroupManagersListManagedInstancesResponse, + ManagedInstance> + LIST_MANAGED_INSTANCES_INSTANCE_GROUP_MANAGERS_PAGE_STR_DESC = + new PagedListDescriptor< + ListManagedInstancesInstanceGroupManagersHttpRequest, + InstanceGroupManagersListManagedInstancesResponse, + ManagedInstance>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListManagedInstancesInstanceGroupManagersHttpRequest injectToken( + ListManagedInstancesInstanceGroupManagersHttpRequest payload, String token) { + return ListManagedInstancesInstanceGroupManagersHttpRequest.newBuilder(payload) + .setPageToken(token) + .build(); + } + + @Override + public ListManagedInstancesInstanceGroupManagersHttpRequest injectPageSize( + ListManagedInstancesInstanceGroupManagersHttpRequest payload, int pageSize) { + return ListManagedInstancesInstanceGroupManagersHttpRequest.newBuilder(payload) + .setMaxResults(pageSize) + .build(); + } + + @Override + public Integer extractPageSize( + ListManagedInstancesInstanceGroupManagersHttpRequest payload) { + return payload.getMaxResults(); + } + + @Override + public String extractNextToken( + InstanceGroupManagersListManagedInstancesResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources( + InstanceGroupManagersListManagedInstancesResponse payload) { + return payload.getManagedInstancesList() != null + ? payload.getManagedInstancesList() + : ImmutableList.of(); + } + }; + private static final PagedListResponseFactory< AggregatedListInstanceGroupManagersHttpRequest, InstanceGroupManagerAggregatedList, @@ -630,6 +685,40 @@ public ApiFuture getFuturePagedRes } }; + private static final PagedListResponseFactory< + ListManagedInstancesInstanceGroupManagersHttpRequest, + InstanceGroupManagersListManagedInstancesResponse, + ListManagedInstancesInstanceGroupManagersPagedResponse> + LIST_MANAGED_INSTANCES_INSTANCE_GROUP_MANAGERS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListManagedInstancesInstanceGroupManagersHttpRequest, + InstanceGroupManagersListManagedInstancesResponse, + ListManagedInstancesInstanceGroupManagersPagedResponse>() { + @Override + public ApiFuture + getFuturePagedResponse( + UnaryCallable< + ListManagedInstancesInstanceGroupManagersHttpRequest, + InstanceGroupManagersListManagedInstancesResponse> + callable, + ListManagedInstancesInstanceGroupManagersHttpRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext< + ListManagedInstancesInstanceGroupManagersHttpRequest, + InstanceGroupManagersListManagedInstancesResponse, + ManagedInstance> + pageContext = + PageContext.create( + callable, + LIST_MANAGED_INSTANCES_INSTANCE_GROUP_MANAGERS_PAGE_STR_DESC, + request, + context); + return ListManagedInstancesInstanceGroupManagersPagedResponse.createAsync( + pageContext, futureResponse); + } + }; + /** Builder for InstanceGroupManagerStubSettings. */ public static class Builder extends StubSettings.Builder { @@ -669,9 +758,10 @@ public static class Builder InstanceGroupManagersListErrorsResponse, ListErrorsInstanceGroupManagersPagedResponse> listErrorsInstanceGroupManagersSettings; - private final UnaryCallSettings.Builder< + private final PagedCallSettings.Builder< ListManagedInstancesInstanceGroupManagersHttpRequest, - InstanceGroupManagersListManagedInstancesResponse> + InstanceGroupManagersListManagedInstancesResponse, + ListManagedInstancesInstanceGroupManagersPagedResponse> listManagedInstancesInstanceGroupManagersSettings; private final UnaryCallSettings.Builder patchInstanceGroupManagerSettings; @@ -754,7 +844,8 @@ protected Builder(ClientContext clientContext) { PagedCallSettings.newBuilder(LIST_ERRORS_INSTANCE_GROUP_MANAGERS_PAGE_STR_FACT); listManagedInstancesInstanceGroupManagersSettings = - UnaryCallSettings.newUnaryCallSettingsBuilder(); + PagedCallSettings.newBuilder( + LIST_MANAGED_INSTANCES_INSTANCE_GROUP_MANAGERS_PAGE_STR_FACT); patchInstanceGroupManagerSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -1035,9 +1126,10 @@ public Builder applyToAllUnaryMethods( * Returns the builder for the settings used for calls to * listManagedInstancesInstanceGroupManagers. */ - public UnaryCallSettings.Builder< + public PagedCallSettings.Builder< ListManagedInstancesInstanceGroupManagersHttpRequest, - InstanceGroupManagersListManagedInstancesResponse> + InstanceGroupManagersListManagedInstancesResponse, + ListManagedInstancesInstanceGroupManagersPagedResponse> listManagedInstancesInstanceGroupManagersSettings() { return listManagedInstancesInstanceGroupManagersSettings; } diff --git a/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupManagerStub.java b/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupManagerStub.java index c0f5fa7e9..6235d00d2 100644 --- a/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupManagerStub.java +++ b/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupManagerStub.java @@ -16,6 +16,7 @@ package com.google.cloud.compute.v1.stub; import static com.google.cloud.compute.v1.RegionInstanceGroupManagerClient.ListErrorsRegionInstanceGroupManagersPagedResponse; +import static com.google.cloud.compute.v1.RegionInstanceGroupManagerClient.ListManagedInstancesRegionInstanceGroupManagersPagedResponse; import static com.google.cloud.compute.v1.RegionInstanceGroupManagerClient.ListRegionInstanceGroupManagersPagedResponse; import com.google.api.core.BetaApi; @@ -135,6 +136,15 @@ public abstract class RegionInstanceGroupManagerStub implements BackgroundResour "Not implemented: listErrorsRegionInstanceGroupManagersCallable()"); } + @BetaApi + public UnaryCallable< + ListManagedInstancesRegionInstanceGroupManagersHttpRequest, + ListManagedInstancesRegionInstanceGroupManagersPagedResponse> + listManagedInstancesRegionInstanceGroupManagersPagedCallable() { + throw new UnsupportedOperationException( + "Not implemented: listManagedInstancesRegionInstanceGroupManagersPagedCallable()"); + } + @BetaApi public UnaryCallable< ListManagedInstancesRegionInstanceGroupManagersHttpRequest, diff --git a/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupManagerStubSettings.java b/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupManagerStubSettings.java index 4b1325428..80a98e821 100644 --- a/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupManagerStubSettings.java +++ b/src/main/java/com/google/cloud/compute/v1/stub/RegionInstanceGroupManagerStubSettings.java @@ -16,6 +16,7 @@ package com.google.cloud.compute.v1.stub; import static com.google.cloud.compute.v1.RegionInstanceGroupManagerClient.ListErrorsRegionInstanceGroupManagersPagedResponse; +import static com.google.cloud.compute.v1.RegionInstanceGroupManagerClient.ListManagedInstancesRegionInstanceGroupManagersPagedResponse; import static com.google.cloud.compute.v1.RegionInstanceGroupManagerClient.ListRegionInstanceGroupManagersPagedResponse; import com.google.api.core.ApiFunction; @@ -52,6 +53,7 @@ import com.google.cloud.compute.v1.ListErrorsRegionInstanceGroupManagersHttpRequest; import com.google.cloud.compute.v1.ListManagedInstancesRegionInstanceGroupManagersHttpRequest; import com.google.cloud.compute.v1.ListRegionInstanceGroupManagersHttpRequest; +import com.google.cloud.compute.v1.ManagedInstance; import com.google.cloud.compute.v1.Operation; import com.google.cloud.compute.v1.PatchRegionInstanceGroupManagerHttpRequest; import com.google.cloud.compute.v1.RecreateInstancesRegionInstanceGroupManagerHttpRequest; @@ -143,9 +145,10 @@ public class RegionInstanceGroupManagerStubSettings RegionInstanceGroupManagersListErrorsResponse, ListErrorsRegionInstanceGroupManagersPagedResponse> listErrorsRegionInstanceGroupManagersSettings; - private final UnaryCallSettings< + private final PagedCallSettings< ListManagedInstancesRegionInstanceGroupManagersHttpRequest, - RegionInstanceGroupManagersListInstancesResponse> + RegionInstanceGroupManagersListInstancesResponse, + ListManagedInstancesRegionInstanceGroupManagersPagedResponse> listManagedInstancesRegionInstanceGroupManagersSettings; private final UnaryCallSettings patchRegionInstanceGroupManagerSettings; @@ -237,9 +240,10 @@ public class RegionInstanceGroupManagerStubSettings * Returns the object with the settings used for calls to * listManagedInstancesRegionInstanceGroupManagers. */ - public UnaryCallSettings< + public PagedCallSettings< ListManagedInstancesRegionInstanceGroupManagersHttpRequest, - RegionInstanceGroupManagersListInstancesResponse> + RegionInstanceGroupManagersListInstancesResponse, + ListManagedInstancesRegionInstanceGroupManagersPagedResponse> listManagedInstancesRegionInstanceGroupManagersSettings() { return listManagedInstancesRegionInstanceGroupManagersSettings; } @@ -489,6 +493,57 @@ public Iterable extractResources( } }; + private static final PagedListDescriptor< + ListManagedInstancesRegionInstanceGroupManagersHttpRequest, + RegionInstanceGroupManagersListInstancesResponse, + ManagedInstance> + LIST_MANAGED_INSTANCES_REGION_INSTANCE_GROUP_MANAGERS_PAGE_STR_DESC = + new PagedListDescriptor< + ListManagedInstancesRegionInstanceGroupManagersHttpRequest, + RegionInstanceGroupManagersListInstancesResponse, + ManagedInstance>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListManagedInstancesRegionInstanceGroupManagersHttpRequest injectToken( + ListManagedInstancesRegionInstanceGroupManagersHttpRequest payload, String token) { + return ListManagedInstancesRegionInstanceGroupManagersHttpRequest.newBuilder(payload) + .setPageToken(token) + .build(); + } + + @Override + public ListManagedInstancesRegionInstanceGroupManagersHttpRequest injectPageSize( + ListManagedInstancesRegionInstanceGroupManagersHttpRequest payload, int pageSize) { + return ListManagedInstancesRegionInstanceGroupManagersHttpRequest.newBuilder(payload) + .setMaxResults(pageSize) + .build(); + } + + @Override + public Integer extractPageSize( + ListManagedInstancesRegionInstanceGroupManagersHttpRequest payload) { + return payload.getMaxResults(); + } + + @Override + public String extractNextToken( + RegionInstanceGroupManagersListInstancesResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources( + RegionInstanceGroupManagersListInstancesResponse payload) { + return payload.getManagedInstancesList() != null + ? payload.getManagedInstancesList() + : ImmutableList.of(); + } + }; + private static final PagedListResponseFactory< ListRegionInstanceGroupManagersHttpRequest, RegionInstanceGroupManagerList, @@ -555,6 +610,40 @@ public ApiFuture getFuturePagedRes } }; + private static final PagedListResponseFactory< + ListManagedInstancesRegionInstanceGroupManagersHttpRequest, + RegionInstanceGroupManagersListInstancesResponse, + ListManagedInstancesRegionInstanceGroupManagersPagedResponse> + LIST_MANAGED_INSTANCES_REGION_INSTANCE_GROUP_MANAGERS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListManagedInstancesRegionInstanceGroupManagersHttpRequest, + RegionInstanceGroupManagersListInstancesResponse, + ListManagedInstancesRegionInstanceGroupManagersPagedResponse>() { + @Override + public ApiFuture + getFuturePagedResponse( + UnaryCallable< + ListManagedInstancesRegionInstanceGroupManagersHttpRequest, + RegionInstanceGroupManagersListInstancesResponse> + callable, + ListManagedInstancesRegionInstanceGroupManagersHttpRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext< + ListManagedInstancesRegionInstanceGroupManagersHttpRequest, + RegionInstanceGroupManagersListInstancesResponse, + ManagedInstance> + pageContext = + PageContext.create( + callable, + LIST_MANAGED_INSTANCES_REGION_INSTANCE_GROUP_MANAGERS_PAGE_STR_DESC, + request, + context); + return ListManagedInstancesRegionInstanceGroupManagersPagedResponse.createAsync( + pageContext, futureResponse); + } + }; + /** Builder for RegionInstanceGroupManagerStubSettings. */ public static class Builder extends StubSettings.Builder { @@ -589,9 +678,10 @@ public static class Builder RegionInstanceGroupManagersListErrorsResponse, ListErrorsRegionInstanceGroupManagersPagedResponse> listErrorsRegionInstanceGroupManagersSettings; - private final UnaryCallSettings.Builder< + private final PagedCallSettings.Builder< ListManagedInstancesRegionInstanceGroupManagersHttpRequest, - RegionInstanceGroupManagersListInstancesResponse> + RegionInstanceGroupManagersListInstancesResponse, + ListManagedInstancesRegionInstanceGroupManagersPagedResponse> listManagedInstancesRegionInstanceGroupManagersSettings; private final UnaryCallSettings.Builder patchRegionInstanceGroupManagerSettings; @@ -673,7 +763,8 @@ protected Builder(ClientContext clientContext) { PagedCallSettings.newBuilder(LIST_ERRORS_REGION_INSTANCE_GROUP_MANAGERS_PAGE_STR_FACT); listManagedInstancesRegionInstanceGroupManagersSettings = - UnaryCallSettings.newUnaryCallSettingsBuilder(); + PagedCallSettings.newBuilder( + LIST_MANAGED_INSTANCES_REGION_INSTANCE_GROUP_MANAGERS_PAGE_STR_FACT); patchRegionInstanceGroupManagerSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -949,9 +1040,10 @@ public Builder applyToAllUnaryMethods( * Returns the builder for the settings used for calls to * listManagedInstancesRegionInstanceGroupManagers. */ - public UnaryCallSettings.Builder< + public PagedCallSettings.Builder< ListManagedInstancesRegionInstanceGroupManagersHttpRequest, - RegionInstanceGroupManagersListInstancesResponse> + RegionInstanceGroupManagersListInstancesResponse, + ListManagedInstancesRegionInstanceGroupManagersPagedResponse> listManagedInstancesRegionInstanceGroupManagersSettings() { return listManagedInstancesRegionInstanceGroupManagersSettings; } diff --git a/src/main/java/com/google/cloud/compute/v1/stub/SecurityPolicyStub.java b/src/main/java/com/google/cloud/compute/v1/stub/SecurityPolicyStub.java index 3faccdc96..3f4ecdf6c 100644 --- a/src/main/java/com/google/cloud/compute/v1/stub/SecurityPolicyStub.java +++ b/src/main/java/com/google/cloud/compute/v1/stub/SecurityPolicyStub.java @@ -25,11 +25,13 @@ import com.google.cloud.compute.v1.GetRuleSecurityPolicyHttpRequest; import com.google.cloud.compute.v1.GetSecurityPolicyHttpRequest; import com.google.cloud.compute.v1.InsertSecurityPolicyHttpRequest; +import com.google.cloud.compute.v1.ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest; import com.google.cloud.compute.v1.ListSecurityPoliciesHttpRequest; import com.google.cloud.compute.v1.Operation; import com.google.cloud.compute.v1.PatchRuleSecurityPolicyHttpRequest; import com.google.cloud.compute.v1.PatchSecurityPolicyHttpRequest; import com.google.cloud.compute.v1.RemoveRuleSecurityPolicyHttpRequest; +import com.google.cloud.compute.v1.SecurityPoliciesListPreconfiguredExpressionSetsResponse; import com.google.cloud.compute.v1.SecurityPolicy; import com.google.cloud.compute.v1.SecurityPolicyList; import com.google.cloud.compute.v1.SecurityPolicyRule; @@ -84,6 +86,15 @@ public UnaryCallable insertSecurityP throw new UnsupportedOperationException("Not implemented: listSecurityPoliciesCallable()"); } + @BetaApi + public UnaryCallable< + ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest, + SecurityPoliciesListPreconfiguredExpressionSetsResponse> + listPreconfiguredExpressionSetsSecurityPoliciesCallable() { + throw new UnsupportedOperationException( + "Not implemented: listPreconfiguredExpressionSetsSecurityPoliciesCallable()"); + } + @BetaApi public UnaryCallable patchSecurityPolicyCallable() { throw new UnsupportedOperationException("Not implemented: patchSecurityPolicyCallable()"); diff --git a/src/main/java/com/google/cloud/compute/v1/stub/SecurityPolicyStubSettings.java b/src/main/java/com/google/cloud/compute/v1/stub/SecurityPolicyStubSettings.java index 30a07d8d5..9a493528f 100644 --- a/src/main/java/com/google/cloud/compute/v1/stub/SecurityPolicyStubSettings.java +++ b/src/main/java/com/google/cloud/compute/v1/stub/SecurityPolicyStubSettings.java @@ -44,11 +44,13 @@ import com.google.cloud.compute.v1.GetRuleSecurityPolicyHttpRequest; import com.google.cloud.compute.v1.GetSecurityPolicyHttpRequest; import com.google.cloud.compute.v1.InsertSecurityPolicyHttpRequest; +import com.google.cloud.compute.v1.ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest; import com.google.cloud.compute.v1.ListSecurityPoliciesHttpRequest; import com.google.cloud.compute.v1.Operation; import com.google.cloud.compute.v1.PatchRuleSecurityPolicyHttpRequest; import com.google.cloud.compute.v1.PatchSecurityPolicyHttpRequest; import com.google.cloud.compute.v1.RemoveRuleSecurityPolicyHttpRequest; +import com.google.cloud.compute.v1.SecurityPoliciesListPreconfiguredExpressionSetsResponse; import com.google.cloud.compute.v1.SecurityPolicy; import com.google.cloud.compute.v1.SecurityPolicyList; import com.google.cloud.compute.v1.SecurityPolicyRule; @@ -120,6 +122,10 @@ public class SecurityPolicyStubSettings extends StubSettings listSecurityPoliciesSettings; + private final UnaryCallSettings< + ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest, + SecurityPoliciesListPreconfiguredExpressionSetsResponse> + listPreconfiguredExpressionSetsSecurityPoliciesSettings; private final UnaryCallSettings patchSecurityPolicySettings; private final UnaryCallSettings @@ -164,6 +170,17 @@ public class SecurityPolicyStubSettings extends StubSettings + listPreconfiguredExpressionSetsSecurityPoliciesSettings() { + return listPreconfiguredExpressionSetsSecurityPoliciesSettings; + } + /** Returns the object with the settings used for calls to patchSecurityPolicy. */ public UnaryCallSettings patchSecurityPolicySettings() { @@ -263,6 +280,8 @@ protected SecurityPolicyStubSettings(Builder settingsBuilder) throws IOException getRuleSecurityPolicySettings = settingsBuilder.getRuleSecurityPolicySettings().build(); insertSecurityPolicySettings = settingsBuilder.insertSecurityPolicySettings().build(); listSecurityPoliciesSettings = settingsBuilder.listSecurityPoliciesSettings().build(); + listPreconfiguredExpressionSetsSecurityPoliciesSettings = + settingsBuilder.listPreconfiguredExpressionSetsSecurityPoliciesSettings().build(); patchSecurityPolicySettings = settingsBuilder.patchSecurityPolicySettings().build(); patchRuleSecurityPolicySettings = settingsBuilder.patchRuleSecurityPolicySettings().build(); removeRuleSecurityPolicySettings = settingsBuilder.removeRuleSecurityPolicySettings().build(); @@ -350,6 +369,10 @@ public static class Builder extends StubSettings.Builder listSecurityPoliciesSettings; + private final UnaryCallSettings.Builder< + ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest, + SecurityPoliciesListPreconfiguredExpressionSetsResponse> + listPreconfiguredExpressionSetsSecurityPoliciesSettings; private final UnaryCallSettings.Builder patchSecurityPolicySettings; private final UnaryCallSettings.Builder @@ -411,6 +434,9 @@ protected Builder(ClientContext clientContext) { listSecurityPoliciesSettings = PagedCallSettings.newBuilder(LIST_SECURITY_POLICIES_PAGE_STR_FACT); + listPreconfiguredExpressionSetsSecurityPoliciesSettings = + UnaryCallSettings.newUnaryCallSettingsBuilder(); + patchSecurityPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); patchRuleSecurityPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -425,6 +451,7 @@ protected Builder(ClientContext clientContext) { getRuleSecurityPolicySettings, insertSecurityPolicySettings, listSecurityPoliciesSettings, + listPreconfiguredExpressionSetsSecurityPoliciesSettings, patchSecurityPolicySettings, patchRuleSecurityPolicySettings, removeRuleSecurityPolicySettings); @@ -473,6 +500,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default")); + builder + .listPreconfiguredExpressionSetsSecurityPoliciesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default")); + builder .patchSecurityPolicySettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent")) @@ -500,6 +532,8 @@ protected Builder(SecurityPolicyStubSettings settings) { getRuleSecurityPolicySettings = settings.getRuleSecurityPolicySettings.toBuilder(); insertSecurityPolicySettings = settings.insertSecurityPolicySettings.toBuilder(); listSecurityPoliciesSettings = settings.listSecurityPoliciesSettings.toBuilder(); + listPreconfiguredExpressionSetsSecurityPoliciesSettings = + settings.listPreconfiguredExpressionSetsSecurityPoliciesSettings.toBuilder(); patchSecurityPolicySettings = settings.patchSecurityPolicySettings.toBuilder(); patchRuleSecurityPolicySettings = settings.patchRuleSecurityPolicySettings.toBuilder(); removeRuleSecurityPolicySettings = settings.removeRuleSecurityPolicySettings.toBuilder(); @@ -512,6 +546,7 @@ protected Builder(SecurityPolicyStubSettings settings) { getRuleSecurityPolicySettings, insertSecurityPolicySettings, listSecurityPoliciesSettings, + listPreconfiguredExpressionSetsSecurityPoliciesSettings, patchSecurityPolicySettings, patchRuleSecurityPolicySettings, removeRuleSecurityPolicySettings); @@ -570,6 +605,17 @@ public Builder applyToAllUnaryMethods( return listSecurityPoliciesSettings; } + /** + * Returns the builder for the settings used for calls to + * listPreconfiguredExpressionSetsSecurityPolicies. + */ + public UnaryCallSettings.Builder< + ListPreconfiguredExpressionSetsSecurityPoliciesHttpRequest, + SecurityPoliciesListPreconfiguredExpressionSetsResponse> + listPreconfiguredExpressionSetsSecurityPoliciesSettings() { + return listPreconfiguredExpressionSetsSecurityPoliciesSettings; + } + /** Returns the builder for the settings used for calls to patchSecurityPolicy. */ public UnaryCallSettings.Builder patchSecurityPolicySettings() { diff --git a/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagerClientTest.java b/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagerClientTest.java index 6427c4511..5bdfb7c9f 100644 --- a/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagerClientTest.java +++ b/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagerClientTest.java @@ -18,6 +18,7 @@ import static com.google.cloud.compute.v1.InstanceGroupManagerClient.AggregatedListInstanceGroupManagersPagedResponse; import static com.google.cloud.compute.v1.InstanceGroupManagerClient.ListErrorsInstanceGroupManagersPagedResponse; import static com.google.cloud.compute.v1.InstanceGroupManagerClient.ListInstanceGroupManagersPagedResponse; +import static com.google.cloud.compute.v1.InstanceGroupManagerClient.ListManagedInstancesInstanceGroupManagersPagedResponse; import static com.google.cloud.compute.v1.stub.HttpJsonInstanceGroupManagerStub.abandonInstancesInstanceGroupManagerMethodDescriptor; import static com.google.cloud.compute.v1.stub.HttpJsonInstanceGroupManagerStub.aggregatedListInstanceGroupManagersMethodDescriptor; import static com.google.cloud.compute.v1.stub.HttpJsonInstanceGroupManagerStub.applyUpdatesToInstancesInstanceGroupManagerMethodDescriptor; @@ -951,16 +952,25 @@ public void listErrorsInstanceGroupManagersExceptionTest() throws Exception { @Test @SuppressWarnings("all") public void listManagedInstancesInstanceGroupManagersTest() { + String nextPageToken = ""; + ManagedInstance managedInstancesElement = ManagedInstance.newBuilder().build(); + List managedInstances = Arrays.asList(managedInstancesElement); InstanceGroupManagersListManagedInstancesResponse expectedResponse = - InstanceGroupManagersListManagedInstancesResponse.newBuilder().build(); + InstanceGroupManagersListManagedInstancesResponse.newBuilder() + .setNextPageToken(nextPageToken) + .addAllManagedInstances(managedInstances) + .build(); mockService.addResponse(expectedResponse); ProjectZoneInstanceGroupManagerName instanceGroupManager = ProjectZoneInstanceGroupManagerName.of("[PROJECT]", "[ZONE]", "[INSTANCE_GROUP_MANAGER]"); - InstanceGroupManagersListManagedInstancesResponse actualResponse = + ListManagedInstancesInstanceGroupManagersPagedResponse pagedListResponse = client.listManagedInstancesInstanceGroupManagers(instanceGroupManager); - Assert.assertEquals(expectedResponse, actualResponse); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getManagedInstancesList().get(0), resources.get(0)); List actualRequests = mockService.getRequestPaths(); Assert.assertEquals(1, actualRequests.size()); diff --git a/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClientTest.java b/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClientTest.java index 2d50da238..aa17a9288 100644 --- a/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClientTest.java +++ b/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClientTest.java @@ -16,6 +16,7 @@ package com.google.cloud.compute.v1; import static com.google.cloud.compute.v1.RegionInstanceGroupManagerClient.ListErrorsRegionInstanceGroupManagersPagedResponse; +import static com.google.cloud.compute.v1.RegionInstanceGroupManagerClient.ListManagedInstancesRegionInstanceGroupManagersPagedResponse; import static com.google.cloud.compute.v1.RegionInstanceGroupManagerClient.ListRegionInstanceGroupManagersPagedResponse; import static com.google.cloud.compute.v1.stub.HttpJsonRegionInstanceGroupManagerStub.abandonInstancesRegionInstanceGroupManagerMethodDescriptor; import static com.google.cloud.compute.v1.stub.HttpJsonRegionInstanceGroupManagerStub.applyUpdatesToInstancesRegionInstanceGroupManagerMethodDescriptor; @@ -896,17 +897,26 @@ public void listErrorsRegionInstanceGroupManagersExceptionTest() throws Exceptio @Test @SuppressWarnings("all") public void listManagedInstancesRegionInstanceGroupManagersTest() { + String nextPageToken = ""; + ManagedInstance managedInstancesElement = ManagedInstance.newBuilder().build(); + List managedInstances = Arrays.asList(managedInstancesElement); RegionInstanceGroupManagersListInstancesResponse expectedResponse = - RegionInstanceGroupManagersListInstancesResponse.newBuilder().build(); + RegionInstanceGroupManagersListInstancesResponse.newBuilder() + .setNextPageToken(nextPageToken) + .addAllManagedInstances(managedInstances) + .build(); mockService.addResponse(expectedResponse); ProjectRegionInstanceGroupManagerName instanceGroupManager = ProjectRegionInstanceGroupManagerName.of( "[PROJECT]", "[REGION]", "[INSTANCE_GROUP_MANAGER]"); - RegionInstanceGroupManagersListInstancesResponse actualResponse = + ListManagedInstancesRegionInstanceGroupManagersPagedResponse pagedListResponse = client.listManagedInstancesRegionInstanceGroupManagers(instanceGroupManager); - Assert.assertEquals(expectedResponse, actualResponse); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getManagedInstancesList().get(0), resources.get(0)); List actualRequests = mockService.getRequestPaths(); Assert.assertEquals(1, actualRequests.size()); diff --git a/src/test/java/com/google/cloud/compute/v1/SecurityPolicyClientTest.java b/src/test/java/com/google/cloud/compute/v1/SecurityPolicyClientTest.java index 937784632..77f7f47c3 100644 --- a/src/test/java/com/google/cloud/compute/v1/SecurityPolicyClientTest.java +++ b/src/test/java/com/google/cloud/compute/v1/SecurityPolicyClientTest.java @@ -21,6 +21,7 @@ import static com.google.cloud.compute.v1.stub.HttpJsonSecurityPolicyStub.getRuleSecurityPolicyMethodDescriptor; import static com.google.cloud.compute.v1.stub.HttpJsonSecurityPolicyStub.getSecurityPolicyMethodDescriptor; import static com.google.cloud.compute.v1.stub.HttpJsonSecurityPolicyStub.insertSecurityPolicyMethodDescriptor; +import static com.google.cloud.compute.v1.stub.HttpJsonSecurityPolicyStub.listPreconfiguredExpressionSetsSecurityPoliciesMethodDescriptor; import static com.google.cloud.compute.v1.stub.HttpJsonSecurityPolicyStub.listSecurityPoliciesMethodDescriptor; import static com.google.cloud.compute.v1.stub.HttpJsonSecurityPolicyStub.patchRuleSecurityPolicyMethodDescriptor; import static com.google.cloud.compute.v1.stub.HttpJsonSecurityPolicyStub.patchSecurityPolicyMethodDescriptor; @@ -61,6 +62,7 @@ public class SecurityPolicyClientTest { getRuleSecurityPolicyMethodDescriptor, insertSecurityPolicyMethodDescriptor, listSecurityPoliciesMethodDescriptor, + listPreconfiguredExpressionSetsSecurityPoliciesMethodDescriptor, patchSecurityPolicyMethodDescriptor, patchRuleSecurityPolicyMethodDescriptor, removeRuleSecurityPolicyMethodDescriptor)); @@ -546,6 +548,52 @@ public void listSecurityPoliciesExceptionTest() throws Exception { } } + @Test + @SuppressWarnings("all") + public void listPreconfiguredExpressionSetsSecurityPoliciesTest() { + SecurityPoliciesListPreconfiguredExpressionSetsResponse expectedResponse = + SecurityPoliciesListPreconfiguredExpressionSetsResponse.newBuilder().build(); + mockService.addResponse(expectedResponse); + + ProjectName project = ProjectName.of("[PROJECT]"); + + SecurityPoliciesListPreconfiguredExpressionSetsResponse actualResponse = + client.listPreconfiguredExpressionSetsSecurityPolicies(project); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + @SuppressWarnings("all") + public void listPreconfiguredExpressionSetsSecurityPoliciesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ProjectName project = ProjectName.of("[PROJECT]"); + + client.listPreconfiguredExpressionSetsSecurityPolicies(project); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception + } + } + @Test @SuppressWarnings("all") public void patchSecurityPolicyTest() { diff --git a/synth.metadata b/synth.metadata index 823410920..617137bdd 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,11 +1,12 @@ { - "updateTime": "2020-04-06T22:50:19.589343Z", + "updateTime": "2020-04-06T22:54:01.142368Z", "sources": [ { "git": { "name": "discovery-artifact-manager", "remote": "https://github.com/googleapis/discovery-artifact-manager.git", - "sha": "719a847d02865d80d6d6a5a66ffcd158015684d3" + "sha": "56af37988f55b88f8111afa412bbbca1679346da", + "log": "56af37988f55b88f8111afa412bbbca1679346da\nAutogenerated Discovery document update\n\n5adaa2203cccb7bd5ad07295164fa13edb270a8a\nAutogenerated Discovery document update\n\n1ec2c536f98be743cad42030efaca2a4612c099c\nAutogenerated Discovery document update\n\n575b9b38c62425d86a32566f7522515d4626e02c\nAutogenerated Discovery document update\n\n045c360f31cc49309c7aded8e74021130bb1cb3f\nAutogenerated Discovery document update\n\n160a0d5a119019eb9d341f7d0bfe013772dd3964\nAutogenerated Discovery document update\n\n35a5d0a493d1325691a313eaa0f2750c1c824063\nAutogenerated Discovery document update\n\n6e6bcaa07475d1248b74fc11d2156194c8aac5ea\nAutogenerated Discovery document update\n\n92ef8be7df755f684df0ff4653f64e93a81e4e6f\nAutogenerated Discovery document update\n\n3b1dd08f03a60005e4ee1f041cf9e6fab7dfe059\nAutogenerated Discovery document update\n\n08add9ffe81187cfda5dac62802f69a07a86ac26\nAutogenerated Discovery document update\n\nb29cb224a4cbd792e9c8ec9525819608bed531c5\nAutogenerated Discovery document update\n\n358290808412162ec28b41f9b8785bc294094867\nAutogenerated Discovery document update\n\n247d5f105e4757f39fff815af786ac5760cf8f3a\nAutogenerated Discovery document update\n\nfa0e783e7ff7f8c7380bbe656cd9660def1bb9fb\nAutogenerated Discovery document update\n\nd00262d58a667d654ff769a9e8d26d5f2d1d39a2\nAutogenerated Discovery document update\n\n" } }, { From 45ee9d1263d7a2028861e62e745fb4e96a24a6f1 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 8 Apr 2020 15:58:46 -0700 Subject: [PATCH 5/5] chore: allow breaking pagination configuration changes --- clirr-ignored-differences.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/clirr-ignored-differences.xml b/clirr-ignored-differences.xml index 328f22c37..870c61114 100644 --- a/clirr-ignored-differences.xml +++ b/clirr-ignored-differences.xml @@ -37,4 +37,22 @@ com/google/cloud/compute/v1/*Client * aggregatedList* + + 7006 + com/google/cloud/compute/v1/*InstanceGroupManagerClient + com.google.cloud.compute.v1.*InstanceGroupManagersList*InstancesResponse listManagedInstances*InstanceGroupManagers(*) + com.google.cloud.compute.v1.*InstanceGroupManagerClient$ListManagedInstances*InstanceGroupManagersPagedResponse + + + 7006 + com/google/cloud/compute/v1/*InstanceGroupManagerSettings* + com.google.api.gax.rpc.UnaryCallSettings* listManagedInstances*InstanceGroupManagersSettings() + com.google.api.gax.rpc.PagedCallSettings* + + + 7006 + com/google/cloud/compute/v1/stub/*InstanceGroupManagerStubSettings* + com.google.api.gax.rpc.UnaryCallSettings* listManagedInstances*InstanceGroupManagersSettings() + com.google.api.gax.rpc.PagedCallSettings* +