From 21ed35bb621fbd95d798fa5bf87e924041051dae Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Thu, 7 Feb 2019 00:37:04 -0800 Subject: [PATCH] Regenerate compute client --- ...tancesInstanceGroupManagerHttpRequest.java | 84 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 84 ++++ .../cloud/compute/v1/AcceleratorConfig.java | 22 + .../cloud/compute/v1/AcceleratorType.java | 57 +++ .../v1/AcceleratorTypeAggregatedList.java | 51 ++ .../cloud/compute/v1/AcceleratorTypeList.java | 44 ++ .../v1/AcceleratorTypesScopedList.java | 13 + .../google/cloud/compute/v1/AccessConfig.java | 96 ++++ .../AddAccessConfigInstanceHttpRequest.java | 99 ++++ .../AddHealthCheckTargetPoolHttpRequest.java | 84 ++++ .../v1/AddInstanceTargetPoolHttpRequest.java | 84 ++++ .../AddInstancesInstanceGroupHttpRequest.java | 84 ++++ .../v1/AddNodesNodeGroupHttpRequest.java | 84 ++++ .../v1/AddPeeringNetworkHttpRequest.java | 81 ++++ .../v1/AddRuleSecurityPolicyHttpRequest.java | 57 +++ ...dSignedUrlKeyBackendBucketHttpRequest.java | 90 ++++ ...SignedUrlKeyBackendServiceHttpRequest.java | 90 ++++ .../com/google/cloud/compute/v1/Address.java | 178 +++++++ .../compute/v1/AddressAggregatedList.java | 51 ++ .../google/cloud/compute/v1/AddressList.java | 35 ++ .../cloud/compute/v1/AddressesScopedList.java | 16 + ...egatedListAcceleratorTypesHttpRequest.java | 164 +++++++ .../AggregatedListAddressesHttpRequest.java | 164 +++++++ .../AggregatedListAutoscalersHttpRequest.java | 164 +++++++ ...regatedListBackendServicesHttpRequest.java | 164 +++++++ .../AggregatedListDiskTypesHttpRequest.java | 164 +++++++ .../v1/AggregatedListDisksHttpRequest.java | 164 +++++++ ...regatedListForwardingRulesHttpRequest.java | 164 +++++++ ...egatedListGlobalOperationsHttpRequest.java | 164 +++++++ ...dListInstanceGroupManagersHttpRequest.java | 164 +++++++ ...gregatedListInstanceGroupsHttpRequest.java | 164 +++++++ .../AggregatedListInstancesHttpRequest.java | 164 +++++++ ...istInterconnectAttachmentsHttpRequest.java | 164 +++++++ ...AggregatedListMachineTypesHttpRequest.java | 164 +++++++ .../AggregatedListNodeGroupsHttpRequest.java | 164 +++++++ ...ggregatedListNodeTemplatesHttpRequest.java | 164 +++++++ .../AggregatedListNodeTypesHttpRequest.java | 164 +++++++ ...gatedListRegionCommitmentsHttpRequest.java | 164 +++++++ .../v1/AggregatedListRoutersHttpRequest.java | 164 +++++++ .../AggregatedListSubnetworksHttpRequest.java | 164 +++++++ ...regatedListTargetInstancesHttpRequest.java | 164 +++++++ .../AggregatedListTargetPoolsHttpRequest.java | 164 +++++++ ...gatedListTargetVpnGatewaysHttpRequest.java | 164 +++++++ .../AggregatedListVpnTunnelsHttpRequest.java | 164 +++++++ .../google/cloud/compute/v1/AliasIpRange.java | 34 ++ .../com/google/cloud/compute/v1/Allowed.java | 47 ++ .../v1/AttachDiskInstanceHttpRequest.java | 99 ++++ .../google/cloud/compute/v1/AttachedDisk.java | 240 +++++++++ .../v1/AttachedDiskInitializeParams.java | 158 ++++++ .../google/cloud/compute/v1/AuditConfig.java | 40 ++ .../cloud/compute/v1/AuditLogConfig.java | 28 ++ .../v1/AuthorizationLoggingOptions.java | 4 + .../google/cloud/compute/v1/Autoscaler.java | 131 +++++ .../compute/v1/AutoscalerAggregatedList.java | 51 ++ .../cloud/compute/v1/AutoscalerList.java | 35 ++ .../compute/v1/AutoscalerStatusDetails.java | 6 + .../compute/v1/AutoscalersScopedList.java | 16 + .../cloud/compute/v1/AutoscalingPolicy.java | 80 +++ .../v1/AutoscalingPolicyCpuUtilization.java | 37 ++ ...oscalingPolicyCustomMetricUtilization.java | 58 +++ ...scalingPolicyLoadBalancingUtilization.java | 15 + .../com/google/cloud/compute/v1/Backend.java | 217 +++++++++ .../cloud/compute/v1/BackendBucket.java | 55 +++ .../compute/v1/BackendBucketCdnPolicy.java | 29 ++ .../cloud/compute/v1/BackendBucketList.java | 35 ++ .../cloud/compute/v1/BackendService.java | 291 +++++++++++ .../v1/BackendServiceAggregatedList.java | 43 ++ .../compute/v1/BackendServiceCdnPolicy.java | 32 ++ .../compute/v1/BackendServiceGroupHealth.java | 28 ++ .../cloud/compute/v1/BackendServiceIAP.java | 4 + .../cloud/compute/v1/BackendServiceList.java | 44 ++ .../compute/v1/BackendServicesScopedList.java | 7 + .../com/google/cloud/compute/v1/Binding.java | 116 +++++ .../compute/v1/CacheInvalidationRule.java | 9 + .../cloud/compute/v1/CacheKeyPolicy.java | 62 +++ .../google/cloud/compute/v1/Commitment.java | 113 +++++ .../compute/v1/CommitmentAggregatedList.java | 51 ++ .../cloud/compute/v1/CommitmentList.java | 35 ++ .../compute/v1/CommitmentsScopedList.java | 16 + .../google/cloud/compute/v1/Condition.java | 29 ++ .../cloud/compute/v1/ConnectionDraining.java | 13 + .../v1/CreateSnapshotDiskHttpRequest.java | 95 ++++ .../CreateSnapshotRegionDiskHttpRequest.java | 95 ++++ .../compute/v1/CustomerEncryptionKey.java | 28 ++ .../CustomerEncryptionKeyProtectedDisk.java | 15 + .../com/google/cloud/compute/v1/Data.java | 31 ++ ...DeleteAccessConfigInstanceHttpRequest.java | 90 ++++ .../compute/v1/DeleteAddressHttpRequest.java | 81 ++++ .../v1/DeleteAutoscalerHttpRequest.java | 83 ++++ .../v1/DeleteBackendBucketHttpRequest.java | 84 ++++ .../v1/DeleteBackendServiceHttpRequest.java | 84 ++++ .../compute/v1/DeleteDiskHttpRequest.java | 81 ++++ .../compute/v1/DeleteFirewallHttpRequest.java | 81 ++++ .../v1/DeleteForwardingRuleHttpRequest.java | 84 ++++ .../v1/DeleteGlobalAddressHttpRequest.java | 81 ++++ ...DeleteGlobalForwardingRuleHttpRequest.java | 84 ++++ .../v1/DeleteGlobalOperationHttpRequest.java | 42 ++ .../v1/DeleteHealthCheckHttpRequest.java | 83 ++++ .../v1/DeleteHttpHealthCheckHttpRequest.java | 84 ++++ .../v1/DeleteHttpsHealthCheckHttpRequest.java | 84 ++++ .../compute/v1/DeleteImageHttpRequest.java | 81 ++++ .../v1/DeleteInstanceGroupHttpRequest.java | 84 ++++ ...DeleteInstanceGroupManagerHttpRequest.java | 84 ++++ .../compute/v1/DeleteInstanceHttpRequest.java | 81 ++++ .../v1/DeleteInstanceTemplateHttpRequest.java | 84 ++++ ...tancesInstanceGroupManagerHttpRequest.java | 84 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 84 ++++ ...leteInterconnectAttachmentHttpRequest.java | 84 ++++ .../v1/DeleteInterconnectHttpRequest.java | 83 ++++ .../compute/v1/DeleteLicenseHttpRequest.java | 81 ++++ .../compute/v1/DeleteNetworkHttpRequest.java | 81 ++++ .../v1/DeleteNodeGroupHttpRequest.java | 83 ++++ .../v1/DeleteNodeTemplateHttpRequest.java | 84 ++++ .../v1/DeleteNodesNodeGroupHttpRequest.java | 84 ++++ .../v1/DeleteRegionAutoscalerHttpRequest.java | 84 ++++ ...DeleteRegionBackendServiceHttpRequest.java | 84 ++++ .../v1/DeleteRegionDiskHttpRequest.java | 81 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 84 ++++ .../v1/DeleteRegionOperationHttpRequest.java | 44 ++ .../compute/v1/DeleteRouteHttpRequest.java | 81 ++++ .../compute/v1/DeleteRouterHttpRequest.java | 81 ++++ .../v1/DeleteSecurityPolicyHttpRequest.java | 84 ++++ ...eSignedUrlKeyBackendBucketHttpRequest.java | 90 ++++ ...SignedUrlKeyBackendServiceHttpRequest.java | 90 ++++ .../compute/v1/DeleteSnapshotHttpRequest.java | 81 ++++ .../v1/DeleteSslCertificateHttpRequest.java | 84 ++++ .../v1/DeleteSslPolicyHttpRequest.java | 84 ++++ .../v1/DeleteSubnetworkHttpRequest.java | 84 ++++ .../v1/DeleteTargetHttpProxyHttpRequest.java | 84 ++++ .../v1/DeleteTargetHttpsProxyHttpRequest.java | 84 ++++ .../v1/DeleteTargetInstanceHttpRequest.java | 84 ++++ .../v1/DeleteTargetPoolHttpRequest.java | 84 ++++ .../v1/DeleteTargetSslProxyHttpRequest.java | 84 ++++ .../v1/DeleteTargetTcpProxyHttpRequest.java | 84 ++++ .../v1/DeleteTargetVpnGatewayHttpRequest.java | 84 ++++ .../compute/v1/DeleteUrlMapHttpRequest.java | 81 ++++ .../v1/DeleteVpnTunnelHttpRequest.java | 83 ++++ .../v1/DeleteZoneOperationHttpRequest.java | 44 ++ .../com/google/cloud/compute/v1/Denied.java | 47 ++ .../compute/v1/DeprecateImageHttpRequest.java | 84 ++++ .../cloud/compute/v1/DeprecationStatus.java | 76 +++ .../v1/DetachDiskInstanceHttpRequest.java | 96 ++++ .../v1/DisableXpnHostProjectHttpRequest.java | 81 ++++ .../DisableXpnResourceProjectHttpRequest.java | 81 ++++ .../com/google/cloud/compute/v1/Disk.java | 404 ++++++++++++++++ .../cloud/compute/v1/DiskAggregatedList.java | 51 ++ .../compute/v1/DiskInstantiationConfig.java | 64 +++ .../com/google/cloud/compute/v1/DiskList.java | 35 ++ .../cloud/compute/v1/DiskMoveRequest.java | 36 ++ .../com/google/cloud/compute/v1/DiskType.java | 67 +++ .../compute/v1/DiskTypeAggregatedList.java | 42 ++ .../google/cloud/compute/v1/DiskTypeList.java | 35 ++ .../cloud/compute/v1/DiskTypesScopedList.java | 16 + .../cloud/compute/v1/DisksResizeRequest.java | 3 + .../cloud/compute/v1/DisksScopedList.java | 13 + .../cloud/compute/v1/DistributionPolicy.java | 4 + .../DistributionPolicyZoneConfiguration.java | 12 + .../v1/EnableXpnHostProjectHttpRequest.java | 81 ++++ .../EnableXpnResourceProjectHttpRequest.java | 81 ++++ .../com/google/cloud/compute/v1/Error.java | 8 + .../com/google/cloud/compute/v1/Errors.java | 19 + ...xpandIpCidrRangeSubnetworkHttpRequest.java | 84 ++++ .../com/google/cloud/compute/v1/Expr.java | 60 +++ .../com/google/cloud/compute/v1/Firewall.java | 356 ++++++++++++++ .../google/cloud/compute/v1/FirewallList.java | 35 ++ .../cloud/compute/v1/FirewallLogConfig.java | 4 + .../cloud/compute/v1/FixedOrPercent.java | 40 ++ .../cloud/compute/v1/ForwardingRule.java | 457 ++++++++++++++++++ .../v1/ForwardingRuleAggregatedList.java | 51 ++ .../cloud/compute/v1/ForwardingRuleList.java | 35 ++ .../compute/v1/ForwardingRulesScopedList.java | 7 + .../v1/GetAcceleratorTypeHttpRequest.java | 45 ++ .../compute/v1/GetAddressHttpRequest.java | 42 ++ .../compute/v1/GetAutoscalerHttpRequest.java | 44 ++ .../v1/GetBackendBucketHttpRequest.java | 45 ++ .../v1/GetBackendServiceHttpRequest.java | 45 ++ ...GetDiagnosticsInterconnectHttpRequest.java | 45 ++ .../cloud/compute/v1/GetDiskHttpRequest.java | 42 ++ .../compute/v1/GetDiskTypeHttpRequest.java | 42 ++ .../compute/v1/GetFirewallHttpRequest.java | 42 ++ .../v1/GetForwardingRuleHttpRequest.java | 45 ++ .../v1/GetFromFamilyImageHttpRequest.java | 42 ++ .../v1/GetGlobalAddressHttpRequest.java | 42 ++ .../GetGlobalForwardingRuleHttpRequest.java | 45 ++ .../v1/GetGlobalOperationHttpRequest.java | 42 ++ .../GetHealthBackendServiceHttpRequest.java | 45 ++ .../compute/v1/GetHealthCheckHttpRequest.java | 44 ++ ...HealthRegionBackendServiceHttpRequest.java | 45 ++ .../v1/GetHealthTargetPoolHttpRequest.java | 45 ++ .../v1/GetHttpHealthCheckHttpRequest.java | 45 ++ .../v1/GetHttpsHealthCheckHttpRequest.java | 45 ++ .../v1/GetIamPolicyDiskHttpRequest.java | 45 ++ .../v1/GetIamPolicyImageHttpRequest.java | 44 ++ .../v1/GetIamPolicyInstanceHttpRequest.java | 45 ++ ...tIamPolicyInstanceTemplateHttpRequest.java | 45 ++ .../v1/GetIamPolicyLicenseHttpRequest.java | 44 ++ .../v1/GetIamPolicyNodeGroupHttpRequest.java | 45 ++ .../GetIamPolicyNodeTemplateHttpRequest.java | 45 ++ .../v1/GetIamPolicySnapshotHttpRequest.java | 44 ++ .../v1/GetIamPolicySubnetworkHttpRequest.java | 45 ++ .../cloud/compute/v1/GetImageHttpRequest.java | 42 ++ .../v1/GetInstanceGroupHttpRequest.java | 45 ++ .../GetInstanceGroupManagerHttpRequest.java | 45 ++ .../compute/v1/GetInstanceHttpRequest.java | 42 ++ .../v1/GetInstanceTemplateHttpRequest.java | 45 ++ .../GetInterconnectAttachmentHttpRequest.java | 45 ++ .../v1/GetInterconnectHttpRequest.java | 44 ++ .../GetInterconnectLocationHttpRequest.java | 45 ++ .../compute/v1/GetLicenseCodeHttpRequest.java | 44 ++ .../compute/v1/GetLicenseHttpRequest.java | 42 ++ .../compute/v1/GetMachineTypeHttpRequest.java | 45 ++ .../GetNatMappingInfoRoutersHttpRequest.java | 167 +++++++ .../compute/v1/GetNetworkHttpRequest.java | 42 ++ .../compute/v1/GetNodeGroupHttpRequest.java | 44 ++ .../v1/GetNodeTemplateHttpRequest.java | 45 ++ .../compute/v1/GetNodeTypeHttpRequest.java | 42 ++ .../compute/v1/GetProjectHttpRequest.java | 42 ++ .../v1/GetRegionAutoscalerHttpRequest.java | 45 ++ .../GetRegionBackendServiceHttpRequest.java | 45 ++ .../v1/GetRegionCommitmentHttpRequest.java | 45 ++ .../compute/v1/GetRegionDiskHttpRequest.java | 42 ++ .../v1/GetRegionDiskTypeHttpRequest.java | 44 ++ .../compute/v1/GetRegionHttpRequest.java | 42 ++ .../v1/GetRegionInstanceGroupHttpRequest.java | 45 ++ ...RegionInstanceGroupManagerHttpRequest.java | 45 ++ .../v1/GetRegionOperationHttpRequest.java | 44 ++ .../cloud/compute/v1/GetRouteHttpRequest.java | 42 ++ .../compute/v1/GetRouterHttpRequest.java | 42 ++ .../v1/GetRouterStatusRouterHttpRequest.java | 45 ++ .../v1/GetRuleSecurityPolicyHttpRequest.java | 48 ++ .../v1/GetSecurityPolicyHttpRequest.java | 45 ++ ...etSerialPortOutputInstanceHttpRequest.java | 66 +++ .../compute/v1/GetSnapshotHttpRequest.java | 42 ++ .../v1/GetSslCertificateHttpRequest.java | 45 ++ .../compute/v1/GetSslPolicyHttpRequest.java | 45 ++ .../compute/v1/GetSubnetworkHttpRequest.java | 45 ++ .../v1/GetTargetHttpProxyHttpRequest.java | 45 ++ .../v1/GetTargetHttpsProxyHttpRequest.java | 45 ++ .../v1/GetTargetInstanceHttpRequest.java | 45 ++ .../compute/v1/GetTargetPoolHttpRequest.java | 45 ++ .../v1/GetTargetSslProxyHttpRequest.java | 45 ++ .../v1/GetTargetTcpProxyHttpRequest.java | 45 ++ .../v1/GetTargetVpnGatewayHttpRequest.java | 45 ++ .../compute/v1/GetUrlMapHttpRequest.java | 42 ++ .../compute/v1/GetVpnTunnelHttpRequest.java | 44 ++ .../v1/GetXpnHostProjectHttpRequest.java | 42 ++ .../GetXpnResourcesProjectsHttpRequest.java | 164 +++++++ .../cloud/compute/v1/GetZoneHttpRequest.java | 42 ++ .../v1/GetZoneOperationHttpRequest.java | 44 ++ .../compute/v1/GlobalSetLabelsRequest.java | 45 ++ .../compute/v1/GlobalSetPolicyRequest.java | 43 ++ .../cloud/compute/v1/GuestOsFeature.java | 13 + .../google/cloud/compute/v1/HealthCheck.java | 108 +++++ .../cloud/compute/v1/HealthCheckList.java | 35 ++ .../compute/v1/HealthCheckReference.java | 5 + .../google/cloud/compute/v1/HealthStatus.java | 12 + .../com/google/cloud/compute/v1/HostRule.java | 45 ++ .../cloud/compute/v1/HttpHealthCheck.java | 63 +++ .../cloud/compute/v1/HttpHealthCheck2.java | 115 +++++ .../cloud/compute/v1/HttpHealthCheckList.java | 35 ++ .../cloud/compute/v1/HttpSHealthCheck.java | 63 +++ .../cloud/compute/v1/HttpsHealthCheck2.java | 111 +++++ .../compute/v1/HttpsHealthCheckList.java | 35 ++ .../com/google/cloud/compute/v1/Image.java | 318 ++++++++++++ .../google/cloud/compute/v1/ImageList.java | 35 ++ .../compute/v1/InsertAddressHttpRequest.java | 95 ++++ .../v1/InsertAutoscalerHttpRequest.java | 102 ++++ .../v1/InsertBackendBucketHttpRequest.java | 84 ++++ .../v1/InsertBackendServiceHttpRequest.java | 96 ++++ .../compute/v1/InsertDiskHttpRequest.java | 87 ++++ .../compute/v1/InsertFirewallHttpRequest.java | 84 ++++ .../v1/InsertForwardingRuleHttpRequest.java | 102 ++++ .../v1/InsertGlobalAddressHttpRequest.java | 95 ++++ ...InsertGlobalForwardingRuleHttpRequest.java | 102 ++++ .../v1/InsertHealthCheckHttpRequest.java | 93 ++++ .../v1/InsertHttpHealthCheckHttpRequest.java | 93 ++++ .../v1/InsertHttpsHealthCheckHttpRequest.java | 93 ++++ .../compute/v1/InsertImageHttpRequest.java | 87 ++++ .../v1/InsertInstanceGroupHttpRequest.java | 95 ++++ ...InsertInstanceGroupManagerHttpRequest.java | 98 ++++ .../compute/v1/InsertInstanceHttpRequest.java | 115 +++++ .../v1/InsertInstanceTemplateHttpRequest.java | 93 ++++ ...sertInterconnectAttachmentHttpRequest.java | 98 ++++ .../v1/InsertInterconnectHttpRequest.java | 98 ++++ .../compute/v1/InsertLicenseHttpRequest.java | 84 ++++ .../compute/v1/InsertNetworkHttpRequest.java | 93 ++++ .../v1/InsertNodeGroupHttpRequest.java | 87 ++++ .../v1/InsertNodeTemplateHttpRequest.java | 84 ++++ .../v1/InsertRegionAutoscalerHttpRequest.java | 102 ++++ ...InsertRegionBackendServiceHttpRequest.java | 96 ++++ .../v1/InsertRegionCommitmentHttpRequest.java | 114 +++++ .../v1/InsertRegionDiskHttpRequest.java | 87 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 98 ++++ .../compute/v1/InsertRouteHttpRequest.java | 129 +++++ .../compute/v1/InsertRouterHttpRequest.java | 84 ++++ .../v1/InsertSecurityPolicyHttpRequest.java | 95 ++++ .../v1/InsertSslCertificateHttpRequest.java | 96 ++++ .../v1/InsertSslPolicyHttpRequest.java | 99 ++++ .../v1/InsertSubnetworkHttpRequest.java | 93 ++++ .../v1/InsertTargetHttpProxyHttpRequest.java | 93 ++++ .../v1/InsertTargetHttpsProxyHttpRequest.java | 93 ++++ .../v1/InsertTargetInstanceHttpRequest.java | 96 ++++ .../v1/InsertTargetPoolHttpRequest.java | 96 ++++ .../v1/InsertTargetSslProxyHttpRequest.java | 93 ++++ .../v1/InsertTargetTcpProxyHttpRequest.java | 93 ++++ .../v1/InsertTargetVpnGatewayHttpRequest.java | 93 ++++ .../compute/v1/InsertUrlMapHttpRequest.java | 93 ++++ .../v1/InsertVpnTunnelHttpRequest.java | 90 ++++ .../com/google/cloud/compute/v1/Instance.java | 304 ++++++++++++ .../compute/v1/InstanceAggregatedList.java | 51 ++ .../cloud/compute/v1/InstanceGroup.java | 124 +++++ .../v1/InstanceGroupAggregatedList.java | 51 ++ .../cloud/compute/v1/InstanceGroupList.java | 44 ++ .../compute/v1/InstanceGroupManager.java | 243 ++++++++++ .../InstanceGroupManagerActionsSummary.java | 138 ++++++ .../InstanceGroupManagerAggregatedList.java | 51 ++ ...InstanceGroupManagerAutoHealingPolicy.java | 24 + .../compute/v1/InstanceGroupManagerList.java | 44 ++ .../v1/InstanceGroupManagerStatus.java | 21 + .../v1/InstanceGroupManagerUpdatePolicy.java | 90 ++++ .../v1/InstanceGroupManagerVersion.java | 34 ++ ...eGroupManagersAbandonInstancesRequest.java | 16 + ...ceGroupManagersDeleteInstancesRequest.java | 16 + ...pManagersListManagedInstancesResponse.java | 4 + ...GroupManagersRecreateInstancesRequest.java | 16 + .../v1/InstanceGroupManagersScopedList.java | 28 ++ ...oupManagersSetInstanceTemplateRequest.java | 12 + ...nceGroupManagersSetTargetPoolsRequest.java | 41 ++ .../v1/InstanceGroupsAddInstancesRequest.java | 4 + .../v1/InstanceGroupsListInstances.java | 43 ++ .../InstanceGroupsListInstancesRequest.java | 15 + .../InstanceGroupsRemoveInstancesRequest.java | 4 + .../compute/v1/InstanceGroupsScopedList.java | 16 + .../InstanceGroupsSetNamedPortsRequest.java | 28 ++ .../google/cloud/compute/v1/InstanceList.java | 41 ++ .../compute/v1/InstanceListReferrers.java | 44 ++ .../cloud/compute/v1/InstanceMoveRequest.java | 36 ++ .../cloud/compute/v1/InstanceProperties.java | 139 ++++++ .../cloud/compute/v1/InstanceReference.java | 3 + .../cloud/compute/v1/InstanceTemplate.java | 88 ++++ .../compute/v1/InstanceTemplateList.java | 44 ++ .../compute/v1/InstanceWithNamedPorts.java | 10 + .../cloud/compute/v1/InstancesScopedList.java | 16 + .../compute/v1/InstancesSetLabelsRequest.java | 12 + .../InstancesSetMachineResourcesRequest.java | 4 + .../v1/InstancesSetMachineTypeRequest.java | 12 + .../v1/InstancesSetMinCpuPlatformRequest.java | 3 + .../v1/InstancesSetServiceAccountRequest.java | 7 + ...nstancesStartWithEncryptionKeyRequest.java | 36 ++ .../google/cloud/compute/v1/Interconnect.java | 210 ++++++++ .../compute/v1/InterconnectAttachment.java | 286 +++++++++++ .../InterconnectAttachmentAggregatedList.java | 51 ++ .../v1/InterconnectAttachmentList.java | 44 ++ ...InterconnectAttachmentPartnerMetadata.java | 47 ++ .../v1/InterconnectAttachmentPrivateInfo.java | 16 + .../v1/InterconnectAttachmentsScopedList.java | 7 + .../compute/v1/InterconnectCircuitInfo.java | 22 + .../compute/v1/InterconnectDiagnostics.java | 43 ++ .../v1/InterconnectDiagnosticsARPEntry.java | 7 + ...InterconnectDiagnosticsLinkLACPStatus.java | 6 + ...terconnectDiagnosticsLinkOpticalPower.java | 15 + .../v1/InterconnectDiagnosticsLinkStatus.java | 22 + .../cloud/compute/v1/InterconnectList.java | 39 ++ .../compute/v1/InterconnectLocation.java | 134 +++++ .../compute/v1/InterconnectLocationList.java | 44 ++ .../v1/InterconnectLocationRegionInfo.java | 22 + .../v1/InterconnectOutageNotification.java | 65 +++ .../InterconnectsGetDiagnosticsResponse.java | 1 + .../v1/InvalidateCacheUrlMapHttpRequest.java | 83 ++++ .../com/google/cloud/compute/v1/Items.java | 34 ++ .../com/google/cloud/compute/v1/License.java | 66 +++ .../google/cloud/compute/v1/LicenseCode.java | 54 +++ .../compute/v1/LicenseCodeLicenseAlias.java | 6 + .../v1/LicenseResourceRequirements.java | 23 + .../compute/v1/LicensesListResponse.java | 31 ++ .../v1/ListAcceleratorTypesHttpRequest.java | 164 +++++++ .../compute/v1/ListAddressesHttpRequest.java | 164 +++++++ .../v1/ListAutoscalersHttpRequest.java | 164 +++++++ ...ailableFeaturesSslPoliciesHttpRequest.java | 166 +++++++ .../v1/ListBackendBucketsHttpRequest.java | 164 +++++++ .../v1/ListBackendServicesHttpRequest.java | 164 +++++++ .../compute/v1/ListDiskTypesHttpRequest.java | 164 +++++++ .../compute/v1/ListDisksHttpRequest.java | 164 +++++++ .../compute/v1/ListFirewallsHttpRequest.java | 164 +++++++ .../v1/ListForwardingRulesHttpRequest.java | 164 +++++++ .../v1/ListGlobalAddressesHttpRequest.java | 164 +++++++ .../ListGlobalForwardingRulesHttpRequest.java | 164 +++++++ .../v1/ListGlobalOperationsHttpRequest.java | 164 +++++++ .../v1/ListHealthChecksHttpRequest.java | 164 +++++++ .../v1/ListHttpHealthChecksHttpRequest.java | 164 +++++++ .../v1/ListHttpsHealthChecksHttpRequest.java | 164 +++++++ .../compute/v1/ListImagesHttpRequest.java | 164 +++++++ .../ListInstanceGroupManagersHttpRequest.java | 164 +++++++ .../v1/ListInstanceGroupsHttpRequest.java | 164 +++++++ .../v1/ListInstanceTemplatesHttpRequest.java | 164 +++++++ .../compute/v1/ListInstancesHttpRequest.java | 164 +++++++ ...istInstancesInstanceGroupsHttpRequest.java | 169 +++++++ ...tancesRegionInstanceGroupsHttpRequest.java | 167 +++++++ ...istInterconnectAttachmentsHttpRequest.java | 166 +++++++ .../ListInterconnectLocationsHttpRequest.java | 164 +++++++ .../v1/ListInterconnectsHttpRequest.java | 164 +++++++ .../compute/v1/ListLicensesHttpRequest.java | 164 +++++++ .../v1/ListMachineTypesHttpRequest.java | 164 +++++++ ...ancesInstanceGroupManagersHttpRequest.java | 167 +++++++ ...egionInstanceGroupManagersHttpRequest.java | 167 +++++++ .../compute/v1/ListNetworksHttpRequest.java | 164 +++++++ .../compute/v1/ListNodeGroupsHttpRequest.java | 164 +++++++ .../v1/ListNodeTemplatesHttpRequest.java | 164 +++++++ .../compute/v1/ListNodeTypesHttpRequest.java | 164 +++++++ .../v1/ListNodesNodeGroupsHttpRequest.java | 167 +++++++ .../v1/ListReferrersInstancesHttpRequest.java | 170 +++++++ .../v1/ListRegionAutoscalersHttpRequest.java | 164 +++++++ .../ListRegionBackendServicesHttpRequest.java | 164 +++++++ .../v1/ListRegionCommitmentsHttpRequest.java | 164 +++++++ .../v1/ListRegionDiskTypesHttpRequest.java | 164 +++++++ .../v1/ListRegionDisksHttpRequest.java | 164 +++++++ ...egionInstanceGroupManagersHttpRequest.java | 166 +++++++ .../ListRegionInstanceGroupsHttpRequest.java | 164 +++++++ .../v1/ListRegionOperationsHttpRequest.java | 164 +++++++ .../compute/v1/ListRegionsHttpRequest.java | 164 +++++++ .../compute/v1/ListRoutersHttpRequest.java | 164 +++++++ .../compute/v1/ListRoutesHttpRequest.java | 164 +++++++ .../v1/ListSecurityPoliciesHttpRequest.java | 164 +++++++ .../compute/v1/ListSnapshotsHttpRequest.java | 164 +++++++ .../v1/ListSslCertificatesHttpRequest.java | 164 +++++++ .../v1/ListSslPoliciesHttpRequest.java | 164 +++++++ .../v1/ListSubnetworksHttpRequest.java | 164 +++++++ .../v1/ListTargetHttpProxiesHttpRequest.java | 164 +++++++ .../v1/ListTargetHttpsProxiesHttpRequest.java | 164 +++++++ .../v1/ListTargetInstancesHttpRequest.java | 164 +++++++ .../v1/ListTargetPoolsHttpRequest.java | 164 +++++++ .../v1/ListTargetSslProxiesHttpRequest.java | 164 +++++++ .../v1/ListTargetTcpProxiesHttpRequest.java | 164 +++++++ .../v1/ListTargetVpnGatewaysHttpRequest.java | 164 +++++++ .../compute/v1/ListUrlMapsHttpRequest.java | 164 +++++++ .../v1/ListUsableSubnetworksHttpRequest.java | 164 +++++++ .../compute/v1/ListVpnTunnelsHttpRequest.java | 164 +++++++ .../v1/ListXpnHostsProjectsHttpRequest.java | 164 +++++++ .../v1/ListZoneOperationsHttpRequest.java | 164 +++++++ .../compute/v1/ListZonesHttpRequest.java | 164 +++++++ .../google/cloud/compute/v1/LogConfig.java | 10 + .../v1/LogConfigCloudAuditOptions.java | 7 + .../compute/v1/LogConfigCounterOptions.java | 27 ++ .../v1/LogConfigDataAccessOptions.java | 28 ++ .../google/cloud/compute/v1/MachineType.java | 75 +++ .../compute/v1/MachineTypeAggregatedList.java | 51 ++ .../cloud/compute/v1/MachineTypeList.java | 39 ++ .../compute/v1/MachineTypesScopedList.java | 7 + .../cloud/compute/v1/ManagedInstance.java | 90 ++++ .../v1/ManagedInstanceLastAttempt.java | 7 + .../com/google/cloud/compute/v1/Metadata.java | 35 ++ .../v1/MoveDiskProjectHttpRequest.java | 81 ++++ .../v1/MoveInstanceProjectHttpRequest.java | 81 ++++ .../google/cloud/compute/v1/NamedPort.java | 13 + .../com/google/cloud/compute/v1/Network.java | 127 +++++ .../cloud/compute/v1/NetworkInterface.java | 152 ++++++ .../google/cloud/compute/v1/NetworkList.java | 35 ++ .../cloud/compute/v1/NetworkPeering.java | 65 +++ .../compute/v1/NetworkRoutingConfig.java | 23 + .../compute/v1/NetworksAddPeeringRequest.java | 21 + .../v1/NetworksRemovePeeringRequest.java | 3 + .../google/cloud/compute/v1/NodeGroup.java | 62 +++ .../compute/v1/NodeGroupAggregatedList.java | 51 ++ .../cloud/compute/v1/NodeGroupList.java | 35 ++ .../cloud/compute/v1/NodeGroupNode.java | 10 + .../compute/v1/NodeGroupsAddNodesRequest.java | 3 + .../cloud/compute/v1/NodeGroupsListNodes.java | 43 ++ .../compute/v1/NodeGroupsScopedList.java | 7 + .../v1/NodeGroupsSetNodeTemplateRequest.java | 3 + .../google/cloud/compute/v1/NodeTemplate.java | 102 ++++ .../v1/NodeTemplateAggregatedList.java | 51 ++ .../cloud/compute/v1/NodeTemplateList.java | 39 ++ .../compute/v1/NodeTemplatesScopedList.java | 11 + .../com/google/cloud/compute/v1/NodeType.java | 45 ++ .../compute/v1/NodeTypeAggregatedList.java | 51 ++ .../google/cloud/compute/v1/NodeTypeList.java | 35 ++ .../cloud/compute/v1/NodeTypesScopedList.java | 7 + .../google/cloud/compute/v1/Operation.java | 232 +++++++++ .../compute/v1/OperationAggregatedList.java | 59 +++ .../cloud/compute/v1/OperationList.java | 43 ++ .../compute/v1/OperationsScopedList.java | 16 + .../v1/PatchAutoscalerHttpRequest.java | 105 ++++ .../v1/PatchBackendBucketHttpRequest.java | 87 ++++ .../v1/PatchBackendServiceHttpRequest.java | 99 ++++ .../compute/v1/PatchFirewallHttpRequest.java | 84 ++++ .../v1/PatchHealthCheckHttpRequest.java | 95 ++++ .../v1/PatchHttpHealthCheckHttpRequest.java | 96 ++++ .../v1/PatchHttpsHealthCheckHttpRequest.java | 96 ++++ .../PatchInstanceGroupManagerHttpRequest.java | 99 ++++ ...atchInterconnectAttachmentHttpRequest.java | 99 ++++ .../v1/PatchInterconnectHttpRequest.java | 100 ++++ .../compute/v1/PatchNetworkHttpRequest.java | 93 ++++ .../v1/PatchRegionAutoscalerHttpRequest.java | 105 ++++ .../PatchRegionBackendServiceHttpRequest.java | 99 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 99 ++++ .../compute/v1/PatchRouterHttpRequest.java | 84 ++++ .../PatchRuleSecurityPolicyHttpRequest.java | 60 +++ .../v1/PatchSecurityPolicyHttpRequest.java | 98 ++++ .../compute/v1/PatchSslPolicyHttpRequest.java | 102 ++++ .../v1/PatchSubnetworkHttpRequest.java | 96 ++++ .../compute/v1/PatchUrlMapHttpRequest.java | 93 ++++ .../google/cloud/compute/v1/PathMatcher.java | 89 ++++ .../com/google/cloud/compute/v1/PathRule.java | 48 ++ .../com/google/cloud/compute/v1/Policy.java | 110 +++++ .../compute/v1/PreviewRouterHttpRequest.java | 47 ++ .../com/google/cloud/compute/v1/Project.java | 105 ++++ .../v1/ProjectsDisableXpnResourceRequest.java | 3 + .../v1/ProjectsEnableXpnResourceRequest.java | 3 + .../compute/v1/ProjectsGetXpnResources.java | 42 ++ .../v1/ProjectsListXpnHostsRequest.java | 12 + .../ProjectsSetDefaultNetworkTierRequest.java | 3 + .../com/google/cloud/compute/v1/Quota.java | 13 + .../com/google/cloud/compute/v1/RawDisk.java | 40 ++ ...tancesInstanceGroupManagerHttpRequest.java | 84 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 84 ++++ .../google/cloud/compute/v1/Reference.java | 22 + .../com/google/cloud/compute/v1/Region.java | 41 ++ .../compute/v1/RegionAutoscalerList.java | 35 ++ .../cloud/compute/v1/RegionDiskTypeList.java | 34 ++ .../compute/v1/RegionDisksResizeRequest.java | 3 + .../compute/v1/RegionInstanceGroupList.java | 35 ++ .../v1/RegionInstanceGroupManagerList.java | 44 ++ ...eGroupManagersAbandonInstancesRequest.java | 16 + ...ceGroupManagersDeleteInstancesRequest.java | 16 + ...nceGroupManagersListInstancesResponse.java | 4 + ...nInstanceGroupManagersRecreateRequest.java | 16 + ...nceGroupManagersSetTargetPoolsRequest.java | 28 ++ ...stanceGroupManagersSetTemplateRequest.java | 3 + .../v1/RegionInstanceGroupsListInstances.java | 34 ++ ...ionInstanceGroupsListInstancesRequest.java | 27 ++ ...ionInstanceGroupsSetNamedPortsRequest.java | 25 + .../google/cloud/compute/v1/RegionList.java | 35 ++ .../compute/v1/RegionSetLabelsRequest.java | 21 + .../compute/v1/RegionSetPolicyRequest.java | 43 ++ ...emoveHealthCheckTargetPoolHttpRequest.java | 84 ++++ .../RemoveInstanceTargetPoolHttpRequest.java | 84 ++++ ...moveInstancesInstanceGroupHttpRequest.java | 84 ++++ .../v1/RemovePeeringNetworkHttpRequest.java | 83 ++++ .../RemoveRuleSecurityPolicyHttpRequest.java | 48 ++ .../compute/v1/ResetInstanceHttpRequest.java | 83 ++++ .../compute/v1/ResizeDiskHttpRequest.java | 81 ++++ ...ResizeInstanceGroupManagerHttpRequest.java | 99 ++++ .../v1/ResizeRegionDiskHttpRequest.java | 81 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 87 ++++ .../cloud/compute/v1/ResourceCommitment.java | 19 + .../compute/v1/ResourceGroupReference.java | 12 + .../com/google/cloud/compute/v1/Route.java | 176 +++++++ .../google/cloud/compute/v1/RouteList.java | 35 ++ .../com/google/cloud/compute/v1/Router.java | 109 +++++ .../compute/v1/RouterAdvertisedIpRange.java | 7 + .../compute/v1/RouterAggregatedList.java | 43 ++ .../google/cloud/compute/v1/RouterBgp.java | 66 +++ .../cloud/compute/v1/RouterBgpPeer.java | 110 +++++ .../cloud/compute/v1/RouterInterface.java | 77 +++ .../google/cloud/compute/v1/RouterList.java | 35 ++ .../google/cloud/compute/v1/RouterNat.java | 94 ++++ .../compute/v1/RouterNatSubnetworkToNat.java | 44 ++ .../google/cloud/compute/v1/RouterStatus.java | 11 + .../compute/v1/RouterStatusBgpPeerStatus.java | 40 ++ .../compute/v1/RouterStatusNatStatus.java | 34 ++ .../compute/v1/RouterStatusResponse.java | 3 + .../compute/v1/RoutersPreviewResponse.java | 3 + .../cloud/compute/v1/RoutersScopedList.java | 7 + .../com/google/cloud/compute/v1/Rule.java | 79 +++ .../cloud/compute/v1/SSLHealthCheck.java | 63 +++ .../google/cloud/compute/v1/Scheduling.java | 56 +++ .../compute/v1/SchedulingNodeAffinity.java | 13 + .../google/cloud/compute/v1/ScratchDisks.java | 4 + .../cloud/compute/v1/SecurityPolicy.java | 101 ++++ .../cloud/compute/v1/SecurityPolicyList.java | 39 ++ .../cloud/compute/v1/SecurityPolicyRule.java | 66 +++ .../compute/v1/SecurityPolicyRuleMatcher.java | 34 ++ .../v1/SecurityPolicyRuleMatcherConfig.java | 4 + .../cloud/compute/v1/SerialPortOutput.java | 41 ++ .../cloud/compute/v1/ServiceAccount.java | 8 + ...ckendServiceTargetSslProxyHttpRequest.java | 84 ++++ ...ckendServiceTargetTcpProxyHttpRequest.java | 84 ++++ .../v1/SetBackupTargetPoolHttpRequest.java | 87 ++++ ...monInstanceMetadataProjectHttpRequest.java | 84 ++++ ...tDefaultNetworkTierProjectHttpRequest.java | 81 ++++ ...DeletionProtectionInstanceHttpRequest.java | 87 ++++ .../SetDiskAutoDeleteInstanceHttpRequest.java | 99 ++++ .../v1/SetIamPolicyDiskHttpRequest.java | 45 ++ .../v1/SetIamPolicyImageHttpRequest.java | 44 ++ .../v1/SetIamPolicyInstanceHttpRequest.java | 45 ++ ...tIamPolicyInstanceTemplateHttpRequest.java | 45 ++ .../v1/SetIamPolicyLicenseHttpRequest.java | 44 ++ .../v1/SetIamPolicyNodeGroupHttpRequest.java | 45 ++ .../SetIamPolicyNodeTemplateHttpRequest.java | 45 ++ .../v1/SetIamPolicySnapshotHttpRequest.java | 44 ++ .../v1/SetIamPolicySubnetworkHttpRequest.java | 45 ++ ...mplateInstanceGroupManagerHttpRequest.java | 84 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 84 ++++ .../compute/v1/SetLabelsDiskHttpRequest.java | 83 ++++ .../compute/v1/SetLabelsImageHttpRequest.java | 42 ++ .../v1/SetLabelsInstanceHttpRequest.java | 84 ++++ .../v1/SetLabelsRegionDiskHttpRequest.java | 84 ++++ .../v1/SetLabelsSnapshotHttpRequest.java | 44 ++ ...etMachineResourcesInstanceHttpRequest.java | 84 ++++ .../v1/SetMachineTypeInstanceHttpRequest.java | 84 ++++ .../v1/SetMetadataInstanceHttpRequest.java | 87 ++++ .../SetMinCpuPlatformInstanceHttpRequest.java | 84 ++++ ...SetNamedPortsInstanceGroupHttpRequest.java | 84 ++++ ...edPortsRegionInstanceGroupHttpRequest.java | 84 ++++ .../SetNodeTemplateNodeGroupHttpRequest.java | 84 ++++ ...teIpGoogleAccessSubnetworkHttpRequest.java | 84 ++++ ...tProxyHeaderTargetSslProxyHttpRequest.java | 84 ++++ ...tProxyHeaderTargetTcpProxyHttpRequest.java | 84 ++++ ...icOverrideTargetHttpsProxyHttpRequest.java | 87 ++++ .../v1/SetSchedulingInstanceHttpRequest.java | 87 ++++ ...curityPolicyBackendServiceHttpRequest.java | 87 ++++ .../SetServiceAccountInstanceHttpRequest.java | 84 ++++ ...rtificatesTargetHttpsProxyHttpRequest.java | 84 ++++ ...CertificatesTargetSslProxyHttpRequest.java | 84 ++++ ...tSslPolicyTargetHttpsProxyHttpRequest.java | 87 ++++ ...SetSslPolicyTargetSslProxyHttpRequest.java | 87 ++++ .../v1/SetTagsInstanceHttpRequest.java | 86 ++++ .../SetTargetForwardingRuleHttpRequest.java | 84 ++++ ...TargetGlobalForwardingRuleHttpRequest.java | 84 ++++ ...tPoolsInstanceGroupManagerHttpRequest.java | 84 ++++ ...RegionInstanceGroupManagerHttpRequest.java | 84 ++++ .../SetUrlMapTargetHttpProxyHttpRequest.java | 84 ++++ .../SetUrlMapTargetHttpsProxyHttpRequest.java | 84 ++++ ...etUsageExportBucketProjectHttpRequest.java | 93 ++++ .../google/cloud/compute/v1/SignedUrlKey.java | 34 ++ ...teMaintenanceEventInstanceHttpRequest.java | 45 ++ .../com/google/cloud/compute/v1/Snapshot.java | 235 +++++++++ .../google/cloud/compute/v1/SnapshotList.java | 35 ++ .../compute/v1/SourceInstanceParams.java | 24 + .../cloud/compute/v1/SslCertificate.java | 70 +++ .../cloud/compute/v1/SslCertificateList.java | 35 ++ .../cloud/compute/v1/SslPoliciesList.java | 40 ++ .../google/cloud/compute/v1/SslPolicy.java | 149 ++++++ .../cloud/compute/v1/SslPolicyReference.java | 12 + .../compute/v1/StartInstanceHttpRequest.java | 83 ++++ ...tWithEncryptionKeyInstanceHttpRequest.java | 84 ++++ .../compute/v1/StopInstanceHttpRequest.java | 83 ++++ .../google/cloud/compute/v1/Subnetwork.java | 188 +++++++ .../compute/v1/SubnetworkAggregatedList.java | 51 ++ .../cloud/compute/v1/SubnetworkList.java | 35 ++ .../compute/v1/SubnetworkSecondaryRange.java | 31 ++ .../SubnetworksExpandIpCidrRangeRequest.java | 15 + .../compute/v1/SubnetworksScopedList.java | 7 + .../SwitchToCustomModeNetworkHttpRequest.java | 84 ++++ .../cloud/compute/v1/TCPHealthCheck.java | 63 +++ .../com/google/cloud/compute/v1/Tags.java | 29 ++ .../cloud/compute/v1/TargetHttpProxy.java | 57 +++ .../cloud/compute/v1/TargetHttpProxyList.java | 35 ++ ...getHttpsProxiesSetQuicOverrideRequest.java | 3 + ...HttpsProxiesSetSslCertificatesRequest.java | 16 + .../cloud/compute/v1/TargetHttpsProxy.java | 128 +++++ .../compute/v1/TargetHttpsProxyList.java | 35 ++ .../cloud/compute/v1/TargetInstance.java | 104 ++++ .../v1/TargetInstanceAggregatedList.java | 42 ++ .../cloud/compute/v1/TargetInstanceList.java | 35 ++ .../compute/v1/TargetInstancesScopedList.java | 7 + .../google/cloud/compute/v1/TargetPool.java | 200 ++++++++ .../compute/v1/TargetPoolAggregatedList.java | 51 ++ .../compute/v1/TargetPoolInstanceHealth.java | 12 + .../cloud/compute/v1/TargetPoolList.java | 35 ++ .../v1/TargetPoolsAddHealthCheckRequest.java | 4 + .../v1/TargetPoolsAddInstanceRequest.java | 24 + .../TargetPoolsRemoveHealthCheckRequest.java | 27 ++ .../v1/TargetPoolsRemoveInstanceRequest.java | 4 + .../compute/v1/TargetPoolsScopedList.java | 7 + ...getSslProxiesSetBackendServiceRequest.java | 3 + ...TargetSslProxiesSetProxyHeaderRequest.java | 12 + ...etSslProxiesSetSslCertificatesRequest.java | 16 + .../cloud/compute/v1/TargetSslProxy.java | 101 ++++ .../cloud/compute/v1/TargetSslProxyList.java | 35 ++ ...getTcpProxiesSetBackendServiceRequest.java | 3 + ...TargetTcpProxiesSetProxyHeaderRequest.java | 12 + .../cloud/compute/v1/TargetTcpProxy.java | 69 +++ .../cloud/compute/v1/TargetTcpProxyList.java | 35 ++ .../cloud/compute/v1/TargetVpnGateway.java | 113 +++++ .../v1/TargetVpnGatewayAggregatedList.java | 42 ++ .../compute/v1/TargetVpnGatewayList.java | 35 ++ .../v1/TargetVpnGatewaysScopedList.java | 16 + .../v1/TestIamPermissionsDiskHttpRequest.java | 45 ++ .../TestIamPermissionsImageHttpRequest.java | 45 ++ ...TestIamPermissionsInstanceHttpRequest.java | 45 ++ ...ermissionsInstanceTemplateHttpRequest.java | 45 ++ ...tIamPermissionsLicenseCodeHttpRequest.java | 45 ++ .../TestIamPermissionsLicenseHttpRequest.java | 45 ++ ...estIamPermissionsNodeGroupHttpRequest.java | 45 ++ ...IamPermissionsNodeTemplateHttpRequest.java | 45 ++ ...stIamPermissionsRegionDiskHttpRequest.java | 45 ++ ...TestIamPermissionsSnapshotHttpRequest.java | 45 ++ ...stIamPermissionsSubnetworkHttpRequest.java | 45 ++ .../compute/v1/TestPermissionsRequest.java | 16 + .../compute/v1/TestPermissionsResponse.java | 4 + ...UpdateAccessConfigInstanceHttpRequest.java | 99 ++++ .../v1/UpdateAutoscalerHttpRequest.java | 105 ++++ .../v1/UpdateBackendBucketHttpRequest.java | 87 ++++ .../v1/UpdateBackendServiceHttpRequest.java | 99 ++++ .../compute/v1/UpdateFirewallHttpRequest.java | 84 ++++ .../v1/UpdateHealthCheckHttpRequest.java | 95 ++++ .../v1/UpdateHttpHealthCheckHttpRequest.java | 96 ++++ .../v1/UpdateHttpsHealthCheckHttpRequest.java | 96 ++++ ...teNetworkInterfaceInstanceHttpRequest.java | 90 ++++ .../v1/UpdateRegionAutoscalerHttpRequest.java | 105 ++++ ...UpdateRegionBackendServiceHttpRequest.java | 99 ++++ .../compute/v1/UpdateRouterHttpRequest.java | 84 ++++ .../compute/v1/UpdateUrlMapHttpRequest.java | 93 ++++ .../com/google/cloud/compute/v1/UrlMap.java | 129 +++++ .../google/cloud/compute/v1/UrlMapList.java | 35 ++ .../google/cloud/compute/v1/UrlMapTest.java | 13 + .../compute/v1/UrlMapValidationResult.java | 25 + .../compute/v1/UrlMapsValidateRequest.java | 3 + .../cloud/compute/v1/UsableSubnetwork.java | 14 + .../v1/UsableSubnetworkSecondaryRange.java | 19 + .../v1/UsableSubnetworksAggregatedList.java | 51 ++ .../cloud/compute/v1/UsageExportLocation.java | 42 ++ .../compute/v1/ValidateUrlMapHttpRequest.java | 42 ++ .../compute/v1/VmEndpointNatMappings.java | 4 + ...dpointNatMappingsInterfaceNatMappings.java | 48 ++ .../compute/v1/VmEndpointNatMappingsList.java | 52 ++ .../google/cloud/compute/v1/VpnTunnel.java | 154 ++++++ .../compute/v1/VpnTunnelAggregatedList.java | 42 ++ .../cloud/compute/v1/VpnTunnelList.java | 35 ++ .../compute/v1/VpnTunnelsScopedList.java | 7 + .../com/google/cloud/compute/v1/Warning.java | 32 ++ .../com/google/cloud/compute/v1/Warnings.java | 35 ++ .../google/cloud/compute/v1/XpnHostList.java | 34 ++ .../cloud/compute/v1/XpnResourceId.java | 16 + .../com/google/cloud/compute/v1/Zone.java | 40 ++ .../com/google/cloud/compute/v1/ZoneList.java | 35 ++ .../compute/v1/ZoneSetLabelsRequest.java | 21 + .../compute/v1/ZoneSetPolicyRequest.java | 43 ++ .../google-cloud-compute/synth.metadata | 8 +- 730 files changed, 53890 insertions(+), 4 deletions(-) diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesInstanceGroupManagerHttpRequest.java index c6fc33039714..55aabac9ba99 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesInstanceGroupManagerHttpRequest.java @@ -137,18 +137,29 @@ 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } @@ -158,22 +169,39 @@ public String getInstanceGroupManager() { return instanceGroupManagersAbandonInstancesRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -266,37 +294,59 @@ public Builder mergeFrom(AbandonInstancesInstanceGroupManagerHttpRequest other) 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; @@ -315,46 +365,80 @@ public Builder setInstanceGroupManagersAbandonInstancesRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesRegionInstanceGroupManagerHttpRequest.java index e0d1337587c6..498d79646220 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesRegionInstanceGroupManagerHttpRequest.java @@ -137,30 +137,44 @@ 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; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -170,10 +184,24 @@ public String getQuotaUser() { return regionInstanceGroupManagersAbandonInstancesRequestResource; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -267,64 +295,92 @@ public Builder mergeFrom(AbandonInstancesRegionInstanceGroupManagerHttpRequest o 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; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -343,19 +399,47 @@ public Builder setRegionInstanceGroupManagersAbandonInstancesRequestResource( return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorConfig.java index 76616db01426..d9f98ddf9d92 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorConfig.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** A specification of the type and number of accelerator cards attached to the instance. */ public final class AcceleratorConfig implements ApiMessage { private final Integer acceleratorCount; private final String acceleratorType; @@ -61,10 +62,17 @@ public List getFieldMask() { return null; } + /** The number of the guest accelerator cards exposed to this instance. */ public Integer getAcceleratorCount() { return acceleratorCount; } + /** + * Full or partial URL of the accelerator type resource to attach to this instance. For example: + * projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating + * an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full + * list of accelerator types. + */ public String getAcceleratorType() { return acceleratorType; } @@ -113,19 +121,33 @@ public Builder mergeFrom(AcceleratorConfig other) { this.acceleratorType = source.acceleratorType; } + /** The number of the guest accelerator cards exposed to this instance. */ public Integer getAcceleratorCount() { return acceleratorCount; } + /** The number of the guest accelerator cards exposed to this instance. */ public Builder setAcceleratorCount(Integer acceleratorCount) { this.acceleratorCount = acceleratorCount; return this; } + /** + * Full or partial URL of the accelerator type resource to attach to this instance. For example: + * projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are + * creating an instance template, specify only the accelerator name. See GPUs on Compute Engine + * for a full list of accelerator types. + */ public String getAcceleratorType() { return acceleratorType; } + /** + * Full or partial URL of the accelerator type resource to attach to this instance. For example: + * projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are + * creating an instance template, specify only the accelerator name. See GPUs on Compute Engine + * for a full list of accelerator types. + */ public Builder setAcceleratorType(String acceleratorType) { this.acceleratorType = acceleratorType; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorType.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorType.java index ec3efe45c20f..612af18e422a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorType.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorType.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * An Accelerator Type resource. (== resource_for beta.acceleratorTypes ==) (== resource_for + * v1.acceleratorTypes ==) + */ public final class AcceleratorType implements ApiMessage { private final String creationTimestamp; private final DeprecationStatus deprecated; @@ -112,38 +116,55 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] The deprecation status associated with this accelerator type. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] An optional textual description of the resource. */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * [Output Only] The type of the resource. Always compute#acceleratorType for accelerator types. + */ public String getKind() { return kind; } + /** [Output Only] Maximum accelerator cards allowed per instance. */ public Integer getMaximumCardsPerInstance() { return maximumCardsPerInstance; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Server-defined fully-qualified URL for this resource. */ public String getSelfLink() { return selfLink; } + /** + * [Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. + * You must specify this field as part of the HTTP request URL. It is not settable as a field in + * the request body. + */ public String getZone() { return zone; } @@ -227,82 +248,118 @@ public Builder mergeFrom(AcceleratorType other) { this.zone = source.zone; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** [Output Only] The deprecation status associated with this accelerator type. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] The deprecation status associated with this accelerator type. */ public Builder setDeprecated(DeprecationStatus deprecated) { this.deprecated = deprecated; return this; } + /** [Output Only] An optional textual description of the resource. */ public String getDescription() { return description; } + /** [Output Only] An optional textual description of the resource. */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] The type of the resource. Always compute#acceleratorType for accelerator types. + */ public String getKind() { return kind; } + /** + * [Output Only] The type of the resource. Always compute#acceleratorType for accelerator types. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] Maximum accelerator cards allowed per instance. */ public Integer getMaximumCardsPerInstance() { return maximumCardsPerInstance; } + /** [Output Only] Maximum accelerator cards allowed per instance. */ public Builder setMaximumCardsPerInstance(Integer maximumCardsPerInstance) { this.maximumCardsPerInstance = maximumCardsPerInstance; return this; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Name of the resource. */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Server-defined fully-qualified URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined fully-qualified URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * [Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. + * You must specify this field as part of the HTTP request URL. It is not settable as a field in + * the request body. + */ public String getZone() { return zone; } + /** + * [Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. + * You must specify this field as part of the HTTP request URL. It is not settable as a field in + * the request body. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeAggregatedList.java index eaff2de5b7af..ffbbf6f06189 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of AcceleratorTypesScopedList resources. The key for the map is: [Output Only] Name of + * the scope containing this set of accelerator types. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#acceleratorTypeAggregatedList for aggregated + * lists of accelerator types. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(AcceleratorTypeAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of AcceleratorTypesScopedList resources. The key for the map is: [Output Only] Name of + * the scope containing this set of accelerator types. + */ public Map getItemsMap() { return items; } + /** + * A list of AcceleratorTypesScopedList resources. The key for the map is: [Output Only] Name of + * the scope containing this set of accelerator types. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#acceleratorTypeAggregatedList for aggregated + * lists of accelerator types. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#acceleratorTypeAggregatedList for aggregated + * lists of accelerator types. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeList.java index 18cdb5accebe..c235ceb9db5f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of accelerator types. */ public final class AcceleratorTypeList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of AcceleratorType resources. */ public List getItemsList() { return items; } + /** + * [Output Only] Type of resource. Always compute#acceleratorTypeList for lists of accelerator + * types. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +195,23 @@ public Builder mergeFrom(AcceleratorTypeList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of AcceleratorType resources. */ public List getItemsList() { return items; } + /** A list of AcceleratorType resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +220,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of AcceleratorType resources. */ public Builder addItems(AcceleratorType items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +229,61 @@ public Builder addItems(AcceleratorType items) { return this; } + /** + * [Output Only] Type of resource. Always compute#acceleratorTypeList for lists of accelerator + * types. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#acceleratorTypeList for lists of accelerator + * types. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypesScopedList.java index df6a0eb43438..cfb2bf8ac1df 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypesScopedList.java @@ -62,10 +62,14 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of accelerator types contained in this scope. */ public List getAcceleratorTypesList() { return acceleratorTypes; } + /** + * [Output Only] An informational warning that appears when the accelerator types list is empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +118,12 @@ public Builder mergeFrom(AcceleratorTypesScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of accelerator types contained in this scope. */ public List getAcceleratorTypesList() { return acceleratorTypes; } + /** [Output Only] A list of accelerator types contained in this scope. */ public Builder addAllAcceleratorTypes(List acceleratorTypes) { if (this.acceleratorTypes == null) { this.acceleratorTypes = new LinkedList<>(); @@ -126,6 +132,7 @@ public Builder addAllAcceleratorTypes(List acceleratorTypes) { return this; } + /** [Output Only] A list of accelerator types contained in this scope. */ public Builder addAcceleratorTypes(AcceleratorType acceleratorTypes) { if (this.acceleratorTypes == null) { this.acceleratorTypes = new LinkedList<>(); @@ -134,10 +141,16 @@ public Builder addAcceleratorTypes(AcceleratorType acceleratorTypes) { return this; } + /** + * [Output Only] An informational warning that appears when the accelerator types list is empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] An informational warning that appears when the accelerator types list is empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AccessConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AccessConfig.java index 5b74c39b84cf..e1f90c548e50 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AccessConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AccessConfig.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * An access configuration attached to an instance's network interface. Only one access config per + * instance is supported. + */ public final class AccessConfig implements ApiMessage { private final String kind; private final String name; @@ -98,30 +102,60 @@ public List getFieldMask() { return null; } + /** [Output Only] Type of the resource. Always compute#accessConfig for access configs. */ public String getKind() { return kind; } + /** + * The name of this access configuration. The default and recommended name is External NAT but you + * can use any arbitrary string you would like. For example, My external IP or Network Access. + */ public String getName() { return name; } + /** + * An external IP address associated with this instance. Specify an unused static external IP + * address available to the project or leave this field undefined to use an IP from a shared + * ephemeral IP address pool. If you specify a static external IP address, it must live in the + * same region as the zone of the instance. + */ public String getNatIP() { return natIP; } + /** + * This signifies the networking tier used for configuring this access configuration and can only + * take the following values: PREMIUM, STANDARD. + * + *

If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be + * created with this networkTier. + * + *

If an AccessConfig with a valid external IP address is specified, it must match that of the + * networkTier associated with the Address resource owning that IP. + */ public String getNetworkTier() { return networkTier; } + /** + * The DNS domain name for the public PTR record. This field can only be set when the + * set_public_ptr field is enabled. + */ public String getPublicPtrDomainName() { return publicPtrDomainName; } + /** + * Specifies whether a public DNS ?PTR? record should be created to map the external IP address of + * the instance to a DNS domain name. + */ public Boolean getSetPublicPtr() { return setPublicPtr; } + /** The type of configuration. The default and only option is ONE_TO_ONE_NAT. */ public String getType() { return type; } @@ -195,64 +229,126 @@ public Builder mergeFrom(AccessConfig other) { this.type = source.type; } + /** [Output Only] Type of the resource. Always compute#accessConfig for access configs. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#accessConfig for access configs. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * The name of this access configuration. The default and recommended name is External NAT but + * you can use any arbitrary string you would like. For example, My external IP or Network + * Access. + */ public String getName() { return name; } + /** + * The name of this access configuration. The default and recommended name is External NAT but + * you can use any arbitrary string you would like. For example, My external IP or Network + * Access. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * An external IP address associated with this instance. Specify an unused static external IP + * address available to the project or leave this field undefined to use an IP from a shared + * ephemeral IP address pool. If you specify a static external IP address, it must live in the + * same region as the zone of the instance. + */ public String getNatIP() { return natIP; } + /** + * An external IP address associated with this instance. Specify an unused static external IP + * address available to the project or leave this field undefined to use an IP from a shared + * ephemeral IP address pool. If you specify a static external IP address, it must live in the + * same region as the zone of the instance. + */ public Builder setNatIP(String natIP) { this.natIP = natIP; return this; } + /** + * This signifies the networking tier used for configuring this access configuration and can + * only take the following values: PREMIUM, STANDARD. + * + *

If an AccessConfig is specified without a valid external IP address, an ephemeral IP will + * be created with this networkTier. + * + *

If an AccessConfig with a valid external IP address is specified, it must match that of + * the networkTier associated with the Address resource owning that IP. + */ public String getNetworkTier() { return networkTier; } + /** + * This signifies the networking tier used for configuring this access configuration and can + * only take the following values: PREMIUM, STANDARD. + * + *

If an AccessConfig is specified without a valid external IP address, an ephemeral IP will + * be created with this networkTier. + * + *

If an AccessConfig with a valid external IP address is specified, it must match that of + * the networkTier associated with the Address resource owning that IP. + */ public Builder setNetworkTier(String networkTier) { this.networkTier = networkTier; return this; } + /** + * The DNS domain name for the public PTR record. This field can only be set when the + * set_public_ptr field is enabled. + */ public String getPublicPtrDomainName() { return publicPtrDomainName; } + /** + * The DNS domain name for the public PTR record. This field can only be set when the + * set_public_ptr field is enabled. + */ public Builder setPublicPtrDomainName(String publicPtrDomainName) { this.publicPtrDomainName = publicPtrDomainName; return this; } + /** + * Specifies whether a public DNS ?PTR? record should be created to map the external IP address + * of the instance to a DNS domain name. + */ public Boolean getSetPublicPtr() { return setPublicPtr; } + /** + * Specifies whether a public DNS ?PTR? record should be created to map the external IP address + * of the instance to a DNS domain name. + */ public Builder setSetPublicPtr(Boolean setPublicPtr) { this.setPublicPtr = setPublicPtr; return this; } + /** The type of configuration. The default and only option is ONE_TO_ONE_NAT. */ public String getType() { return type; } + /** The type of configuration. The default and only option is ONE_TO_ONE_NAT. */ public Builder setType(String type) { this.type = type; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddAccessConfigInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddAccessConfigInstanceHttpRequest.java index e4257f9c3c08..558c0ccd6c6d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddAccessConfigInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddAccessConfigInstanceHttpRequest.java @@ -130,46 +130,79 @@ public List getFieldMask() { return null; } + /** + * An access configuration attached to an instance's network interface. Only one access config per + * instance is supported. + */ public AccessConfig getAccessConfigResource() { return accessConfigResource; } + /** 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; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/addAccessConfig`. \`{instance}\` 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 getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** The name of the network interface to add to this instance. */ public String getNetworkInterface() { return networkInterface; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -263,100 +296,166 @@ public Builder mergeFrom(AddAccessConfigInstanceHttpRequest other) { this.userIp = source.userIp; } + /** + * An access configuration attached to an instance's network interface. Only one access config + * per instance is supported. + */ public AccessConfig getAccessConfigResource() { return accessConfigResource; } + /** + * An access configuration attached to an instance's network interface. Only one access config + * per instance is supported. + */ public Builder setAccessConfigResource(AccessConfig accessConfigResource) { this.accessConfigResource = accessConfigResource; return this; } + /** 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; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/addAccessConfig`. \`{instance}\` 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 getInstance() { return instance; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/addAccessConfig`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; 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 name of the network interface to add to this instance. */ public String getNetworkInterface() { return networkInterface; } + /** The name of the network interface to add to this instance. */ public Builder setNetworkInterface(String networkInterface) { this.networkInterface = networkInterface; 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddHealthCheckTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddHealthCheckTargetPoolHttpRequest.java index 9613d257130b..33f0661da873 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddHealthCheckTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddHealthCheckTargetPoolHttpRequest.java @@ -123,34 +123,61 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the target pool to add a health check to. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck`. \`{targetPool}\` 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 getTargetPool() { return targetPool; } @@ -159,6 +186,7 @@ public TargetPoolsAddHealthCheckRequest getTargetPoolsAddHealthCheckRequestResou return targetPoolsAddHealthCheckRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,73 +277,127 @@ public Builder mergeFrom(AddHealthCheckTargetPoolHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the target pool to add a health check to. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck`. \`{targetPool}\` 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 getTargetPool() { return targetPool; } + /** + * Name of the target pool to add a health check to. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck`. \`{targetPool}\` 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 setTargetPool(String targetPool) { this.targetPool = targetPool; return this; @@ -331,10 +413,12 @@ public Builder setTargetPoolsAddHealthCheckRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstanceTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstanceTargetPoolHttpRequest.java index baf8e5d74038..d1e5649635ed 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstanceTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstanceTargetPoolHttpRequest.java @@ -120,34 +120,61 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetPool resource to add instances to. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/addInstance`. \`{targetPool}\` 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 getTargetPool() { return targetPool; } @@ -156,6 +183,7 @@ public TargetPoolsAddInstanceRequest getTargetPoolsAddInstanceRequestResource() return targetPoolsAddInstanceRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -244,73 +272,127 @@ public Builder mergeFrom(AddInstanceTargetPoolHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetPool resource to add instances to. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/addInstance`. \`{targetPool}\` 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 getTargetPool() { return targetPool; } + /** + * Name of the TargetPool resource to add instances to. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/addInstance`. \`{targetPool}\` 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 setTargetPool(String targetPool) { this.targetPool = targetPool; return this; @@ -326,10 +408,12 @@ public Builder setTargetPoolsAddInstanceRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstancesInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstancesInstanceGroupHttpRequest.java index 59e69d50d30b..a4bab4eb5a46 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstancesInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddInstancesInstanceGroupHttpRequest.java @@ -124,18 +124,29 @@ 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; } + /** + * The name of the instance group where you are adding instances. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances`. \`{instanceGroup}\` 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 getInstanceGroup() { return instanceGroup; } @@ -144,22 +155,39 @@ public InstanceGroupsAddInstancesRequest getInstanceGroupsAddInstancesRequestRes return instanceGroupsAddInstancesRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -250,37 +278,59 @@ public Builder mergeFrom(AddInstancesInstanceGroupHttpRequest other) { 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; } + /** + * The name of the instance group where you are adding instances. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances`. \`{instanceGroup}\` + * 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 getInstanceGroup() { return instanceGroup; } + /** + * The name of the instance group where you are adding instances. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances`. \`{instanceGroup}\` + * 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 setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; return this; @@ -296,46 +346,80 @@ public Builder setInstanceGroupsAddInstancesRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddNodesNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddNodesNodeGroupHttpRequest.java index bc5e682659a4..bcdf02b73d67 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddNodesNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddNodesNodeGroupHttpRequest.java @@ -123,22 +123,34 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the NodeGroup resource. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes`. \`{nodeGroup}\` 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 getNodeGroup() { return nodeGroup; } @@ -147,18 +159,34 @@ public NodeGroupsAddNodesRequest getNodeGroupsAddNodesRequestResource() { return nodeGroupsAddNodesRequestResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,46 +275,70 @@ public Builder mergeFrom(AddNodesNodeGroupHttpRequest other) { 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; } + /** 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; } + /** + * Name of the NodeGroup resource. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes`. \`{nodeGroup}\` 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 getNodeGroup() { return nodeGroup; } + /** + * Name of the NodeGroup resource. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes`. \`{nodeGroup}\` 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 setNodeGroup(String nodeGroup) { this.nodeGroup = nodeGroup; return this; @@ -302,37 +354,69 @@ public Builder setNodeGroupsAddNodesRequestResource( 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddPeeringNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddPeeringNetworkHttpRequest.java index b586f6737067..125276be0506 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddPeeringNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddPeeringNetworkHttpRequest.java @@ -122,22 +122,33 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the network resource to add peering to. It must have the format + * `{project}/global/networks/{network}/addPeering`. \`{network}\` 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 getNetwork() { return network; } @@ -146,18 +157,34 @@ public NetworksAddPeeringRequest getNetworksAddPeeringRequestResource() { return networksAddPeeringRequestResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -246,46 +273,68 @@ public Builder mergeFrom(AddPeeringNetworkHttpRequest other) { 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; } + /** 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; } + /** + * Name of the network resource to add peering to. It must have the format + * `{project}/global/networks/{network}/addPeering`. \`{network}\` 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 getNetwork() { return network; } + /** + * Name of the network resource to add peering to. It must have the format + * `{project}/global/networks/{network}/addPeering`. \`{network}\` 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 setNetwork(String network) { this.network = network; return this; @@ -301,37 +350,69 @@ public Builder setNetworksAddPeeringRequestResource( 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddRuleSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddRuleSecurityPolicyHttpRequest.java index 137239ad3fc5..28f14193f75c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddRuleSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddRuleSecurityPolicyHttpRequest.java @@ -116,38 +116,57 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/addRule`. \`{securityPolicy}\` 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 getSecurityPolicy() { return securityPolicy; } + /** + * Represents a rule that describes one or more match conditions along with the action to be taken + * when traffic matches this condition (allow or deny). + */ public SecurityPolicyRule getSecurityPolicyRuleResource() { return securityPolicyRuleResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +250,120 @@ public Builder mergeFrom(AddRuleSecurityPolicyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/addRule`. \`{securityPolicy}\` 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 getSecurityPolicy() { return securityPolicy; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/addRule`. \`{securityPolicy}\` 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 setSecurityPolicy(String securityPolicy) { this.securityPolicy = securityPolicy; return this; } + /** + * Represents a rule that describes one or more match conditions along with the action to be + * taken when traffic matches this condition (allow or deny). + */ public SecurityPolicyRule getSecurityPolicyRuleResource() { return securityPolicyRuleResource; } + /** + * Represents a rule that describes one or more match conditions along with the action to be + * taken when traffic matches this condition (allow or deny). + */ public Builder setSecurityPolicyRuleResource(SecurityPolicyRule securityPolicyRuleResource) { this.securityPolicyRuleResource = securityPolicyRuleResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendBucketHttpRequest.java index 6171d9e41f23..1c79fd3c5c22 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendBucketHttpRequest.java @@ -123,42 +123,72 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendBucket resource to which the Signed URL Key should be added. The name should + * conform to RFC1035. It must have the format + * `{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey`. \`{backendBucket}\` 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 getBackendBucket() { return backendBucket; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs */ public SignedUrlKey getSignedUrlKeyResource() { return signedUrlKeyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +277,151 @@ public Builder mergeFrom(AddSignedUrlKeyBackendBucketHttpRequest other) { 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 BackendBucket resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey`. \`{backendBucket}\` 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 getBackendBucket() { return backendBucket; } + /** + * Name of the BackendBucket resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey`. \`{backendBucket}\` 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 setBackendBucket(String backendBucket) { this.backendBucket = backendBucket; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs */ public SignedUrlKey getSignedUrlKeyResource() { return signedUrlKeyResource; } + /** Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs */ public Builder setSignedUrlKeyResource(SignedUrlKey signedUrlKeyResource) { this.signedUrlKeyResource = signedUrlKeyResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendServiceHttpRequest.java index ca5c05a39bc8..8e4037ed2640 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddSignedUrlKeyBackendServiceHttpRequest.java @@ -123,42 +123,72 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendServices/{backendService}/addSignedUrlKey`. \`{backendService}\` 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 getBackendService() { return backendService; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs */ public SignedUrlKey getSignedUrlKeyResource() { return signedUrlKeyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +277,151 @@ public Builder mergeFrom(AddSignedUrlKeyBackendServiceHttpRequest other) { 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 BackendService resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendServices/{backendService}/addSignedUrlKey`. \`{backendService}\` + * 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 getBackendService() { return backendService; } + /** + * Name of the BackendService resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendServices/{backendService}/addSignedUrlKey`. \`{backendService}\` + * 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 setBackendService(String backendService) { this.backendService = backendService; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs */ public SignedUrlKey getSignedUrlKeyResource() { return signedUrlKeyResource; } + /** Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs */ public Builder setSignedUrlKeyResource(SignedUrlKey signedUrlKeyResource) { this.signedUrlKeyResource = signedUrlKeyResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Address.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Address.java index 6372117a77bc..64f1b3b19515 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Address.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Address.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A reserved address resource. (== resource_for beta.addresses ==) (== resource_for v1.addresses + * ==) (== resource_for beta.globalAddresses ==) (== resource_for v1.globalAddresses ==) + */ public final class Address implements ApiMessage { private final String address; private final String addressType; @@ -169,70 +173,127 @@ public List getFieldMask() { return null; } + /** The static IP address represented by this resource. */ public String getAddress() { return address; } + /** + * The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to + * EXTERNAL. + */ public String getAddressType() { return addressType; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * The IP Version that will be used by this address. Valid options are IPV4 or IPV6. This can only + * be specified for a global address. + */ public String getIpVersion() { return ipVersion; } + /** [Output Only] Type of the resource. Always compute#address for addresses. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * The URL of the network in which to reserve the address. This field can only be used with + * INTERNAL type with VPC_PEERING purpose. + */ public String getNetwork() { return network; } + /** + * This signifies the networking tier used for configuring this Address and can only take the + * following values: PREMIUM, STANDARD. Global forwarding rules can only be Premium Tier. Regional + * forwarding rules can be either Premium or Standard Tier. Standard Tier addresses applied to + * regional forwarding rules can be used with any external load balancer. Regional forwarding + * rules in Premium Tier can only be used with a Network load balancer. + * + *

If this field is not specified, it is assumed to be PREMIUM. + */ public String getNetworkTier() { return networkTier; } + /** The prefix length if the resource reprensents an IP range. */ public Integer getPrefixLength() { return prefixLength; } + /** The purpose of resource, only used with INTERNAL type. */ public String getPurpose() { return purpose; } + /** + * [Output Only] URL of the region where the regional address resides. This field is not + * applicable to global addresses. You must specify this field as part of the HTTP request URL. + * You cannot set this field in the request body. + */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An + * address that is RESERVING is currently in the process of being reserved. A RESERVED address is + * currently reserved and available to use. An IN_USE address is currently being used by another + * resource and is not available. + */ public String getStatus() { return status; } + /** + * The URL of the subnetwork in which to reserve the address. If an IP address is specified, it + * must be within the subnetwork's IP range. This field can only be used with INTERNAL type with + * GCE_ENDPOINT/DNS_RESOLVER purposes. + */ public String getSubnetwork() { return subnetwork; } + /** [Output Only] The URLs of the resources that are using this address. */ public List getUsersList() { return users; } @@ -356,154 +417,270 @@ public Builder mergeFrom(Address other) { this.users = source.users; } + /** The static IP address represented by this resource. */ public String getAddress() { return address; } + /** The static IP address represented by this resource. */ public Builder setAddress(String address) { this.address = address; return this; } + /** + * The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to + * EXTERNAL. + */ public String getAddressType() { return addressType; } + /** + * The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to + * EXTERNAL. + */ public Builder setAddressType(String addressType) { this.addressType = addressType; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * The IP Version that will be used by this address. Valid options are IPV4 or IPV6. This can + * only be specified for a global address. + */ public String getIpVersion() { return ipVersion; } + /** + * The IP Version that will be used by this address. Valid options are IPV4 or IPV6. This can + * only be specified for a global address. + */ public Builder setIpVersion(String ipVersion) { this.ipVersion = ipVersion; return this; } + /** [Output Only] Type of the resource. Always compute#address for addresses. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#address for addresses. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * The URL of the network in which to reserve the address. This field can only be used with + * INTERNAL type with VPC_PEERING purpose. + */ public String getNetwork() { return network; } + /** + * The URL of the network in which to reserve the address. This field can only be used with + * INTERNAL type with VPC_PEERING purpose. + */ public Builder setNetwork(String network) { this.network = network; return this; } + /** + * This signifies the networking tier used for configuring this Address and can only take the + * following values: PREMIUM, STANDARD. Global forwarding rules can only be Premium Tier. + * Regional forwarding rules can be either Premium or Standard Tier. Standard Tier addresses + * applied to regional forwarding rules can be used with any external load balancer. Regional + * forwarding rules in Premium Tier can only be used with a Network load balancer. + * + *

If this field is not specified, it is assumed to be PREMIUM. + */ public String getNetworkTier() { return networkTier; } + /** + * This signifies the networking tier used for configuring this Address and can only take the + * following values: PREMIUM, STANDARD. Global forwarding rules can only be Premium Tier. + * Regional forwarding rules can be either Premium or Standard Tier. Standard Tier addresses + * applied to regional forwarding rules can be used with any external load balancer. Regional + * forwarding rules in Premium Tier can only be used with a Network load balancer. + * + *

If this field is not specified, it is assumed to be PREMIUM. + */ public Builder setNetworkTier(String networkTier) { this.networkTier = networkTier; return this; } + /** The prefix length if the resource reprensents an IP range. */ public Integer getPrefixLength() { return prefixLength; } + /** The prefix length if the resource reprensents an IP range. */ public Builder setPrefixLength(Integer prefixLength) { this.prefixLength = prefixLength; return this; } + /** The purpose of resource, only used with INTERNAL type. */ public String getPurpose() { return purpose; } + /** The purpose of resource, only used with INTERNAL type. */ public Builder setPurpose(String purpose) { this.purpose = purpose; return this; } + /** + * [Output Only] URL of the region where the regional address resides. This field is not + * applicable to global addresses. You must specify this field as part of the HTTP request URL. + * You cannot set this field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] URL of the region where the regional address resides. This field is not + * applicable to global addresses. You must specify this field as part of the HTTP request URL. + * You cannot set this field in the request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. + * An address that is RESERVING is currently in the process of being reserved. A RESERVED + * address is currently reserved and available to use. An IN_USE address is currently being used + * by another resource and is not available. + */ public String getStatus() { return status; } + /** + * [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. + * An address that is RESERVING is currently in the process of being reserved. A RESERVED + * address is currently reserved and available to use. An IN_USE address is currently being used + * by another resource and is not available. + */ public Builder setStatus(String status) { this.status = status; return this; } + /** + * The URL of the subnetwork in which to reserve the address. If an IP address is specified, it + * must be within the subnetwork's IP range. This field can only be used with INTERNAL type with + * GCE_ENDPOINT/DNS_RESOLVER purposes. + */ public String getSubnetwork() { return subnetwork; } + /** + * The URL of the subnetwork in which to reserve the address. If an IP address is specified, it + * must be within the subnetwork's IP range. This field can only be used with INTERNAL type with + * GCE_ENDPOINT/DNS_RESOLVER purposes. + */ public Builder setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; return this; } + /** [Output Only] The URLs of the resources that are using this address. */ public List getUsersList() { return users; } + /** [Output Only] The URLs of the resources that are using this address. */ public Builder addAllUsers(List users) { if (this.users == null) { this.users = new LinkedList<>(); @@ -512,6 +689,7 @@ public Builder addAllUsers(List users) { return this; } + /** [Output Only] The URLs of the resources that are using this address. */ public Builder addUsers(String users) { if (this.users == null) { this.users = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressAggregatedList.java index de051eb0f6b7..f88438700cc5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of AddressesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of addresses. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#addressAggregatedList for aggregated lists of + * addresses. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(AddressAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of AddressesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of addresses. + */ public Map getItemsMap() { return items; } + /** + * A list of AddressesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of addresses. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#addressAggregatedList for aggregated lists of + * addresses. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#addressAggregatedList for aggregated lists of + * addresses. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressList.java index cacc53ed1c62..c12f116651af 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of addresses. */ public final class AddressList implements ApiMessage { private final String id; private final List

items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Address resources. */ public List
getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#addressList for lists of addresses. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(AddressList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Address resources. */ public List
getItemsList() { return items; } + /** A list of Address resources. */ public Builder addAllItems(List
items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List
items) { return this; } + /** A list of Address resources. */ public Builder addItems(Address items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Address items) { return this; } + /** [Output Only] Type of resource. Always compute#addressList for lists of addresses. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#addressList for lists of addresses. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesScopedList.java index 28e6e05b90bd..c7d0ad0fa5c8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressesScopedList.java @@ -62,10 +62,15 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of addresses contained in this scope. */ public List
getAddressesList() { return addresses; } + /** + * [Output Only] Informational warning which replaces the list of addresses when the list is + * empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +119,12 @@ public Builder mergeFrom(AddressesScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of addresses contained in this scope. */ public List
getAddressesList() { return addresses; } + /** [Output Only] A list of addresses contained in this scope. */ public Builder addAllAddresses(List
addresses) { if (this.addresses == null) { this.addresses = new LinkedList<>(); @@ -126,6 +133,7 @@ public Builder addAllAddresses(List
addresses) { return this; } + /** [Output Only] A list of addresses contained in this scope. */ public Builder addAddresses(Address addresses) { if (this.addresses == null) { this.addresses = new LinkedList<>(); @@ -134,10 +142,18 @@ public Builder addAddresses(Address addresses) { return this; } + /** + * [Output Only] Informational warning which replaces the list of addresses when the list is + * empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] Informational warning which replaces the list of addresses when the list is + * empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java index 906f9edd4dcd..0648d76c8db2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAcceleratorTypesHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/acceleratorTypes`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListAcceleratorTypesHttpRequest other) { 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}/aggregated/acceleratorTypes`. + * \`{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}/aggregated/acceleratorTypes`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java index 6ab2dc38a4d5..8a97d3808f0d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAddressesHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/addresses`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListAddressesHttpRequest other) { 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}/aggregated/addresses`. + * \`{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}/aggregated/addresses`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java index 9db2e13f90e5..40c5bd7dce9c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListAutoscalersHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/autoscalers`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListAutoscalersHttpRequest other) { 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}/aggregated/autoscalers`. + * \`{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}/aggregated/autoscalers`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java index c169b4299136..82d2f101d02c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListBackendServicesHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** + * Name of the project scoping this request. It must have the format + * `{project}/aggregated/backendServices`. \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListBackendServicesHttpRequest other) { 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; } + /** + * Name of the project scoping this request. It must have the format + * `{project}/aggregated/backendServices`. \`{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; } + /** + * Name of the project scoping this request. It must have the format + * `{project}/aggregated/backendServices`. \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java index 9b377d025b82..441487560b20 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDiskTypesHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/diskTypes`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListDiskTypesHttpRequest other) { 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}/aggregated/diskTypes`. + * \`{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}/aggregated/diskTypes`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java index f4eee9c6f165..537f35a0d910 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListDisksHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/disks`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListDisksHttpRequest other) { 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}/aggregated/disks`. + * \`{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}/aggregated/disks`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java index cebb0ed23ea5..8d9b3c2b031c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListForwardingRulesHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/forwardingRules`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListForwardingRulesHttpRequest other) { 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}/aggregated/forwardingRules`. + * \`{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}/aggregated/forwardingRules`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java index b8f4a733d935..03e330705677 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListGlobalOperationsHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/operations`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListGlobalOperationsHttpRequest other) { 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}/aggregated/operations`. + * \`{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}/aggregated/operations`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java index 156dec1ce26e..43b49018fe6a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupManagersHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/instanceGroupManagers`. \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListInstanceGroupManagersHttpRequest other) { 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}/aggregated/instanceGroupManagers`. \`{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}/aggregated/instanceGroupManagers`. \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java index 75b1ff3b6538..ba1b811974b9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstanceGroupsHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/instanceGroups`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListInstanceGroupsHttpRequest other) { 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}/aggregated/instanceGroups`. + * \`{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}/aggregated/instanceGroups`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java index 5037fee732ab..b77b39de7410 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInstancesHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/instances`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListInstancesHttpRequest other) { 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}/aggregated/instances`. + * \`{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}/aggregated/instances`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java index 0a6a934e9eaf..17a8e4677fd3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListInterconnectAttachmentsHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/interconnectAttachments`. \`{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; } @@ -280,109 +334,219 @@ public Builder mergeFrom(AggregatedListInterconnectAttachmentsHttpRequest other) 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}/aggregated/interconnectAttachments`. \`{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}/aggregated/interconnectAttachments`. \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java index b75a7f9a6287..496297ca9d45 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListMachineTypesHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/machineTypes`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListMachineTypesHttpRequest other) { 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}/aggregated/machineTypes`. + * \`{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}/aggregated/machineTypes`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java index 4fb6ea4b73e7..4ed16fe53e37 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeGroupsHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/nodeGroups`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListNodeGroupsHttpRequest other) { 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}/aggregated/nodeGroups`. + * \`{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}/aggregated/nodeGroups`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java index 90b8ba36247a..36a00eb8d416 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTemplatesHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/nodeTemplates`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListNodeTemplatesHttpRequest other) { 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}/aggregated/nodeTemplates`. + * \`{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}/aggregated/nodeTemplates`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java index 5d672175e560..d2d87d7690cf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListNodeTypesHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/nodeTypes`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListNodeTypesHttpRequest other) { 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}/aggregated/nodeTypes`. + * \`{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}/aggregated/nodeTypes`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java index 64ec813c0735..533aede8f66e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRegionCommitmentsHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/commitments`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListRegionCommitmentsHttpRequest other) { 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}/aggregated/commitments`. + * \`{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}/aggregated/commitments`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java index e0086b6e3e99..9e64b7cc4458 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListRoutersHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/routers`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListRoutersHttpRequest other) { 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}/aggregated/routers`. + * \`{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}/aggregated/routers`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java index 09b116c2d2ec..7b5e37ed02f4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListSubnetworksHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/subnetworks`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListSubnetworksHttpRequest other) { 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}/aggregated/subnetworks`. + * \`{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}/aggregated/subnetworks`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java index 1dde3b84d105..2582db5d1084 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetInstancesHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/targetInstances`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListTargetInstancesHttpRequest other) { 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}/aggregated/targetInstances`. + * \`{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}/aggregated/targetInstances`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java index ea342bd11e06..472a7bcd5c58 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetPoolsHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/targetPools`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListTargetPoolsHttpRequest other) { 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}/aggregated/targetPools`. + * \`{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}/aggregated/targetPools`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java index 2bf2bb74b5ed..e21d848d4973 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListTargetVpnGatewaysHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/targetVpnGateways`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListTargetVpnGatewaysHttpRequest other) { 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}/aggregated/targetVpnGateways`. \`{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}/aggregated/targetVpnGateways`. \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java index 9377cf1be20a..1630713aceb1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AggregatedListVpnTunnelsHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/vpnTunnels`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(AggregatedListVpnTunnelsHttpRequest other) { 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}/aggregated/vpnTunnels`. + * \`{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}/aggregated/vpnTunnels`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AliasIpRange.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AliasIpRange.java index 7cbbe9ce6437..f778e71e0509 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AliasIpRange.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AliasIpRange.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** An alias IP range attached to an instance's network interface. */ public final class AliasIpRange implements ApiMessage { private final String ipCidrRange; private final String subnetworkRangeName; @@ -61,10 +62,21 @@ public List getFieldMask() { return null; } + /** + * The IP CIDR range represented by this alias IP range. This IP CIDR range must belong to the + * specified subnetwork and cannot contain IP addresses reserved by system or used by other + * network interfaces. This range may be a single IP address (e.g. 10.2.3.4), a netmask (e.g. /24) + * or a CIDR format string (e.g. 10.1.2.0/24). + */ public String getIpCidrRange() { return ipCidrRange; } + /** + * Optional subnetwork secondary range name specifying the secondary range from which to allocate + * the IP CIDR range for this alias IP range. If left unspecified, the primary range of the + * subnetwork will be used. + */ public String getSubnetworkRangeName() { return subnetworkRangeName; } @@ -113,19 +125,41 @@ public Builder mergeFrom(AliasIpRange other) { this.subnetworkRangeName = source.subnetworkRangeName; } + /** + * The IP CIDR range represented by this alias IP range. This IP CIDR range must belong to the + * specified subnetwork and cannot contain IP addresses reserved by system or used by other + * network interfaces. This range may be a single IP address (e.g. 10.2.3.4), a netmask (e.g. + * /24) or a CIDR format string (e.g. 10.1.2.0/24). + */ public String getIpCidrRange() { return ipCidrRange; } + /** + * The IP CIDR range represented by this alias IP range. This IP CIDR range must belong to the + * specified subnetwork and cannot contain IP addresses reserved by system or used by other + * network interfaces. This range may be a single IP address (e.g. 10.2.3.4), a netmask (e.g. + * /24) or a CIDR format string (e.g. 10.1.2.0/24). + */ public Builder setIpCidrRange(String ipCidrRange) { this.ipCidrRange = ipCidrRange; return this; } + /** + * Optional subnetwork secondary range name specifying the secondary range from which to + * allocate the IP CIDR range for this alias IP range. If left unspecified, the primary range of + * the subnetwork will be used. + */ public String getSubnetworkRangeName() { return subnetworkRangeName; } + /** + * Optional subnetwork secondary range name specifying the secondary range from which to + * allocate the IP CIDR range for this alias IP range. If left unspecified, the primary range of + * the subnetwork will be used. + */ public Builder setSubnetworkRangeName(String subnetworkRangeName) { this.subnetworkRangeName = subnetworkRangeName; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Allowed.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Allowed.java index cb707d58839a..8db88daa264c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Allowed.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Allowed.java @@ -26,6 +26,10 @@ @Generated("by GAPIC") @BetaApi +/** + * The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and port-range + * tuple that describes a permitted connection. + */ public final class Allowed implements ApiMessage { @SerializedName("IPProtocol") private final String iPProtocol; @@ -65,10 +69,22 @@ public List getFieldMask() { return null; } + /** + * The IP protocol to which this rule applies. The protocol type is required when creating a + * firewall rule. This value can either be one of the following well known protocol strings (tcp, + * udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. + */ public String getIPProtocol() { return iPProtocol; } + /** + * An optional list of ports to which this rule applies. This field is only applicable for UDP or + * TCP protocol. Each entry must be either an integer or a range. If not specified, this rule + * applies to connections through any port. + * + *

Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + */ public List getPortsList() { return ports; } @@ -117,19 +133,43 @@ public Builder mergeFrom(Allowed other) { this.ports = source.ports; } + /** + * The IP protocol to which this rule applies. The protocol type is required when creating a + * firewall rule. This value can either be one of the following well known protocol strings + * (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. + */ public String getIPProtocol() { return iPProtocol; } + /** + * The IP protocol to which this rule applies. The protocol type is required when creating a + * firewall rule. This value can either be one of the following well known protocol strings + * (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. + */ public Builder setIPProtocol(String iPProtocol) { this.iPProtocol = iPProtocol; return this; } + /** + * An optional list of ports to which this rule applies. This field is only applicable for UDP + * or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule + * applies to connections through any port. + * + *

Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + */ public List getPortsList() { return ports; } + /** + * An optional list of ports to which this rule applies. This field is only applicable for UDP + * or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule + * applies to connections through any port. + * + *

Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + */ public Builder addAllPorts(List ports) { if (this.ports == null) { this.ports = new LinkedList<>(); @@ -138,6 +178,13 @@ public Builder addAllPorts(List ports) { return this; } + /** + * An optional list of ports to which this rule applies. This field is only applicable for UDP + * or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule + * applies to connections through any port. + * + *

Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + */ public Builder addPorts(String ports) { if (this.ports == null) { this.ports = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachDiskInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachDiskInstanceHttpRequest.java index 67ce0f6d70e2..26098745125c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachDiskInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachDiskInstanceHttpRequest.java @@ -132,46 +132,79 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** An instance-attached disk resource. */ public AttachedDisk getAttachedDiskResource() { return attachedDiskResource; } + /** 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; } + /** + * Whether to force attach the disk even if it's currently attached to another instance. This is + * only available for regional disks. + */ public Boolean getForceAttach() { return forceAttach; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/attachDisk`. \`{instance}\` 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 getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -265,100 +298,166 @@ public Builder mergeFrom(AttachDiskInstanceHttpRequest other) { 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; } + /** An instance-attached disk resource. */ public AttachedDisk getAttachedDiskResource() { return attachedDiskResource; } + /** An instance-attached disk resource. */ public Builder setAttachedDiskResource(AttachedDisk attachedDiskResource) { this.attachedDiskResource = attachedDiskResource; 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; } + /** + * Whether to force attach the disk even if it's currently attached to another instance. This is + * only available for regional disks. + */ public Boolean getForceAttach() { return forceAttach; } + /** + * Whether to force attach the disk even if it's currently attached to another instance. This is + * only available for regional disks. + */ public Builder setForceAttach(Boolean forceAttach) { this.forceAttach = forceAttach; return this; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/attachDisk`. \`{instance}\` 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 getInstance() { return instance; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/attachDisk`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDisk.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDisk.java index 67ca6fdf39e6..502282611723 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDisk.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDisk.java @@ -26,6 +26,7 @@ @Generated("by GAPIC") @BetaApi +/** An instance-attached disk resource. */ public final class AttachedDisk implements ApiMessage { private final Boolean autoDelete; private final Boolean boot; @@ -145,54 +146,132 @@ public List getFieldMask() { return null; } + /** + * Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the + * disk is detached from the instance). + */ public Boolean getAutoDelete() { return autoDelete; } + /** + * Indicates that this is a boot disk. The virtual machine will use the first partition of the + * disk for its root filesystem. + */ public Boolean getBoot() { return boot; } + /** + * Specifies a unique device name of your choice that is reflected into the + * /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This + * name can be used to reference the device for mounting, resizing, and so on, from within the + * instance. + * + *

If not specified, the server chooses a default device name to apply to this disk, in the + * form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is + * only applicable for persistent disks. + */ public String getDeviceName() { return deviceName; } + /** + * Encrypts or decrypts a disk using a customer-supplied encryption key. + * + *

If you are creating a new disk, this field encrypts the new disk using an encryption key + * that you provide. If you are attaching an existing disk that is already encrypted, this field + * decrypts the disk using the customer-supplied encryption key. + * + *

If you encrypt a disk using a customer-supplied key, you must provide the same key again + * when you attempt to use this resource at a later time. For example, you must provide the key + * when you create a snapshot or an image from the disk or when you attach the disk to a virtual + * machine instance. + * + *

If you do not provide an encryption key, then the disk will be encrypted using an + * automatically generated key and you do not need to provide a key to use the disk later. + * + *

Instance templates do not store customer-supplied encryption keys, so you cannot use your + * own keys to encrypt disks in a managed instance group. + */ public CustomerEncryptionKey getDiskEncryptionKey() { return diskEncryptionKey; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public List getGuestOsFeaturesList() { return guestOsFeatures; } + /** + * [Output Only] A zero-based index to this disk, where 0 is reserved for the boot disk. If you + * have many disks attached to an instance, each disk would have a unique index number. + */ public Integer getIndex() { return index; } + /** + * [Input Only] Specifies the parameters for a new disk that will be created alongside the new + * instance. Use initialization parameters to create boot disks or local SSDs attached to the new + * instance. + * + *

This property is mutually exclusive with the source property; you can only define one or the + * other, but not both. + */ public AttachedDiskInitializeParams getInitializeParams() { return initializeParams; } + /** + * Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. 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. + */ public String getInterface() { return interface2; } + /** [Output Only] Type of the resource. Always compute#attachedDisk for attached disks. */ public String getKind() { return kind; } + /** [Output Only] Any valid publicly visible licenses. */ public List getLicensesList() { return licenses; } + /** + * The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the + * default is to attach the disk in READ_WRITE mode. + */ public String getMode() { return mode; } + /** + * Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a + * new instance, one of initializeParams.sourceImage or disks.source is required except for local + * SSD. + * + *

If desired, you can also attach existing non-root persistent disks using this property. This + * field is only applicable for persistent disks. + * + *

Note that for InstanceTemplate, specify the disk name, not the URL for the disk. + */ public String getSource() { return source; } + /** + * Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is + * PERSISTENT. + */ public String getType() { return type; } @@ -296,46 +375,126 @@ public Builder mergeFrom(AttachedDisk other) { this.type = source.type; } + /** + * Specifies whether the disk will be auto-deleted when the instance is deleted (but not when + * the disk is detached from the instance). + */ public Boolean getAutoDelete() { return autoDelete; } + /** + * Specifies whether the disk will be auto-deleted when the instance is deleted (but not when + * the disk is detached from the instance). + */ public Builder setAutoDelete(Boolean autoDelete) { this.autoDelete = autoDelete; return this; } + /** + * Indicates that this is a boot disk. The virtual machine will use the first partition of the + * disk for its root filesystem. + */ public Boolean getBoot() { return boot; } + /** + * Indicates that this is a boot disk. The virtual machine will use the first partition of the + * disk for its root filesystem. + */ public Builder setBoot(Boolean boot) { this.boot = boot; return this; } + /** + * Specifies a unique device name of your choice that is reflected into the + * /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. + * This name can be used to reference the device for mounting, resizing, and so on, from within + * the instance. + * + *

If not specified, the server chooses a default device name to apply to this disk, in the + * form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is + * only applicable for persistent disks. + */ public String getDeviceName() { return deviceName; } + /** + * Specifies a unique device name of your choice that is reflected into the + * /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. + * This name can be used to reference the device for mounting, resizing, and so on, from within + * the instance. + * + *

If not specified, the server chooses a default device name to apply to this disk, in the + * form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is + * only applicable for persistent disks. + */ public Builder setDeviceName(String deviceName) { this.deviceName = deviceName; return this; } + /** + * Encrypts or decrypts a disk using a customer-supplied encryption key. + * + *

If you are creating a new disk, this field encrypts the new disk using an encryption key + * that you provide. If you are attaching an existing disk that is already encrypted, this field + * decrypts the disk using the customer-supplied encryption key. + * + *

If you encrypt a disk using a customer-supplied key, you must provide the same key again + * when you attempt to use this resource at a later time. For example, you must provide the key + * when you create a snapshot or an image from the disk or when you attach the disk to a virtual + * machine instance. + * + *

If you do not provide an encryption key, then the disk will be encrypted using an + * automatically generated key and you do not need to provide a key to use the disk later. + * + *

Instance templates do not store customer-supplied encryption keys, so you cannot use your + * own keys to encrypt disks in a managed instance group. + */ public CustomerEncryptionKey getDiskEncryptionKey() { return diskEncryptionKey; } + /** + * Encrypts or decrypts a disk using a customer-supplied encryption key. + * + *

If you are creating a new disk, this field encrypts the new disk using an encryption key + * that you provide. If you are attaching an existing disk that is already encrypted, this field + * decrypts the disk using the customer-supplied encryption key. + * + *

If you encrypt a disk using a customer-supplied key, you must provide the same key again + * when you attempt to use this resource at a later time. For example, you must provide the key + * when you create a snapshot or an image from the disk or when you attach the disk to a virtual + * machine instance. + * + *

If you do not provide an encryption key, then the disk will be encrypted using an + * automatically generated key and you do not need to provide a key to use the disk later. + * + *

Instance templates do not store customer-supplied encryption keys, so you cannot use your + * own keys to encrypt disks in a managed instance group. + */ public Builder setDiskEncryptionKey(CustomerEncryptionKey diskEncryptionKey) { this.diskEncryptionKey = diskEncryptionKey; return this; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public List getGuestOsFeaturesList() { return guestOsFeatures; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public Builder addAllGuestOsFeatures(List guestOsFeatures) { if (this.guestOsFeatures == null) { this.guestOsFeatures = new LinkedList<>(); @@ -344,6 +503,10 @@ public Builder addAllGuestOsFeatures(List guestOsFeatures) { return this; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public Builder addGuestOsFeatures(GuestOsFeature guestOsFeatures) { if (this.guestOsFeatures == null) { this.guestOsFeatures = new LinkedList<>(); @@ -352,46 +515,86 @@ public Builder addGuestOsFeatures(GuestOsFeature guestOsFeatures) { return this; } + /** + * [Output Only] A zero-based index to this disk, where 0 is reserved for the boot disk. If you + * have many disks attached to an instance, each disk would have a unique index number. + */ public Integer getIndex() { return index; } + /** + * [Output Only] A zero-based index to this disk, where 0 is reserved for the boot disk. If you + * have many disks attached to an instance, each disk would have a unique index number. + */ public Builder setIndex(Integer index) { this.index = index; return this; } + /** + * [Input Only] Specifies the parameters for a new disk that will be created alongside the new + * instance. Use initialization parameters to create boot disks or local SSDs attached to the + * new instance. + * + *

This property is mutually exclusive with the source property; you can only define one or + * the other, but not both. + */ public AttachedDiskInitializeParams getInitializeParams() { return initializeParams; } + /** + * [Input Only] Specifies the parameters for a new disk that will be created alongside the new + * instance. Use initialization parameters to create boot disks or local SSDs attached to the + * new instance. + * + *

This property is mutually exclusive with the source property; you can only define one or + * the other, but not both. + */ public Builder setInitializeParams(AttachedDiskInitializeParams initializeParams) { this.initializeParams = initializeParams; return this; } + /** + * Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. + * 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. + */ public String getInterface() { return interface2; } + /** + * Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. + * 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. + */ public Builder setInterface(String interface2) { this.interface2 = interface2; return this; } + /** [Output Only] Type of the resource. Always compute#attachedDisk for attached disks. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#attachedDisk for attached disks. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] Any valid publicly visible licenses. */ public List getLicensesList() { return licenses; } + /** [Output Only] Any valid publicly visible licenses. */ public Builder addAllLicenses(List licenses) { if (this.licenses == null) { this.licenses = new LinkedList<>(); @@ -400,6 +603,7 @@ public Builder addAllLicenses(List licenses) { return this; } + /** [Output Only] Any valid publicly visible licenses. */ public Builder addLicenses(String licenses) { if (this.licenses == null) { this.licenses = new LinkedList<>(); @@ -408,28 +612,64 @@ public Builder addLicenses(String licenses) { return this; } + /** + * The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the + * default is to attach the disk in READ_WRITE mode. + */ public String getMode() { return mode; } + /** + * The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the + * default is to attach the disk in READ_WRITE mode. + */ public Builder setMode(String mode) { this.mode = mode; return this; } + /** + * Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating + * a new instance, one of initializeParams.sourceImage or disks.source is required except for + * local SSD. + * + *

If desired, you can also attach existing non-root persistent disks using this property. + * This field is only applicable for persistent disks. + * + *

Note that for InstanceTemplate, specify the disk name, not the URL for the disk. + */ public String getSource() { return source; } + /** + * Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating + * a new instance, one of initializeParams.sourceImage or disks.source is required except for + * local SSD. + * + *

If desired, you can also attach existing non-root persistent disks using this property. + * This field is only applicable for persistent disks. + * + *

Note that for InstanceTemplate, specify the disk name, not the URL for the disk. + */ public Builder setSource(String source) { this.source = source; return this; } + /** + * Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default + * is PERSISTENT. + */ public String getType() { return type; } + /** + * Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default + * is PERSISTENT. + */ public Builder setType(String type) { this.type = type; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java index b5629ec53e08..1ccc29dee6af 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java @@ -25,6 +25,14 @@ @Generated("by GAPIC") @BetaApi +/** + * [Input Only] Specifies the parameters for a new disk that will be created alongside the new + * instance. Use initialization parameters to create boot disks or local SSDs attached to the new + * instance. + * + *

This property is mutually exclusive with the source property; you can only define one or the + * other, but not both. + */ public final class AttachedDiskInitializeParams implements ApiMessage { private final String description; private final String diskName; @@ -99,30 +107,80 @@ public List getFieldMask() { return null; } + /** An optional description. Provide this property when creating the disk. */ public String getDescription() { return 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. + */ public String getDiskName() { return diskName; } + /** Specifies the size of the disk in base-2 GB. */ public String getDiskSizeGb() { return diskSizeGb; } + /** + * Specifies the disk type to use to create the instance. If not specified, the default is + * pd-standard, specified using the full URL. For example: + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard + * + *

Other values include pd-ssd and local-ssd. If you define this field, you can provide either + * the full or partial URL. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType - + * projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType Note that for + * InstanceTemplate, this is the name of the disk type, not URL. + */ public String getDiskType() { return diskType; } + /** + * Labels to apply to this disk. These can be later modified by the disks.setLabels method. This + * field is only applicable for persistent disks. + */ public Map getLabelsMap() { return labels; } + /** + * The source image to create this disk. When creating a new instance, one of + * initializeParams.sourceImage or disks.source is required except for local SSD. + * + *

To create a disk with one of the public operating system images, specify the image by its + * family name. For example, specify family/debian-9 to use the latest Debian 9 image: + * projects/debian-cloud/global/images/family/debian-9 + * + *

Alternatively, use a specific version of a public operating system image: + * projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD + * + *

To create a disk with a custom image that you created, specify the image name in the + * following format: global/images/my-custom-image + * + *

You can also specify a custom image by its image family, which returns the latest version of + * the image in that family. Replace the image name with family/family-name: + * global/images/family/my-image-family + * + *

If the source image is deleted later, this field will not be set. + */ public String getSourceImage() { return sourceImage; } + /** + * The customer-supplied encryption key of the source image. Required if the source image is + * protected by a customer-supplied encryption key. + * + *

Instance templates do not store customer-supplied encryption keys, so you cannot create + * disks for instances in a managed instance group if the source images are encrypted with your + * own keys. + */ public CustomerEncryptionKey getSourceImageEncryptionKey() { return sourceImageEncryptionKey; } @@ -196,64 +254,164 @@ public Builder mergeFrom(AttachedDiskInitializeParams other) { this.sourceImageEncryptionKey = source.sourceImageEncryptionKey; } + /** An optional description. Provide this property when creating the disk. */ public String getDescription() { return description; } + /** An optional description. Provide this property when creating the disk. */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * 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. + */ public String getDiskName() { return diskName; } + /** + * 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. + */ public Builder setDiskName(String diskName) { this.diskName = diskName; return this; } + /** Specifies the size of the disk in base-2 GB. */ public String getDiskSizeGb() { return diskSizeGb; } + /** Specifies the size of the disk in base-2 GB. */ public Builder setDiskSizeGb(String diskSizeGb) { this.diskSizeGb = diskSizeGb; return this; } + /** + * Specifies the disk type to use to create the instance. If not specified, the default is + * pd-standard, specified using the full URL. For example: + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard + * + *

Other values include pd-ssd and local-ssd. If you define this field, you can provide + * either the full or partial URL. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType - + * projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType Note that for + * InstanceTemplate, this is the name of the disk type, not URL. + */ public String getDiskType() { return diskType; } + /** + * Specifies the disk type to use to create the instance. If not specified, the default is + * pd-standard, specified using the full URL. For example: + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard + * + *

Other values include pd-ssd and local-ssd. If you define this field, you can provide + * either the full or partial URL. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType - + * projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType Note that for + * InstanceTemplate, this is the name of the disk type, not URL. + */ public Builder setDiskType(String diskType) { this.diskType = diskType; return this; } + /** + * Labels to apply to this disk. These can be later modified by the disks.setLabels method. This + * field is only applicable for persistent disks. + */ public Map getLabelsMap() { return labels; } + /** + * Labels to apply to this disk. These can be later modified by the disks.setLabels method. This + * field is only applicable for persistent disks. + */ public Builder putAllLabels(Map labels) { this.labels = labels; return this; } + /** + * The source image to create this disk. When creating a new instance, one of + * initializeParams.sourceImage or disks.source is required except for local SSD. + * + *

To create a disk with one of the public operating system images, specify the image by its + * family name. For example, specify family/debian-9 to use the latest Debian 9 image: + * projects/debian-cloud/global/images/family/debian-9 + * + *

Alternatively, use a specific version of a public operating system image: + * projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD + * + *

To create a disk with a custom image that you created, specify the image name in the + * following format: global/images/my-custom-image + * + *

You can also specify a custom image by its image family, which returns the latest version + * of the image in that family. Replace the image name with family/family-name: + * global/images/family/my-image-family + * + *

If the source image is deleted later, this field will not be set. + */ public String getSourceImage() { return sourceImage; } + /** + * The source image to create this disk. When creating a new instance, one of + * initializeParams.sourceImage or disks.source is required except for local SSD. + * + *

To create a disk with one of the public operating system images, specify the image by its + * family name. For example, specify family/debian-9 to use the latest Debian 9 image: + * projects/debian-cloud/global/images/family/debian-9 + * + *

Alternatively, use a specific version of a public operating system image: + * projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD + * + *

To create a disk with a custom image that you created, specify the image name in the + * following format: global/images/my-custom-image + * + *

You can also specify a custom image by its image family, which returns the latest version + * of the image in that family. Replace the image name with family/family-name: + * global/images/family/my-image-family + * + *

If the source image is deleted later, this field will not be set. + */ public Builder setSourceImage(String sourceImage) { this.sourceImage = sourceImage; return this; } + /** + * The customer-supplied encryption key of the source image. Required if the source image is + * protected by a customer-supplied encryption key. + * + *

Instance templates do not store customer-supplied encryption keys, so you cannot create + * disks for instances in a managed instance group if the source images are encrypted with your + * own keys. + */ public CustomerEncryptionKey getSourceImageEncryptionKey() { return sourceImageEncryptionKey; } + /** + * The customer-supplied encryption key of the source image. Required if the source image is + * protected by a customer-supplied encryption key. + * + *

Instance templates do not store customer-supplied encryption keys, so you cannot create + * disks for instances in a managed instance group if the source images are encrypted with your + * own keys. + */ public Builder setSourceImageEncryptionKey(CustomerEncryptionKey sourceImageEncryptionKey) { this.sourceImageEncryptionKey = sourceImageEncryptionKey; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditConfig.java index 7d01e752ed75..e3d61e0b7f73 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditConfig.java @@ -25,6 +25,27 @@ @Generated("by GAPIC") @BetaApi +/** + * Specifies the audit configuration for a service. The configuration determines which permission + * types are logged, and what identities, if any, are exempted from logging. An AuditConfig must + * have one or more AuditLogConfigs. + * + *

If there are AuditConfigs for both `allServices` and a specific service, the union of the two + * AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, + * and the exempted_members in each AuditLogConfig are exempted. + * + *

Example Policy with multiple AuditConfigs: + * + *

{ "audit_configs": [ { "service": "allServices" "audit_log_configs": [ { "log_type": + * "DATA_READ", "exempted_members": [ "user:foo{@literal @}gmail.com" ] }, { "log_type": + * "DATA_WRITE", }, { "log_type": "ADMIN_READ", } ] }, { "service": "fooservice.googleapis.com" + * "audit_log_configs": [ { "log_type": "DATA_READ", }, { "log_type": "DATA_WRITE", + * "exempted_members": [ "user:bar{@literal @}gmail.com" ] } ] } ] } + * + *

For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also + * exempts foo{@literal @}gmail.com from DATA_READ logging, and bar{@literal @}gmail.com from + * DATA_WRITE logging. + */ public final class AuditConfig implements ApiMessage { private final List auditLogConfigs; private final List exemptedMembers; @@ -69,6 +90,7 @@ public List getFieldMask() { return null; } + /** The configuration for logging of each type of permission. */ public List getAuditLogConfigsList() { return auditLogConfigs; } @@ -77,6 +99,11 @@ public List getExemptedMembersList() { return exemptedMembers; } + /** + * Specifies a service that will be enabled for audit logging. For example, + * `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that + * covers all services. + */ public String getService() { return service; } @@ -130,10 +157,12 @@ public Builder mergeFrom(AuditConfig other) { this.service = source.service; } + /** The configuration for logging of each type of permission. */ public List getAuditLogConfigsList() { return auditLogConfigs; } + /** The configuration for logging of each type of permission. */ public Builder addAllAuditLogConfigs(List auditLogConfigs) { if (this.auditLogConfigs == null) { this.auditLogConfigs = new LinkedList<>(); @@ -142,6 +171,7 @@ public Builder addAllAuditLogConfigs(List auditLogConfigs) { return this; } + /** The configuration for logging of each type of permission. */ public Builder addAuditLogConfigs(AuditLogConfig auditLogConfigs) { if (this.auditLogConfigs == null) { this.auditLogConfigs = new LinkedList<>(); @@ -170,10 +200,20 @@ public Builder addExemptedMembers(String exemptedMembers) { return this; } + /** + * Specifies a service that will be enabled for audit logging. For example, + * `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that + * covers all services. + */ public String getService() { return service; } + /** + * Specifies a service that will be enabled for audit logging. For example, + * `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that + * covers all services. + */ public Builder setService(String service) { this.service = service; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditLogConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditLogConfig.java index 9ed12ffe3b82..54b4aea62b71 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditLogConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuditLogConfig.java @@ -25,6 +25,15 @@ @Generated("by GAPIC") @BetaApi +/** + * Provides the configuration for logging a type of permissions. Example: + * + *

{ "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ + * "user:foo{@literal @}gmail.com" ] }, { "log_type": "DATA_WRITE", } ] } + * + *

This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo{@literal @}gmail.com + * from DATA_READ logging. + */ public final class AuditLogConfig implements ApiMessage { private final List exemptedMembers; private final String logType; @@ -62,10 +71,15 @@ public List getFieldMask() { return null; } + /** + * Specifies the identities that do not cause logging for this type of permission. Follows the + * same format of [Binding.members][]. + */ public List getExemptedMembersList() { return exemptedMembers; } + /** The log type that this config enables. */ public String getLogType() { return logType; } @@ -114,10 +128,18 @@ public Builder mergeFrom(AuditLogConfig other) { this.logType = source.logType; } + /** + * Specifies the identities that do not cause logging for this type of permission. Follows the + * same format of [Binding.members][]. + */ public List getExemptedMembersList() { return exemptedMembers; } + /** + * Specifies the identities that do not cause logging for this type of permission. Follows the + * same format of [Binding.members][]. + */ public Builder addAllExemptedMembers(List exemptedMembers) { if (this.exemptedMembers == null) { this.exemptedMembers = new LinkedList<>(); @@ -126,6 +148,10 @@ public Builder addAllExemptedMembers(List exemptedMembers) { return this; } + /** + * Specifies the identities that do not cause logging for this type of permission. Follows the + * same format of [Binding.members][]. + */ public Builder addExemptedMembers(String exemptedMembers) { if (this.exemptedMembers == null) { this.exemptedMembers = new LinkedList<>(); @@ -134,10 +160,12 @@ public Builder addExemptedMembers(String exemptedMembers) { return this; } + /** The log type that this config enables. */ public String getLogType() { return logType; } + /** The log type that this config enables. */ public Builder setLogType(String logType) { this.logType = logType; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuthorizationLoggingOptions.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuthorizationLoggingOptions.java index 1b3cff5f69b5..7e7666dc84e5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuthorizationLoggingOptions.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AuthorizationLoggingOptions.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Authorization-related information used by Cloud Audit Logging. */ public final class AuthorizationLoggingOptions implements ApiMessage { private final String permissionType; @@ -55,6 +56,7 @@ public List getFieldMask() { return null; } + /** The type of the permission that was checked. */ public String getPermissionType() { return permissionType; } @@ -98,10 +100,12 @@ public Builder mergeFrom(AuthorizationLoggingOptions other) { this.permissionType = source.permissionType; } + /** The type of the permission that was checked. */ public String getPermissionType() { return permissionType; } + /** The type of the permission that was checked. */ public Builder setPermissionType(String permissionType) { this.permissionType = permissionType; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Autoscaler.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Autoscaler.java index 55c82ee0bb8d..4feadcc87ddd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Autoscaler.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Autoscaler.java @@ -25,6 +25,13 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual machine + * instances in managed instance groups according to an autoscaling policy that you define. For more + * information, read Autoscaling Groups of Instances. (== resource_for beta.autoscalers ==) (== + * resource_for v1.autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== resource_for + * v1.regionAutoscalers ==) + */ public final class Autoscaler implements ApiMessage { private final AutoscalingPolicy autoscalingPolicy; private final String creationTimestamp; @@ -134,50 +141,89 @@ public List getFieldMask() { return null; } + /** + * The configuration parameters for the autoscaling algorithm. You can define one or more of the + * policies for an autoscaler: cpuUtilization, customMetricUtilizations, and + * loadBalancingUtilization. + * + *

If none of these are specified, the default will be to autoscale based on cpuUtilization to + * 0.6 or 60%. + */ public AutoscalingPolicy getAutoscalingPolicy() { return autoscalingPolicy; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#autoscaler for autoscalers. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * [Output Only] URL of the region where the instance group resides (for autoscalers living in + * regional scope). + */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The status of the autoscaler configuration. */ public String getStatus() { return status; } + /** + * [Output Only] Human-readable details about the current state of the autoscaler. Read the + * documentation for Commonly returned status messages for examples of status messages you might + * encounter. + */ public List getStatusDetailsList() { return statusDetails; } + /** URL of the managed instance group that this autoscaler will scale. */ public String getTarget() { return target; } + /** + * [Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal + * scope). + */ public String getZone() { return zone; } @@ -276,91 +322,161 @@ public Builder mergeFrom(Autoscaler other) { this.zone = source.zone; } + /** + * The configuration parameters for the autoscaling algorithm. You can define one or more of the + * policies for an autoscaler: cpuUtilization, customMetricUtilizations, and + * loadBalancingUtilization. + * + *

If none of these are specified, the default will be to autoscale based on cpuUtilization + * to 0.6 or 60%. + */ public AutoscalingPolicy getAutoscalingPolicy() { return autoscalingPolicy; } + /** + * The configuration parameters for the autoscaling algorithm. You can define one or more of the + * policies for an autoscaler: cpuUtilization, customMetricUtilizations, and + * loadBalancingUtilization. + * + *

If none of these are specified, the default will be to autoscale based on cpuUtilization + * to 0.6 or 60%. + */ public Builder setAutoscalingPolicy(AutoscalingPolicy autoscalingPolicy) { this.autoscalingPolicy = autoscalingPolicy; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#autoscaler for autoscalers. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#autoscaler for autoscalers. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * [Output Only] URL of the region where the instance group resides (for autoscalers living in + * regional scope). + */ public String getRegion() { return region; } + /** + * [Output Only] URL of the region where the instance group resides (for autoscalers living in + * regional scope). + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] The status of the autoscaler configuration. */ public String getStatus() { return status; } + /** [Output Only] The status of the autoscaler configuration. */ public Builder setStatus(String status) { this.status = status; return this; } + /** + * [Output Only] Human-readable details about the current state of the autoscaler. Read the + * documentation for Commonly returned status messages for examples of status messages you might + * encounter. + */ public List getStatusDetailsList() { return statusDetails; } + /** + * [Output Only] Human-readable details about the current state of the autoscaler. Read the + * documentation for Commonly returned status messages for examples of status messages you might + * encounter. + */ public Builder addAllStatusDetails(List statusDetails) { if (this.statusDetails == null) { this.statusDetails = new LinkedList<>(); @@ -369,6 +485,11 @@ public Builder addAllStatusDetails(List statusDetails) return this; } + /** + * [Output Only] Human-readable details about the current state of the autoscaler. Read the + * documentation for Commonly returned status messages for examples of status messages you might + * encounter. + */ public Builder addStatusDetails(AutoscalerStatusDetails statusDetails) { if (this.statusDetails == null) { this.statusDetails = new LinkedList<>(); @@ -377,19 +498,29 @@ public Builder addStatusDetails(AutoscalerStatusDetails statusDetails) { return this; } + /** URL of the managed instance group that this autoscaler will scale. */ public String getTarget() { return target; } + /** URL of the managed instance group that this autoscaler will scale. */ public Builder setTarget(String target) { this.target = target; return this; } + /** + * [Output Only] URL of the zone where the instance group resides (for autoscalers living in + * zonal scope). + */ public String getZone() { return zone; } + /** + * [Output Only] URL of the zone where the instance group resides (for autoscalers living in + * zonal scope). + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerAggregatedList.java index e62a783f0af7..4a4b47333246 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of AutoscalersScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of autoscalers. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#autoscalerAggregatedList for aggregated lists of + * autoscalers. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(AutoscalerAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of AutoscalersScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of autoscalers. + */ public Map getItemsMap() { return items; } + /** + * A list of AutoscalersScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of autoscalers. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#autoscalerAggregatedList for aggregated lists + * of autoscalers. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#autoscalerAggregatedList for aggregated lists + * of autoscalers. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerList.java index 2f2398d725e7..2b5905eb576b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of Autoscaler resources. */ public final class AutoscalerList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Autoscaler resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#autoscalerList for lists of autoscalers. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(AutoscalerList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Autoscaler resources. */ public List getItemsList() { return items; } + /** A list of Autoscaler resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Autoscaler resources. */ public Builder addItems(Autoscaler items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Autoscaler items) { return this; } + /** [Output Only] Type of resource. Always compute#autoscalerList for lists of autoscalers. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#autoscalerList for lists of autoscalers. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerStatusDetails.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerStatusDetails.java index aa35df64da88..d6065f5997d2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerStatusDetails.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerStatusDetails.java @@ -61,10 +61,12 @@ public List getFieldMask() { return null; } + /** The status message. */ public String getMessage() { return message; } + /** The type of error returned. */ public String getType() { return type; } @@ -113,19 +115,23 @@ public Builder mergeFrom(AutoscalerStatusDetails other) { this.type = source.type; } + /** The status message. */ public String getMessage() { return message; } + /** The status message. */ public Builder setMessage(String message) { this.message = message; return this; } + /** The type of error returned. */ public String getType() { return type; } + /** The type of error returned. */ public Builder setType(String type) { this.type = type; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersScopedList.java index 871276064488..4b6508a470fe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalersScopedList.java @@ -62,10 +62,15 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of autoscalers contained in this scope. */ public List getAutoscalersList() { return autoscalers; } + /** + * [Output Only] Informational warning which replaces the list of autoscalers when the list is + * empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +119,12 @@ public Builder mergeFrom(AutoscalersScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of autoscalers contained in this scope. */ public List getAutoscalersList() { return autoscalers; } + /** [Output Only] A list of autoscalers contained in this scope. */ public Builder addAllAutoscalers(List autoscalers) { if (this.autoscalers == null) { this.autoscalers = new LinkedList<>(); @@ -126,6 +133,7 @@ public Builder addAllAutoscalers(List autoscalers) { return this; } + /** [Output Only] A list of autoscalers contained in this scope. */ public Builder addAutoscalers(Autoscaler autoscalers) { if (this.autoscalers == null) { this.autoscalers = new LinkedList<>(); @@ -134,10 +142,18 @@ public Builder addAutoscalers(Autoscaler autoscalers) { return this; } + /** + * [Output Only] Informational warning which replaces the list of autoscalers when the list is + * empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] Informational warning which replaces the list of autoscalers when the list is + * empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicy.java index e95152559534..81f249b5ef98 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicy.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Cloud Autoscaler policy. */ public final class AutoscalingPolicy implements ApiMessage { private final Integer coolDownPeriodSec; private final AutoscalingPolicyCpuUtilization cpuUtilization; @@ -92,26 +93,52 @@ public List getFieldMask() { return null; } + /** + * The number of seconds that the autoscaler should wait before it starts collecting information + * from a new instance. This prevents the autoscaler from collecting information when the instance + * is initializing, during which the collected usage would not be reliable. The default time + * autoscaler waits is 60 seconds. + * + *

Virtual machine initialization times might vary because of numerous factors. We recommend + * that you test how long an instance may take to initialize. To do this, create an instance and + * time the startup process. + */ public Integer getCoolDownPeriodSec() { return coolDownPeriodSec; } + /** + * Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU + * utilization of a managed instance group. + */ public AutoscalingPolicyCpuUtilization getCpuUtilization() { return cpuUtilization; } + /** Configuration parameters of autoscaling based on a custom metric. */ public List getCustomMetricUtilizationsList() { return customMetricUtilizations; } + /** Configuration parameters of autoscaling based on load balancer. */ public AutoscalingPolicyLoadBalancingUtilization getLoadBalancingUtilization() { return loadBalancingUtilization; } + /** + * The maximum number of instances that the autoscaler can scale up to. This is required when + * creating or updating an autoscaler. The maximum number of replicas should not be lower than + * minimal number of replicas. + */ public Integer getMaxNumReplicas() { return maxNumReplicas; } + /** + * The minimum number of replicas that the autoscaler can scale down to. This cannot be less than + * 0. If not provided, autoscaler will choose a default value depending on maximum number of + * instances allowed. + */ public Integer getMinNumReplicas() { return minNumReplicas; } @@ -180,28 +207,58 @@ public Builder mergeFrom(AutoscalingPolicy other) { this.minNumReplicas = source.minNumReplicas; } + /** + * The number of seconds that the autoscaler should wait before it starts collecting information + * from a new instance. This prevents the autoscaler from collecting information when the + * instance is initializing, during which the collected usage would not be reliable. The default + * time autoscaler waits is 60 seconds. + * + *

Virtual machine initialization times might vary because of numerous factors. We recommend + * that you test how long an instance may take to initialize. To do this, create an instance and + * time the startup process. + */ public Integer getCoolDownPeriodSec() { return coolDownPeriodSec; } + /** + * The number of seconds that the autoscaler should wait before it starts collecting information + * from a new instance. This prevents the autoscaler from collecting information when the + * instance is initializing, during which the collected usage would not be reliable. The default + * time autoscaler waits is 60 seconds. + * + *

Virtual machine initialization times might vary because of numerous factors. We recommend + * that you test how long an instance may take to initialize. To do this, create an instance and + * time the startup process. + */ public Builder setCoolDownPeriodSec(Integer coolDownPeriodSec) { this.coolDownPeriodSec = coolDownPeriodSec; return this; } + /** + * Defines the CPU utilization policy that allows the autoscaler to scale based on the average + * CPU utilization of a managed instance group. + */ public AutoscalingPolicyCpuUtilization getCpuUtilization() { return cpuUtilization; } + /** + * Defines the CPU utilization policy that allows the autoscaler to scale based on the average + * CPU utilization of a managed instance group. + */ public Builder setCpuUtilization(AutoscalingPolicyCpuUtilization cpuUtilization) { this.cpuUtilization = cpuUtilization; return this; } + /** Configuration parameters of autoscaling based on a custom metric. */ public List getCustomMetricUtilizationsList() { return customMetricUtilizations; } + /** Configuration parameters of autoscaling based on a custom metric. */ public Builder addAllCustomMetricUtilizations( List customMetricUtilizations) { if (this.customMetricUtilizations == null) { @@ -211,6 +268,7 @@ public Builder addAllCustomMetricUtilizations( return this; } + /** Configuration parameters of autoscaling based on a custom metric. */ public Builder addCustomMetricUtilizations( AutoscalingPolicyCustomMetricUtilization customMetricUtilizations) { if (this.customMetricUtilizations == null) { @@ -220,29 +278,51 @@ public Builder addCustomMetricUtilizations( return this; } + /** Configuration parameters of autoscaling based on load balancer. */ public AutoscalingPolicyLoadBalancingUtilization getLoadBalancingUtilization() { return loadBalancingUtilization; } + /** Configuration parameters of autoscaling based on load balancer. */ public Builder setLoadBalancingUtilization( AutoscalingPolicyLoadBalancingUtilization loadBalancingUtilization) { this.loadBalancingUtilization = loadBalancingUtilization; return this; } + /** + * The maximum number of instances that the autoscaler can scale up to. This is required when + * creating or updating an autoscaler. The maximum number of replicas should not be lower than + * minimal number of replicas. + */ public Integer getMaxNumReplicas() { return maxNumReplicas; } + /** + * The maximum number of instances that the autoscaler can scale up to. This is required when + * creating or updating an autoscaler. The maximum number of replicas should not be lower than + * minimal number of replicas. + */ public Builder setMaxNumReplicas(Integer maxNumReplicas) { this.maxNumReplicas = maxNumReplicas; return this; } + /** + * The minimum number of replicas that the autoscaler can scale down to. This cannot be less + * than 0. If not provided, autoscaler will choose a default value depending on maximum number + * of instances allowed. + */ public Integer getMinNumReplicas() { return minNumReplicas; } + /** + * The minimum number of replicas that the autoscaler can scale down to. This cannot be less + * than 0. If not provided, autoscaler will choose a default value depending on maximum number + * of instances allowed. + */ public Builder setMinNumReplicas(Integer minNumReplicas) { this.minNumReplicas = minNumReplicas; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCpuUtilization.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCpuUtilization.java index 6ae88e57a3af..2d043b3b975d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCpuUtilization.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCpuUtilization.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** CPU utilization policy. */ public final class AutoscalingPolicyCpuUtilization implements ApiMessage { private final Double utilizationTarget; @@ -55,6 +56,18 @@ public List getFieldMask() { return null; } + /** + * The target CPU utilization that the autoscaler should maintain. Must be a float value in the + * range (0, 1]. If not specified, the default is 0.6. + * + *

If the CPU level is below the target utilization, the autoscaler scales down the number of + * instances until it reaches the minimum number of instances you specified or until the average + * CPU of your instances reaches the target utilization. + * + *

If the average CPU is above the target utilization, the autoscaler scales up until it + * reaches the maximum number of instances you specified or until the average utilization reaches + * the target utilization. + */ public Double getUtilizationTarget() { return utilizationTarget; } @@ -98,10 +111,34 @@ public Builder mergeFrom(AutoscalingPolicyCpuUtilization other) { this.utilizationTarget = source.utilizationTarget; } + /** + * The target CPU utilization that the autoscaler should maintain. Must be a float value in the + * range (0, 1]. If not specified, the default is 0.6. + * + *

If the CPU level is below the target utilization, the autoscaler scales down the number of + * instances until it reaches the minimum number of instances you specified or until the average + * CPU of your instances reaches the target utilization. + * + *

If the average CPU is above the target utilization, the autoscaler scales up until it + * reaches the maximum number of instances you specified or until the average utilization + * reaches the target utilization. + */ public Double getUtilizationTarget() { return utilizationTarget; } + /** + * The target CPU utilization that the autoscaler should maintain. Must be a float value in the + * range (0, 1]. If not specified, the default is 0.6. + * + *

If the CPU level is below the target utilization, the autoscaler scales down the number of + * instances until it reaches the minimum number of instances you specified or until the average + * CPU of your instances reaches the target utilization. + * + *

If the average CPU is above the target utilization, the autoscaler scales up until it + * reaches the maximum number of instances you specified or until the average utilization + * reaches the target utilization. + */ public Builder setUtilizationTarget(Double utilizationTarget) { this.utilizationTarget = utilizationTarget; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCustomMetricUtilization.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCustomMetricUtilization.java index 901dd77a5e78..bc959504a4e1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCustomMetricUtilization.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyCustomMetricUtilization.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Custom utilization metric policy. */ public final class AutoscalingPolicyCustomMetricUtilization implements ApiMessage { private final String metric; private final Double utilizationTarget; @@ -68,14 +69,33 @@ public List getFieldMask() { return null; } + /** + * The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative + * values. + * + *

The metric must have a value type of INT64 or DOUBLE. + */ public String getMetric() { return metric; } + /** + * The target value of the metric that autoscaler should maintain. This must be a positive value. + * A utilization metric scales number of virtual machines handling requests to increase or + * decrease proportionally to the metric. + * + *

For example, a good metric to use as a utilization_target is + * compute.googleapis.com/instance/network/received_bytes_count. The autoscaler will work to keep + * this value constant for each of the instances. + */ public Double getUtilizationTarget() { return utilizationTarget; } + /** + * Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either + * GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. + */ public String getUtilizationTargetType() { return utilizationTargetType; } @@ -129,28 +149,66 @@ public Builder mergeFrom(AutoscalingPolicyCustomMetricUtilization other) { this.utilizationTargetType = source.utilizationTargetType; } + /** + * The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative + * values. + * + *

The metric must have a value type of INT64 or DOUBLE. + */ public String getMetric() { return metric; } + /** + * The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative + * values. + * + *

The metric must have a value type of INT64 or DOUBLE. + */ public Builder setMetric(String metric) { this.metric = metric; return this; } + /** + * The target value of the metric that autoscaler should maintain. This must be a positive + * value. A utilization metric scales number of virtual machines handling requests to increase + * or decrease proportionally to the metric. + * + *

For example, a good metric to use as a utilization_target is + * compute.googleapis.com/instance/network/received_bytes_count. The autoscaler will work to + * keep this value constant for each of the instances. + */ public Double getUtilizationTarget() { return utilizationTarget; } + /** + * The target value of the metric that autoscaler should maintain. This must be a positive + * value. A utilization metric scales number of virtual machines handling requests to increase + * or decrease proportionally to the metric. + * + *

For example, a good metric to use as a utilization_target is + * compute.googleapis.com/instance/network/received_bytes_count. The autoscaler will work to + * keep this value constant for each of the instances. + */ public Builder setUtilizationTarget(Double utilizationTarget) { this.utilizationTarget = utilizationTarget; return this; } + /** + * Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either + * GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. + */ public String getUtilizationTargetType() { return utilizationTargetType; } + /** + * Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either + * GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. + */ public Builder setUtilizationTargetType(String utilizationTargetType) { this.utilizationTargetType = utilizationTargetType; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyLoadBalancingUtilization.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyLoadBalancingUtilization.java index 062a8b69392c..26b3d1828c70 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyLoadBalancingUtilization.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalingPolicyLoadBalancingUtilization.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Configuration parameters of autoscaling based on load balancing. */ public final class AutoscalingPolicyLoadBalancingUtilization implements ApiMessage { private final Double utilizationTarget; @@ -55,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that + * autoscaler should maintain. Must be a positive float value. If not defined, the default is 0.8. + */ public Double getUtilizationTarget() { return utilizationTarget; } @@ -98,10 +103,20 @@ public Builder mergeFrom(AutoscalingPolicyLoadBalancingUtilization other) { this.utilizationTarget = source.utilizationTarget; } + /** + * Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that + * autoscaler should maintain. Must be a positive float value. If not defined, the default is + * 0.8. + */ public Double getUtilizationTarget() { return utilizationTarget; } + /** + * Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that + * autoscaler should maintain. Must be a positive float value. If not defined, the default is + * 0.8. + */ public Builder setUtilizationTarget(Double utilizationTarget) { this.utilizationTarget = utilizationTarget; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Backend.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Backend.java index 340a4d7a481c..e274f649834c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Backend.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Backend.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Message containing information of one individual backend. */ public final class Backend implements ApiMessage { private final String balancingMode; private final Float capacityScaler; @@ -112,38 +113,110 @@ public List getFieldMask() { return null; } + /** + * Specifies the balancing mode for this backend. For global HTTP(S) or TCP/SSL load balancing, + * the default is UTILIZATION. Valid values are UTILIZATION, RATE (for HTTP(S)) and CONNECTION + * (for TCP/SSL). + * + *

For Internal Load Balancing, the default and only supported mode is CONNECTION. + */ public String getBalancingMode() { return balancingMode; } + /** + * A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or + * CONNECTION). Default value is 1, which means the group will serve up to 100% of its configured + * capacity (depending on balancingMode). A setting of 0 means the group is completely drained, + * offering 0% of its available Capacity. Valid range is [0.0,1.0]. + * + *

This cannot be used for internal load balancing. + */ public Float getCapacityScaler() { return capacityScaler; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * The fully-qualified URL of an Instance Group or Network Endpoint Group resource. In case of + * instance group this defines the list of instances that serve traffic. Member virtual machine + * instances from each instance group must live in the same zone as the instance group itself. No + * two backends in a backend service are allowed to use same Instance Group resource. + * + *

For Network Endpoint Groups this defines list of endpoints. All endpoints of Network + * Endpoint Group must be hosted on instances located in the same zone as the Network Endpoint + * Group. + * + *

Backend service can not contain mix of Instance Group and Network Endpoint Group backends. + * + *

Note that you must specify an Instance Group or Network Endpoint Group resource using the + * fully-qualified URL, rather than a partial URL. + * + *

When the BackendService has load balancing scheme INTERNAL, the instance group must be + * within the same region as the BackendService. Network Endpoint Groups are not supported for + * INTERNAL load balancing scheme. + */ public String getGroup() { return group; } + /** + * The max number of simultaneous connections for the group. Can be used with either CONNECTION or + * UTILIZATION balancing modes. For CONNECTION mode, either maxConnections or + * maxConnectionsPerInstance must be set. + * + *

This cannot be used for internal load balancing. + */ public Integer getMaxConnections() { return maxConnections; } + /** + * The max number of simultaneous connections that a single backend instance can handle. This is + * used to calculate the capacity of the group. Can be used in either CONNECTION or UTILIZATION + * balancing modes. For CONNECTION mode, either maxConnections or maxConnectionsPerInstance must + * be set. + * + *

This cannot be used for internal load balancing. + */ public Integer getMaxConnectionsPerInstance() { return maxConnectionsPerInstance; } + /** + * The max requests per second (RPS) of the group. Can be used with either RATE or UTILIZATION + * balancing modes, but required if RATE mode. For RATE mode, either maxRate or maxRatePerInstance + * must be set. + * + *

This cannot be used for internal load balancing. + */ public Integer getMaxRate() { return maxRate; } + /** + * The max requests per second (RPS) that a single backend instance can handle. This is used to + * calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, + * either maxRate or maxRatePerInstance must be set. + * + *

This cannot be used for internal load balancing. + */ public Float getMaxRatePerInstance() { return maxRatePerInstance; } + /** + * Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization target for the + * group. The default is 0.8. Valid range is [0.0, 1.0]. + * + *

This cannot be used for internal load balancing. + */ public Float getMaxUtilization() { return maxUtilization; } @@ -227,82 +300,226 @@ public Builder mergeFrom(Backend other) { this.maxUtilization = source.maxUtilization; } + /** + * Specifies the balancing mode for this backend. For global HTTP(S) or TCP/SSL load balancing, + * the default is UTILIZATION. Valid values are UTILIZATION, RATE (for HTTP(S)) and CONNECTION + * (for TCP/SSL). + * + *

For Internal Load Balancing, the default and only supported mode is CONNECTION. + */ public String getBalancingMode() { return balancingMode; } + /** + * Specifies the balancing mode for this backend. For global HTTP(S) or TCP/SSL load balancing, + * the default is UTILIZATION. Valid values are UTILIZATION, RATE (for HTTP(S)) and CONNECTION + * (for TCP/SSL). + * + *

For Internal Load Balancing, the default and only supported mode is CONNECTION. + */ public Builder setBalancingMode(String balancingMode) { this.balancingMode = balancingMode; return this; } + /** + * A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or + * CONNECTION). Default value is 1, which means the group will serve up to 100% of its + * configured capacity (depending on balancingMode). A setting of 0 means the group is + * completely drained, offering 0% of its available Capacity. Valid range is [0.0,1.0]. + * + *

This cannot be used for internal load balancing. + */ public Float getCapacityScaler() { return capacityScaler; } + /** + * A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or + * CONNECTION). Default value is 1, which means the group will serve up to 100% of its + * configured capacity (depending on balancingMode). A setting of 0 means the group is + * completely drained, offering 0% of its available Capacity. Valid range is [0.0,1.0]. + * + *

This cannot be used for internal load balancing. + */ public Builder setCapacityScaler(Float capacityScaler) { this.capacityScaler = capacityScaler; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * The fully-qualified URL of an Instance Group or Network Endpoint Group resource. In case of + * instance group this defines the list of instances that serve traffic. Member virtual machine + * instances from each instance group must live in the same zone as the instance group itself. + * No two backends in a backend service are allowed to use same Instance Group resource. + * + *

For Network Endpoint Groups this defines list of endpoints. All endpoints of Network + * Endpoint Group must be hosted on instances located in the same zone as the Network Endpoint + * Group. + * + *

Backend service can not contain mix of Instance Group and Network Endpoint Group backends. + * + *

Note that you must specify an Instance Group or Network Endpoint Group resource using the + * fully-qualified URL, rather than a partial URL. + * + *

When the BackendService has load balancing scheme INTERNAL, the instance group must be + * within the same region as the BackendService. Network Endpoint Groups are not supported for + * INTERNAL load balancing scheme. + */ public String getGroup() { return group; } + /** + * The fully-qualified URL of an Instance Group or Network Endpoint Group resource. In case of + * instance group this defines the list of instances that serve traffic. Member virtual machine + * instances from each instance group must live in the same zone as the instance group itself. + * No two backends in a backend service are allowed to use same Instance Group resource. + * + *

For Network Endpoint Groups this defines list of endpoints. All endpoints of Network + * Endpoint Group must be hosted on instances located in the same zone as the Network Endpoint + * Group. + * + *

Backend service can not contain mix of Instance Group and Network Endpoint Group backends. + * + *

Note that you must specify an Instance Group or Network Endpoint Group resource using the + * fully-qualified URL, rather than a partial URL. + * + *

When the BackendService has load balancing scheme INTERNAL, the instance group must be + * within the same region as the BackendService. Network Endpoint Groups are not supported for + * INTERNAL load balancing scheme. + */ public Builder setGroup(String group) { this.group = group; return this; } + /** + * The max number of simultaneous connections for the group. Can be used with either CONNECTION + * or UTILIZATION balancing modes. For CONNECTION mode, either maxConnections or + * maxConnectionsPerInstance must be set. + * + *

This cannot be used for internal load balancing. + */ public Integer getMaxConnections() { return maxConnections; } + /** + * The max number of simultaneous connections for the group. Can be used with either CONNECTION + * or UTILIZATION balancing modes. For CONNECTION mode, either maxConnections or + * maxConnectionsPerInstance must be set. + * + *

This cannot be used for internal load balancing. + */ public Builder setMaxConnections(Integer maxConnections) { this.maxConnections = maxConnections; return this; } + /** + * The max number of simultaneous connections that a single backend instance can handle. This is + * used to calculate the capacity of the group. Can be used in either CONNECTION or UTILIZATION + * balancing modes. For CONNECTION mode, either maxConnections or maxConnectionsPerInstance must + * be set. + * + *

This cannot be used for internal load balancing. + */ public Integer getMaxConnectionsPerInstance() { return maxConnectionsPerInstance; } + /** + * The max number of simultaneous connections that a single backend instance can handle. This is + * used to calculate the capacity of the group. Can be used in either CONNECTION or UTILIZATION + * balancing modes. For CONNECTION mode, either maxConnections or maxConnectionsPerInstance must + * be set. + * + *

This cannot be used for internal load balancing. + */ public Builder setMaxConnectionsPerInstance(Integer maxConnectionsPerInstance) { this.maxConnectionsPerInstance = maxConnectionsPerInstance; return this; } + /** + * The max requests per second (RPS) of the group. Can be used with either RATE or UTILIZATION + * balancing modes, but required if RATE mode. For RATE mode, either maxRate or + * maxRatePerInstance must be set. + * + *

This cannot be used for internal load balancing. + */ public Integer getMaxRate() { return maxRate; } + /** + * The max requests per second (RPS) of the group. Can be used with either RATE or UTILIZATION + * balancing modes, but required if RATE mode. For RATE mode, either maxRate or + * maxRatePerInstance must be set. + * + *

This cannot be used for internal load balancing. + */ public Builder setMaxRate(Integer maxRate) { this.maxRate = maxRate; return this; } + /** + * The max requests per second (RPS) that a single backend instance can handle. This is used to + * calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, + * either maxRate or maxRatePerInstance must be set. + * + *

This cannot be used for internal load balancing. + */ public Float getMaxRatePerInstance() { return maxRatePerInstance; } + /** + * The max requests per second (RPS) that a single backend instance can handle. This is used to + * calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, + * either maxRate or maxRatePerInstance must be set. + * + *

This cannot be used for internal load balancing. + */ public Builder setMaxRatePerInstance(Float maxRatePerInstance) { this.maxRatePerInstance = maxRatePerInstance; return this; } + /** + * Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization target for the + * group. The default is 0.8. Valid range is [0.0, 1.0]. + * + *

This cannot be used for internal load balancing. + */ public Float getMaxUtilization() { return maxUtilization; } + /** + * Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization target for the + * group. The default is 0.8. Valid range is [0.0, 1.0]. + * + *

This cannot be used for internal load balancing. + */ public Builder setMaxUtilization(Float maxUtilization) { this.maxUtilization = maxUtilization; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucket.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucket.java index 6801ce47652d..c1f6470f13e6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucket.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucket.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public final class BackendBucket implements ApiMessage { private final String bucketName; private final BackendBucketCdnPolicy cdnPolicy; @@ -112,38 +113,56 @@ public List getFieldMask() { return null; } + /** Cloud Storage bucket name. */ public String getBucketName() { return bucketName; } + /** Cloud CDN configuration for this BackendBucket. */ public BackendBucketCdnPolicy getCdnPolicy() { return cdnPolicy; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional textual description of the resource; provided by the client when the resource is + * created. + */ public String getDescription() { return description; } + /** If true, enable Cloud CDN for this BackendBucket. */ public Boolean getEnableCdn() { return enableCdn; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** Type of the resource. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } @@ -227,82 +246,118 @@ public Builder mergeFrom(BackendBucket other) { this.selfLink = source.selfLink; } + /** Cloud Storage bucket name. */ public String getBucketName() { return bucketName; } + /** Cloud Storage bucket name. */ public Builder setBucketName(String bucketName) { this.bucketName = bucketName; return this; } + /** Cloud CDN configuration for this BackendBucket. */ public BackendBucketCdnPolicy getCdnPolicy() { return cdnPolicy; } + /** Cloud CDN configuration for this BackendBucket. */ public Builder setCdnPolicy(BackendBucketCdnPolicy cdnPolicy) { this.cdnPolicy = cdnPolicy; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional textual description of the resource; provided by the client when the resource is + * created. + */ public String getDescription() { return description; } + /** + * An optional textual description of the resource; provided by the client when the resource is + * created. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** If true, enable Cloud CDN for this BackendBucket. */ public Boolean getEnableCdn() { return enableCdn; } + /** If true, enable Cloud CDN for this BackendBucket. */ public Builder setEnableCdn(Boolean enableCdn) { this.enableCdn = enableCdn; return this; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** Type of the resource. */ public String getKind() { return kind; } + /** Type of the resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketCdnPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketCdnPolicy.java index 3f0f87707673..aeb0e1bdd115 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketCdnPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketCdnPolicy.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Message containing Cloud CDN configuration for a backend bucket. */ public final class BackendBucketCdnPolicy implements ApiMessage { private final String signedUrlCacheMaxAgeSec; private final List signedUrlKeyNames; @@ -62,10 +63,19 @@ public List getFieldMask() { return null; } + /** + * Maximum number of seconds the response to a signed URL request will be considered fresh. After + * this time period, the response will be revalidated before being served. Defaults to 1hr + * (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as + * though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, + * regardless of any existing Cache-Control header. The actual headers served in responses will + * not be altered. + */ public String getSignedUrlCacheMaxAgeSec() { return signedUrlCacheMaxAgeSec; } + /** [Output Only] Names of the keys for signing request URLs. */ public List getSignedUrlKeyNamesList() { return signedUrlKeyNames; } @@ -114,19 +124,37 @@ public Builder mergeFrom(BackendBucketCdnPolicy other) { this.signedUrlKeyNames = source.signedUrlKeyNames; } + /** + * Maximum number of seconds the response to a signed URL request will be considered fresh. + * After this time period, the response will be revalidated before being served. Defaults to 1hr + * (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as + * though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, + * regardless of any existing Cache-Control header. The actual headers served in responses will + * not be altered. + */ public String getSignedUrlCacheMaxAgeSec() { return signedUrlCacheMaxAgeSec; } + /** + * Maximum number of seconds the response to a signed URL request will be considered fresh. + * After this time period, the response will be revalidated before being served. Defaults to 1hr + * (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as + * though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, + * regardless of any existing Cache-Control header. The actual headers served in responses will + * not be altered. + */ public Builder setSignedUrlCacheMaxAgeSec(String signedUrlCacheMaxAgeSec) { this.signedUrlCacheMaxAgeSec = signedUrlCacheMaxAgeSec; return this; } + /** [Output Only] Names of the keys for signing request URLs. */ public List getSignedUrlKeyNamesList() { return signedUrlKeyNames; } + /** [Output Only] Names of the keys for signing request URLs. */ public Builder addAllSignedUrlKeyNames(List signedUrlKeyNames) { if (this.signedUrlKeyNames == null) { this.signedUrlKeyNames = new LinkedList<>(); @@ -135,6 +163,7 @@ public Builder addAllSignedUrlKeyNames(List signedUrlKeyNames) { return this; } + /** [Output Only] Names of the keys for signing request URLs. */ public Builder addSignedUrlKeyNames(String signedUrlKeyNames) { if (this.signedUrlKeyNames == null) { this.signedUrlKeyNames = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketList.java index 9d137d27827f..7ea7b6da481d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of BackendBucket resources. */ public final class BackendBucketList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of BackendBucket resources. */ public List getItemsList() { return items; } + /** Type of 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(BackendBucketList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of BackendBucket resources. */ public List getItemsList() { return items; } + /** A list of BackendBucket resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of BackendBucket resources. */ public Builder addItems(BackendBucket items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(BackendBucket items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendService.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendService.java index c1a10062e8f3..e408a36cd337 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendService.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendService.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A BackendService resource. This resource defines a group of backend virtual machines and their + * serving capacity. (== resource_for v1.backendService ==) (== resource_for beta.backendService ==) + */ public final class BackendService implements ApiMessage { private final Integer affinityCookieTtlSec; private final List backends; @@ -204,14 +208,23 @@ public List getFieldMask() { return null; } + /** + * Lifetime of cookies in seconds if session_affinity is GENERATED_COOKIE. If set to 0, the cookie + * is non-persistent and lasts only until the end of the browser session (or equivalent). The + * maximum allowed value for TTL is one day. + * + *

When the load balancing scheme is INTERNAL, this field is not used. + */ public Integer getAffinityCookieTtlSec() { return affinityCookieTtlSec; } + /** The list of backends that serve this BackendService. */ public List getBackendsList() { return backends; } + /** Cloud CDN configuration for this BackendService. */ public BackendServiceCdnPolicy getCdnPolicy() { return cdnPolicy; } @@ -220,22 +233,47 @@ public ConnectionDraining getConnectionDraining() { return connectionDraining; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * If true, enable Cloud CDN for this BackendService. + * + *

When the load balancing scheme is INTERNAL, this field is not used. + */ public Boolean getEnableCDN() { return enableCDN; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is used + * in optimistic locking. This field will be ignored when inserting a BackendService. An + * up-to-date fingerprint must be provided in order to update the BackendService, otherwise the + * request will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a BackendService. + */ public String getFingerprint() { return fingerprint; } + /** + * The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for health checking this + * BackendService. Currently at most one health check can be specified, and a health check is + * required for Compute Engine backend services. A health check must not be specified for App + * Engine backend and Cloud Function backend. + * + *

For internal load balancing, a URL to a HealthCheck resource must be specified instead. + */ public List getHealthChecksList() { return healthChecks; } @@ -244,50 +282,108 @@ public BackendServiceIAP getIap() { return iap; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of resource. Always compute#backendService for backend services. */ public String getKind() { return kind; } + /** + * Indicates whether the backend service will be used with internal or external load balancing. A + * backend service created for one type of load balancing cannot be used with the other. Possible + * values are INTERNAL and EXTERNAL. + */ public String getLoadBalancingScheme() { return loadBalancingScheme; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Deprecated in favor of portName. The TCP port to connect on the backend. The default value is + * 80. + * + *

This cannot be used for internal load balancing. + */ public Integer getPort() { return port; } + /** + * Name of backend port. The same name should appear in the instance groups referenced by this + * service. Required when the load balancing scheme is EXTERNAL. + * + *

When the load balancing scheme is INTERNAL, this field is not used. + */ public String getPortName() { return portName; } + /** + * The protocol this BackendService uses to communicate with backends. + * + *

Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP. + * + *

For internal load balancing, the possible values are TCP and UDP, and the default is TCP. + */ public String getProtocol() { return protocol; } + /** + * [Output Only] URL of the region where the regional backend service resides. This field is not + * applicable to global backend services. You must specify this field as part of the HTTP request + * URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] The resource URL for the security policy associated with this backend service. + */ public String getSecurityPolicy() { return securityPolicy; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * Type of session affinity to use. The default is NONE. + * + *

When the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP, or GENERATED_COOKIE. + * + *

When the load balancing scheme is INTERNAL, can be NONE, CLIENT_IP, CLIENT_IP_PROTO, or + * CLIENT_IP_PORT_PROTO. + * + *

When the protocol is UDP, this field is not used. + */ public String getSessionAffinity() { return sessionAffinity; } + /** + * How many seconds to wait for the backend before considering it a failed request. Default is 30 + * seconds. + */ public Integer getTimeoutSec() { return timeoutSec; } @@ -436,19 +532,35 @@ public Builder mergeFrom(BackendService other) { this.timeoutSec = source.timeoutSec; } + /** + * Lifetime of cookies in seconds if session_affinity is GENERATED_COOKIE. If set to 0, the + * cookie is non-persistent and lasts only until the end of the browser session (or equivalent). + * The maximum allowed value for TTL is one day. + * + *

When the load balancing scheme is INTERNAL, this field is not used. + */ public Integer getAffinityCookieTtlSec() { return affinityCookieTtlSec; } + /** + * Lifetime of cookies in seconds if session_affinity is GENERATED_COOKIE. If set to 0, the + * cookie is non-persistent and lasts only until the end of the browser session (or equivalent). + * The maximum allowed value for TTL is one day. + * + *

When the load balancing scheme is INTERNAL, this field is not used. + */ public Builder setAffinityCookieTtlSec(Integer affinityCookieTtlSec) { this.affinityCookieTtlSec = affinityCookieTtlSec; return this; } + /** The list of backends that serve this BackendService. */ public List getBackendsList() { return backends; } + /** The list of backends that serve this BackendService. */ public Builder addAllBackends(List backends) { if (this.backends == null) { this.backends = new LinkedList<>(); @@ -457,6 +569,7 @@ public Builder addAllBackends(List backends) { return this; } + /** The list of backends that serve this BackendService. */ public Builder addBackends(Backend backends) { if (this.backends == null) { this.backends = new LinkedList<>(); @@ -465,10 +578,12 @@ public Builder addBackends(Backend backends) { return this; } + /** Cloud CDN configuration for this BackendService. */ public BackendServiceCdnPolicy getCdnPolicy() { return cdnPolicy; } + /** Cloud CDN configuration for this BackendService. */ public Builder setCdnPolicy(BackendServiceCdnPolicy cdnPolicy) { this.cdnPolicy = cdnPolicy; return this; @@ -483,46 +598,96 @@ public Builder setConnectionDraining(ConnectionDraining connectionDraining) { return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * If true, enable Cloud CDN for this BackendService. + * + *

When the load balancing scheme is INTERNAL, this field is not used. + */ public Boolean getEnableCDN() { return enableCDN; } + /** + * If true, enable Cloud CDN for this BackendService. + * + *

When the load balancing scheme is INTERNAL, this field is not used. + */ public Builder setEnableCDN(Boolean enableCDN) { this.enableCDN = enableCDN; return this; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is + * used in optimistic locking. This field will be ignored when inserting a BackendService. An + * up-to-date fingerprint must be provided in order to update the BackendService, otherwise the + * request will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a BackendService. + */ public String getFingerprint() { return fingerprint; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is + * used in optimistic locking. This field will be ignored when inserting a BackendService. An + * up-to-date fingerprint must be provided in order to update the BackendService, otherwise the + * request will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a BackendService. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** + * The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for health checking this + * BackendService. Currently at most one health check can be specified, and a health check is + * required for Compute Engine backend services. A health check must not be specified for App + * Engine backend and Cloud Function backend. + * + *

For internal load balancing, a URL to a HealthCheck resource must be specified instead. + */ public List getHealthChecksList() { return healthChecks; } + /** + * The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for health checking this + * BackendService. Currently at most one health check can be specified, and a health check is + * required for Compute Engine backend services. A health check must not be specified for App + * Engine backend and Cloud Function backend. + * + *

For internal load balancing, a URL to a HealthCheck resource must be specified instead. + */ public Builder addAllHealthChecks(List healthChecks) { if (this.healthChecks == null) { this.healthChecks = new LinkedList<>(); @@ -531,6 +696,14 @@ public Builder addAllHealthChecks(List healthChecks) { return this; } + /** + * The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for health checking this + * BackendService. Currently at most one health check can be specified, and a health check is + * required for Compute Engine backend services. A health check must not be specified for App + * Engine backend and Cloud Function backend. + * + *

For internal load balancing, a URL to a HealthCheck resource must be specified instead. + */ public Builder addHealthChecks(String healthChecks) { if (this.healthChecks == null) { this.healthChecks = new LinkedList<>(); @@ -548,109 +721,227 @@ public Builder setIap(BackendServiceIAP iap) { return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of resource. Always compute#backendService for backend services. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#backendService for backend services. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Indicates whether the backend service will be used with internal or external load balancing. + * A backend service created for one type of load balancing cannot be used with the other. + * Possible values are INTERNAL and EXTERNAL. + */ public String getLoadBalancingScheme() { return loadBalancingScheme; } + /** + * Indicates whether the backend service will be used with internal or external load balancing. + * A backend service created for one type of load balancing cannot be used with the other. + * Possible values are INTERNAL and EXTERNAL. + */ public Builder setLoadBalancingScheme(String loadBalancingScheme) { this.loadBalancingScheme = loadBalancingScheme; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * Deprecated in favor of portName. The TCP port to connect on the backend. The default value is + * 80. + * + *

This cannot be used for internal load balancing. + */ public Integer getPort() { return port; } + /** + * Deprecated in favor of portName. The TCP port to connect on the backend. The default value is + * 80. + * + *

This cannot be used for internal load balancing. + */ public Builder setPort(Integer port) { this.port = port; return this; } + /** + * Name of backend port. The same name should appear in the instance groups referenced by this + * service. Required when the load balancing scheme is EXTERNAL. + * + *

When the load balancing scheme is INTERNAL, this field is not used. + */ public String getPortName() { return portName; } + /** + * Name of backend port. The same name should appear in the instance groups referenced by this + * service. Required when the load balancing scheme is EXTERNAL. + * + *

When the load balancing scheme is INTERNAL, this field is not used. + */ public Builder setPortName(String portName) { this.portName = portName; return this; } + /** + * The protocol this BackendService uses to communicate with backends. + * + *

Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP. + * + *

For internal load balancing, the possible values are TCP and UDP, and the default is TCP. + */ public String getProtocol() { return protocol; } + /** + * The protocol this BackendService uses to communicate with backends. + * + *

Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP. + * + *

For internal load balancing, the possible values are TCP and UDP, and the default is TCP. + */ public Builder setProtocol(String protocol) { this.protocol = protocol; return this; } + /** + * [Output Only] URL of the region where the regional backend service resides. This field is not + * applicable to global backend services. You must specify this field as part of the HTTP + * request URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] URL of the region where the regional backend service resides. This field is not + * applicable to global backend services. You must specify this field as part of the HTTP + * request URL. It is not settable as a field in the request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * [Output Only] The resource URL for the security policy associated with this backend service. + */ public String getSecurityPolicy() { return securityPolicy; } + /** + * [Output Only] The resource URL for the security policy associated with this backend service. + */ public Builder setSecurityPolicy(String securityPolicy) { this.securityPolicy = securityPolicy; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * Type of session affinity to use. The default is NONE. + * + *

When the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP, or GENERATED_COOKIE. + * + *

When the load balancing scheme is INTERNAL, can be NONE, CLIENT_IP, CLIENT_IP_PROTO, or + * CLIENT_IP_PORT_PROTO. + * + *

When the protocol is UDP, this field is not used. + */ public String getSessionAffinity() { return sessionAffinity; } + /** + * Type of session affinity to use. The default is NONE. + * + *

When the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP, or GENERATED_COOKIE. + * + *

When the load balancing scheme is INTERNAL, can be NONE, CLIENT_IP, CLIENT_IP_PROTO, or + * CLIENT_IP_PORT_PROTO. + * + *

When the protocol is UDP, this field is not used. + */ public Builder setSessionAffinity(String sessionAffinity) { this.sessionAffinity = sessionAffinity; return this; } + /** + * How many seconds to wait for the backend before considering it a failed request. Default is + * 30 seconds. + */ public Integer getTimeoutSec() { return timeoutSec; } + /** + * How many seconds to wait for the backend before considering it a failed request. Default is + * 30 seconds. + */ public Builder setTimeoutSec(Integer timeoutSec) { this.timeoutSec = timeoutSec; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceAggregatedList.java index e7764a76e9f2..c20449a22382 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceAggregatedList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of BackendServicesScopedList. */ public final class BackendServiceAggregatedList implements ApiMessage { private final String id; private final Map items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of BackendServicesScopedList resources. The key for the map is: Name of the scope + * containing this set of BackendServices. + */ public Map getItemsMap() { return items; } + /** Type of 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +195,83 @@ public Builder mergeFrom(BackendServiceAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of BackendServicesScopedList resources. The key for the map is: Name of the scope + * containing this set of BackendServices. + */ public Map getItemsMap() { return items; } + /** + * A list of BackendServicesScopedList resources. The key for the map is: Name of the scope + * containing this set of BackendServices. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceCdnPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceCdnPolicy.java index d5449a347a23..67119ddb1cfc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceCdnPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceCdnPolicy.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Message containing Cloud CDN configuration for a backend service. */ public final class BackendServiceCdnPolicy implements ApiMessage { private final CacheKeyPolicy cacheKeyPolicy; private final String signedUrlCacheMaxAgeSec; @@ -71,14 +72,24 @@ public List getFieldMask() { return null; } + /** The CacheKeyPolicy for this CdnPolicy. */ public CacheKeyPolicy getCacheKeyPolicy() { return cacheKeyPolicy; } + /** + * Maximum number of seconds the response to a signed URL request will be considered fresh. After + * this time period, the response will be revalidated before being served. Defaults to 1hr + * (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as + * though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, + * regardless of any existing Cache-Control header. The actual headers served in responses will + * not be altered. + */ public String getSignedUrlCacheMaxAgeSec() { return signedUrlCacheMaxAgeSec; } + /** [Output Only] Names of the keys for signing request URLs. */ public List getSignedUrlKeyNamesList() { return signedUrlKeyNames; } @@ -132,28 +143,48 @@ public Builder mergeFrom(BackendServiceCdnPolicy other) { this.signedUrlKeyNames = source.signedUrlKeyNames; } + /** The CacheKeyPolicy for this CdnPolicy. */ public CacheKeyPolicy getCacheKeyPolicy() { return cacheKeyPolicy; } + /** The CacheKeyPolicy for this CdnPolicy. */ public Builder setCacheKeyPolicy(CacheKeyPolicy cacheKeyPolicy) { this.cacheKeyPolicy = cacheKeyPolicy; return this; } + /** + * Maximum number of seconds the response to a signed URL request will be considered fresh. + * After this time period, the response will be revalidated before being served. Defaults to 1hr + * (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as + * though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, + * regardless of any existing Cache-Control header. The actual headers served in responses will + * not be altered. + */ public String getSignedUrlCacheMaxAgeSec() { return signedUrlCacheMaxAgeSec; } + /** + * Maximum number of seconds the response to a signed URL request will be considered fresh. + * After this time period, the response will be revalidated before being served. Defaults to 1hr + * (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as + * though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, + * regardless of any existing Cache-Control header. The actual headers served in responses will + * not be altered. + */ public Builder setSignedUrlCacheMaxAgeSec(String signedUrlCacheMaxAgeSec) { this.signedUrlCacheMaxAgeSec = signedUrlCacheMaxAgeSec; return this; } + /** [Output Only] Names of the keys for signing request URLs. */ public List getSignedUrlKeyNamesList() { return signedUrlKeyNames; } + /** [Output Only] Names of the keys for signing request URLs. */ public Builder addAllSignedUrlKeyNames(List signedUrlKeyNames) { if (this.signedUrlKeyNames == null) { this.signedUrlKeyNames = new LinkedList<>(); @@ -162,6 +193,7 @@ public Builder addAllSignedUrlKeyNames(List signedUrlKeyNames) { return this; } + /** [Output Only] Names of the keys for signing request URLs. */ public Builder addSignedUrlKeyNames(String signedUrlKeyNames) { if (this.signedUrlKeyNames == null) { this.signedUrlKeyNames = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceGroupHealth.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceGroupHealth.java index e85003e7a8b1..49129f464bbd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceGroupHealth.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceGroupHealth.java @@ -62,10 +62,18 @@ public List getFieldMask() { return null; } + /** + * Health state of the backend instances or endpoints in requested instance or network endpoint + * group, determined based on configured health checks. + */ public List getHealthStatusList() { return healthStatus; } + /** + * [Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of + * backend services. + */ public String getKind() { return kind; } @@ -114,10 +122,18 @@ public Builder mergeFrom(BackendServiceGroupHealth other) { this.kind = source.kind; } + /** + * Health state of the backend instances or endpoints in requested instance or network endpoint + * group, determined based on configured health checks. + */ public List getHealthStatusList() { return healthStatus; } + /** + * Health state of the backend instances or endpoints in requested instance or network endpoint + * group, determined based on configured health checks. + */ public Builder addAllHealthStatus(List healthStatus) { if (this.healthStatus == null) { this.healthStatus = new LinkedList<>(); @@ -126,6 +142,10 @@ public Builder addAllHealthStatus(List healthStatus) { return this; } + /** + * Health state of the backend instances or endpoints in requested instance or network endpoint + * group, determined based on configured health checks. + */ public Builder addHealthStatus(HealthStatus healthStatus) { if (this.healthStatus == null) { this.healthStatus = new LinkedList<>(); @@ -134,10 +154,18 @@ public Builder addHealthStatus(HealthStatus healthStatus) { return this; } + /** + * [Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of + * backend services. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of + * backend services. + */ public Builder setKind(String kind) { this.kind = kind; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceIAP.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceIAP.java index 4067846d064a..5ec8831753b0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceIAP.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceIAP.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Identity-Aware Proxy */ public final class BackendServiceIAP implements ApiMessage { private final Boolean enabled; private final String oauth2ClientId; @@ -89,6 +90,7 @@ public String getOauth2ClientSecret() { return oauth2ClientSecret; } + /** [Output Only] SHA256 hash value for the field oauth2_client_secret above. */ public String getOauth2ClientSecretSha256() { return oauth2ClientSecretSha256; } @@ -174,10 +176,12 @@ public Builder setOauth2ClientSecret(String oauth2ClientSecret) { return this; } + /** [Output Only] SHA256 hash value for the field oauth2_client_secret above. */ public String getOauth2ClientSecretSha256() { return oauth2ClientSecretSha256; } + /** [Output Only] SHA256 hash value for the field oauth2_client_secret above. */ public Builder setOauth2ClientSecretSha256(String oauth2ClientSecretSha256) { this.oauth2ClientSecretSha256 = oauth2ClientSecretSha256; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceList.java index be693b883e93..8c36eb2010ac 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of BackendService resources. */ public final class BackendServiceList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of BackendService resources. */ public List getItemsList() { return items; } + /** + * [Output Only] Type of resource. Always compute#backendServiceList for lists of backend + * services. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +195,23 @@ public Builder mergeFrom(BackendServiceList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of BackendService resources. */ public List getItemsList() { return items; } + /** A list of BackendService resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +220,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of BackendService resources. */ public Builder addItems(BackendService items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +229,61 @@ public Builder addItems(BackendService items) { return this; } + /** + * [Output Only] Type of resource. Always compute#backendServiceList for lists of backend + * services. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#backendServiceList for lists of backend + * services. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServicesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServicesScopedList.java index 2535d1c073f4..6b4b4e59a4cb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServicesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServicesScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** A list of BackendServices contained in this scope. */ public List getBackendServicesList() { return backendServices; } + /** Informational warning which replaces the list of backend services when the list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(BackendServicesScopedList other) { this.warning = source.warning; } + /** A list of BackendServices contained in this scope. */ public List getBackendServicesList() { return backendServices; } + /** A list of BackendServices contained in this scope. */ public Builder addAllBackendServices(List backendServices) { if (this.backendServices == null) { this.backendServices = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllBackendServices(List backendServices) { return this; } + /** A list of BackendServices contained in this scope. */ public Builder addBackendServices(BackendService backendServices) { if (this.backendServices == null) { this.backendServices = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addBackendServices(BackendService backendServices) { return this; } + /** Informational warning which replaces the list of backend services when the list is empty. */ public Warning getWarning() { return warning; } + /** Informational warning which replaces the list of backend services when the list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Binding.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Binding.java index 885daa78dce8..9a04bca69a59 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Binding.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Binding.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Associates `members` with a `role`. */ public final class Binding implements ApiMessage { private final Expr condition; private final List members; @@ -68,14 +69,45 @@ public List getFieldMask() { return null; } + /** + * Unimplemented. The condition that is associated with this binding. NOTE: an unsatisfied + * condition will not allow user access via current binding. Different bindings, including their + * conditions, are examined independently. + */ public Expr getCondition() { return condition; } + /** + * Specifies the identities requesting access for a Cloud Platform resource. `members` can have + * the following values: + * + *

* `allUsers`: A special identifier that represents anyone who is on the internet; with + * or without a Google account. + * + *

* `allAuthenticatedUsers`: A special identifier that represents anyone who is + * authenticated with a Google account or a service account. + * + *

* `user:{emailid}`: An email address that represents a specific Google account. For + * example, `alice{@literal @}gmail.com` . + * + *

* `serviceAccount:{emailid}`: An email address that represents a service account. For + * example, `my-other-app{@literal @}appspot.gserviceaccount.com`. + * + *

* `group:{emailid}`: An email address that represents a Google group. For example, + * `admins{@literal @}example.com`. + * + *

* `domain:{domain}`: A Google Apps domain name that represents all the users of that + * domain. For example, `google.com` or `example.com`. + */ public List getMembersList() { return members; } + /** + * Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or + * `roles/owner`. + */ public String getRole() { return role; } @@ -129,19 +161,73 @@ public Builder mergeFrom(Binding other) { this.role = source.role; } + /** + * Unimplemented. The condition that is associated with this binding. NOTE: an unsatisfied + * condition will not allow user access via current binding. Different bindings, including their + * conditions, are examined independently. + */ public Expr getCondition() { return condition; } + /** + * Unimplemented. The condition that is associated with this binding. NOTE: an unsatisfied + * condition will not allow user access via current binding. Different bindings, including their + * conditions, are examined independently. + */ public Builder setCondition(Expr condition) { this.condition = condition; return this; } + /** + * Specifies the identities requesting access for a Cloud Platform resource. `members` can have + * the following values: + * + *

* `allUsers`: A special identifier that represents anyone who is on the internet; with + * or without a Google account. + * + *

* `allAuthenticatedUsers`: A special identifier that represents anyone who is + * authenticated with a Google account or a service account. + * + *

* `user:{emailid}`: An email address that represents a specific Google account. For + * example, `alice{@literal @}gmail.com` . + * + *

* `serviceAccount:{emailid}`: An email address that represents a service account. For + * example, `my-other-app{@literal @}appspot.gserviceaccount.com`. + * + *

* `group:{emailid}`: An email address that represents a Google group. For example, + * `admins{@literal @}example.com`. + * + *

* `domain:{domain}`: A Google Apps domain name that represents all the users of that + * domain. For example, `google.com` or `example.com`. + */ public List getMembersList() { return members; } + /** + * Specifies the identities requesting access for a Cloud Platform resource. `members` can have + * the following values: + * + *

* `allUsers`: A special identifier that represents anyone who is on the internet; with + * or without a Google account. + * + *

* `allAuthenticatedUsers`: A special identifier that represents anyone who is + * authenticated with a Google account or a service account. + * + *

* `user:{emailid}`: An email address that represents a specific Google account. For + * example, `alice{@literal @}gmail.com` . + * + *

* `serviceAccount:{emailid}`: An email address that represents a service account. For + * example, `my-other-app{@literal @}appspot.gserviceaccount.com`. + * + *

* `group:{emailid}`: An email address that represents a Google group. For example, + * `admins{@literal @}example.com`. + * + *

* `domain:{domain}`: A Google Apps domain name that represents all the users of that + * domain. For example, `google.com` or `example.com`. + */ public Builder addAllMembers(List members) { if (this.members == null) { this.members = new LinkedList<>(); @@ -150,6 +236,28 @@ public Builder addAllMembers(List members) { return this; } + /** + * Specifies the identities requesting access for a Cloud Platform resource. `members` can have + * the following values: + * + *

* `allUsers`: A special identifier that represents anyone who is on the internet; with + * or without a Google account. + * + *

* `allAuthenticatedUsers`: A special identifier that represents anyone who is + * authenticated with a Google account or a service account. + * + *

* `user:{emailid}`: An email address that represents a specific Google account. For + * example, `alice{@literal @}gmail.com` . + * + *

* `serviceAccount:{emailid}`: An email address that represents a service account. For + * example, `my-other-app{@literal @}appspot.gserviceaccount.com`. + * + *

* `group:{emailid}`: An email address that represents a Google group. For example, + * `admins{@literal @}example.com`. + * + *

* `domain:{domain}`: A Google Apps domain name that represents all the users of that + * domain. For example, `google.com` or `example.com`. + */ public Builder addMembers(String members) { if (this.members == null) { this.members = new LinkedList<>(); @@ -158,10 +266,18 @@ public Builder addMembers(String members) { return this; } + /** + * Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or + * `roles/owner`. + */ public String getRole() { return role; } + /** + * Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or + * `roles/owner`. + */ public Builder setRole(String role) { this.role = role; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheInvalidationRule.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheInvalidationRule.java index 9e80f89fcd23..b268dee76312 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheInvalidationRule.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheInvalidationRule.java @@ -61,6 +61,9 @@ public List getFieldMask() { return null; } + /** + * If set, this invalidation rule will only apply to requests with a Host header matching host. + */ public String getHost() { return host; } @@ -113,10 +116,16 @@ public Builder mergeFrom(CacheInvalidationRule other) { this.path = source.path; } + /** + * If set, this invalidation rule will only apply to requests with a Host header matching host. + */ public String getHost() { return host; } + /** + * If set, this invalidation rule will only apply to requests with a Host header matching host. + */ public Builder setHost(String host) { this.host = host; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheKeyPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheKeyPolicy.java index 17424ef883ec..3e292bb4174c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheKeyPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CacheKeyPolicy.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Message containing what to include in the cache key for a request for Cloud CDN. */ public final class CacheKeyPolicy implements ApiMessage { private final Boolean includeHost; private final Boolean includeProtocol; @@ -85,22 +86,39 @@ public List getFieldMask() { return null; } + /** If true, requests to different hosts will be cached separately. */ public Boolean getIncludeHost() { return includeHost; } + /** If true, http and https requests will be cached separately. */ public Boolean getIncludeProtocol() { return includeProtocol; } + /** + * If true, include query string parameters in the cache key according to query_string_whitelist + * and query_string_blacklist. If neither is set, the entire query string will be included. If + * false, the query string will be excluded from the cache key entirely. + */ public Boolean getIncludeQueryString() { return includeQueryString; } + /** + * Names of query string parameters to exclude in cache keys. All other parameters will be + * included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' + * and '=' will be percent encoded and not treated as delimiters. + */ public List getQueryStringBlacklistList() { return queryStringBlacklist; } + /** + * Names of query string parameters to include in cache keys. All other parameters will be + * excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' + * and '=' will be percent encoded and not treated as delimiters. + */ public List getQueryStringWhitelistList() { return queryStringWhitelist; } @@ -164,37 +182,61 @@ public Builder mergeFrom(CacheKeyPolicy other) { this.queryStringWhitelist = source.queryStringWhitelist; } + /** If true, requests to different hosts will be cached separately. */ public Boolean getIncludeHost() { return includeHost; } + /** If true, requests to different hosts will be cached separately. */ public Builder setIncludeHost(Boolean includeHost) { this.includeHost = includeHost; return this; } + /** If true, http and https requests will be cached separately. */ public Boolean getIncludeProtocol() { return includeProtocol; } + /** If true, http and https requests will be cached separately. */ public Builder setIncludeProtocol(Boolean includeProtocol) { this.includeProtocol = includeProtocol; return this; } + /** + * If true, include query string parameters in the cache key according to query_string_whitelist + * and query_string_blacklist. If neither is set, the entire query string will be included. If + * false, the query string will be excluded from the cache key entirely. + */ public Boolean getIncludeQueryString() { return includeQueryString; } + /** + * If true, include query string parameters in the cache key according to query_string_whitelist + * and query_string_blacklist. If neither is set, the entire query string will be included. If + * false, the query string will be excluded from the cache key entirely. + */ public Builder setIncludeQueryString(Boolean includeQueryString) { this.includeQueryString = includeQueryString; return this; } + /** + * Names of query string parameters to exclude in cache keys. All other parameters will be + * included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' + * and '=' will be percent encoded and not treated as delimiters. + */ public List getQueryStringBlacklistList() { return queryStringBlacklist; } + /** + * Names of query string parameters to exclude in cache keys. All other parameters will be + * included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' + * and '=' will be percent encoded and not treated as delimiters. + */ public Builder addAllQueryStringBlacklist(List queryStringBlacklist) { if (this.queryStringBlacklist == null) { this.queryStringBlacklist = new LinkedList<>(); @@ -203,6 +245,11 @@ public Builder addAllQueryStringBlacklist(List queryStringBlacklist) { return this; } + /** + * Names of query string parameters to exclude in cache keys. All other parameters will be + * included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' + * and '=' will be percent encoded and not treated as delimiters. + */ public Builder addQueryStringBlacklist(String queryStringBlacklist) { if (this.queryStringBlacklist == null) { this.queryStringBlacklist = new LinkedList<>(); @@ -211,10 +258,20 @@ public Builder addQueryStringBlacklist(String queryStringBlacklist) { return this; } + /** + * Names of query string parameters to include in cache keys. All other parameters will be + * excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' + * and '=' will be percent encoded and not treated as delimiters. + */ public List getQueryStringWhitelistList() { return queryStringWhitelist; } + /** + * Names of query string parameters to include in cache keys. All other parameters will be + * excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' + * and '=' will be percent encoded and not treated as delimiters. + */ public Builder addAllQueryStringWhitelist(List queryStringWhitelist) { if (this.queryStringWhitelist == null) { this.queryStringWhitelist = new LinkedList<>(); @@ -223,6 +280,11 @@ public Builder addAllQueryStringWhitelist(List queryStringWhitelist) { return this; } + /** + * Names of query string parameters to include in cache keys. All other parameters will be + * excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' + * and '=' will be percent encoded and not treated as delimiters. + */ public Builder addQueryStringWhitelist(String queryStringWhitelist) { if (this.queryStringWhitelist == null) { this.queryStringWhitelist = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Commitment.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Commitment.java index 41e7b80b43b2..45485b7fe9f1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Commitment.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Commitment.java @@ -25,6 +25,17 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents a Commitment resource. Creating a Commitment resource means that you are purchasing a + * committed use contract with an explicit start and end time. You can create commitments based on + * vCPUs and memory usage and receive discounted rates. For full details, read Signing Up for + * Committed Use Discounts. + * + *

Committed use discounts are subject to Google Cloud Platform's Service Specific Terms. By + * purchasing a committed use discount, you agree to these terms. Committed use discounts will not + * renew, so you must purchase a new commitment to continue receiving discounts. (== resource_for + * beta.commitments ==) (== resource_for v1.commitments ==) + */ public final class Commitment implements ApiMessage { private final String creationTimestamp; private final String description; @@ -141,54 +152,86 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** [Output Only] Commitment end time in RFC3339 text format. */ public String getEndTimestamp() { return endTimestamp; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#commitment for commitments. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * The plan for this commitment, which determines duration and discount rate. The currently + * supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years). + */ public String getPlan() { return plan; } + /** [Output Only] URL of the region where this commitment may be used. */ public String getRegion() { return region; } + /** + * A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource + * commitments must occur together. + */ public List getResourcesList() { return resources; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Commitment start time in RFC3339 text format. */ public String getStartTimestamp() { return startTimestamp; } + /** + * [Output Only] Status of the commitment with regards to eventual expiration (each commitment has + * an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. + */ public String getStatus() { return status; } + /** [Output Only] An optional, human-readable explanation of the status. */ public String getStatusMessage() { return statusMessage; } @@ -292,82 +335,134 @@ public Builder mergeFrom(Commitment other) { this.statusMessage = source.statusMessage; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** [Output Only] Commitment end time in RFC3339 text format. */ public String getEndTimestamp() { return endTimestamp; } + /** [Output Only] Commitment end time in RFC3339 text format. */ public Builder setEndTimestamp(String endTimestamp) { this.endTimestamp = endTimestamp; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#commitment for commitments. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#commitment for commitments. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * The plan for this commitment, which determines duration and discount rate. The currently + * supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years). + */ public String getPlan() { return plan; } + /** + * The plan for this commitment, which determines duration and discount rate. The currently + * supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years). + */ public Builder setPlan(String plan) { this.plan = plan; return this; } + /** [Output Only] URL of the region where this commitment may be used. */ public String getRegion() { return region; } + /** [Output Only] URL of the region where this commitment may be used. */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource + * commitments must occur together. + */ public List getResourcesList() { return resources; } + /** + * A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource + * commitments must occur together. + */ public Builder addAllResources(List resources) { if (this.resources == null) { this.resources = new LinkedList<>(); @@ -376,6 +471,10 @@ public Builder addAllResources(List resources) { return this; } + /** + * A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource + * commitments must occur together. + */ public Builder addResources(ResourceCommitment resources) { if (this.resources == null) { this.resources = new LinkedList<>(); @@ -384,37 +483,51 @@ public Builder addResources(ResourceCommitment resources) { return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Commitment start time in RFC3339 text format. */ public String getStartTimestamp() { return startTimestamp; } + /** [Output Only] Commitment start time in RFC3339 text format. */ public Builder setStartTimestamp(String startTimestamp) { this.startTimestamp = startTimestamp; return this; } + /** + * [Output Only] Status of the commitment with regards to eventual expiration (each commitment + * has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. + */ public String getStatus() { return status; } + /** + * [Output Only] Status of the commitment with regards to eventual expiration (each commitment + * has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. + */ public Builder setStatus(String status) { this.status = status; return this; } + /** [Output Only] An optional, human-readable explanation of the status. */ public String getStatusMessage() { return statusMessage; } + /** [Output Only] An optional, human-readable explanation of the status. */ public Builder setStatusMessage(String statusMessage) { this.statusMessage = statusMessage; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentAggregatedList.java index 097e0a1d5af0..c9a7328ff794 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of CommitmentsScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of commitments. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#commitmentAggregatedList for aggregated lists of + * commitments. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(CommitmentAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of CommitmentsScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of commitments. + */ public Map getItemsMap() { return items; } + /** + * A list of CommitmentsScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of commitments. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#commitmentAggregatedList for aggregated lists + * of commitments. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#commitmentAggregatedList for aggregated lists + * of commitments. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentList.java index 8a9c4e06db68..bfebe4a1d44c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of Commitment resources. */ public final class CommitmentList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Commitment resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#commitmentList for lists of commitments. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(CommitmentList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Commitment resources. */ public List getItemsList() { return items; } + /** A list of Commitment resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Commitment resources. */ public Builder addItems(Commitment items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Commitment items) { return this; } + /** [Output Only] Type of resource. Always compute#commitmentList for lists of commitments. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#commitmentList for lists of commitments. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentsScopedList.java index ad11f6d7c8ff..29d54ab64058 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CommitmentsScopedList.java @@ -62,10 +62,15 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of commitments contained in this scope. */ public List getCommitmentsList() { return commitments; } + /** + * [Output Only] Informational warning which replaces the list of commitments when the list is + * empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +119,12 @@ public Builder mergeFrom(CommitmentsScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of commitments contained in this scope. */ public List getCommitmentsList() { return commitments; } + /** [Output Only] A list of commitments contained in this scope. */ public Builder addAllCommitments(List commitments) { if (this.commitments == null) { this.commitments = new LinkedList<>(); @@ -126,6 +133,7 @@ public Builder addAllCommitments(List commitments) { return this; } + /** [Output Only] A list of commitments contained in this scope. */ public Builder addCommitments(Commitment commitments) { if (this.commitments == null) { this.commitments = new LinkedList<>(); @@ -134,10 +142,18 @@ public Builder addCommitments(Commitment commitments) { return this; } + /** + * [Output Only] Informational warning which replaces the list of commitments when the list is + * empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] Informational warning which replaces the list of commitments when the list is + * empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Condition.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Condition.java index d32c201f5c6d..56b70e74d8bb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Condition.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Condition.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A condition to be met. */ public final class Condition implements ApiMessage { private final String iam; private final String op; @@ -87,26 +88,35 @@ public List getFieldMask() { return null; } + /** Trusted attributes supplied by the IAM system. */ public String getIam() { return iam; } + /** An operator to apply the subject with. */ public String getOp() { return op; } + /** Trusted attributes discharged by the service. */ public String getSvc() { return svc; } + /** + * Trusted attributes supplied by any service that owns resources and uses the IAM system for + * access control. + */ public String getSys() { return sys; } + /** DEPRECATED. Use 'values' instead. */ public String getValue() { return value; } + /** The objects of the condition. This is mutually exclusive with 'value'. */ public List getValuesList() { return values; } @@ -175,55 +185,73 @@ public Builder mergeFrom(Condition other) { this.values = source.values; } + /** Trusted attributes supplied by the IAM system. */ public String getIam() { return iam; } + /** Trusted attributes supplied by the IAM system. */ public Builder setIam(String iam) { this.iam = iam; return this; } + /** An operator to apply the subject with. */ public String getOp() { return op; } + /** An operator to apply the subject with. */ public Builder setOp(String op) { this.op = op; return this; } + /** Trusted attributes discharged by the service. */ public String getSvc() { return svc; } + /** Trusted attributes discharged by the service. */ public Builder setSvc(String svc) { this.svc = svc; return this; } + /** + * Trusted attributes supplied by any service that owns resources and uses the IAM system for + * access control. + */ public String getSys() { return sys; } + /** + * Trusted attributes supplied by any service that owns resources and uses the IAM system for + * access control. + */ public Builder setSys(String sys) { this.sys = sys; return this; } + /** DEPRECATED. Use 'values' instead. */ public String getValue() { return value; } + /** DEPRECATED. Use 'values' instead. */ public Builder setValue(String value) { this.value = value; return this; } + /** The objects of the condition. This is mutually exclusive with 'value'. */ public List getValuesList() { return values; } + /** The objects of the condition. This is mutually exclusive with 'value'. */ public Builder addAllValues(List values) { if (this.values == null) { this.values = new LinkedList<>(); @@ -232,6 +260,7 @@ public Builder addAllValues(List values) { return this; } + /** The objects of the condition. This is mutually exclusive with 'value'. */ public Builder addValues(String values) { if (this.values == null) { this.values = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ConnectionDraining.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ConnectionDraining.java index 5249d50816a5..d2b79f0f5a9d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ConnectionDraining.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ConnectionDraining.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Message containing connection draining configuration. */ public final class ConnectionDraining implements ApiMessage { private final Integer drainingTimeoutSec; @@ -55,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * Time for which instance will be drained (not accept new connections, but still work to finish + * started). + */ public Integer getDrainingTimeoutSec() { return drainingTimeoutSec; } @@ -98,10 +103,18 @@ public Builder mergeFrom(ConnectionDraining other) { this.drainingTimeoutSec = source.drainingTimeoutSec; } + /** + * Time for which instance will be drained (not accept new connections, but still work to finish + * started). + */ public Integer getDrainingTimeoutSec() { return drainingTimeoutSec; } + /** + * Time for which instance will be drained (not accept new connections, but still work to finish + * started). + */ public Builder setDrainingTimeoutSec(Integer drainingTimeoutSec) { this.drainingTimeoutSec = drainingTimeoutSec; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskHttpRequest.java index 82206440d3dc..493a7aad0207 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskHttpRequest.java @@ -130,18 +130,28 @@ 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; } + /** + * Name of the persistent disk to snapshot. It must have the format + * `{project}/zones/{zone}/disks/{disk}/createSnapshot`. \`{disk}\` 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 getDisk() { return disk; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } @@ -150,26 +160,47 @@ public Boolean getGuestFlush() { return guestFlush; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (== resource_for + * v1.snapshots ==) + */ public Snapshot getSnapshotResource() { return snapshotResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -263,37 +294,59 @@ public Builder mergeFrom(CreateSnapshotDiskHttpRequest other) { 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; } + /** + * Name of the persistent disk to snapshot. It must have the format + * `{project}/zones/{zone}/disks/{disk}/createSnapshot`. \`{disk}\` 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 getDisk() { return disk; } + /** + * Name of the persistent disk to snapshot. It must have the format + * `{project}/zones/{zone}/disks/{disk}/createSnapshot`. \`{disk}\` 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 setDisk(String disk) { this.disk = disk; 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; @@ -308,55 +361,97 @@ public Builder setGuestFlush(Boolean guestFlush) { 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (== resource_for + * v1.snapshots ==) + */ public Snapshot getSnapshotResource() { return snapshotResource; } + /** + * A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (== resource_for + * v1.snapshots ==) + */ public Builder setSnapshotResource(Snapshot snapshotResource) { this.snapshotResource = snapshotResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotRegionDiskHttpRequest.java index 019d7d2e2209..47eda545f6c6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CreateSnapshotRegionDiskHttpRequest.java @@ -123,42 +123,73 @@ 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; } + /** + * Name of the regional persistent disk to snapshot. It must have the format + * `{project}/regions/{region}/disks/{disk}/createSnapshot`. \`{disk}\` 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 getDisk() { return disk; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (== resource_for + * v1.snapshots ==) + */ public Snapshot getSnapshotResource() { return snapshotResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,155 @@ public Builder mergeFrom(CreateSnapshotRegionDiskHttpRequest other) { 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; } + /** + * Name of the regional persistent disk to snapshot. It must have the format + * `{project}/regions/{region}/disks/{disk}/createSnapshot`. \`{disk}\` 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 getDisk() { return disk; } + /** + * Name of the regional persistent disk to snapshot. It must have the format + * `{project}/regions/{region}/disks/{disk}/createSnapshot`. \`{disk}\` 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 setDisk(String disk) { this.disk = disk; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (== resource_for + * v1.snapshots ==) + */ public Snapshot getSnapshotResource() { return snapshotResource; } + /** + * A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (== resource_for + * v1.snapshots ==) + */ public Builder setSnapshotResource(Snapshot snapshotResource) { this.snapshotResource = snapshotResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKey.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKey.java index 71c34c8abb61..1add4e402688 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKey.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKey.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Represents a customer-supplied encryption key */ public final class CustomerEncryptionKey implements ApiMessage { private final String kmsKeyName; private final String rawKey; @@ -67,14 +68,23 @@ public List getFieldMask() { return null; } + /** The name of the encryption key that is stored in Google Cloud KMS. */ public String getKmsKeyName() { return kmsKeyName; } + /** + * Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either + * encrypt or decrypt this resource. + */ public String getRawKey() { return rawKey; } + /** + * [Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key + * that protects this resource. + */ public String getSha256() { return sha256; } @@ -128,28 +138,46 @@ public Builder mergeFrom(CustomerEncryptionKey other) { this.sha256 = source.sha256; } + /** The name of the encryption key that is stored in Google Cloud KMS. */ public String getKmsKeyName() { return kmsKeyName; } + /** The name of the encryption key that is stored in Google Cloud KMS. */ public Builder setKmsKeyName(String kmsKeyName) { this.kmsKeyName = kmsKeyName; return this; } + /** + * Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either + * encrypt or decrypt this resource. + */ public String getRawKey() { return rawKey; } + /** + * Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either + * encrypt or decrypt this resource. + */ public Builder setRawKey(String rawKey) { this.rawKey = rawKey; return this; } + /** + * [Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption + * key that protects this resource. + */ public String getSha256() { return sha256; } + /** + * [Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption + * key that protects this resource. + */ public Builder setSha256(String sha256) { this.sha256 = sha256; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKeyProtectedDisk.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKeyProtectedDisk.java index 531c82c152cb..3974c97a3e90 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKeyProtectedDisk.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/CustomerEncryptionKeyProtectedDisk.java @@ -62,10 +62,15 @@ public List getFieldMask() { return null; } + /** Decrypts data associated with the disk with a customer-supplied encryption key. */ public CustomerEncryptionKey getDiskEncryptionKey() { return diskEncryptionKey; } + /** + * Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is + * only applicable for persistent disks. + */ public String getSource() { return source; } @@ -114,19 +119,29 @@ public Builder mergeFrom(CustomerEncryptionKeyProtectedDisk other) { this.source = source.source; } + /** Decrypts data associated with the disk with a customer-supplied encryption key. */ public CustomerEncryptionKey getDiskEncryptionKey() { return diskEncryptionKey; } + /** Decrypts data associated with the disk with a customer-supplied encryption key. */ public Builder setDiskEncryptionKey(CustomerEncryptionKey diskEncryptionKey) { this.diskEncryptionKey = diskEncryptionKey; return this; } + /** + * Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is + * only applicable for persistent disks. + */ public String getSource() { return source; } + /** + * Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is + * only applicable for persistent disks. + */ public Builder setSource(String source) { this.source = source; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Data.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Data.java index 8cc54dc55903..4bec57861dd9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Data.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Data.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": + * "scope", "value": "zones/us-east1-d" } + */ public final class Data implements ApiMessage { private final String key; private final String value; @@ -61,10 +65,19 @@ public List getFieldMask() { return null; } + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for + * warnings where there are no results in a list request for a particular zone, this key might be + * scope and the key value might be the zone name. Other examples might be a key indicating a + * deprecated resource and a suggested replacement, or a warning about invalid network settings + * (for example, if an instance attempts to perform IP forwarding but is not enabled for IP + * forwarding). + */ public String getKey() { return key; } + /** [Output Only] A warning data value corresponding to the key. */ public String getValue() { return value; } @@ -113,19 +126,37 @@ public Builder mergeFrom(Data other) { this.value = source.value; } + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for + * warnings where there are no results in a list request for a particular zone, this key might + * be scope and the key value might be the zone name. Other examples might be a key indicating a + * deprecated resource and a suggested replacement, or a warning about invalid network settings + * (for example, if an instance attempts to perform IP forwarding but is not enabled for IP + * forwarding). + */ public String getKey() { return key; } + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for + * warnings where there are no results in a list request for a particular zone, this key might + * be scope and the key value might be the zone name. Other examples might be a key indicating a + * deprecated resource and a suggested replacement, or a warning about invalid network settings + * (for example, if an instance attempts to perform IP forwarding but is not enabled for IP + * forwarding). + */ public Builder setKey(String key) { this.key = key; return this; } + /** [Output Only] A warning data value corresponding to the key. */ public String getValue() { return value; } + /** [Output Only] A warning data value corresponding to the key. */ public Builder setValue(String value) { this.value = value; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAccessConfigInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAccessConfigInstanceHttpRequest.java index a725d1e7f52c..af8547d10695 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAccessConfigInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAccessConfigInstanceHttpRequest.java @@ -130,46 +130,76 @@ public List getFieldMask() { return null; } + /** The name of the access config to delete. */ public String getAccessConfig() { return accessConfig; } + /** 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; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/deleteAccessConfig`. \`{instance}\` 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 getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** The name of the network interface. */ public String getNetworkInterface() { return networkInterface; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -263,100 +293,160 @@ public Builder mergeFrom(DeleteAccessConfigInstanceHttpRequest other) { this.userIp = source.userIp; } + /** The name of the access config to delete. */ public String getAccessConfig() { return accessConfig; } + /** The name of the access config to delete. */ public Builder setAccessConfig(String accessConfig) { this.accessConfig = accessConfig; return this; } + /** 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; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/deleteAccessConfig`. \`{instance}\` 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 getInstance() { return instance; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/deleteAccessConfig`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; 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 name of the network interface. */ public String getNetworkInterface() { return networkInterface; } + /** The name of the network interface. */ public Builder setNetworkInterface(String networkInterface) { this.networkInterface = networkInterface; 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAddressHttpRequest.java index c999fb426daf..73f2d3fe8a7d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAddressHttpRequest.java @@ -113,38 +113,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the address resource to delete. It must have the format + * `{project}/regions/{region}/addresses/{address}`. \`{address}\` 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 getAddress() { return address; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,136 @@ public Builder mergeFrom(DeleteAddressHttpRequest other) { 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 address resource to delete. It must have the format + * `{project}/regions/{region}/addresses/{address}`. \`{address}\` 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 getAddress() { return address; } + /** + * Name of the address resource to delete. It must have the format + * `{project}/regions/{region}/addresses/{address}`. \`{address}\` 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 setAddress(String address) { this.address = address; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAutoscalerHttpRequest.java index 231160aaaf7c..910120eb44f9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteAutoscalerHttpRequest.java @@ -113,38 +113,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the autoscaler to delete. It must have the format + * `{project}/zones/{zone}/autoscalers/{autoscaler}`. \`{autoscaler}\` 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 getAutoscaler() { return autoscaler; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,138 @@ public Builder mergeFrom(DeleteAutoscalerHttpRequest other) { 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 autoscaler to delete. It must have the format + * `{project}/zones/{zone}/autoscalers/{autoscaler}`. \`{autoscaler}\` 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 getAutoscaler() { return autoscaler; } + /** + * Name of the autoscaler to delete. It must have the format + * `{project}/zones/{zone}/autoscalers/{autoscaler}`. \`{autoscaler}\` 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 setAutoscaler(String autoscaler) { this.autoscaler = autoscaler; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendBucketHttpRequest.java index 03dff1339cb6..76804dc7fe95 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendBucketHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendBucket resource to delete. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` 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 getBackendBucket() { return backendBucket; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteBackendBucketHttpRequest other) { 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 BackendBucket resource to delete. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` 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 getBackendBucket() { return backendBucket; } + /** + * Name of the BackendBucket resource to delete. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` 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 setBackendBucket(String backendBucket) { this.backendBucket = backendBucket; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendServiceHttpRequest.java index 2b37d8267458..f0a84960a047 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteBackendServiceHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to delete. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` 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 getBackendService() { return backendService; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteBackendServiceHttpRequest other) { 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 BackendService resource to delete. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` 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 getBackendService() { return backendService; } + /** + * Name of the BackendService resource to delete. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` 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 setBackendService(String backendService) { this.backendService = backendService; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteDiskHttpRequest.java index 1b5087eb5d57..7c2ce9d08d84 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteDiskHttpRequest.java @@ -117,38 +117,65 @@ 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; } + /** + * Name of the persistent disk to delete. It must have the format + * `{project}/zones/{zone}/disks/{disk}`. \`{disk}\` 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 getDisk() { return disk; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -232,82 +259,136 @@ public Builder mergeFrom(DeleteDiskHttpRequest other) { 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; } + /** + * Name of the persistent disk to delete. It must have the format + * `{project}/zones/{zone}/disks/{disk}`. \`{disk}\` 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 getDisk() { return disk; } + /** + * Name of the persistent disk to delete. It must have the format + * `{project}/zones/{zone}/disks/{disk}`. \`{disk}\` 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 setDisk(String disk) { this.disk = disk; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteFirewallHttpRequest.java index b55acb6adc5f..e9ba71b2ef85 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteFirewallHttpRequest.java @@ -113,38 +113,65 @@ 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; } + /** + * Name of the firewall rule to delete. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` 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 getFirewall() { return firewall; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,136 @@ public Builder mergeFrom(DeleteFirewallHttpRequest other) { 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; } + /** + * Name of the firewall rule to delete. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` 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 getFirewall() { return firewall; } + /** + * Name of the firewall rule to delete. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` 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 setFirewall(String firewall) { this.firewall = firewall; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteForwardingRuleHttpRequest.java index a45d02d4fa5c..89656fa3a125 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteForwardingRuleHttpRequest.java @@ -116,38 +116,66 @@ 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; } + /** + * Name of the ForwardingRule resource to delete. It must have the format + * `{project}/regions/{region}/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` 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 getForwardingRule() { return forwardingRule; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteForwardingRuleHttpRequest other) { 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; } + /** + * Name of the ForwardingRule resource to delete. It must have the format + * `{project}/regions/{region}/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` 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 getForwardingRule() { return forwardingRule; } + /** + * Name of the ForwardingRule resource to delete. It must have the format + * `{project}/regions/{region}/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` 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 setForwardingRule(String forwardingRule) { this.forwardingRule = forwardingRule; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalAddressHttpRequest.java index acead5b9ec76..da5018f09227 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalAddressHttpRequest.java @@ -115,38 +115,65 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the address resource to delete. It must have the format + * `{project}/global/addresses/{address}`. \`{address}\` 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 getAddress() { return address; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -230,82 +257,136 @@ public Builder mergeFrom(DeleteGlobalAddressHttpRequest other) { 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 address resource to delete. It must have the format + * `{project}/global/addresses/{address}`. \`{address}\` 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 getAddress() { return address; } + /** + * Name of the address resource to delete. It must have the format + * `{project}/global/addresses/{address}`. \`{address}\` 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 setAddress(String address) { this.address = address; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalForwardingRuleHttpRequest.java index fed99c0259f8..b69ee91098b3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalForwardingRuleHttpRequest.java @@ -116,38 +116,66 @@ 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; } + /** + * Name of the ForwardingRule resource to delete. It must have the format + * `{project}/global/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` 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 getForwardingRule() { return forwardingRule; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteGlobalForwardingRuleHttpRequest other) { 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; } + /** + * Name of the ForwardingRule resource to delete. It must have the format + * `{project}/global/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` 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 getForwardingRule() { return forwardingRule; } + /** + * Name of the ForwardingRule resource to delete. It must have the format + * `{project}/global/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` 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 setForwardingRule(String forwardingRule) { this.forwardingRule = forwardingRule; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalOperationHttpRequest.java index b650de11de8c..33a79e86a468 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteGlobalOperationHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the Operations resource to delete. It must have the format + * `{project}/global/operations/{operation}`. \`{operation}\` 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 getOperation() { return operation; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +229,101 @@ public Builder mergeFrom(DeleteGlobalOperationHttpRequest other) { 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; } + /** 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; } + /** + * Name of the Operations resource to delete. It must have the format + * `{project}/global/operations/{operation}`. \`{operation}\` 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 getOperation() { return operation; } + /** + * Name of the Operations resource to delete. It must have the format + * `{project}/global/operations/{operation}`. \`{operation}\` 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 setOperation(String operation) { this.operation = operation; 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHealthCheckHttpRequest.java index e59a6199663c..d040a8f067c4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHealthCheckHttpRequest.java @@ -116,38 +116,65 @@ 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; } + /** + * Name of the HealthCheck resource to delete. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` 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 getHealthCheck() { return healthCheck; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +258,138 @@ public Builder mergeFrom(DeleteHealthCheckHttpRequest other) { 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; } + /** + * Name of the HealthCheck resource to delete. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` 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 getHealthCheck() { return healthCheck; } + /** + * Name of the HealthCheck resource to delete. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` 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 setHealthCheck(String healthCheck) { this.healthCheck = healthCheck; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpHealthCheckHttpRequest.java index 0bce25fe6135..c3cfa56b090c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpHealthCheckHttpRequest.java @@ -116,38 +116,66 @@ 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; } + /** + * Name of the HttpHealthCheck resource to delete. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` 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 getHttpHealthCheck() { return httpHealthCheck; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteHttpHealthCheckHttpRequest other) { 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; } + /** + * Name of the HttpHealthCheck resource to delete. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` 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 getHttpHealthCheck() { return httpHealthCheck; } + /** + * Name of the HttpHealthCheck resource to delete. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` 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 setHttpHealthCheck(String httpHealthCheck) { this.httpHealthCheck = httpHealthCheck; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpsHealthCheckHttpRequest.java index a848c0bd58fc..d4cc263bfd3a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteHttpsHealthCheckHttpRequest.java @@ -116,38 +116,66 @@ 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; } + /** + * Name of the HttpsHealthCheck resource to delete. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` 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 getHttpsHealthCheck() { return httpsHealthCheck; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteHttpsHealthCheckHttpRequest other) { 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; } + /** + * Name of the HttpsHealthCheck resource to delete. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` 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 getHttpsHealthCheck() { return httpsHealthCheck; } + /** + * Name of the HttpsHealthCheck resource to delete. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` 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 setHttpsHealthCheck(String httpsHealthCheck) { this.httpsHealthCheck = httpsHealthCheck; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteImageHttpRequest.java index a463271b73f5..683f9a1879bf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteImageHttpRequest.java @@ -113,38 +113,65 @@ 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; } + /** + * Name of the image resource to delete. It must have the format + * `{project}/global/images/{image}`. \`{image}\` 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 getImage() { return image; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,136 @@ public Builder mergeFrom(DeleteImageHttpRequest other) { 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; } + /** + * Name of the image resource to delete. It must have the format + * `{project}/global/images/{image}`. \`{image}\` 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 getImage() { return image; } + /** + * Name of the image resource to delete. It must have the format + * `{project}/global/images/{image}`. \`{image}\` 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 setImage(String image) { this.image = image; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupHttpRequest.java index 1bbf14c704d1..d80eed71f823 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupHttpRequest.java @@ -117,38 +117,66 @@ 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; } + /** + * The name of the instance group to delete. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}`. \`{instanceGroup}\` 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 getInstanceGroup() { return instanceGroup; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -232,82 +260,138 @@ public Builder mergeFrom(DeleteInstanceGroupHttpRequest other) { 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; } + /** + * The name of the instance group to delete. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}`. \`{instanceGroup}\` 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 getInstanceGroup() { return instanceGroup; } + /** + * The name of the instance group to delete. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}`. \`{instanceGroup}\` 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 setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerHttpRequest.java index df466e3e20c4..9ed9e96c706e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerHttpRequest.java @@ -117,38 +117,66 @@ 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; } + /** + * The name of the managed instance group to delete. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -232,82 +260,138 @@ public Builder mergeFrom(DeleteInstanceGroupManagerHttpRequest other) { 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; } + /** + * The name of the managed instance group to delete. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group to delete. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceHttpRequest.java index 59d69f99805e..c39c60bc87d8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceHttpRequest.java @@ -116,38 +116,65 @@ 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; } + /** + * Name of the instance resource to delete. It must have the format + * `{project}/zones/{zone}/instances/{instance}`. \`{instance}\` 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 getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +258,136 @@ public Builder mergeFrom(DeleteInstanceHttpRequest other) { 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; } + /** + * Name of the instance resource to delete. It must have the format + * `{project}/zones/{zone}/instances/{instance}`. \`{instance}\` 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 getInstance() { return instance; } + /** + * Name of the instance resource to delete. It must have the format + * `{project}/zones/{zone}/instances/{instance}`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceTemplateHttpRequest.java index 03b3132cc693..01b29a8b1652 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstanceTemplateHttpRequest.java @@ -117,38 +117,66 @@ 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; } + /** + * The name of the instance template to delete. It must have the format + * `{project}/global/instanceTemplates/{instanceTemplate}`. \`{instanceTemplate}\` 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 getInstanceTemplate() { return instanceTemplate; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -232,82 +260,138 @@ public Builder mergeFrom(DeleteInstanceTemplateHttpRequest other) { 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; } + /** + * The name of the instance template to delete. It must have the format + * `{project}/global/instanceTemplates/{instanceTemplate}`. \`{instanceTemplate}\` 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 getInstanceTemplate() { return instanceTemplate; } + /** + * The name of the instance template to delete. It must have the format + * `{project}/global/instanceTemplates/{instanceTemplate}`. \`{instanceTemplate}\` 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 setInstanceTemplate(String instanceTemplate) { this.instanceTemplate = instanceTemplate; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesInstanceGroupManagerHttpRequest.java index 14a1aea27254..68d7c4ef1039 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesInstanceGroupManagerHttpRequest.java @@ -136,18 +136,29 @@ 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } @@ -157,22 +168,39 @@ public String getInstanceGroupManager() { return instanceGroupManagersDeleteInstancesRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -264,37 +292,59 @@ public Builder mergeFrom(DeleteInstancesInstanceGroupManagerHttpRequest other) { 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; @@ -313,46 +363,80 @@ public Builder setInstanceGroupManagersDeleteInstancesRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesRegionInstanceGroupManagerHttpRequest.java index c8c96ca9739f..91be7892ec56 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInstancesRegionInstanceGroupManagerHttpRequest.java @@ -137,30 +137,44 @@ 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; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -170,10 +184,24 @@ public String getQuotaUser() { return regionInstanceGroupManagersDeleteInstancesRequestResource; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -266,64 +294,92 @@ public Builder mergeFrom(DeleteInstancesRegionInstanceGroupManagerHttpRequest ot 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; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -342,19 +398,47 @@ public Builder setRegionInstanceGroupManagersDeleteInstancesRequestResource( return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectAttachmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectAttachmentHttpRequest.java index 3473225c3abe..3b946e9d4a28 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectAttachmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectAttachmentHttpRequest.java @@ -116,38 +116,66 @@ 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; } + /** + * Name of the interconnect attachment to delete. It must have the format + * `{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}`. + * \`{interconnectAttachment}\` 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 getInterconnectAttachment() { return interconnectAttachment; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteInterconnectAttachmentHttpRequest other) { 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; } + /** + * Name of the interconnect attachment to delete. It must have the format + * `{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}`. + * \`{interconnectAttachment}\` 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 getInterconnectAttachment() { return interconnectAttachment; } + /** + * Name of the interconnect attachment to delete. It must have the format + * `{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}`. + * \`{interconnectAttachment}\` 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 setInterconnectAttachment(String interconnectAttachment) { this.interconnectAttachment = interconnectAttachment; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectHttpRequest.java index ff4a2ec306dc..88d346c1f7f0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteInterconnectHttpRequest.java @@ -113,38 +113,65 @@ 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; } + /** + * Name of the interconnect to delete. It must have the format + * `{project}/global/interconnects/{interconnect}`. \`{interconnect}\` 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 getInterconnect() { return interconnect; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,138 @@ public Builder mergeFrom(DeleteInterconnectHttpRequest other) { 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; } + /** + * Name of the interconnect to delete. It must have the format + * `{project}/global/interconnects/{interconnect}`. \`{interconnect}\` 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 getInterconnect() { return interconnect; } + /** + * Name of the interconnect to delete. It must have the format + * `{project}/global/interconnects/{interconnect}`. \`{interconnect}\` 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 setInterconnect(String interconnect) { this.interconnect = interconnect; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteLicenseHttpRequest.java index 57d00f0879af..4fada09cfa6d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteLicenseHttpRequest.java @@ -113,38 +113,65 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the license resource to delete. It must have the format + * `{project}/global/licenses/{license}`. \`{license}\` 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 getLicense() { return license; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,136 @@ public Builder mergeFrom(DeleteLicenseHttpRequest other) { 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; } + /** 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; } + /** + * Name of the license resource to delete. It must have the format + * `{project}/global/licenses/{license}`. \`{license}\` 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 getLicense() { return license; } + /** + * Name of the license resource to delete. It must have the format + * `{project}/global/licenses/{license}`. \`{license}\` 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 setLicense(String license) { this.license = license; 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNetworkHttpRequest.java index 0fb9bd5f0601..f5e66e864f65 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNetworkHttpRequest.java @@ -113,38 +113,65 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the network to delete. It must have the format `{project}/global/networks/{network}`. + * \`{network}\` 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 getNetwork() { return network; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,136 @@ public Builder mergeFrom(DeleteNetworkHttpRequest other) { 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; } + /** 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; } + /** + * Name of the network to delete. It must have the format `{project}/global/networks/{network}`. + * \`{network}\` 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 getNetwork() { return network; } + /** + * Name of the network to delete. It must have the format `{project}/global/networks/{network}`. + * \`{network}\` 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 setNetwork(String network) { this.network = network; 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeGroupHttpRequest.java index b243876a8c54..1353e0752cc4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeGroupHttpRequest.java @@ -115,38 +115,65 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the NodeGroup resource to delete. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}`. \`{nodeGroup}\` 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 getNodeGroup() { return nodeGroup; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -230,82 +257,138 @@ public Builder mergeFrom(DeleteNodeGroupHttpRequest other) { 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; } + /** 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; } + /** + * Name of the NodeGroup resource to delete. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}`. \`{nodeGroup}\` 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 getNodeGroup() { return nodeGroup; } + /** + * Name of the NodeGroup resource to delete. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}`. \`{nodeGroup}\` 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 setNodeGroup(String nodeGroup) { this.nodeGroup = nodeGroup; 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeTemplateHttpRequest.java index 9e434709bca2..bd9f6d80555a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodeTemplateHttpRequest.java @@ -116,38 +116,66 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the NodeTemplate resource to delete. It must have the format + * `{project}/regions/{region}/nodeTemplates/{nodeTemplate}`. \`{nodeTemplate}\` 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 getNodeTemplate() { return nodeTemplate; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteNodeTemplateHttpRequest other) { 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; } + /** 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; } + /** + * Name of the NodeTemplate resource to delete. It must have the format + * `{project}/regions/{region}/nodeTemplates/{nodeTemplate}`. \`{nodeTemplate}\` 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 getNodeTemplate() { return nodeTemplate; } + /** + * Name of the NodeTemplate resource to delete. It must have the format + * `{project}/regions/{region}/nodeTemplates/{nodeTemplate}`. \`{nodeTemplate}\` 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 setNodeTemplate(String nodeTemplate) { this.nodeTemplate = nodeTemplate; 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodesNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodesNodeGroupHttpRequest.java index 801a88b48e04..cc108f769141 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodesNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteNodesNodeGroupHttpRequest.java @@ -123,22 +123,34 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the NodeGroup resource to delete. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes`. \`{nodeGroup}\` 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 getNodeGroup() { return nodeGroup; } @@ -147,18 +159,34 @@ public NodeGroupsDeleteNodesRequest getNodeGroupsDeleteNodesRequestResource() { return nodeGroupsDeleteNodesRequestResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,46 +275,70 @@ public Builder mergeFrom(DeleteNodesNodeGroupHttpRequest other) { 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; } + /** 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; } + /** + * Name of the NodeGroup resource to delete. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes`. \`{nodeGroup}\` 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 getNodeGroup() { return nodeGroup; } + /** + * Name of the NodeGroup resource to delete. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes`. \`{nodeGroup}\` 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 setNodeGroup(String nodeGroup) { this.nodeGroup = nodeGroup; return this; @@ -302,37 +354,69 @@ public Builder setNodeGroupsDeleteNodesRequestResource( 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionAutoscalerHttpRequest.java index 9e54379d24cd..797a5204358d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionAutoscalerHttpRequest.java @@ -113,38 +113,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the autoscaler to delete. It must have the format + * `{project}/regions/{region}/autoscalers/{autoscaler}`. \`{autoscaler}\` 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 getAutoscaler() { return autoscaler; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +256,138 @@ public Builder mergeFrom(DeleteRegionAutoscalerHttpRequest other) { 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 autoscaler to delete. It must have the format + * `{project}/regions/{region}/autoscalers/{autoscaler}`. \`{autoscaler}\` 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 getAutoscaler() { return autoscaler; } + /** + * Name of the autoscaler to delete. It must have the format + * `{project}/regions/{region}/autoscalers/{autoscaler}`. \`{autoscaler}\` 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 setAutoscaler(String autoscaler) { this.autoscaler = autoscaler; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionBackendServiceHttpRequest.java index c6b45afe02aa..d5afd0997f72 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionBackendServiceHttpRequest.java @@ -116,38 +116,66 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to delete. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` 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 getBackendService() { return backendService; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteRegionBackendServiceHttpRequest other) { 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 BackendService resource to delete. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` 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 getBackendService() { return backendService; } + /** + * Name of the BackendService resource to delete. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` 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 setBackendService(String backendService) { this.backendService = backendService; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionDiskHttpRequest.java index b7e75be9c8d5..e5b879e216e9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionDiskHttpRequest.java @@ -118,38 +118,65 @@ 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; } + /** + * Name of the regional persistent disk to delete. It must have the format + * `{project}/regions/{region}/disks/{disk}`. \`{disk}\` 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 getDisk() { return disk; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -233,82 +260,136 @@ public Builder mergeFrom(DeleteRegionDiskHttpRequest other) { 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; } + /** + * Name of the regional persistent disk to delete. It must have the format + * `{project}/regions/{region}/disks/{disk}`. \`{disk}\` 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 getDisk() { return disk; } + /** + * Name of the regional persistent disk to delete. It must have the format + * `{project}/regions/{region}/disks/{disk}`. \`{disk}\` 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 setDisk(String disk) { this.disk = disk; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionInstanceGroupManagerHttpRequest.java index c0f9d367c77a..5b05c48d6eb5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionInstanceGroupManagerHttpRequest.java @@ -116,38 +116,66 @@ 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; } + /** + * Name of the managed instance group to delete. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteRegionInstanceGroupManagerHttpRequest other) { 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; } + /** + * Name of the managed instance group to delete. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * Name of the managed instance group to delete. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionOperationHttpRequest.java index f9c52bb839de..4adc5511d445 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRegionOperationHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the Operations resource to delete. It must have the format + * `{project}/regions/{region}/operations/{operation}`. \`{operation}\` 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 getOperation() { return operation; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +229,103 @@ public Builder mergeFrom(DeleteRegionOperationHttpRequest other) { 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; } + /** 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; } + /** + * Name of the Operations resource to delete. It must have the format + * `{project}/regions/{region}/operations/{operation}`. \`{operation}\` 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 getOperation() { return operation; } + /** + * Name of the Operations resource to delete. It must have the format + * `{project}/regions/{region}/operations/{operation}`. \`{operation}\` 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 setOperation(String operation) { this.operation = operation; 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouteHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouteHttpRequest.java index b0fe4a969771..03ec16e08fff 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouteHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouteHttpRequest.java @@ -113,38 +113,65 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the Route resource to delete. It must have the format + * `{project}/global/routes/{route}`. \`{route}\` 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 getRoute() { return route; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,136 @@ public Builder mergeFrom(DeleteRouteHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the Route resource to delete. It must have the format + * `{project}/global/routes/{route}`. \`{route}\` 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 getRoute() { return route; } + /** + * Name of the Route resource to delete. It must have the format + * `{project}/global/routes/{route}`. \`{route}\` 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 setRoute(String route) { this.route = route; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouterHttpRequest.java index a7cf2d64f92d..79151e9bd934 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteRouterHttpRequest.java @@ -113,38 +113,65 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the Router resource to delete. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` 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 getRouter() { return router; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,136 @@ public Builder mergeFrom(DeleteRouterHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the Router resource to delete. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` 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 getRouter() { return router; } + /** + * Name of the Router resource to delete. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` 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 setRouter(String router) { this.router = router; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSecurityPolicyHttpRequest.java index 5d72a2e56e8e..7adb14d2dbe3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSecurityPolicyHttpRequest.java @@ -113,38 +113,66 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the security policy to delete. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}`. \`{securityPolicy}\` 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 getSecurityPolicy() { return securityPolicy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +256,138 @@ public Builder mergeFrom(DeleteSecurityPolicyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the security policy to delete. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}`. \`{securityPolicy}\` 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 getSecurityPolicy() { return securityPolicy; } + /** + * Name of the security policy to delete. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}`. \`{securityPolicy}\` 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 setSecurityPolicy(String securityPolicy) { this.securityPolicy = securityPolicy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendBucketHttpRequest.java index bab809d53ac8..cc7291b20b5f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendBucketHttpRequest.java @@ -123,42 +123,72 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendBucket resource to which the Signed URL Key should be added. The name should + * conform to RFC1035. It must have the format + * `{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey`. \`{backendBucket}\` 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 getBackendBucket() { return backendBucket; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** The name of the Signed URL Key to delete. */ public String getKeyName() { return keyName; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +277,151 @@ public Builder mergeFrom(DeleteSignedUrlKeyBackendBucketHttpRequest other) { 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 BackendBucket resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey`. \`{backendBucket}\` + * 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 getBackendBucket() { return backendBucket; } + /** + * Name of the BackendBucket resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey`. \`{backendBucket}\` + * 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 setBackendBucket(String backendBucket) { this.backendBucket = backendBucket; 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; } + /** 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 name of the Signed URL Key to delete. */ public String getKeyName() { return keyName; } + /** The name of the Signed URL Key to delete. */ public Builder setKeyName(String keyName) { this.keyName = keyName; 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendServiceHttpRequest.java index 263d5d91f175..ba5329078cb7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSignedUrlKeyBackendServiceHttpRequest.java @@ -123,42 +123,72 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendServices/{backendService}/deleteSignedUrlKey`. \`{backendService}\` + * 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 getBackendService() { return backendService; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** The name of the Signed URL Key to delete. */ public String getKeyName() { return keyName; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +277,151 @@ public Builder mergeFrom(DeleteSignedUrlKeyBackendServiceHttpRequest other) { 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 BackendService resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendServices/{backendService}/deleteSignedUrlKey`. \`{backendService}\` + * 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 getBackendService() { return backendService; } + /** + * Name of the BackendService resource to which the Signed URL Key should be added. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendServices/{backendService}/deleteSignedUrlKey`. \`{backendService}\` + * 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 setBackendService(String backendService) { this.backendService = backendService; 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; } + /** 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 name of the Signed URL Key to delete. */ public String getKeyName() { return keyName; } + /** The name of the Signed URL Key to delete. */ public Builder setKeyName(String keyName) { this.keyName = keyName; 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSnapshotHttpRequest.java index f734335e4a8f..c778335ef474 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSnapshotHttpRequest.java @@ -120,38 +120,65 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the Snapshot resource to delete. It must have the format + * `{project}/global/snapshots/{snapshot}`. \`{snapshot}\` 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 getSnapshot() { return snapshot; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -235,82 +262,136 @@ public Builder mergeFrom(DeleteSnapshotHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the Snapshot resource to delete. It must have the format + * `{project}/global/snapshots/{snapshot}`. \`{snapshot}\` 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 getSnapshot() { return snapshot; } + /** + * Name of the Snapshot resource to delete. It must have the format + * `{project}/global/snapshots/{snapshot}`. \`{snapshot}\` 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 setSnapshot(String snapshot) { this.snapshot = snapshot; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslCertificateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslCertificateHttpRequest.java index bed120b9e539..f878ad3630e4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslCertificateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslCertificateHttpRequest.java @@ -116,38 +116,66 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the SslCertificate resource to delete. It must have the format + * `{project}/global/sslCertificates/{sslCertificate}`. \`{sslCertificate}\` 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 getSslCertificate() { return sslCertificate; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteSslCertificateHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the SslCertificate resource to delete. It must have the format + * `{project}/global/sslCertificates/{sslCertificate}`. \`{sslCertificate}\` 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 getSslCertificate() { return sslCertificate; } + /** + * Name of the SslCertificate resource to delete. It must have the format + * `{project}/global/sslCertificates/{sslCertificate}`. \`{sslCertificate}\` 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 setSslCertificate(String sslCertificate) { this.sslCertificate = sslCertificate; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslPolicyHttpRequest.java index fa1297a48124..efea5ece8f13 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSslPolicyHttpRequest.java @@ -117,38 +117,66 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the SSL policy to delete. The name must be 1-63 characters long, and comply with + * RFC1035. It must have the format `{project}/global/sslPolicies/{sslPolicy}`. \`{sslPolicy}\` + * 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 getSslPolicy() { return sslPolicy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -232,82 +260,138 @@ public Builder mergeFrom(DeleteSslPolicyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the SSL policy to delete. The name must be 1-63 characters long, and comply with + * RFC1035. It must have the format `{project}/global/sslPolicies/{sslPolicy}`. \`{sslPolicy}\` + * 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 getSslPolicy() { return sslPolicy; } + /** + * Name of the SSL policy to delete. The name must be 1-63 characters long, and comply with + * RFC1035. It must have the format `{project}/global/sslPolicies/{sslPolicy}`. \`{sslPolicy}\` + * 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 setSslPolicy(String sslPolicy) { this.sslPolicy = sslPolicy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSubnetworkHttpRequest.java index 7cd370bf797f..3af2cbec1fe3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteSubnetworkHttpRequest.java @@ -113,38 +113,66 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the Subnetwork resource to delete. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}`. \`{subnetwork}\` 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 getSubnetwork() { return subnetwork; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +256,138 @@ public Builder mergeFrom(DeleteSubnetworkHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the Subnetwork resource to delete. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}`. \`{subnetwork}\` 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 getSubnetwork() { return subnetwork; } + /** + * Name of the Subnetwork resource to delete. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}`. \`{subnetwork}\` 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 setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpProxyHttpRequest.java index 74530d578f08..d5d8ba302184 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpProxyHttpRequest.java @@ -116,38 +116,66 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetHttpProxy resource to delete. It must have the format + * `{project}/global/targetHttpProxies/{targetHttpProxy}`. \`{targetHttpProxy}\` 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 getTargetHttpProxy() { return targetHttpProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteTargetHttpProxyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetHttpProxy resource to delete. It must have the format + * `{project}/global/targetHttpProxies/{targetHttpProxy}`. \`{targetHttpProxy}\` 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 getTargetHttpProxy() { return targetHttpProxy; } + /** + * Name of the TargetHttpProxy resource to delete. It must have the format + * `{project}/global/targetHttpProxies/{targetHttpProxy}`. \`{targetHttpProxy}\` 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 setTargetHttpProxy(String targetHttpProxy) { this.targetHttpProxy = targetHttpProxy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpsProxyHttpRequest.java index 9b09e8905895..55be74894341 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetHttpsProxyHttpRequest.java @@ -116,38 +116,66 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetHttpsProxy resource to delete. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}`. \`{targetHttpsProxy}\` 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 getTargetHttpsProxy() { return targetHttpsProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteTargetHttpsProxyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetHttpsProxy resource to delete. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}`. \`{targetHttpsProxy}\` 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 getTargetHttpsProxy() { return targetHttpsProxy; } + /** + * Name of the TargetHttpsProxy resource to delete. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}`. \`{targetHttpsProxy}\` 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 setTargetHttpsProxy(String targetHttpsProxy) { this.targetHttpsProxy = targetHttpsProxy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetInstanceHttpRequest.java index 20ec5e0814cd..1a143a651ac2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetInstanceHttpRequest.java @@ -116,38 +116,66 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetInstance resource to delete. It must have the format + * `{project}/zones/{zone}/targetInstances/{targetInstance}`. \`{targetInstance}\` 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 getTargetInstance() { return targetInstance; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteTargetInstanceHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetInstance resource to delete. It must have the format + * `{project}/zones/{zone}/targetInstances/{targetInstance}`. \`{targetInstance}\` 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 getTargetInstance() { return targetInstance; } + /** + * Name of the TargetInstance resource to delete. It must have the format + * `{project}/zones/{zone}/targetInstances/{targetInstance}`. \`{targetInstance}\` 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 setTargetInstance(String targetInstance) { this.targetInstance = targetInstance; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetPoolHttpRequest.java index c51955499fb3..91d97060d1ec 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetPoolHttpRequest.java @@ -113,38 +113,66 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetPool resource to delete. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}`. \`{targetPool}\` 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 getTargetPool() { return targetPool; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +256,138 @@ public Builder mergeFrom(DeleteTargetPoolHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetPool resource to delete. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}`. \`{targetPool}\` 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 getTargetPool() { return targetPool; } + /** + * Name of the TargetPool resource to delete. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}`. \`{targetPool}\` 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 setTargetPool(String targetPool) { this.targetPool = targetPool; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetSslProxyHttpRequest.java index 42821e54aa89..15d3d8b37cdf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetSslProxyHttpRequest.java @@ -116,38 +116,66 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetSslProxy resource to delete. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}`. \`{targetSslProxy}\` 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 getTargetSslProxy() { return targetSslProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteTargetSslProxyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetSslProxy resource to delete. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}`. \`{targetSslProxy}\` 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 getTargetSslProxy() { return targetSslProxy; } + /** + * Name of the TargetSslProxy resource to delete. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}`. \`{targetSslProxy}\` 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 setTargetSslProxy(String targetSslProxy) { this.targetSslProxy = targetSslProxy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetTcpProxyHttpRequest.java index d4a052ba478e..687a31841d10 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetTcpProxyHttpRequest.java @@ -116,38 +116,66 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetTcpProxy resource to delete. It must have the format + * `{project}/global/targetTcpProxies/{targetTcpProxy}`. \`{targetTcpProxy}\` 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 getTargetTcpProxy() { return targetTcpProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteTargetTcpProxyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetTcpProxy resource to delete. It must have the format + * `{project}/global/targetTcpProxies/{targetTcpProxy}`. \`{targetTcpProxy}\` 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 getTargetTcpProxy() { return targetTcpProxy; } + /** + * Name of the TargetTcpProxy resource to delete. It must have the format + * `{project}/global/targetTcpProxies/{targetTcpProxy}`. \`{targetTcpProxy}\` 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 setTargetTcpProxy(String targetTcpProxy) { this.targetTcpProxy = targetTcpProxy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetVpnGatewayHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetVpnGatewayHttpRequest.java index b76ba1446179..834d25269819 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetVpnGatewayHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteTargetVpnGatewayHttpRequest.java @@ -116,38 +116,66 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the target VPN gateway to delete. It must have the format + * `{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}`. \`{targetVpnGateway}\` 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 getTargetVpnGateway() { return targetVpnGateway; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(DeleteTargetVpnGatewayHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the target VPN gateway to delete. It must have the format + * `{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}`. \`{targetVpnGateway}\` + * 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 getTargetVpnGateway() { return targetVpnGateway; } + /** + * Name of the target VPN gateway to delete. It must have the format + * `{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}`. \`{targetVpnGateway}\` + * 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 setTargetVpnGateway(String targetVpnGateway) { this.targetVpnGateway = targetVpnGateway; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteUrlMapHttpRequest.java index 162961988a9d..73ebc38eb97c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteUrlMapHttpRequest.java @@ -113,38 +113,65 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the UrlMap resource to delete. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` 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 getUrlMap() { return urlMap; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -228,82 +255,136 @@ public Builder mergeFrom(DeleteUrlMapHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the UrlMap resource to delete. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` 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 getUrlMap() { return urlMap; } + /** + * Name of the UrlMap resource to delete. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` 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 setUrlMap(String urlMap) { this.urlMap = urlMap; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteVpnTunnelHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteVpnTunnelHttpRequest.java index 5d5f9321b6c7..edf0000f63a7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteVpnTunnelHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteVpnTunnelHttpRequest.java @@ -115,38 +115,65 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * Name of the VpnTunnel resource to delete. It must have the format + * `{project}/regions/{region}/vpnTunnels/{vpnTunnel}`. \`{vpnTunnel}\` 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 getVpnTunnel() { return vpnTunnel; } @@ -230,82 +257,138 @@ public Builder mergeFrom(DeleteVpnTunnelHttpRequest other) { this.vpnTunnel = source.vpnTunnel; } + /** 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; } + /** + * Name of the VpnTunnel resource to delete. It must have the format + * `{project}/regions/{region}/vpnTunnels/{vpnTunnel}`. \`{vpnTunnel}\` 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 getVpnTunnel() { return vpnTunnel; } + /** + * Name of the VpnTunnel resource to delete. It must have the format + * `{project}/regions/{region}/vpnTunnels/{vpnTunnel}`. \`{vpnTunnel}\` 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 setVpnTunnel(String vpnTunnel) { this.vpnTunnel = vpnTunnel; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteZoneOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteZoneOperationHttpRequest.java index 269179474c9d..87d5f250d701 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteZoneOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeleteZoneOperationHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the Operations resource to delete. It must have the format + * `{project}/zones/{zone}/operations/{operation}`. \`{operation}\` 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 getOperation() { return operation; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +229,103 @@ public Builder mergeFrom(DeleteZoneOperationHttpRequest other) { 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; } + /** 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; } + /** + * Name of the Operations resource to delete. It must have the format + * `{project}/zones/{zone}/operations/{operation}`. \`{operation}\` 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 getOperation() { return operation; } + /** + * Name of the Operations resource to delete. It must have the format + * `{project}/zones/{zone}/operations/{operation}`. \`{operation}\` 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 setOperation(String operation) { this.operation = operation; 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Denied.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Denied.java index 51bbaa67b24f..b5bfadfc91c0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Denied.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Denied.java @@ -26,6 +26,10 @@ @Generated("by GAPIC") @BetaApi +/** + * The list of DENY rules specified by this firewall. Each rule specifies a protocol and port-range + * tuple that describes a denied connection. + */ public final class Denied implements ApiMessage { @SerializedName("IPProtocol") private final String iPProtocol; @@ -65,10 +69,22 @@ public List getFieldMask() { return null; } + /** + * The IP protocol to which this rule applies. The protocol type is required when creating a + * firewall rule. This value can either be one of the following well known protocol strings (tcp, + * udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. + */ public String getIPProtocol() { return iPProtocol; } + /** + * An optional list of ports to which this rule applies. This field is only applicable for UDP or + * TCP protocol. Each entry must be either an integer or a range. If not specified, this rule + * applies to connections through any port. + * + *

Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + */ public List getPortsList() { return ports; } @@ -117,19 +133,43 @@ public Builder mergeFrom(Denied other) { this.ports = source.ports; } + /** + * The IP protocol to which this rule applies. The protocol type is required when creating a + * firewall rule. This value can either be one of the following well known protocol strings + * (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. + */ public String getIPProtocol() { return iPProtocol; } + /** + * The IP protocol to which this rule applies. The protocol type is required when creating a + * firewall rule. This value can either be one of the following well known protocol strings + * (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. + */ public Builder setIPProtocol(String iPProtocol) { this.iPProtocol = iPProtocol; return this; } + /** + * An optional list of ports to which this rule applies. This field is only applicable for UDP + * or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule + * applies to connections through any port. + * + *

Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + */ public List getPortsList() { return ports; } + /** + * An optional list of ports to which this rule applies. This field is only applicable for UDP + * or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule + * applies to connections through any port. + * + *

Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + */ public Builder addAllPorts(List ports) { if (this.ports == null) { this.ports = new LinkedList<>(); @@ -138,6 +178,13 @@ public Builder addAllPorts(List ports) { return this; } + /** + * An optional list of ports to which this rule applies. This field is only applicable for UDP + * or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule + * applies to connections through any port. + * + *

Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + */ public Builder addPorts(String ports) { if (this.ports == null) { this.ports = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecateImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecateImageHttpRequest.java index 433be180e81d..1d25377951ab 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecateImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecateImageHttpRequest.java @@ -124,42 +124,70 @@ 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; } + /** Deprecation status for a public resource. */ public DeprecationStatus getDeprecationStatusResource() { return deprecationStatusResource; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Image name. It must have the format `{project}/global/images/{image}/deprecate`. \`{image}\` + * 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 getImage() { return image; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -248,91 +276,147 @@ public Builder mergeFrom(DeprecateImageHttpRequest other) { 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; } + /** Deprecation status for a public resource. */ public DeprecationStatus getDeprecationStatusResource() { return deprecationStatusResource; } + /** Deprecation status for a public resource. */ public Builder setDeprecationStatusResource(DeprecationStatus deprecationStatusResource) { this.deprecationStatusResource = deprecationStatusResource; 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; } + /** + * Image name. It must have the format `{project}/global/images/{image}/deprecate`. \`{image}\` + * 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 getImage() { return image; } + /** + * Image name. It must have the format `{project}/global/images/{image}/deprecate`. \`{image}\` + * 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 setImage(String image) { this.image = image; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecationStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecationStatus.java index 3db5e76c7fe8..00c5d0629b64 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecationStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DeprecationStatus.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Deprecation status for a public resource. */ public final class DeprecationStatus implements ApiMessage { private final String deleted; private final String deprecated; @@ -80,22 +81,47 @@ public List getFieldMask() { return null; } + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to + * change to DELETED. This is only informational and the status will not change unless the client + * explicitly changes it. + */ public String getDeleted() { return deleted; } + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to + * change to DEPRECATED. This is only informational and the status will not change unless the + * client explicitly changes it. + */ public String getDeprecated() { return deprecated; } + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to + * change to OBSOLETE. This is only informational and the status will not change unless the client + * explicitly changes it. + */ public String getObsolete() { return obsolete; } + /** + * The URL of the suggested replacement for a deprecated resource. The suggested replacement + * resource must be the same kind of resource as the deprecated resource. + */ public String getReplacement() { return replacement; } + /** + * The deprecation state of this resource. This can be DEPRECATED, OBSOLETE, or DELETED. + * Operations which create a new resource using a DEPRECATED resource will return successfully, + * but with a warning indicating the deprecated resource and recommending its replacement. + * Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. + */ public String getState() { return state; } @@ -159,46 +185,96 @@ public Builder mergeFrom(DeprecationStatus other) { this.state = source.state; } + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to + * change to DELETED. This is only informational and the status will not change unless the + * client explicitly changes it. + */ public String getDeleted() { return deleted; } + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to + * change to DELETED. This is only informational and the status will not change unless the + * client explicitly changes it. + */ public Builder setDeleted(String deleted) { this.deleted = deleted; return this; } + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to + * change to DEPRECATED. This is only informational and the status will not change unless the + * client explicitly changes it. + */ public String getDeprecated() { return deprecated; } + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to + * change to DEPRECATED. This is only informational and the status will not change unless the + * client explicitly changes it. + */ public Builder setDeprecated(String deprecated) { this.deprecated = deprecated; return this; } + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to + * change to OBSOLETE. This is only informational and the status will not change unless the + * client explicitly changes it. + */ public String getObsolete() { return obsolete; } + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to + * change to OBSOLETE. This is only informational and the status will not change unless the + * client explicitly changes it. + */ public Builder setObsolete(String obsolete) { this.obsolete = obsolete; return this; } + /** + * The URL of the suggested replacement for a deprecated resource. The suggested replacement + * resource must be the same kind of resource as the deprecated resource. + */ public String getReplacement() { return replacement; } + /** + * The URL of the suggested replacement for a deprecated resource. The suggested replacement + * resource must be the same kind of resource as the deprecated resource. + */ public Builder setReplacement(String replacement) { this.replacement = replacement; return this; } + /** + * The deprecation state of this resource. This can be DEPRECATED, OBSOLETE, or DELETED. + * Operations which create a new resource using a DEPRECATED resource will return successfully, + * but with a warning indicating the deprecated resource and recommending its replacement. + * Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. + */ public String getState() { return state; } + /** + * The deprecation state of this resource. This can be DEPRECATED, OBSOLETE, or DELETED. + * Operations which create a new resource using a DEPRECATED resource will return successfully, + * but with a warning indicating the deprecated resource and recommending its replacement. + * Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. + */ public Builder setState(String state) { this.state = state; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DetachDiskInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DetachDiskInstanceHttpRequest.java index 05c959b4c351..9b08aa192307 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DetachDiskInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DetachDiskInstanceHttpRequest.java @@ -120,42 +120,74 @@ 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; } + /** + * The device name of the disk to detach. Make a get() request on the instance to view currently + * attached disks and device names. + */ public String getDeviceName() { return deviceName; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/detachDisk`. \`{instance}\` 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 getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -244,91 +276,155 @@ public Builder mergeFrom(DetachDiskInstanceHttpRequest other) { 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; } + /** + * The device name of the disk to detach. Make a get() request on the instance to view currently + * attached disks and device names. + */ public String getDeviceName() { return deviceName; } + /** + * The device name of the disk to detach. Make a get() request on the instance to view currently + * attached disks and device names. + */ public Builder setDeviceName(String deviceName) { this.deviceName = deviceName; 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; } + /** + * Instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/detachDisk`. \`{instance}\` 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 getInstance() { return instance; } + /** + * Instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/detachDisk`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnHostProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnHostProjectHttpRequest.java index 45d338bd2a80..f1bcda796219 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnHostProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnHostProjectHttpRequest.java @@ -116,38 +116,65 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/disableXpnHost`. \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +258,136 @@ public Builder mergeFrom(DisableXpnHostProjectHttpRequest other) { 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; } + /** 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; } + /** 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}/disableXpnHost`. + * \`{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}/disableXpnHost`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnResourceProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnResourceProjectHttpRequest.java index 314e5e51d479..dc02d776614b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnResourceProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisableXpnResourceProjectHttpRequest.java @@ -123,26 +123,38 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/disableXpnResource`. + * \`{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; } @@ -151,14 +163,29 @@ public ProjectsDisableXpnResourceRequest getProjectsDisableXpnResourceRequestRes return projectsDisableXpnResourceRequestResource; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,55 +276,79 @@ public Builder mergeFrom(DisableXpnResourceProjectHttpRequest other) { 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; } + /** 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; } + /** 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}/disableXpnResource`. + * \`{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}/disableXpnResource`. + * \`{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; @@ -313,28 +364,58 @@ public Builder setProjectsDisableXpnResourceRequestResource( return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Disk.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Disk.java index d5cfcfae5bf0..bffb587835ea 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Disk.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Disk.java @@ -26,6 +26,7 @@ @Generated("by GAPIC") @BetaApi +/** A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks ==) */ public final class Disk implements ApiMessage { private final String creationTimestamp; private final String description; @@ -254,118 +255,247 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * Encrypts the disk using a customer-supplied encryption key. + * + *

After you encrypt a disk with a customer-supplied key, you must provide the same key if you + * use the disk later (e.g. to create a disk snapshot or an image, or to attach the disk to a + * virtual machine). + * + *

Customer-supplied encryption keys do not protect access to metadata of the disk. + * + *

If you do not provide an encryption key when creating the disk, then the disk will be + * encrypted using an automatically generated key and you do not need to provide a key to use the + * disk later. + */ public CustomerEncryptionKey getDiskEncryptionKey() { return diskEncryptionKey; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public List getGuestOsFeaturesList() { return guestOsFeatures; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#disk for disks. */ public String getKind() { return kind; } + /** + * A fingerprint for the labels being applied to this disk, which is essentially a hash of the + * labels set used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update labels. You must always provide an + * up-to-date fingerprint hash in order to update or change labels, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a disk. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** Labels to apply to this disk. These can be later modified by the setLabels method. */ public Map getLabelsMap() { return labels; } + /** [Output Only] Last attach timestamp in RFC3339 text format. */ public String getLastAttachTimestamp() { return lastAttachTimestamp; } + /** [Output Only] Last detach timestamp in RFC3339 text format. */ public String getLastDetachTimestamp() { return lastDetachTimestamp; } + /** Integer license codes indicating which licenses are attached to this disk. */ public List getLicenseCodesList() { return licenseCodes; } + /** A list of publicly visible licenses. Reserved for Google's use. */ public List getLicensesList() { return licenses; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** Internal use only. */ public String getOptions() { return options; } + /** + * Physical block size of the persistent disk, in bytes. If not present in a request, a default + * value is used. Currently supported sizes are 4096 and 16384, other sizes may be added in the + * future. If an unsupported value is requested, the error message will list the supported values + * for the caller's project. + */ public String getPhysicalBlockSizeBytes() { return physicalBlockSizeBytes; } + /** + * [Output Only] URL of the region where the disk resides. Only applicable for regional resources. + * You must specify this field as part of the HTTP request URL. It is not settable as a field in + * the request body. + */ public String getRegion() { return region; } + /** + * URLs of the zones where the disk should be replicated to. Only applicable for regional + * resources. + */ public List getReplicaZonesList() { return replicaZones; } + /** [Output Only] Server-defined fully-qualified URL for this resource. */ public String getSelfLink() { return selfLink; } + /** + * Size of the persistent disk, specified in GB. You can specify this field when creating a + * persistent disk using the sourceImage or sourceSnapshot parameter, or specify it alone to + * create an empty persistent disk. + * + *

If you specify this field along with sourceImage or sourceSnapshot, the value of sizeGb must + * not be less than the size of the sourceImage or the size of the snapshot. Acceptable values are + * 1 to 65536, inclusive. + */ public String getSizeGb() { return sizeGb; } + /** + * The source image used to create this disk. If the source image is deleted, this field will not + * be set. + * + *

To create a disk with one of the public operating system images, specify the image by its + * family name. For example, specify family/debian-9 to use the latest Debian 9 image: + * projects/debian-cloud/global/images/family/debian-9 + * + *

Alternatively, use a specific version of a public operating system image: + * projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD + * + *

To create a disk with a custom image that you created, specify the image name in the + * following format: global/images/my-custom-image + * + *

You can also specify a custom image by its image family, which returns the latest version of + * the image in that family. Replace the image name with family/family-name: + * global/images/family/my-image-family + */ public String getSourceImage() { return sourceImage; } + /** + * The customer-supplied encryption key of the source image. Required if the source image is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceImageEncryptionKey() { return sourceImageEncryptionKey; } + /** + * [Output Only] The ID value of the image used to create this disk. This value identifies the + * exact image that was used to create this persistent disk. For example, if you created the + * persistent disk from an image that was later deleted and recreated under the same name, the + * source image ID would identify the exact version of the image that was used. + */ public String getSourceImageId() { return sourceImageId; } + /** + * The source snapshot used to create this disk. You can provide this as a partial or full URL to + * the resource. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot - + * projects/project/global/snapshots/snapshot - global/snapshots/snapshot + */ public String getSourceSnapshot() { return sourceSnapshot; } + /** + * The customer-supplied encryption key of the source snapshot. Required if the source snapshot is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceSnapshotEncryptionKey() { return sourceSnapshotEncryptionKey; } + /** + * [Output Only] The unique ID of the snapshot used to create this disk. This value identifies the + * exact snapshot that was used to create this persistent disk. For example, if you created the + * persistent disk from a snapshot that was later deleted and recreated under the same name, the + * source snapshot ID would identify the exact version of the snapshot that was used. + */ public String getSourceSnapshotId() { return sourceSnapshotId; } + /** [Output Only] The status of disk creation. */ public String getStatus() { return status; } + /** + * URL of the disk type resource describing which disk type to use to create the disk. Provide + * this when creating the disk. For example: project/zones/zone/diskTypes/pd-standard or pd-ssd + */ public String getType() { return type; } + /** + * [Output Only] Links to the users of the disk (attached instances) in form: + * project/zones/zone/instances/instance + */ public List getUsersList() { return users; } + /** + * [Output Only] URL of the zone where the disk resides. You must specify this field as part of + * the HTTP request URL. It is not settable as a field in the request body. + */ public String getZone() { return zone; } @@ -549,37 +679,79 @@ public Builder mergeFrom(Disk other) { this.zone = source.zone; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * Encrypts the disk using a customer-supplied encryption key. + * + *

After you encrypt a disk with a customer-supplied key, you must provide the same key if + * you use the disk later (e.g. to create a disk snapshot or an image, or to attach the disk to + * a virtual machine). + * + *

Customer-supplied encryption keys do not protect access to metadata of the disk. + * + *

If you do not provide an encryption key when creating the disk, then the disk will be + * encrypted using an automatically generated key and you do not need to provide a key to use + * the disk later. + */ public CustomerEncryptionKey getDiskEncryptionKey() { return diskEncryptionKey; } + /** + * Encrypts the disk using a customer-supplied encryption key. + * + *

After you encrypt a disk with a customer-supplied key, you must provide the same key if + * you use the disk later (e.g. to create a disk snapshot or an image, or to attach the disk to + * a virtual machine). + * + *

Customer-supplied encryption keys do not protect access to metadata of the disk. + * + *

If you do not provide an encryption key when creating the disk, then the disk will be + * encrypted using an automatically generated key and you do not need to provide a key to use + * the disk later. + */ public Builder setDiskEncryptionKey(CustomerEncryptionKey diskEncryptionKey) { this.diskEncryptionKey = diskEncryptionKey; return this; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public List getGuestOsFeaturesList() { return guestOsFeatures; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public Builder addAllGuestOsFeatures(List guestOsFeatures) { if (this.guestOsFeatures == null) { this.guestOsFeatures = new LinkedList<>(); @@ -588,6 +760,10 @@ public Builder addAllGuestOsFeatures(List guestOsFeatures) { return this; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public Builder addGuestOsFeatures(GuestOsFeature guestOsFeatures) { if (this.guestOsFeatures == null) { this.guestOsFeatures = new LinkedList<>(); @@ -596,64 +772,100 @@ public Builder addGuestOsFeatures(GuestOsFeature guestOsFeatures) { return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#disk for disks. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#disk for disks. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * A fingerprint for the labels being applied to this disk, which is essentially a hash of the + * labels set used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update labels. You must always provide an + * up-to-date fingerprint hash in order to update or change labels, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a disk. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * A fingerprint for the labels being applied to this disk, which is essentially a hash of the + * labels set used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update labels. You must always provide an + * up-to-date fingerprint hash in order to update or change labels, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a disk. + */ public Builder setLabelFingerprint(String labelFingerprint) { this.labelFingerprint = labelFingerprint; return this; } + /** Labels to apply to this disk. These can be later modified by the setLabels method. */ public Map getLabelsMap() { return labels; } + /** Labels to apply to this disk. These can be later modified by the setLabels method. */ public Builder putAllLabels(Map labels) { this.labels = labels; return this; } + /** [Output Only] Last attach timestamp in RFC3339 text format. */ public String getLastAttachTimestamp() { return lastAttachTimestamp; } + /** [Output Only] Last attach timestamp in RFC3339 text format. */ public Builder setLastAttachTimestamp(String lastAttachTimestamp) { this.lastAttachTimestamp = lastAttachTimestamp; return this; } + /** [Output Only] Last detach timestamp in RFC3339 text format. */ public String getLastDetachTimestamp() { return lastDetachTimestamp; } + /** [Output Only] Last detach timestamp in RFC3339 text format. */ public Builder setLastDetachTimestamp(String lastDetachTimestamp) { this.lastDetachTimestamp = lastDetachTimestamp; return this; } + /** Integer license codes indicating which licenses are attached to this disk. */ public List getLicenseCodesList() { return licenseCodes; } + /** Integer license codes indicating which licenses are attached to this disk. */ public Builder addAllLicenseCodes(List licenseCodes) { if (this.licenseCodes == null) { this.licenseCodes = new LinkedList<>(); @@ -662,6 +874,7 @@ public Builder addAllLicenseCodes(List licenseCodes) { return this; } + /** Integer license codes indicating which licenses are attached to this disk. */ public Builder addLicenseCodes(String licenseCodes) { if (this.licenseCodes == null) { this.licenseCodes = new LinkedList<>(); @@ -670,10 +883,12 @@ public Builder addLicenseCodes(String licenseCodes) { return this; } + /** A list of publicly visible licenses. Reserved for Google's use. */ public List getLicensesList() { return licenses; } + /** A list of publicly visible licenses. Reserved for Google's use. */ public Builder addAllLicenses(List licenses) { if (this.licenses == null) { this.licenses = new LinkedList<>(); @@ -682,6 +897,7 @@ public Builder addAllLicenses(List licenses) { return this; } + /** A list of publicly visible licenses. Reserved for Google's use. */ public Builder addLicenses(String licenses) { if (this.licenses == null) { this.licenses = new LinkedList<>(); @@ -690,46 +906,92 @@ public Builder addLicenses(String licenses) { return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** Internal use only. */ public String getOptions() { return options; } + /** Internal use only. */ public Builder setOptions(String options) { this.options = options; return this; } + /** + * Physical block size of the persistent disk, in bytes. If not present in a request, a default + * value is used. Currently supported sizes are 4096 and 16384, other sizes may be added in the + * future. If an unsupported value is requested, the error message will list the supported + * values for the caller's project. + */ public String getPhysicalBlockSizeBytes() { return physicalBlockSizeBytes; } + /** + * Physical block size of the persistent disk, in bytes. If not present in a request, a default + * value is used. Currently supported sizes are 4096 and 16384, other sizes may be added in the + * future. If an unsupported value is requested, the error message will list the supported + * values for the caller's project. + */ public Builder setPhysicalBlockSizeBytes(String physicalBlockSizeBytes) { this.physicalBlockSizeBytes = physicalBlockSizeBytes; return this; } + /** + * [Output Only] URL of the region where the disk resides. Only applicable for regional + * resources. You must specify this field as part of the HTTP request URL. It is not settable as + * a field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] URL of the region where the disk resides. Only applicable for regional + * resources. You must specify this field as part of the HTTP request URL. It is not settable as + * a field in the request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * URLs of the zones where the disk should be replicated to. Only applicable for regional + * resources. + */ public List getReplicaZonesList() { return replicaZones; } + /** + * URLs of the zones where the disk should be replicated to. Only applicable for regional + * resources. + */ public Builder addAllReplicaZones(List replicaZones) { if (this.replicaZones == null) { this.replicaZones = new LinkedList<>(); @@ -738,6 +1000,10 @@ public Builder addAllReplicaZones(List replicaZones) { return this; } + /** + * URLs of the zones where the disk should be replicated to. Only applicable for regional + * resources. + */ public Builder addReplicaZones(String replicaZones) { if (this.replicaZones == null) { this.replicaZones = new LinkedList<>(); @@ -746,101 +1012,227 @@ public Builder addReplicaZones(String replicaZones) { return this; } + /** [Output Only] Server-defined fully-qualified URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined fully-qualified URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * Size of the persistent disk, specified in GB. You can specify this field when creating a + * persistent disk using the sourceImage or sourceSnapshot parameter, or specify it alone to + * create an empty persistent disk. + * + *

If you specify this field along with sourceImage or sourceSnapshot, the value of sizeGb + * must not be less than the size of the sourceImage or the size of the snapshot. Acceptable + * values are 1 to 65536, inclusive. + */ public String getSizeGb() { return sizeGb; } + /** + * Size of the persistent disk, specified in GB. You can specify this field when creating a + * persistent disk using the sourceImage or sourceSnapshot parameter, or specify it alone to + * create an empty persistent disk. + * + *

If you specify this field along with sourceImage or sourceSnapshot, the value of sizeGb + * must not be less than the size of the sourceImage or the size of the snapshot. Acceptable + * values are 1 to 65536, inclusive. + */ public Builder setSizeGb(String sizeGb) { this.sizeGb = sizeGb; return this; } + /** + * The source image used to create this disk. If the source image is deleted, this field will + * not be set. + * + *

To create a disk with one of the public operating system images, specify the image by its + * family name. For example, specify family/debian-9 to use the latest Debian 9 image: + * projects/debian-cloud/global/images/family/debian-9 + * + *

Alternatively, use a specific version of a public operating system image: + * projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD + * + *

To create a disk with a custom image that you created, specify the image name in the + * following format: global/images/my-custom-image + * + *

You can also specify a custom image by its image family, which returns the latest version + * of the image in that family. Replace the image name with family/family-name: + * global/images/family/my-image-family + */ public String getSourceImage() { return sourceImage; } + /** + * The source image used to create this disk. If the source image is deleted, this field will + * not be set. + * + *

To create a disk with one of the public operating system images, specify the image by its + * family name. For example, specify family/debian-9 to use the latest Debian 9 image: + * projects/debian-cloud/global/images/family/debian-9 + * + *

Alternatively, use a specific version of a public operating system image: + * projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD + * + *

To create a disk with a custom image that you created, specify the image name in the + * following format: global/images/my-custom-image + * + *

You can also specify a custom image by its image family, which returns the latest version + * of the image in that family. Replace the image name with family/family-name: + * global/images/family/my-image-family + */ public Builder setSourceImage(String sourceImage) { this.sourceImage = sourceImage; return this; } + /** + * The customer-supplied encryption key of the source image. Required if the source image is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceImageEncryptionKey() { return sourceImageEncryptionKey; } + /** + * The customer-supplied encryption key of the source image. Required if the source image is + * protected by a customer-supplied encryption key. + */ public Builder setSourceImageEncryptionKey(CustomerEncryptionKey sourceImageEncryptionKey) { this.sourceImageEncryptionKey = sourceImageEncryptionKey; return this; } + /** + * [Output Only] The ID value of the image used to create this disk. This value identifies the + * exact image that was used to create this persistent disk. For example, if you created the + * persistent disk from an image that was later deleted and recreated under the same name, the + * source image ID would identify the exact version of the image that was used. + */ public String getSourceImageId() { return sourceImageId; } + /** + * [Output Only] The ID value of the image used to create this disk. This value identifies the + * exact image that was used to create this persistent disk. For example, if you created the + * persistent disk from an image that was later deleted and recreated under the same name, the + * source image ID would identify the exact version of the image that was used. + */ public Builder setSourceImageId(String sourceImageId) { this.sourceImageId = sourceImageId; return this; } + /** + * The source snapshot used to create this disk. You can provide this as a partial or full URL + * to the resource. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot - + * projects/project/global/snapshots/snapshot - global/snapshots/snapshot + */ public String getSourceSnapshot() { return sourceSnapshot; } + /** + * The source snapshot used to create this disk. You can provide this as a partial or full URL + * to the resource. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot - + * projects/project/global/snapshots/snapshot - global/snapshots/snapshot + */ public Builder setSourceSnapshot(String sourceSnapshot) { this.sourceSnapshot = sourceSnapshot; return this; } + /** + * The customer-supplied encryption key of the source snapshot. Required if the source snapshot + * is protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceSnapshotEncryptionKey() { return sourceSnapshotEncryptionKey; } + /** + * The customer-supplied encryption key of the source snapshot. Required if the source snapshot + * is protected by a customer-supplied encryption key. + */ public Builder setSourceSnapshotEncryptionKey( CustomerEncryptionKey sourceSnapshotEncryptionKey) { this.sourceSnapshotEncryptionKey = sourceSnapshotEncryptionKey; return this; } + /** + * [Output Only] The unique ID of the snapshot used to create this disk. This value identifies + * the exact snapshot that was used to create this persistent disk. For example, if you created + * the persistent disk from a snapshot that was later deleted and recreated under the same name, + * the source snapshot ID would identify the exact version of the snapshot that was used. + */ public String getSourceSnapshotId() { return sourceSnapshotId; } + /** + * [Output Only] The unique ID of the snapshot used to create this disk. This value identifies + * the exact snapshot that was used to create this persistent disk. For example, if you created + * the persistent disk from a snapshot that was later deleted and recreated under the same name, + * the source snapshot ID would identify the exact version of the snapshot that was used. + */ public Builder setSourceSnapshotId(String sourceSnapshotId) { this.sourceSnapshotId = sourceSnapshotId; return this; } + /** [Output Only] The status of disk creation. */ public String getStatus() { return status; } + /** [Output Only] The status of disk creation. */ public Builder setStatus(String status) { this.status = status; return this; } + /** + * URL of the disk type resource describing which disk type to use to create the disk. Provide + * this when creating the disk. For example: project/zones/zone/diskTypes/pd-standard or pd-ssd + */ public String getType() { return type; } + /** + * URL of the disk type resource describing which disk type to use to create the disk. Provide + * this when creating the disk. For example: project/zones/zone/diskTypes/pd-standard or pd-ssd + */ public Builder setType(String type) { this.type = type; return this; } + /** + * [Output Only] Links to the users of the disk (attached instances) in form: + * project/zones/zone/instances/instance + */ public List getUsersList() { return users; } + /** + * [Output Only] Links to the users of the disk (attached instances) in form: + * project/zones/zone/instances/instance + */ public Builder addAllUsers(List users) { if (this.users == null) { this.users = new LinkedList<>(); @@ -849,6 +1241,10 @@ public Builder addAllUsers(List users) { return this; } + /** + * [Output Only] Links to the users of the disk (attached instances) in form: + * project/zones/zone/instances/instance + */ public Builder addUsers(String users) { if (this.users == null) { this.users = new LinkedList<>(); @@ -857,10 +1253,18 @@ public Builder addUsers(String users) { return this; } + /** + * [Output Only] URL of the zone where the disk resides. You must specify this field as part of + * the HTTP request URL. It is not settable as a field in the request body. + */ public String getZone() { return zone; } + /** + * [Output Only] URL of the zone where the disk resides. You must specify this field as part of + * the HTTP request URL. It is not settable as a field in the request body. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskAggregatedList.java index f0f5e503e098..3f372d4f5304 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of DisksScopedList resources. The key for the map is: [Output Only] Name of the scope + * containing this set of disks. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#diskAggregatedList for aggregated lists of + * persistent disks. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(DiskAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of DisksScopedList resources. The key for the map is: [Output Only] Name of the scope + * containing this set of disks. + */ public Map getItemsMap() { return items; } + /** + * A list of DisksScopedList resources. The key for the map is: [Output Only] Name of the scope + * containing this set of disks. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#diskAggregatedList for aggregated lists of + * persistent disks. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#diskAggregatedList for aggregated lists of + * persistent disks. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskInstantiationConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskInstantiationConfig.java index 58b651a317ed..e00808c78e9c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskInstantiationConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskInstantiationConfig.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A specification of the desired way to instantiate a disk in the instance template when its + * created from a source instance. + */ public final class DiskInstantiationConfig implements ApiMessage { private final Boolean autoDelete; private final String customImage; @@ -74,18 +78,38 @@ public List getFieldMask() { return null; } + /** + * Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the + * disk is detached from the instance). + */ public Boolean getAutoDelete() { return autoDelete; } + /** + * The custom source image to be used to restore this disk when instantiating this instance + * template. + */ public String getCustomImage() { return customImage; } + /** Specifies the device name of the disk to which the configurations apply to. */ public String getDeviceName() { return deviceName; } + /** + * Specifies whether to include the disk and what image to use. Possible values are: - + * source-image: to use the same image that was used to create the source instance's corresponding + * disk. Applicable to the boot disk and additional read-write disks. - source-image-family: to + * use the same image family that was used to create the source instance's corresponding disk. + * Applicable to the boot disk and additional read-write disks. - custom-image: to use a + * user-provided image url for disk creation. Applicable to the boot disk and additional + * read-write disks. - attach-read-only: to attach a read-only disk. Applicable to read-only + * disks. - do-not-include: to exclude a disk from the template. Applicable to additional + * read-write disks, local SSDs, and read-only disks. + */ public String getInstantiateFrom() { return instantiateFrom; } @@ -144,37 +168,77 @@ public Builder mergeFrom(DiskInstantiationConfig other) { this.instantiateFrom = source.instantiateFrom; } + /** + * Specifies whether the disk will be auto-deleted when the instance is deleted (but not when + * the disk is detached from the instance). + */ public Boolean getAutoDelete() { return autoDelete; } + /** + * Specifies whether the disk will be auto-deleted when the instance is deleted (but not when + * the disk is detached from the instance). + */ public Builder setAutoDelete(Boolean autoDelete) { this.autoDelete = autoDelete; return this; } + /** + * The custom source image to be used to restore this disk when instantiating this instance + * template. + */ public String getCustomImage() { return customImage; } + /** + * The custom source image to be used to restore this disk when instantiating this instance + * template. + */ public Builder setCustomImage(String customImage) { this.customImage = customImage; return this; } + /** Specifies the device name of the disk to which the configurations apply to. */ public String getDeviceName() { return deviceName; } + /** Specifies the device name of the disk to which the configurations apply to. */ public Builder setDeviceName(String deviceName) { this.deviceName = deviceName; return this; } + /** + * Specifies whether to include the disk and what image to use. Possible values are: - + * source-image: to use the same image that was used to create the source instance's + * corresponding disk. Applicable to the boot disk and additional read-write disks. - + * source-image-family: to use the same image family that was used to create the source + * instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - + * custom-image: to use a user-provided image url for disk creation. Applicable to the boot disk + * and additional read-write disks. - attach-read-only: to attach a read-only disk. Applicable + * to read-only disks. - do-not-include: to exclude a disk from the template. Applicable to + * additional read-write disks, local SSDs, and read-only disks. + */ public String getInstantiateFrom() { return instantiateFrom; } + /** + * Specifies whether to include the disk and what image to use. Possible values are: - + * source-image: to use the same image that was used to create the source instance's + * corresponding disk. Applicable to the boot disk and additional read-write disks. - + * source-image-family: to use the same image family that was used to create the source + * instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - + * custom-image: to use a user-provided image url for disk creation. Applicable to the boot disk + * and additional read-write disks. - attach-read-only: to attach a read-only disk. Applicable + * to read-only disks. - do-not-include: to exclude a disk from the template. Applicable to + * additional read-write disks, local SSDs, and read-only disks. + */ public Builder setInstantiateFrom(String instantiateFrom) { this.instantiateFrom = instantiateFrom; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskList.java index f91a4af380ee..dd10b35948e1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A list of Disk resources. */ public final class DiskList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Disk resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#diskList for lists of disks. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(DiskList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Disk resources. */ public List getItemsList() { return items; } + /** A list of Disk resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Disk resources. */ public Builder addItems(Disk items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Disk items) { return this; } + /** [Output Only] Type of resource. Always compute#diskList for lists of disks. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#diskList for lists of disks. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskMoveRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskMoveRequest.java index 6529028c6341..1821acee89f3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskMoveRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskMoveRequest.java @@ -61,10 +61,22 @@ public List getFieldMask() { return null; } + /** + * The URL of the destination zone to move the disk. This can be a full or partial URL. For + * example, the following are all valid URLs to a zone: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone + * - zones/zone + */ public String getDestinationZone() { return destinationZone; } + /** + * The URL of the target disk to move. This can be a full or partial URL. For example, the + * following are all valid URLs to a disk: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk - + * projects/project/zones/zone/disks/disk - zones/zone/disks/disk + */ public String getTargetDisk() { return targetDisk; } @@ -113,19 +125,43 @@ public Builder mergeFrom(DiskMoveRequest other) { this.targetDisk = source.targetDisk; } + /** + * The URL of the destination zone to move the disk. This can be a full or partial URL. For + * example, the following are all valid URLs to a zone: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone - + * projects/project/zones/zone - zones/zone + */ public String getDestinationZone() { return destinationZone; } + /** + * The URL of the destination zone to move the disk. This can be a full or partial URL. For + * example, the following are all valid URLs to a zone: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone - + * projects/project/zones/zone - zones/zone + */ public Builder setDestinationZone(String destinationZone) { this.destinationZone = destinationZone; return this; } + /** + * The URL of the target disk to move. This can be a full or partial URL. For example, the + * following are all valid URLs to a disk: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk - + * projects/project/zones/zone/disks/disk - zones/zone/disks/disk + */ public String getTargetDisk() { return targetDisk; } + /** + * The URL of the target disk to move. This can be a full or partial URL. For example, the + * following are all valid URLs to a disk: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk - + * projects/project/zones/zone/disks/disk - zones/zone/disks/disk + */ public Builder setTargetDisk(String targetDisk) { this.targetDisk = targetDisk; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskType.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskType.java index 4b40f7da18ad..69b16602211f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskType.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskType.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** A DiskType resource. (== resource_for beta.diskTypes ==) (== resource_for v1.diskTypes ==) */ public final class DiskType implements ApiMessage { private final String creationTimestamp; private final String defaultDiskSizeGb; @@ -126,46 +127,66 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Server-defined default disk size in GB. */ public String getDefaultDiskSizeGb() { return defaultDiskSizeGb; } + /** [Output Only] The deprecation status associated with this disk type. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] An optional description of this resource. */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#diskType for disk types. */ public String getKind() { return kind; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** + * [Output Only] URL of the region where the disk type resides. Only applicable for regional + * resources. You must specify this field as part of the HTTP request URL. It is not settable as a + * field in the request body. + */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] An optional textual description of the valid disk size, such as "10GB-10TB". */ public String getValidDiskSize() { return validDiskSize; } + /** + * [Output Only] URL of the zone where the disk type resides. You must specify this field as part + * of the HTTP request URL. It is not settable as a field in the request body. + */ public String getZone() { return zone; } @@ -259,100 +280,146 @@ public Builder mergeFrom(DiskType other) { this.zone = source.zone; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** [Output Only] Server-defined default disk size in GB. */ public String getDefaultDiskSizeGb() { return defaultDiskSizeGb; } + /** [Output Only] Server-defined default disk size in GB. */ public Builder setDefaultDiskSizeGb(String defaultDiskSizeGb) { this.defaultDiskSizeGb = defaultDiskSizeGb; return this; } + /** [Output Only] The deprecation status associated with this disk type. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] The deprecation status associated with this disk type. */ public Builder setDeprecated(DeprecationStatus deprecated) { this.deprecated = deprecated; return this; } + /** [Output Only] An optional description of this resource. */ public String getDescription() { return description; } + /** [Output Only] An optional description of this resource. */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#diskType for disk types. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#diskType for disk types. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Name of the resource. */ public Builder setName(String name) { this.name = name; return this; } + /** + * [Output Only] URL of the region where the disk type resides. Only applicable for regional + * resources. You must specify this field as part of the HTTP request URL. It is not settable as + * a field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] URL of the region where the disk type resides. Only applicable for regional + * resources. You must specify this field as part of the HTTP request URL. It is not settable as + * a field in the request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * [Output Only] An optional textual description of the valid disk size, such as "10GB-10TB". + */ public String getValidDiskSize() { return validDiskSize; } + /** + * [Output Only] An optional textual description of the valid disk size, such as "10GB-10TB". + */ public Builder setValidDiskSize(String validDiskSize) { this.validDiskSize = validDiskSize; return this; } + /** + * [Output Only] URL of the zone where the disk type resides. You must specify this field as + * part of the HTTP request URL. It is not settable as a field in the request body. + */ public String getZone() { return zone; } + /** + * [Output Only] URL of the zone where the disk type resides. You must specify this field as + * part of the HTTP request URL. It is not settable as a field in the request body. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeAggregatedList.java index e20a982d4fba..a9635058c82f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeAggregatedList.java @@ -92,26 +92,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of DiskTypesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of disk types. + */ public Map getItemsMap() { return items; } + /** [Output Only] Type of resource. Always compute#diskTypeAggregatedList. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +194,83 @@ public Builder mergeFrom(DiskTypeAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of DiskTypesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of disk types. + */ public Map getItemsMap() { return items; } + /** + * A list of DiskTypesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of disk types. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** [Output Only] Type of resource. Always compute#diskTypeAggregatedList. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#diskTypeAggregatedList. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeList.java index cf0188c59a77..012ac9c067d6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of disk types. */ public final class DiskTypeList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of DiskType resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#diskTypeList for disk types. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(DiskTypeList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of DiskType resources. */ public List getItemsList() { return items; } + /** A list of DiskType resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of DiskType resources. */ public Builder addItems(DiskType items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(DiskType items) { return this; } + /** [Output Only] Type of resource. Always compute#diskTypeList for disk types. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#diskTypeList for disk types. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypesScopedList.java index a4a374e3f329..ba027c6a063d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypesScopedList.java @@ -62,10 +62,15 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of disk types contained in this scope. */ public List getDiskTypesList() { return diskTypes; } + /** + * [Output Only] Informational warning which replaces the list of disk types when the list is + * empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +119,12 @@ public Builder mergeFrom(DiskTypesScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of disk types contained in this scope. */ public List getDiskTypesList() { return diskTypes; } + /** [Output Only] A list of disk types contained in this scope. */ public Builder addAllDiskTypes(List diskTypes) { if (this.diskTypes == null) { this.diskTypes = new LinkedList<>(); @@ -126,6 +133,7 @@ public Builder addAllDiskTypes(List diskTypes) { return this; } + /** [Output Only] A list of disk types contained in this scope. */ public Builder addDiskTypes(DiskType diskTypes) { if (this.diskTypes == null) { this.diskTypes = new LinkedList<>(); @@ -134,10 +142,18 @@ public Builder addDiskTypes(DiskType diskTypes) { return this; } + /** + * [Output Only] Informational warning which replaces the list of disk types when the list is + * empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] Informational warning which replaces the list of disk types when the list is + * empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksResizeRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksResizeRequest.java index 08a674e6f8e8..cb9078fb5a01 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksResizeRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksResizeRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** The new size of the persistent disk, which is specified in GB. */ public String getSizeGb() { return sizeGb; } @@ -98,10 +99,12 @@ public Builder mergeFrom(DisksResizeRequest other) { this.sizeGb = source.sizeGb; } + /** The new size of the persistent disk, which is specified in GB. */ public String getSizeGb() { return sizeGb; } + /** The new size of the persistent disk, which is specified in GB. */ public Builder setSizeGb(String sizeGb) { this.sizeGb = sizeGb; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksScopedList.java index ba9e04c6e6e5..c6eacdd2a3b2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DisksScopedList.java @@ -62,10 +62,14 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of disks contained in this scope. */ public List getDisksList() { return disks; } + /** + * [Output Only] Informational warning which replaces the list of disks when the list is empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +118,12 @@ public Builder mergeFrom(DisksScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of disks contained in this scope. */ public List getDisksList() { return disks; } + /** [Output Only] A list of disks contained in this scope. */ public Builder addAllDisks(List disks) { if (this.disks == null) { this.disks = new LinkedList<>(); @@ -126,6 +132,7 @@ public Builder addAllDisks(List disks) { return this; } + /** [Output Only] A list of disks contained in this scope. */ public Builder addDisks(Disk disks) { if (this.disks == null) { this.disks = new LinkedList<>(); @@ -134,10 +141,16 @@ public Builder addDisks(Disk disks) { return this; } + /** + * [Output Only] Informational warning which replaces the list of disks when the list is empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] Informational warning which replaces the list of disks when the list is empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicy.java index 815d54610257..70cb93231928 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicy.java @@ -56,6 +56,7 @@ public List getFieldMask() { return null; } + /** Zones where the regional managed instance group will create and manage instances. */ public List getZonesList() { return zones; } @@ -99,10 +100,12 @@ public Builder mergeFrom(DistributionPolicy other) { this.zones = source.zones; } + /** Zones where the regional managed instance group will create and manage instances. */ public List getZonesList() { return zones; } + /** Zones where the regional managed instance group will create and manage instances. */ public Builder addAllZones(List zones) { if (this.zones == null) { this.zones = new LinkedList<>(); @@ -111,6 +114,7 @@ public Builder addAllZones(List zones) { return this; } + /** Zones where the regional managed instance group will create and manage instances. */ public Builder addZones(DistributionPolicyZoneConfiguration zones) { if (this.zones == null) { this.zones = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicyZoneConfiguration.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicyZoneConfiguration.java index e4c34ce44ac8..43782bb79e67 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicyZoneConfiguration.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DistributionPolicyZoneConfiguration.java @@ -55,6 +55,10 @@ public List getFieldMask() { return null; } + /** + * The URL of the zone. The zone must exist in the region where the managed instance group is + * located. + */ public String getZone() { return zone; } @@ -98,10 +102,18 @@ public Builder mergeFrom(DistributionPolicyZoneConfiguration other) { this.zone = source.zone; } + /** + * The URL of the zone. The zone must exist in the region where the managed instance group is + * located. + */ public String getZone() { return zone; } + /** + * The URL of the zone. The zone must exist in the region where the managed instance group is + * located. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnHostProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnHostProjectHttpRequest.java index 542b7920a9bf..af717092b163 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnHostProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnHostProjectHttpRequest.java @@ -116,38 +116,65 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/enableXpnHost`. \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +258,136 @@ public Builder mergeFrom(EnableXpnHostProjectHttpRequest other) { 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; } + /** 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; } + /** 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}/enableXpnHost`. \`{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}/enableXpnHost`. \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnResourceProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnResourceProjectHttpRequest.java index 3bde2f3b2aad..4a88dc242b89 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnResourceProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/EnableXpnResourceProjectHttpRequest.java @@ -124,26 +124,38 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/enableXpnResource`. + * \`{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; } @@ -152,14 +164,29 @@ public ProjectsEnableXpnResourceRequest getProjectsEnableXpnResourceRequestResou return projectsEnableXpnResourceRequestResource; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -250,55 +277,79 @@ public Builder mergeFrom(EnableXpnResourceProjectHttpRequest other) { 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; } + /** 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; } + /** 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}/enableXpnResource`. + * \`{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}/enableXpnResource`. + * \`{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; @@ -314,28 +365,58 @@ public Builder setProjectsEnableXpnResourceRequestResource( return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Error.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Error.java index d9098205b9ce..912e2ff74b75 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Error.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Error.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * [Output Only] If errors are generated during processing of the operation, this field will be + * populated. + */ public final class Error implements ApiMessage { private final List errors; @@ -56,6 +60,7 @@ public List getFieldMask() { return null; } + /** [Output Only] The array of errors encountered while processing this operation. */ public List getErrorsList() { return errors; } @@ -99,10 +104,12 @@ public Builder mergeFrom(Error other) { this.errors = source.errors; } + /** [Output Only] The array of errors encountered while processing this operation. */ public List getErrorsList() { return errors; } + /** [Output Only] The array of errors encountered while processing this operation. */ public Builder addAllErrors(List errors) { if (this.errors == null) { this.errors = new LinkedList<>(); @@ -111,6 +118,7 @@ public Builder addAllErrors(List errors) { return this; } + /** [Output Only] The array of errors encountered while processing this operation. */ public Builder addErrors(Errors errors) { if (this.errors == null) { this.errors = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Errors.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Errors.java index c7498c0180c5..ecc531c3977d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Errors.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Errors.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** [Output Only] The array of errors encountered while processing this operation. */ public final class Errors implements ApiMessage { private final String code; private final String location; @@ -67,14 +68,20 @@ public List getFieldMask() { return null; } + /** [Output Only] The error type identifier for this error. */ public String getCode() { return code; } + /** + * [Output Only] Indicates the field in the request that caused the error. This property is + * optional. + */ public String getLocation() { return location; } + /** [Output Only] An optional, human-readable error message. */ public String getMessage() { return message; } @@ -128,28 +135,40 @@ public Builder mergeFrom(Errors other) { this.message = source.message; } + /** [Output Only] The error type identifier for this error. */ public String getCode() { return code; } + /** [Output Only] The error type identifier for this error. */ public Builder setCode(String code) { this.code = code; return this; } + /** + * [Output Only] Indicates the field in the request that caused the error. This property is + * optional. + */ public String getLocation() { return location; } + /** + * [Output Only] Indicates the field in the request that caused the error. This property is + * optional. + */ public Builder setLocation(String location) { this.location = location; return this; } + /** [Output Only] An optional, human-readable error message. */ public String getMessage() { return message; } + /** [Output Only] An optional, human-readable error message. */ public Builder setMessage(String message) { this.message = message; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ExpandIpCidrRangeSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ExpandIpCidrRangeSubnetworkHttpRequest.java index 058f8e3d6f56..3580f677d662 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ExpandIpCidrRangeSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ExpandIpCidrRangeSubnetworkHttpRequest.java @@ -123,34 +123,61 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the Subnetwork resource to update. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange`. \`{subnetwork}\` 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 getSubnetwork() { return subnetwork; } @@ -159,6 +186,7 @@ public SubnetworksExpandIpCidrRangeRequest getSubnetworksExpandIpCidrRangeReques return subnetworksExpandIpCidrRangeRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,73 +277,127 @@ public Builder mergeFrom(ExpandIpCidrRangeSubnetworkHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the Subnetwork resource to update. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange`. \`{subnetwork}\` + * 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 getSubnetwork() { return subnetwork; } + /** + * Name of the Subnetwork resource to update. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange`. \`{subnetwork}\` + * 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 setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; return this; @@ -332,10 +414,12 @@ public Builder setSubnetworksExpandIpCidrRangeRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Expr.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Expr.java index 4fc6d008b829..078ac8cbb631 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Expr.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Expr.java @@ -24,6 +24,12 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents an expression text. Example: + * + *

title: "User account presence" description: "Determines whether the request has a user + * account" expression: "size(request.user) > 0" + */ public final class Expr implements ApiMessage { private final String description; private final String expression; @@ -73,18 +79,36 @@ public List getFieldMask() { return null; } + /** + * An optional description of the expression. This is a longer text which describes the + * expression, e.g. when hovered over it in a UI. + */ public String getDescription() { return description; } + /** + * Textual representation of an expression in Common Expression Language syntax. + * + *

The application context of the containing message determines which well-known feature set of + * CEL is supported. + */ public String getExpression() { return expression; } + /** + * An optional string indicating the location of the expression for error reporting, e.g. a file + * name and a position in the file. + */ public String getLocation() { return location; } + /** + * An optional title for the expression, i.e. a short string describing its purpose. This can be + * used e.g. in UIs which allow to enter the expression. + */ public String getTitle() { return title; } @@ -143,37 +167,73 @@ public Builder mergeFrom(Expr other) { this.title = source.title; } + /** + * An optional description of the expression. This is a longer text which describes the + * expression, e.g. when hovered over it in a UI. + */ public String getDescription() { return description; } + /** + * An optional description of the expression. This is a longer text which describes the + * expression, e.g. when hovered over it in a UI. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * Textual representation of an expression in Common Expression Language syntax. + * + *

The application context of the containing message determines which well-known feature set + * of CEL is supported. + */ public String getExpression() { return expression; } + /** + * Textual representation of an expression in Common Expression Language syntax. + * + *

The application context of the containing message determines which well-known feature set + * of CEL is supported. + */ public Builder setExpression(String expression) { this.expression = expression; return this; } + /** + * An optional string indicating the location of the expression for error reporting, e.g. a file + * name and a position in the file. + */ public String getLocation() { return location; } + /** + * An optional string indicating the location of the expression for error reporting, e.g. a file + * name and a position in the file. + */ public Builder setLocation(String location) { this.location = location; return this; } + /** + * An optional title for the expression, i.e. a short string describing its purpose. This can be + * used e.g. in UIs which allow to enter the expression. + */ public String getTitle() { return title; } + /** + * An optional title for the expression, i.e. a short string describing its purpose. This can be + * used e.g. in UIs which allow to enter the expression. + */ public Builder setTitle(String title) { this.title = title; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Firewall.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Firewall.java index 1cc66d0ca924..b718d53d92d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Firewall.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Firewall.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Represents a Firewall resource. */ public final class Firewall implements ApiMessage { private final List allowed; private final String creationTimestamp; @@ -183,78 +184,176 @@ public List getFieldMask() { return null; } + /** + * The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and + * port-range tuple that describes a permitted connection. + */ public List getAllowedList() { return allowed; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * The list of DENY rules specified by this firewall. Each rule specifies a protocol and + * port-range tuple that describes a denied connection. + */ public List getDeniedList() { return denied; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * If destination ranges are specified, the firewall will apply only to traffic that has + * destination IP address in these ranges. These ranges must be expressed in CIDR format. Only + * IPv4 is supported. + */ public List getDestinationRangesList() { return destinationRanges; } + /** + * Direction of traffic to which this firewall applies; default is INGRESS. Note: For INGRESS + * traffic, it is NOT supported to specify destinationRanges; For EGRESS traffic, it is NOT + * supported to specify sourceRanges OR sourceTags. + */ public String getDirection() { return direction; } + /** + * Denotes whether the firewall rule is disabled, i.e not applied to the network it is associated + * with. When set to true, the firewall rule is not enforced and the network behaves as if it did + * not exist. If this is unspecified, the firewall rule will be enabled. + */ public Boolean getDisabled() { return disabled; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#firewall for firewall rules. */ public String getKind() { return kind; } + /** + * This field denotes the logging options for a particular firewall rule. If logging is enabled, + * logs will be exported to Stackdriver. + */ public FirewallLogConfig getLogConfig() { return logConfig; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * URL of the network resource for this firewall rule. If not specified when creating a firewall + * rule, the default network is used: global/networks/default If you choose to specify this + * property, you can specify the network as a full or partial URL. For example, the following are + * all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my-network - + * projects/myproject/global/networks/my-network - global/networks/default + */ public String getNetwork() { return network; } + /** + * Priority for this rule. This is an integer between 0 and 65535, both inclusive. When not + * specified, the value assumed is 1000. Relative priorities determine precedence of conflicting + * rules. Lower value of priority implies higher precedence (eg, a rule with priority 0 has higher + * precedence than a rule with priority 1). DENY rules take precedence over ALLOW rules having + * equal priority. + */ public Integer getPriority() { return priority; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * If source ranges are specified, the firewall will apply only to traffic that has source IP + * address in these ranges. These ranges must be expressed in CIDR format. One or both of + * sourceRanges and sourceTags may be set. If both properties are set, the firewall will apply to + * traffic that has source IP address within sourceRanges OR the source IP that belongs to a tag + * listed in the sourceTags property. The connection does not need to match both properties for + * the firewall to apply. Only IPv4 is supported. + */ public List getSourceRangesList() { return sourceRanges; } + /** + * If source service accounts are specified, the firewall will apply only to traffic originating + * from an instance with a service account in this list. Source service accounts cannot be used to + * control traffic to an instance's external IP address because service accounts are associated + * with an instance, not an IP address. sourceRanges can be set at the same time as + * sourceServiceAccounts. If both are set, the firewall will apply to traffic that has source IP + * address within sourceRanges OR the source IP belongs to an instance with service account listed + * in sourceServiceAccount. The connection does not need to match both properties for the firewall + * to apply. sourceServiceAccounts cannot be used at the same time as sourceTags or targetTags. + */ public List getSourceServiceAccountsList() { return sourceServiceAccounts; } + /** + * If source tags are specified, the firewall rule applies only to traffic with source IPs that + * match the primary network interfaces of VM instances that have the tag and are in the same VPC + * network. Source tags cannot be used to control traffic to an instance's external IP address, it + * only applies to traffic between instances in the same virtual network. Because tags are + * associated with instances, not IP addresses. One or both of sourceRanges and sourceTags may be + * set. If both properties are set, the firewall will apply to traffic that has source IP address + * within sourceRanges OR the source IP that belongs to a tag listed in the sourceTags property. + * The connection does not need to match both properties for the firewall to apply. + */ public List getSourceTagsList() { return sourceTags; } + /** + * A list of service accounts indicating sets of instances located in the network that may make + * network connections as specified in allowed[]. targetServiceAccounts cannot be used at the same + * time as targetTags or sourceTags. If neither targetServiceAccounts nor targetTags are + * specified, the firewall rule applies to all instances on the specified network. + */ public List getTargetServiceAccountsList() { return targetServiceAccounts; } + /** + * A list of tags that controls which instances the firewall rule applies to. If targetTags are + * specified, then the firewall rule applies only to instances in the VPC network that have one of + * those tags. If no targetTags are specified, the firewall rule applies to all instances on the + * specified network. + */ public List getTargetTagsList() { return targetTags; } @@ -388,10 +487,18 @@ public Builder mergeFrom(Firewall other) { this.targetTags = source.targetTags; } + /** + * The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and + * port-range tuple that describes a permitted connection. + */ public List getAllowedList() { return allowed; } + /** + * The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and + * port-range tuple that describes a permitted connection. + */ public Builder addAllAllowed(List allowed) { if (this.allowed == null) { this.allowed = new LinkedList<>(); @@ -400,6 +507,10 @@ public Builder addAllAllowed(List allowed) { return this; } + /** + * The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and + * port-range tuple that describes a permitted connection. + */ public Builder addAllowed(Allowed allowed) { if (this.allowed == null) { this.allowed = new LinkedList<>(); @@ -408,19 +519,29 @@ public Builder addAllowed(Allowed allowed) { return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * The list of DENY rules specified by this firewall. Each rule specifies a protocol and + * port-range tuple that describes a denied connection. + */ public List getDeniedList() { return denied; } + /** + * The list of DENY rules specified by this firewall. Each rule specifies a protocol and + * port-range tuple that describes a denied connection. + */ public Builder addAllDenied(List denied) { if (this.denied == null) { this.denied = new LinkedList<>(); @@ -429,6 +550,10 @@ public Builder addAllDenied(List denied) { return this; } + /** + * The list of DENY rules specified by this firewall. Each rule specifies a protocol and + * port-range tuple that describes a denied connection. + */ public Builder addDenied(Denied denied) { if (this.denied == null) { this.denied = new LinkedList<>(); @@ -437,19 +562,35 @@ public Builder addDenied(Denied denied) { return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * If destination ranges are specified, the firewall will apply only to traffic that has + * destination IP address in these ranges. These ranges must be expressed in CIDR format. Only + * IPv4 is supported. + */ public List getDestinationRangesList() { return destinationRanges; } + /** + * If destination ranges are specified, the firewall will apply only to traffic that has + * destination IP address in these ranges. These ranges must be expressed in CIDR format. Only + * IPv4 is supported. + */ public Builder addAllDestinationRanges(List destinationRanges) { if (this.destinationRanges == null) { this.destinationRanges = new LinkedList<>(); @@ -458,6 +599,11 @@ public Builder addAllDestinationRanges(List destinationRanges) { return this; } + /** + * If destination ranges are specified, the firewall will apply only to traffic that has + * destination IP address in these ranges. These ranges must be expressed in CIDR format. Only + * IPv4 is supported. + */ public Builder addDestinationRanges(String destinationRanges) { if (this.destinationRanges == null) { this.destinationRanges = new LinkedList<>(); @@ -466,91 +612,191 @@ public Builder addDestinationRanges(String destinationRanges) { return this; } + /** + * Direction of traffic to which this firewall applies; default is INGRESS. Note: For INGRESS + * traffic, it is NOT supported to specify destinationRanges; For EGRESS traffic, it is NOT + * supported to specify sourceRanges OR sourceTags. + */ public String getDirection() { return direction; } + /** + * Direction of traffic to which this firewall applies; default is INGRESS. Note: For INGRESS + * traffic, it is NOT supported to specify destinationRanges; For EGRESS traffic, it is NOT + * supported to specify sourceRanges OR sourceTags. + */ public Builder setDirection(String direction) { this.direction = direction; return this; } + /** + * Denotes whether the firewall rule is disabled, i.e not applied to the network it is + * associated with. When set to true, the firewall rule is not enforced and the network behaves + * as if it did not exist. If this is unspecified, the firewall rule will be enabled. + */ public Boolean getDisabled() { return disabled; } + /** + * Denotes whether the firewall rule is disabled, i.e not applied to the network it is + * associated with. When set to true, the firewall rule is not enforced and the network behaves + * as if it did not exist. If this is unspecified, the firewall rule will be enabled. + */ public Builder setDisabled(Boolean disabled) { this.disabled = disabled; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#firewall for firewall rules. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#firewall for firewall rules. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * This field denotes the logging options for a particular firewall rule. If logging is enabled, + * logs will be exported to Stackdriver. + */ public FirewallLogConfig getLogConfig() { return logConfig; } + /** + * This field denotes the logging options for a particular firewall rule. If logging is enabled, + * logs will be exported to Stackdriver. + */ public Builder setLogConfig(FirewallLogConfig logConfig) { this.logConfig = logConfig; return this; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * URL of the network resource for this firewall rule. If not specified when creating a firewall + * rule, the default network is used: global/networks/default If you choose to specify this + * property, you can specify the network as a full or partial URL. For example, the following + * are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my-network - + * projects/myproject/global/networks/my-network - global/networks/default + */ public String getNetwork() { return network; } + /** + * URL of the network resource for this firewall rule. If not specified when creating a firewall + * rule, the default network is used: global/networks/default If you choose to specify this + * property, you can specify the network as a full or partial URL. For example, the following + * are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my-network - + * projects/myproject/global/networks/my-network - global/networks/default + */ public Builder setNetwork(String network) { this.network = network; return this; } + /** + * Priority for this rule. This is an integer between 0 and 65535, both inclusive. When not + * specified, the value assumed is 1000. Relative priorities determine precedence of conflicting + * rules. Lower value of priority implies higher precedence (eg, a rule with priority 0 has + * higher precedence than a rule with priority 1). DENY rules take precedence over ALLOW rules + * having equal priority. + */ public Integer getPriority() { return priority; } + /** + * Priority for this rule. This is an integer between 0 and 65535, both inclusive. When not + * specified, the value assumed is 1000. Relative priorities determine precedence of conflicting + * rules. Lower value of priority implies higher precedence (eg, a rule with priority 0 has + * higher precedence than a rule with priority 1). DENY rules take precedence over ALLOW rules + * having equal priority. + */ public Builder setPriority(Integer priority) { this.priority = priority; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * If source ranges are specified, the firewall will apply only to traffic that has source IP + * address in these ranges. These ranges must be expressed in CIDR format. One or both of + * sourceRanges and sourceTags may be set. If both properties are set, the firewall will apply + * to traffic that has source IP address within sourceRanges OR the source IP that belongs to a + * tag listed in the sourceTags property. The connection does not need to match both properties + * for the firewall to apply. Only IPv4 is supported. + */ public List getSourceRangesList() { return sourceRanges; } + /** + * If source ranges are specified, the firewall will apply only to traffic that has source IP + * address in these ranges. These ranges must be expressed in CIDR format. One or both of + * sourceRanges and sourceTags may be set. If both properties are set, the firewall will apply + * to traffic that has source IP address within sourceRanges OR the source IP that belongs to a + * tag listed in the sourceTags property. The connection does not need to match both properties + * for the firewall to apply. Only IPv4 is supported. + */ public Builder addAllSourceRanges(List sourceRanges) { if (this.sourceRanges == null) { this.sourceRanges = new LinkedList<>(); @@ -559,6 +805,14 @@ public Builder addAllSourceRanges(List sourceRanges) { return this; } + /** + * If source ranges are specified, the firewall will apply only to traffic that has source IP + * address in these ranges. These ranges must be expressed in CIDR format. One or both of + * sourceRanges and sourceTags may be set. If both properties are set, the firewall will apply + * to traffic that has source IP address within sourceRanges OR the source IP that belongs to a + * tag listed in the sourceTags property. The connection does not need to match both properties + * for the firewall to apply. Only IPv4 is supported. + */ public Builder addSourceRanges(String sourceRanges) { if (this.sourceRanges == null) { this.sourceRanges = new LinkedList<>(); @@ -567,10 +821,32 @@ public Builder addSourceRanges(String sourceRanges) { return this; } + /** + * If source service accounts are specified, the firewall will apply only to traffic originating + * from an instance with a service account in this list. Source service accounts cannot be used + * to control traffic to an instance's external IP address because service accounts are + * associated with an instance, not an IP address. sourceRanges can be set at the same time as + * sourceServiceAccounts. If both are set, the firewall will apply to traffic that has source IP + * address within sourceRanges OR the source IP belongs to an instance with service account + * listed in sourceServiceAccount. The connection does not need to match both properties for the + * firewall to apply. sourceServiceAccounts cannot be used at the same time as sourceTags or + * targetTags. + */ public List getSourceServiceAccountsList() { return sourceServiceAccounts; } + /** + * If source service accounts are specified, the firewall will apply only to traffic originating + * from an instance with a service account in this list. Source service accounts cannot be used + * to control traffic to an instance's external IP address because service accounts are + * associated with an instance, not an IP address. sourceRanges can be set at the same time as + * sourceServiceAccounts. If both are set, the firewall will apply to traffic that has source IP + * address within sourceRanges OR the source IP belongs to an instance with service account + * listed in sourceServiceAccount. The connection does not need to match both properties for the + * firewall to apply. sourceServiceAccounts cannot be used at the same time as sourceTags or + * targetTags. + */ public Builder addAllSourceServiceAccounts(List sourceServiceAccounts) { if (this.sourceServiceAccounts == null) { this.sourceServiceAccounts = new LinkedList<>(); @@ -579,6 +855,17 @@ public Builder addAllSourceServiceAccounts(List sourceServiceAccounts) { return this; } + /** + * If source service accounts are specified, the firewall will apply only to traffic originating + * from an instance with a service account in this list. Source service accounts cannot be used + * to control traffic to an instance's external IP address because service accounts are + * associated with an instance, not an IP address. sourceRanges can be set at the same time as + * sourceServiceAccounts. If both are set, the firewall will apply to traffic that has source IP + * address within sourceRanges OR the source IP belongs to an instance with service account + * listed in sourceServiceAccount. The connection does not need to match both properties for the + * firewall to apply. sourceServiceAccounts cannot be used at the same time as sourceTags or + * targetTags. + */ public Builder addSourceServiceAccounts(String sourceServiceAccounts) { if (this.sourceServiceAccounts == null) { this.sourceServiceAccounts = new LinkedList<>(); @@ -587,10 +874,32 @@ public Builder addSourceServiceAccounts(String sourceServiceAccounts) { return this; } + /** + * If source tags are specified, the firewall rule applies only to traffic with source IPs that + * match the primary network interfaces of VM instances that have the tag and are in the same + * VPC network. Source tags cannot be used to control traffic to an instance's external IP + * address, it only applies to traffic between instances in the same virtual network. Because + * tags are associated with instances, not IP addresses. One or both of sourceRanges and + * sourceTags may be set. If both properties are set, the firewall will apply to traffic that + * has source IP address within sourceRanges OR the source IP that belongs to a tag listed in + * the sourceTags property. The connection does not need to match both properties for the + * firewall to apply. + */ public List getSourceTagsList() { return sourceTags; } + /** + * If source tags are specified, the firewall rule applies only to traffic with source IPs that + * match the primary network interfaces of VM instances that have the tag and are in the same + * VPC network. Source tags cannot be used to control traffic to an instance's external IP + * address, it only applies to traffic between instances in the same virtual network. Because + * tags are associated with instances, not IP addresses. One or both of sourceRanges and + * sourceTags may be set. If both properties are set, the firewall will apply to traffic that + * has source IP address within sourceRanges OR the source IP that belongs to a tag listed in + * the sourceTags property. The connection does not need to match both properties for the + * firewall to apply. + */ public Builder addAllSourceTags(List sourceTags) { if (this.sourceTags == null) { this.sourceTags = new LinkedList<>(); @@ -599,6 +908,17 @@ public Builder addAllSourceTags(List sourceTags) { return this; } + /** + * If source tags are specified, the firewall rule applies only to traffic with source IPs that + * match the primary network interfaces of VM instances that have the tag and are in the same + * VPC network. Source tags cannot be used to control traffic to an instance's external IP + * address, it only applies to traffic between instances in the same virtual network. Because + * tags are associated with instances, not IP addresses. One or both of sourceRanges and + * sourceTags may be set. If both properties are set, the firewall will apply to traffic that + * has source IP address within sourceRanges OR the source IP that belongs to a tag listed in + * the sourceTags property. The connection does not need to match both properties for the + * firewall to apply. + */ public Builder addSourceTags(String sourceTags) { if (this.sourceTags == null) { this.sourceTags = new LinkedList<>(); @@ -607,10 +927,22 @@ public Builder addSourceTags(String sourceTags) { return this; } + /** + * A list of service accounts indicating sets of instances located in the network that may make + * network connections as specified in allowed[]. targetServiceAccounts cannot be used at the + * same time as targetTags or sourceTags. If neither targetServiceAccounts nor targetTags are + * specified, the firewall rule applies to all instances on the specified network. + */ public List getTargetServiceAccountsList() { return targetServiceAccounts; } + /** + * A list of service accounts indicating sets of instances located in the network that may make + * network connections as specified in allowed[]. targetServiceAccounts cannot be used at the + * same time as targetTags or sourceTags. If neither targetServiceAccounts nor targetTags are + * specified, the firewall rule applies to all instances on the specified network. + */ public Builder addAllTargetServiceAccounts(List targetServiceAccounts) { if (this.targetServiceAccounts == null) { this.targetServiceAccounts = new LinkedList<>(); @@ -619,6 +951,12 @@ public Builder addAllTargetServiceAccounts(List targetServiceAccounts) { return this; } + /** + * A list of service accounts indicating sets of instances located in the network that may make + * network connections as specified in allowed[]. targetServiceAccounts cannot be used at the + * same time as targetTags or sourceTags. If neither targetServiceAccounts nor targetTags are + * specified, the firewall rule applies to all instances on the specified network. + */ public Builder addTargetServiceAccounts(String targetServiceAccounts) { if (this.targetServiceAccounts == null) { this.targetServiceAccounts = new LinkedList<>(); @@ -627,10 +965,22 @@ public Builder addTargetServiceAccounts(String targetServiceAccounts) { return this; } + /** + * A list of tags that controls which instances the firewall rule applies to. If targetTags are + * specified, then the firewall rule applies only to instances in the VPC network that have one + * of those tags. If no targetTags are specified, the firewall rule applies to all instances on + * the specified network. + */ public List getTargetTagsList() { return targetTags; } + /** + * A list of tags that controls which instances the firewall rule applies to. If targetTags are + * specified, then the firewall rule applies only to instances in the VPC network that have one + * of those tags. If no targetTags are specified, the firewall rule applies to all instances on + * the specified network. + */ public Builder addAllTargetTags(List targetTags) { if (this.targetTags == null) { this.targetTags = new LinkedList<>(); @@ -639,6 +989,12 @@ public Builder addAllTargetTags(List targetTags) { return this; } + /** + * A list of tags that controls which instances the firewall rule applies to. If targetTags are + * specified, then the firewall rule applies only to instances in the VPC network that have one + * of those tags. If no targetTags are specified, the firewall rule applies to all instances on + * the specified network. + */ public Builder addTargetTags(String targetTags) { if (this.targetTags == null) { this.targetTags = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallList.java index 13dccaa88404..22769fd11467 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of firewalls. */ public final class FirewallList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Firewall resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#firewallList for lists of firewalls. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(FirewallList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Firewall resources. */ public List getItemsList() { return items; } + /** A list of Firewall resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Firewall resources. */ public Builder addItems(Firewall items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Firewall items) { return this; } + /** [Output Only] Type of resource. Always compute#firewallList for lists of firewalls. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#firewallList for lists of firewalls. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallLogConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallLogConfig.java index b5a3606f0808..6f27852bdea2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallLogConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallLogConfig.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** The available logging options for a firewall rule. */ public final class FirewallLogConfig implements ApiMessage { private final Boolean enable; @@ -55,6 +56,7 @@ public List getFieldMask() { return null; } + /** This field denotes whether to enable logging for a particular firewall rule. */ public Boolean getEnable() { return enable; } @@ -98,10 +100,12 @@ public Builder mergeFrom(FirewallLogConfig other) { this.enable = source.enable; } + /** This field denotes whether to enable logging for a particular firewall rule. */ public Boolean getEnable() { return enable; } + /** This field denotes whether to enable logging for a particular firewall rule. */ public Builder setEnable(Boolean enable) { this.enable = enable; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FixedOrPercent.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FixedOrPercent.java index 9530f06cef1d..ebdb8619b4a1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FixedOrPercent.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FixedOrPercent.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Encapsulates numeric value that can be either absolute or relative. */ public final class FixedOrPercent implements ApiMessage { private final Integer calculated; private final Integer fixed; @@ -67,14 +68,27 @@ public List getFieldMask() { return null; } + /** + * [Output Only] Absolute value of VM instances calculated based on the specific mode. + * + *

- If the value is fixed, then the caculated value is equal to the fixed value. - If the + * value is a percent, then the calculated value is percent/100 * targetSize. For example, the + * calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * + * 150) = 120 VM instances. If there is a remainder, the number is rounded up. + */ public Integer getCalculated() { return calculated; } + /** Specifies a fixed number of VM instances. This must be a positive integer. */ public Integer getFixed() { return fixed; } + /** + * Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for + * 80%. + */ public Integer getPercent() { return percent; } @@ -128,28 +142,54 @@ public Builder mergeFrom(FixedOrPercent other) { this.percent = source.percent; } + /** + * [Output Only] Absolute value of VM instances calculated based on the specific mode. + * + *

- If the value is fixed, then the caculated value is equal to the fixed value. - If the + * value is a percent, then the calculated value is percent/100 * targetSize. For example, + * the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 + * * 150) = 120 VM instances. If there is a remainder, the number is rounded up. + */ public Integer getCalculated() { return calculated; } + /** + * [Output Only] Absolute value of VM instances calculated based on the specific mode. + * + *

- If the value is fixed, then the caculated value is equal to the fixed value. - If the + * value is a percent, then the calculated value is percent/100 * targetSize. For example, + * the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 + * * 150) = 120 VM instances. If there is a remainder, the number is rounded up. + */ public Builder setCalculated(Integer calculated) { this.calculated = calculated; return this; } + /** Specifies a fixed number of VM instances. This must be a positive integer. */ public Integer getFixed() { return fixed; } + /** Specifies a fixed number of VM instances. This must be a positive integer. */ public Builder setFixed(Integer fixed) { this.fixed = fixed; return this; } + /** + * Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for + * 80%. + */ public Integer getPercent() { return percent; } + /** + * Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for + * 80%. + */ public Builder setPercent(Integer percent) { this.percent = percent; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java index 6f53a1dae830..12dae2a519e6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java @@ -26,6 +26,13 @@ @Generated("by GAPIC") @BetaApi +/** + * A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual + * machines to forward a packet to if it matches the given [IPAddress, IPProtocol, ports] tuple. (== + * resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules ==) (== resource_for + * beta.globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (== resource_for + * beta.regionForwardingRules ==) (== resource_for v1.regionForwardingRules ==) + */ public final class ForwardingRule implements ApiMessage { private final String backendService; private final String creationTimestamp; @@ -196,82 +203,227 @@ public List getFieldMask() { return null; } + /** + * This field is only used for INTERNAL load balancing. + * + *

For internal load balancing, this field identifies the BackendService resource to receive + * the matched traffic. + */ public String getBackendService() { return backendService; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * The IP address that this forwarding rule is serving on behalf of. + * + *

Addresses are restricted based on the forwarding rule's load balancing scheme (EXTERNAL or + * INTERNAL) and scope (global or regional). + * + *

When the load balancing scheme is EXTERNAL, for global forwarding rules, the address must be + * a global IP, and for regional forwarding rules, the address must live in the same region as the + * forwarding rule. If this field is empty, an ephemeral IPv4 address from the same scope (global + * or regional) will be assigned. A regional forwarding rule supports IPv4 only. A global + * forwarding rule supports either IPv4 or IPv6. + * + *

When the load balancing scheme is INTERNAL_SELF_MANAGED, this must be a URL reference to an + * existing Address resource ( internal regional static IP address), with a purpose of + * GCE_END_POINT and address_type of INTERNAL. + * + *

When the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP address + * belonging to the network/subnet configured for the forwarding rule. By default, if this field + * is empty, an ephemeral internal IP address will be automatically allocated from the IP range of + * the subnet or network configured for this forwarding rule. + * + *

An address can be specified either by a literal IP address or a URL reference to an existing + * Address resource. The following examples are all valid: - 100.1.2.3 - + * https://www.googleapis.com/compute/v1/projects/project/regions/region/addresses/address - + * projects/project/regions/region/addresses/address - regions/region/addresses/address - + * global/addresses/address - address + */ public String getIPAddress() { return iPAddress; } + /** + * The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, AH, SCTP or ICMP. + * + *

When the load balancing scheme is INTERNAL, only TCP and UDP are valid. When the load + * balancing scheme is INTERNAL_SELF_MANAGED, only TCPis valid. + */ public String getIPProtocol() { return iPProtocol; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. This + * can only be specified for an external global forwarding rule. + */ public String getIpVersion() { return ipVersion; } + /** + * [Output Only] Type of the resource. Always compute#forwardingRule for Forwarding Rule + * resources. + */ public String getKind() { return kind; } + /** + * This signifies what the ForwardingRule will be used for and can only take the following values: + * INTERNAL, INTERNAL_SELF_MANAGED, EXTERNAL. The value of INTERNAL means that this will be used + * for Internal Network Load Balancing (TCP, UDP). The value of INTERNAL_SELF_MANAGED means that + * this will be used for Internal Global HTTP(S) LB. The value of EXTERNAL means that this will be + * used for External Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy) + */ public String getLoadBalancingScheme() { return loadBalancingScheme; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * This field is not used for external load balancing. + * + *

For INTERNAL and INTERNAL_SELF_MANAGED load balancing, this field identifies the network + * that the load balanced IP should belong to for this Forwarding Rule. If this field is not + * specified, the default network will be used. + */ public String getNetwork() { return network; } + /** + * This signifies the networking tier used for configuring this load balancer and can only take + * the following values: PREMIUM , STANDARD. + * + *

For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For + * GlobalForwardingRule, the valid value is PREMIUM. + * + *

If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, this + * value must be equal to the networkTier of the Address. + */ public String getNetworkTier() { return networkTier; } + /** + * This field is used along with the target field for TargetHttpProxy, TargetHttpsProxy, + * TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool, TargetInstance. + * + *

Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed to ports in the + * specified range will be forwarded to target. Forwarding rules with the same [IPAddress, + * IPProtocol] pair must have disjoint port ranges. + * + *

Some types of forwarding target have constraints on the acceptable ports: - TargetHttpProxy: + * 80, 8080 - TargetHttpsProxy: 443 - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, + * 993, 995, 1688, 1883, 5222 - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, + * 995, 1688, 1883, 5222 - TargetVpnGateway: 500, 4500 + */ public String getPortRange() { return portRange; } + /** + * This field is used along with the backend_service field for internal load balancing. + * + *

When the load balancing scheme is INTERNAL, a list of ports can be configured, for example, + * ['80'], ['8000','9000'] etc. Only packets addressed to these ports will be forwarded to the + * backends configured with this forwarding rule. + * + *

You may specify a maximum of up to 5 ports. + */ public List getPortsList() { return ports; } + /** + * [Output Only] URL of the region where the regional forwarding rule resides. This field is not + * applicable to global forwarding rules. You must specify this field as part of the HTTP request + * URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * An optional prefix to the service name for this Forwarding Rule. If specified, will be the + * first label of the fully qualified service name. + * + *

The label must be 1-63 characters long, and comply with RFC1035. Specifically, the label + * must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` + * which means the first character must be a lowercase letter, and all following characters must + * be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + * + *

This field is only used for internal load balancing. + */ public String getServiceLabel() { return serviceLabel; } + /** + * [Output Only] The internal fully qualified service name for this Forwarding Rule. + * + *

This field is only used for internal load balancing. + */ public String getServiceName() { return serviceName; } + /** + * This field is only used for INTERNAL load balancing. + * + *

For internal load balancing, this field identifies the subnetwork that the load balanced IP + * should belong to for this Forwarding Rule. + * + *

If the network specified is in auto subnet mode, this field is optional. However, if the + * network is in custom subnet mode, a subnetwork must be specified. + */ public String getSubnetwork() { return subnetwork; } + /** + * The URL of the target resource to receive the matched traffic. For regional forwarding rules, + * this target must live in the same region as the forwarding rule. For global forwarding rules, + * this target must be a global load balancing resource. The forwarded traffic must be of a type + * appropriate to the target object. For INTERNAL_SELF_MANAGED" load balancing, only HTTP and + * HTTPS targets are valid. + */ public String getTarget() { return target; } @@ -410,127 +562,345 @@ public Builder mergeFrom(ForwardingRule other) { this.target = source.target; } + /** + * This field is only used for INTERNAL load balancing. + * + *

For internal load balancing, this field identifies the BackendService resource to receive + * the matched traffic. + */ public String getBackendService() { return backendService; } + /** + * This field is only used for INTERNAL load balancing. + * + *

For internal load balancing, this field identifies the BackendService resource to receive + * the matched traffic. + */ public Builder setBackendService(String backendService) { this.backendService = backendService; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * The IP address that this forwarding rule is serving on behalf of. + * + *

Addresses are restricted based on the forwarding rule's load balancing scheme (EXTERNAL or + * INTERNAL) and scope (global or regional). + * + *

When the load balancing scheme is EXTERNAL, for global forwarding rules, the address must + * be a global IP, and for regional forwarding rules, the address must live in the same region + * as the forwarding rule. If this field is empty, an ephemeral IPv4 address from the same scope + * (global or regional) will be assigned. A regional forwarding rule supports IPv4 only. A + * global forwarding rule supports either IPv4 or IPv6. + * + *

When the load balancing scheme is INTERNAL_SELF_MANAGED, this must be a URL reference to + * an existing Address resource ( internal regional static IP address), with a purpose of + * GCE_END_POINT and address_type of INTERNAL. + * + *

When the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP address + * belonging to the network/subnet configured for the forwarding rule. By default, if this field + * is empty, an ephemeral internal IP address will be automatically allocated from the IP range + * of the subnet or network configured for this forwarding rule. + * + *

An address can be specified either by a literal IP address or a URL reference to an + * existing Address resource. The following examples are all valid: - 100.1.2.3 - + * https://www.googleapis.com/compute/v1/projects/project/regions/region/addresses/address - + * projects/project/regions/region/addresses/address - regions/region/addresses/address - + * global/addresses/address - address + */ public String getIPAddress() { return iPAddress; } + /** + * The IP address that this forwarding rule is serving on behalf of. + * + *

Addresses are restricted based on the forwarding rule's load balancing scheme (EXTERNAL or + * INTERNAL) and scope (global or regional). + * + *

When the load balancing scheme is EXTERNAL, for global forwarding rules, the address must + * be a global IP, and for regional forwarding rules, the address must live in the same region + * as the forwarding rule. If this field is empty, an ephemeral IPv4 address from the same scope + * (global or regional) will be assigned. A regional forwarding rule supports IPv4 only. A + * global forwarding rule supports either IPv4 or IPv6. + * + *

When the load balancing scheme is INTERNAL_SELF_MANAGED, this must be a URL reference to + * an existing Address resource ( internal regional static IP address), with a purpose of + * GCE_END_POINT and address_type of INTERNAL. + * + *

When the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP address + * belonging to the network/subnet configured for the forwarding rule. By default, if this field + * is empty, an ephemeral internal IP address will be automatically allocated from the IP range + * of the subnet or network configured for this forwarding rule. + * + *

An address can be specified either by a literal IP address or a URL reference to an + * existing Address resource. The following examples are all valid: - 100.1.2.3 - + * https://www.googleapis.com/compute/v1/projects/project/regions/region/addresses/address - + * projects/project/regions/region/addresses/address - regions/region/addresses/address - + * global/addresses/address - address + */ public Builder setIPAddress(String iPAddress) { this.iPAddress = iPAddress; return this; } + /** + * The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, AH, SCTP or + * ICMP. + * + *

When the load balancing scheme is INTERNAL, only TCP and UDP are valid. When the load + * balancing scheme is INTERNAL_SELF_MANAGED, only TCPis valid. + */ public String getIPProtocol() { return iPProtocol; } + /** + * The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, AH, SCTP or + * ICMP. + * + *

When the load balancing scheme is INTERNAL, only TCP and UDP are valid. When the load + * balancing scheme is INTERNAL_SELF_MANAGED, only TCPis valid. + */ public Builder setIPProtocol(String iPProtocol) { this.iPProtocol = iPProtocol; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. + * This can only be specified for an external global forwarding rule. + */ public String getIpVersion() { return ipVersion; } + /** + * The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. + * This can only be specified for an external global forwarding rule. + */ public Builder setIpVersion(String ipVersion) { this.ipVersion = ipVersion; return this; } + /** + * [Output Only] Type of the resource. Always compute#forwardingRule for Forwarding Rule + * resources. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of the resource. Always compute#forwardingRule for Forwarding Rule + * resources. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * This signifies what the ForwardingRule will be used for and can only take the following + * values: INTERNAL, INTERNAL_SELF_MANAGED, EXTERNAL. The value of INTERNAL means that this will + * be used for Internal Network Load Balancing (TCP, UDP). The value of INTERNAL_SELF_MANAGED + * means that this will be used for Internal Global HTTP(S) LB. The value of EXTERNAL means that + * this will be used for External Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy) + */ public String getLoadBalancingScheme() { return loadBalancingScheme; } + /** + * This signifies what the ForwardingRule will be used for and can only take the following + * values: INTERNAL, INTERNAL_SELF_MANAGED, EXTERNAL. The value of INTERNAL means that this will + * be used for Internal Network Load Balancing (TCP, UDP). The value of INTERNAL_SELF_MANAGED + * means that this will be used for Internal Global HTTP(S) LB. The value of EXTERNAL means that + * this will be used for External Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy) + */ public Builder setLoadBalancingScheme(String loadBalancingScheme) { this.loadBalancingScheme = loadBalancingScheme; return this; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * This field is not used for external load balancing. + * + *

For INTERNAL and INTERNAL_SELF_MANAGED load balancing, this field identifies the network + * that the load balanced IP should belong to for this Forwarding Rule. If this field is not + * specified, the default network will be used. + */ public String getNetwork() { return network; } + /** + * This field is not used for external load balancing. + * + *

For INTERNAL and INTERNAL_SELF_MANAGED load balancing, this field identifies the network + * that the load balanced IP should belong to for this Forwarding Rule. If this field is not + * specified, the default network will be used. + */ public Builder setNetwork(String network) { this.network = network; return this; } + /** + * This signifies the networking tier used for configuring this load balancer and can only take + * the following values: PREMIUM , STANDARD. + * + *

For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For + * GlobalForwardingRule, the valid value is PREMIUM. + * + *

If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, + * this value must be equal to the networkTier of the Address. + */ public String getNetworkTier() { return networkTier; } + /** + * This signifies the networking tier used for configuring this load balancer and can only take + * the following values: PREMIUM , STANDARD. + * + *

For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For + * GlobalForwardingRule, the valid value is PREMIUM. + * + *

If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, + * this value must be equal to the networkTier of the Address. + */ public Builder setNetworkTier(String networkTier) { this.networkTier = networkTier; return this; } + /** + * This field is used along with the target field for TargetHttpProxy, TargetHttpsProxy, + * TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool, TargetInstance. + * + *

Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed to ports in + * the specified range will be forwarded to target. Forwarding rules with the same [IPAddress, + * IPProtocol] pair must have disjoint port ranges. + * + *

Some types of forwarding target have constraints on the acceptable ports: - + * TargetHttpProxy: 80, 8080 - TargetHttpsProxy: 443 - TargetTcpProxy: 25, 43, 110, 143, 195, + * 443, 465, 587, 700, 993, 995, 1688, 1883, 5222 - TargetSslProxy: 25, 43, 110, 143, 195, 443, + * 465, 587, 700, 993, 995, 1688, 1883, 5222 - TargetVpnGateway: 500, 4500 + */ public String getPortRange() { return portRange; } + /** + * This field is used along with the target field for TargetHttpProxy, TargetHttpsProxy, + * TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool, TargetInstance. + * + *

Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed to ports in + * the specified range will be forwarded to target. Forwarding rules with the same [IPAddress, + * IPProtocol] pair must have disjoint port ranges. + * + *

Some types of forwarding target have constraints on the acceptable ports: - + * TargetHttpProxy: 80, 8080 - TargetHttpsProxy: 443 - TargetTcpProxy: 25, 43, 110, 143, 195, + * 443, 465, 587, 700, 993, 995, 1688, 1883, 5222 - TargetSslProxy: 25, 43, 110, 143, 195, 443, + * 465, 587, 700, 993, 995, 1688, 1883, 5222 - TargetVpnGateway: 500, 4500 + */ public Builder setPortRange(String portRange) { this.portRange = portRange; return this; } + /** + * This field is used along with the backend_service field for internal load balancing. + * + *

When the load balancing scheme is INTERNAL, a list of ports can be configured, for + * example, ['80'], ['8000','9000'] etc. Only packets addressed to these ports will be forwarded + * to the backends configured with this forwarding rule. + * + *

You may specify a maximum of up to 5 ports. + */ public List getPortsList() { return ports; } + /** + * This field is used along with the backend_service field for internal load balancing. + * + *

When the load balancing scheme is INTERNAL, a list of ports can be configured, for + * example, ['80'], ['8000','9000'] etc. Only packets addressed to these ports will be forwarded + * to the backends configured with this forwarding rule. + * + *

You may specify a maximum of up to 5 ports. + */ public Builder addAllPorts(List ports) { if (this.ports == null) { this.ports = new LinkedList<>(); @@ -539,6 +909,15 @@ public Builder addAllPorts(List ports) { return this; } + /** + * This field is used along with the backend_service field for internal load balancing. + * + *

When the load balancing scheme is INTERNAL, a list of ports can be configured, for + * example, ['80'], ['8000','9000'] etc. Only packets addressed to these ports will be forwarded + * to the backends configured with this forwarding rule. + * + *

You may specify a maximum of up to 5 ports. + */ public Builder addPorts(String ports) { if (this.ports == null) { this.ports = new LinkedList<>(); @@ -547,55 +926,133 @@ public Builder addPorts(String ports) { return this; } + /** + * [Output Only] URL of the region where the regional forwarding rule resides. This field is not + * applicable to global forwarding rules. You must specify this field as part of the HTTP + * request URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] URL of the region where the regional forwarding rule resides. This field is not + * applicable to global forwarding rules. You must specify this field as part of the HTTP + * request URL. It is not settable as a field in the request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * An optional prefix to the service name for this Forwarding Rule. If specified, will be the + * first label of the fully qualified service name. + * + *

The label must be 1-63 characters long, and comply with RFC1035. Specifically, the label + * must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + * + *

This field is only used for internal load balancing. + */ public String getServiceLabel() { return serviceLabel; } + /** + * An optional prefix to the service name for this Forwarding Rule. If specified, will be the + * first label of the fully qualified service name. + * + *

The label must be 1-63 characters long, and comply with RFC1035. Specifically, the label + * must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + * + *

This field is only used for internal load balancing. + */ public Builder setServiceLabel(String serviceLabel) { this.serviceLabel = serviceLabel; return this; } + /** + * [Output Only] The internal fully qualified service name for this Forwarding Rule. + * + *

This field is only used for internal load balancing. + */ public String getServiceName() { return serviceName; } + /** + * [Output Only] The internal fully qualified service name for this Forwarding Rule. + * + *

This field is only used for internal load balancing. + */ public Builder setServiceName(String serviceName) { this.serviceName = serviceName; return this; } + /** + * This field is only used for INTERNAL load balancing. + * + *

For internal load balancing, this field identifies the subnetwork that the load balanced + * IP should belong to for this Forwarding Rule. + * + *

If the network specified is in auto subnet mode, this field is optional. However, if the + * network is in custom subnet mode, a subnetwork must be specified. + */ public String getSubnetwork() { return subnetwork; } + /** + * This field is only used for INTERNAL load balancing. + * + *

For internal load balancing, this field identifies the subnetwork that the load balanced + * IP should belong to for this Forwarding Rule. + * + *

If the network specified is in auto subnet mode, this field is optional. However, if the + * network is in custom subnet mode, a subnetwork must be specified. + */ public Builder setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; return this; } + /** + * The URL of the target resource to receive the matched traffic. For regional forwarding rules, + * this target must live in the same region as the forwarding rule. For global forwarding rules, + * this target must be a global load balancing resource. The forwarded traffic must be of a type + * appropriate to the target object. For INTERNAL_SELF_MANAGED" load balancing, only HTTP and + * HTTPS targets are valid. + */ public String getTarget() { return target; } + /** + * The URL of the target resource to receive the matched traffic. For regional forwarding rules, + * this target must live in the same region as the forwarding rule. For global forwarding rules, + * this target must be a global load balancing resource. The forwarded traffic must be of a type + * appropriate to the target object. For INTERNAL_SELF_MANAGED" load balancing, only HTTP and + * HTTPS targets are valid. + */ public Builder setTarget(String target) { this.target = target; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleAggregatedList.java index 091bc25300ad..6461a6af5b4c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of ForwardingRulesScopedList resources. The key for the map is: Name of the scope + * containing this set of addresses. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#forwardingRuleAggregatedList for lists of + * forwarding rules. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(ForwardingRuleAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of ForwardingRulesScopedList resources. The key for the map is: Name of the scope + * containing this set of addresses. + */ public Map getItemsMap() { return items; } + /** + * A list of ForwardingRulesScopedList resources. The key for the map is: Name of the scope + * containing this set of addresses. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#forwardingRuleAggregatedList for lists of + * forwarding rules. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#forwardingRuleAggregatedList for lists of + * forwarding rules. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleList.java index 4e23b050922e..db2b54776d65 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of ForwardingRule resources. */ public final class ForwardingRuleList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of ForwardingRule resources. */ public List getItemsList() { return items; } + /** Type of 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(ForwardingRuleList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of ForwardingRule resources. */ public List getItemsList() { return items; } + /** A list of ForwardingRule resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of ForwardingRule resources. */ public Builder addItems(ForwardingRule items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(ForwardingRule items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRulesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRulesScopedList.java index 70bde46793ed..ca0ed2f01daf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRulesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRulesScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** A list of forwarding rules contained in this scope. */ public List getForwardingRulesList() { return forwardingRules; } + /** Informational warning which replaces the list of forwarding rules when the list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(ForwardingRulesScopedList other) { this.warning = source.warning; } + /** A list of forwarding rules contained in this scope. */ public List getForwardingRulesList() { return forwardingRules; } + /** A list of forwarding rules contained in this scope. */ public Builder addAllForwardingRules(List forwardingRules) { if (this.forwardingRules == null) { this.forwardingRules = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllForwardingRules(List forwardingRules) { return this; } + /** A list of forwarding rules contained in this scope. */ public Builder addForwardingRules(ForwardingRule forwardingRules) { if (this.forwardingRules == null) { this.forwardingRules = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addForwardingRules(ForwardingRule forwardingRules) { return this; } + /** Informational warning which replaces the list of forwarding rules when the list is empty. */ public Warning getWarning() { return warning; } + /** Informational warning which replaces the list of forwarding rules when the list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAcceleratorTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAcceleratorTypeHttpRequest.java index 4264e0dab754..0534b3ce1e4f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAcceleratorTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAcceleratorTypeHttpRequest.java @@ -108,34 +108,49 @@ public List getFieldMask() { return null; } + /** + * Name of the accelerator type to return. It must have the format + * `{project}/zones/{zone}/acceleratorTypes/{acceleratorType}`. \`{acceleratorType}\` 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 getAcceleratorType() { return acceleratorType; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -214,73 +229,103 @@ public Builder mergeFrom(GetAcceleratorTypeHttpRequest other) { this.userIp = source.userIp; } + /** + * Name of the accelerator type to return. It must have the format + * `{project}/zones/{zone}/acceleratorTypes/{acceleratorType}`. \`{acceleratorType}\` 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 getAcceleratorType() { return acceleratorType; } + /** + * Name of the accelerator type to return. It must have the format + * `{project}/zones/{zone}/acceleratorTypes/{acceleratorType}`. \`{acceleratorType}\` 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 setAcceleratorType(String acceleratorType) { this.acceleratorType = acceleratorType; return this; } + /** 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; } + /** 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAddressHttpRequest.java index a7ee035478b6..89486a2a0259 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAddressHttpRequest.java @@ -106,34 +106,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the address resource to return. It must have the format + * `{project}/regions/{region}/addresses/{address}`. \`{address}\` 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 getAddress() { return address; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -212,73 +226,101 @@ public Builder mergeFrom(GetAddressHttpRequest other) { 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 address resource to return. It must have the format + * `{project}/regions/{region}/addresses/{address}`. \`{address}\` 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 getAddress() { return address; } + /** + * Name of the address resource to return. It must have the format + * `{project}/regions/{region}/addresses/{address}`. \`{address}\` 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 setAddress(String address) { this.address = address; 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; } + /** 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAutoscalerHttpRequest.java index 9c967c21109f..88e3d3ec5cb4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetAutoscalerHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the autoscaler to return. It must have the format + * `{project}/zones/{zone}/autoscalers/{autoscaler}`. \`{autoscaler}\` 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 getAutoscaler() { return autoscaler; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetAutoscalerHttpRequest other) { 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 autoscaler to return. It must have the format + * `{project}/zones/{zone}/autoscalers/{autoscaler}`. \`{autoscaler}\` 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 getAutoscaler() { return autoscaler; } + /** + * Name of the autoscaler to return. It must have the format + * `{project}/zones/{zone}/autoscalers/{autoscaler}`. \`{autoscaler}\` 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 setAutoscaler(String autoscaler) { this.autoscaler = autoscaler; 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; } + /** 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendBucketHttpRequest.java index c64e2f28031c..2f853a8b2053 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendBucketHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendBucket resource to return. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` 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 getBackendBucket() { return backendBucket; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetBackendBucketHttpRequest other) { 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 BackendBucket resource to return. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` 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 getBackendBucket() { return backendBucket; } + /** + * Name of the BackendBucket resource to return. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` 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 setBackendBucket(String backendBucket) { this.backendBucket = backendBucket; 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; } + /** 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendServiceHttpRequest.java index 6f9e0cf15143..4b3846404893 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetBackendServiceHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to return. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` 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 getBackendService() { return backendService; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetBackendServiceHttpRequest other) { 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 BackendService resource to return. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` 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 getBackendService() { return backendService; } + /** + * Name of the BackendService resource to return. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` 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 setBackendService(String backendService) { this.backendService = backendService; 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; } + /** 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiagnosticsInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiagnosticsInterconnectHttpRequest.java index 8edb6a4cbc36..ea899ca95b01 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiagnosticsInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiagnosticsInterconnectHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** + * Name of the interconnect resource to query. It must have the format + * `{project}/global/interconnects/{interconnect}/getDiagnostics`. \`{interconnect}\` 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 getInterconnect() { return interconnect; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetDiagnosticsInterconnectHttpRequest other) { 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; } + /** + * Name of the interconnect resource to query. It must have the format + * `{project}/global/interconnects/{interconnect}/getDiagnostics`. \`{interconnect}\` 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 getInterconnect() { return interconnect; } + /** + * Name of the interconnect resource to query. It must have the format + * `{project}/global/interconnects/{interconnect}/getDiagnostics`. \`{interconnect}\` 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 setInterconnect(String interconnect) { this.interconnect = interconnect; 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskHttpRequest.java index 793c09c60b48..60cf4065ade4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** + * Name of the persistent disk to return. It must have the format + * `{project}/zones/{zone}/disks/{disk}`. \`{disk}\` 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 getDisk() { return disk; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetDiskHttpRequest other) { 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; } + /** + * Name of the persistent disk to return. It must have the format + * `{project}/zones/{zone}/disks/{disk}`. \`{disk}\` 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 getDisk() { return disk; } + /** + * Name of the persistent disk to return. It must have the format + * `{project}/zones/{zone}/disks/{disk}`. \`{disk}\` 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 setDisk(String disk) { this.disk = disk; 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; } + /** 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskTypeHttpRequest.java index 8456395c88e0..69f9ac37dc14 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetDiskTypeHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** + * Name of the disk type to return. It must have the format + * `{project}/zones/{zone}/diskTypes/{diskType}`. \`{diskType}\` 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 getDiskType() { return diskType; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetDiskTypeHttpRequest other) { 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; } + /** + * Name of the disk type to return. It must have the format + * `{project}/zones/{zone}/diskTypes/{diskType}`. \`{diskType}\` 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 getDiskType() { return diskType; } + /** + * Name of the disk type to return. It must have the format + * `{project}/zones/{zone}/diskTypes/{diskType}`. \`{diskType}\` 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 setDiskType(String diskType) { this.diskType = diskType; 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; } + /** 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFirewallHttpRequest.java index 9e75c3540675..1193d6a23b8c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFirewallHttpRequest.java @@ -106,34 +106,48 @@ 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; } + /** + * Name of the firewall rule to return. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` 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 getFirewall() { return firewall; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -212,73 +226,101 @@ public Builder mergeFrom(GetFirewallHttpRequest other) { 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; } + /** + * Name of the firewall rule to return. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` 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 getFirewall() { return firewall; } + /** + * Name of the firewall rule to return. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` 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 setFirewall(String firewall) { this.firewall = firewall; 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetForwardingRuleHttpRequest.java index 51c823aea92a..e65a38ffb0e4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetForwardingRuleHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** + * Name of the ForwardingRule resource to return. It must have the format + * `{project}/regions/{region}/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` 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 getForwardingRule() { return forwardingRule; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetForwardingRuleHttpRequest other) { 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; } + /** + * Name of the ForwardingRule resource to return. It must have the format + * `{project}/regions/{region}/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` 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 getForwardingRule() { return forwardingRule; } + /** + * Name of the ForwardingRule resource to return. It must have the format + * `{project}/regions/{region}/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` 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 setForwardingRule(String forwardingRule) { this.forwardingRule = forwardingRule; 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFromFamilyImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFromFamilyImageHttpRequest.java index 94608fe06e57..853825a0c111 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFromFamilyImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetFromFamilyImageHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** + * Name of the image family to search for. It must have the format + * `{project}/global/images/family/{family}`. \`{family}\` 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 getFamily() { return family; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetFromFamilyImageHttpRequest other) { 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; } + /** + * Name of the image family to search for. It must have the format + * `{project}/global/images/family/{family}`. \`{family}\` 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 getFamily() { return family; } + /** + * Name of the image family to search for. It must have the format + * `{project}/global/images/family/{family}`. \`{family}\` 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 setFamily(String family) { this.family = family; 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; } + /** 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalAddressHttpRequest.java index 1850c814653d..0e07b218bc98 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalAddressHttpRequest.java @@ -109,34 +109,48 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the address resource to return. It must have the format + * `{project}/global/addresses/{address}`. \`{address}\` 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 getAddress() { return address; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetGlobalAddressHttpRequest other) { 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 address resource to return. It must have the format + * `{project}/global/addresses/{address}`. \`{address}\` 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 getAddress() { return address; } + /** + * Name of the address resource to return. It must have the format + * `{project}/global/addresses/{address}`. \`{address}\` 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 setAddress(String address) { this.address = address; 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; } + /** 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalForwardingRuleHttpRequest.java index fa21c8497cf0..8f2f4519eee9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalForwardingRuleHttpRequest.java @@ -110,34 +110,49 @@ 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; } + /** + * Name of the ForwardingRule resource to return. It must have the format + * `{project}/global/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` 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 getForwardingRule() { return forwardingRule; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -216,73 +231,103 @@ public Builder mergeFrom(GetGlobalForwardingRuleHttpRequest other) { 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; } + /** + * Name of the ForwardingRule resource to return. It must have the format + * `{project}/global/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` 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 getForwardingRule() { return forwardingRule; } + /** + * Name of the ForwardingRule resource to return. It must have the format + * `{project}/global/forwardingRules/{forwardingRule}`. \`{forwardingRule}\` 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 setForwardingRule(String forwardingRule) { this.forwardingRule = forwardingRule; 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java index f4fe008506e8..bd7716e410f4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetGlobalOperationHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the Operations resource to return. It must have the format + * `{project}/global/operations/{operation}`. \`{operation}\` 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 getOperation() { return operation; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetGlobalOperationHttpRequest other) { 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; } + /** 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; } + /** + * Name of the Operations resource to return. It must have the format + * `{project}/global/operations/{operation}`. \`{operation}\` 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 getOperation() { return operation; } + /** + * Name of the Operations resource to return. It must have the format + * `{project}/global/operations/{operation}`. \`{operation}\` 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 setOperation(String operation) { this.operation = operation; 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthBackendServiceHttpRequest.java index 3e3f8db74f5f..4e9da245a254 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthBackendServiceHttpRequest.java @@ -116,30 +116,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to which the queried instance belongs. It must have the + * format `{project}/global/backendServices/{backendService}/getHealth`. \`{backendService}\` 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 getBackendService() { return backendService; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -148,6 +162,7 @@ public ResourceGroupReference getResourceGroupReferenceResource() { return resourceGroupReferenceResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(GetHealthBackendServiceHttpRequest other) { 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 BackendService resource to which the queried instance belongs. It must have the + * format `{project}/global/backendServices/{backendService}/getHealth`. \`{backendService}\` + * 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 getBackendService() { return backendService; } + /** + * Name of the BackendService resource to which the queried instance belongs. It must have the + * format `{project}/global/backendServices/{backendService}/getHealth`. \`{backendService}\` + * 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 setBackendService(String backendService) { this.backendService = backendService; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -304,10 +347,12 @@ public Builder setResourceGroupReferenceResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthCheckHttpRequest.java index 764c9a78da21..39f1e8de796e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthCheckHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** + * Name of the HealthCheck resource to return. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` 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 getHealthCheck() { return healthCheck; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetHealthCheckHttpRequest other) { 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; } + /** + * Name of the HealthCheck resource to return. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` 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 getHealthCheck() { return healthCheck; } + /** + * Name of the HealthCheck resource to return. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` 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 setHealthCheck(String healthCheck) { this.healthCheck = healthCheck; 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthRegionBackendServiceHttpRequest.java index 6c9d1aafb613..cc616e295afb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthRegionBackendServiceHttpRequest.java @@ -116,30 +116,44 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource for which to get health. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}/getHealth`. \`{backendService}\` + * 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 getBackendService() { return backendService; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -148,6 +162,7 @@ public ResourceGroupReference getResourceGroupReferenceResource() { return resourceGroupReferenceResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(GetHealthRegionBackendServiceHttpRequest other) { 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 BackendService resource for which to get health. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}/getHealth`. \`{backendService}\` + * 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 getBackendService() { return backendService; } + /** + * Name of the BackendService resource for which to get health. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}/getHealth`. \`{backendService}\` + * 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 setBackendService(String backendService) { this.backendService = backendService; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -304,10 +347,12 @@ public Builder setResourceGroupReferenceResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthTargetPoolHttpRequest.java index d3700cfbdd9e..8a96352ef9b1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHealthTargetPoolHttpRequest.java @@ -116,14 +116,17 @@ 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; } @@ -132,22 +135,34 @@ public InstanceReference getInstanceReferenceResource() { return instanceReferenceResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the TargetPool resource to which the queried instance belongs. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/getHealth`. \`{targetPool}\` 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 getTargetPool() { return targetPool; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,28 +246,34 @@ public Builder mergeFrom(GetHealthTargetPoolHttpRequest other) { 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; @@ -267,46 +288,70 @@ public Builder setInstanceReferenceResource(InstanceReference instanceReferenceR 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the TargetPool resource to which the queried instance belongs. It must have the + * format `{project}/regions/{region}/targetPools/{targetPool}/getHealth`. \`{targetPool}\` 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 getTargetPool() { return targetPool; } + /** + * Name of the TargetPool resource to which the queried instance belongs. It must have the + * format `{project}/regions/{region}/targetPools/{targetPool}/getHealth`. \`{targetPool}\` 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 setTargetPool(String targetPool) { this.targetPool = targetPool; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpHealthCheckHttpRequest.java index f510156f1bba..7dc03fd1573b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpHealthCheckHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** + * Name of the HttpHealthCheck resource to return. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` 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 getHttpHealthCheck() { return httpHealthCheck; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetHttpHealthCheckHttpRequest other) { 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; } + /** + * Name of the HttpHealthCheck resource to return. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` 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 getHttpHealthCheck() { return httpHealthCheck; } + /** + * Name of the HttpHealthCheck resource to return. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` 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 setHttpHealthCheck(String httpHealthCheck) { this.httpHealthCheck = httpHealthCheck; 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpsHealthCheckHttpRequest.java index 3a4d582457be..ec9532e514e9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetHttpsHealthCheckHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** + * Name of the HttpsHealthCheck resource to return. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` 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 getHttpsHealthCheck() { return httpsHealthCheck; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetHttpsHealthCheckHttpRequest other) { 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; } + /** + * Name of the HttpsHealthCheck resource to return. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` 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 getHttpsHealthCheck() { return httpsHealthCheck; } + /** + * Name of the HttpsHealthCheck resource to return. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` 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 setHttpsHealthCheck(String httpsHealthCheck) { this.httpsHealthCheck = httpsHealthCheck; 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyDiskHttpRequest.java index ec954adda104..d8a6f0044bf8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyDiskHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/getIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetIamPolicyDiskHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/getIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/getIamPolicy`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyImageHttpRequest.java index bdc3b767e990..40fa14fefb1d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyImageHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/getIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetIamPolicyImageHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/getIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/getIamPolicy`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceHttpRequest.java index d8a8e345b9ea..cba3d62f13e2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/getIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetIamPolicyInstanceHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/getIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/getIamPolicy`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceTemplateHttpRequest.java index 23767076f913..fa5305ecd342 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyInstanceTemplateHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/instanceTemplates/{resource}/getIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetIamPolicyInstanceTemplateHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/instanceTemplates/{resource}/getIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/instanceTemplates/{resource}/getIamPolicy`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyLicenseHttpRequest.java index 090d0dd16f33..2baa20f94c03 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyLicenseHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenses/{resource}/getIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetIamPolicyLicenseHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenses/{resource}/getIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenses/{resource}/getIamPolicy`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeGroupHttpRequest.java index 88efabc8eb35..372003ac5290 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeGroupHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetIamPolicyNodeGroupHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeTemplateHttpRequest.java index 5ac13556ee4a..0a31e73b9975 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNodeTemplateHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetIamPolicyNodeTemplateHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySnapshotHttpRequest.java index c4973a316426..fb622c501932 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySnapshotHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/getIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetIamPolicySnapshotHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/getIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/getIamPolicy`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySubnetworkHttpRequest.java index 57c10b855ae2..e1a8ae4141ca 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetIamPolicySubnetworkHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/subnetworks/{resource}/getIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetIamPolicySubnetworkHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/subnetworks/{resource}/getIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/subnetworks/{resource}/getIamPolicy`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetImageHttpRequest.java index 9dce888268bf..bb07537299ce 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetImageHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** + * Name of the image resource to return. It must have the format + * `{project}/global/images/{image}`. \`{image}\` 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 getImage() { return image; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetImageHttpRequest other) { 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; } + /** + * Name of the image resource to return. It must have the format + * `{project}/global/images/{image}`. \`{image}\` 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 getImage() { return image; } + /** + * Name of the image resource to return. It must have the format + * `{project}/global/images/{image}`. \`{image}\` 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 setImage(String image) { this.image = image; 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupHttpRequest.java index e503bf5590db..3acc1f0cb21b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** + * The name of the instance group. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}`. \`{instanceGroup}\` 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 getInstanceGroup() { return instanceGroup; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetInstanceGroupHttpRequest other) { 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; } + /** + * The name of the instance group. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}`. \`{instanceGroup}\` 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 getInstanceGroup() { return instanceGroup; } + /** + * The name of the instance group. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}`. \`{instanceGroup}\` 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 setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerHttpRequest.java index 4afa03097f9d..8964fe172260 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerHttpRequest.java @@ -110,34 +110,49 @@ 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -216,73 +231,103 @@ public Builder mergeFrom(GetInstanceGroupManagerHttpRequest other) { 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceHttpRequest.java index 512b3a1fd135..cafa2181931a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** + * Name of the instance resource to return. It must have the format + * `{project}/zones/{zone}/instances/{instance}`. \`{instance}\` 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 getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetInstanceHttpRequest other) { 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; } + /** + * Name of the instance resource to return. It must have the format + * `{project}/zones/{zone}/instances/{instance}`. \`{instance}\` 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 getInstance() { return instance; } + /** + * Name of the instance resource to return. It must have the format + * `{project}/zones/{zone}/instances/{instance}`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceTemplateHttpRequest.java index 3eb189bd7ba3..5ec87e1a4961 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInstanceTemplateHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** + * The name of the instance template. It must have the format + * `{project}/global/instanceTemplates/{instanceTemplate}`. \`{instanceTemplate}\` 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 getInstanceTemplate() { return instanceTemplate; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetInstanceTemplateHttpRequest other) { 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; } + /** + * The name of the instance template. It must have the format + * `{project}/global/instanceTemplates/{instanceTemplate}`. \`{instanceTemplate}\` 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 getInstanceTemplate() { return instanceTemplate; } + /** + * The name of the instance template. It must have the format + * `{project}/global/instanceTemplates/{instanceTemplate}`. \`{instanceTemplate}\` 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 setInstanceTemplate(String instanceTemplate) { this.instanceTemplate = instanceTemplate; 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectAttachmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectAttachmentHttpRequest.java index a42205c6a79d..2fd8575bdecd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectAttachmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectAttachmentHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** + * Name of the interconnect attachment to return. It must have the format + * `{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}`. + * \`{interconnectAttachment}\` 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 getInterconnectAttachment() { return interconnectAttachment; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetInterconnectAttachmentHttpRequest other) { 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; } + /** + * Name of the interconnect attachment to return. It must have the format + * `{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}`. + * \`{interconnectAttachment}\` 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 getInterconnectAttachment() { return interconnectAttachment; } + /** + * Name of the interconnect attachment to return. It must have the format + * `{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}`. + * \`{interconnectAttachment}\` 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 setInterconnectAttachment(String interconnectAttachment) { this.interconnectAttachment = interconnectAttachment; 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectHttpRequest.java index 0b115aa2a5b9..343fec9148e2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** + * Name of the interconnect to return. It must have the format + * `{project}/global/interconnects/{interconnect}`. \`{interconnect}\` 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 getInterconnect() { return interconnect; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetInterconnectHttpRequest other) { 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; } + /** + * Name of the interconnect to return. It must have the format + * `{project}/global/interconnects/{interconnect}`. \`{interconnect}\` 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 getInterconnect() { return interconnect; } + /** + * Name of the interconnect to return. It must have the format + * `{project}/global/interconnects/{interconnect}`. \`{interconnect}\` 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 setInterconnect(String interconnect) { this.interconnect = interconnect; 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectLocationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectLocationHttpRequest.java index e0f1a4a5a0cb..13a293e91fb7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectLocationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetInterconnectLocationHttpRequest.java @@ -110,34 +110,49 @@ 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; } + /** + * Name of the interconnect location to return. It must have the format + * `{project}/global/interconnectLocations/{interconnectLocation}`. \`{interconnectLocation}\` + * 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 getInterconnectLocation() { return interconnectLocation; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -216,73 +231,103 @@ public Builder mergeFrom(GetInterconnectLocationHttpRequest other) { 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; } + /** + * Name of the interconnect location to return. It must have the format + * `{project}/global/interconnectLocations/{interconnectLocation}`. \`{interconnectLocation}\` + * 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 getInterconnectLocation() { return interconnectLocation; } + /** + * Name of the interconnect location to return. It must have the format + * `{project}/global/interconnectLocations/{interconnectLocation}`. \`{interconnectLocation}\` + * 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 setInterconnectLocation(String interconnectLocation) { this.interconnectLocation = interconnectLocation; 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseCodeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseCodeHttpRequest.java index 4990f56aa23e..637c46956aa2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseCodeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseCodeHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Number corresponding to the License code resource to return. It must have the format + * `{project}/global/licenseCodes/{licenseCode}`. \`{licenseCode}\` 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 getLicenseCode() { return licenseCode; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetLicenseCodeHttpRequest other) { 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; } + /** 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; } + /** + * Number corresponding to the License code resource to return. It must have the format + * `{project}/global/licenseCodes/{licenseCode}`. \`{licenseCode}\` 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 getLicenseCode() { return licenseCode; } + /** + * Number corresponding to the License code resource to return. It must have the format + * `{project}/global/licenseCodes/{licenseCode}`. \`{licenseCode}\` 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 setLicenseCode(String licenseCode) { this.licenseCode = licenseCode; 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseHttpRequest.java index 1a82820f90e8..86d41ff0faea 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetLicenseHttpRequest.java @@ -106,34 +106,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the License resource to return. It must have the format + * `{project}/global/licenses/{license}`. \`{license}\` 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 getLicense() { return license; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -212,73 +226,101 @@ public Builder mergeFrom(GetLicenseHttpRequest other) { 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; } + /** 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; } + /** + * Name of the License resource to return. It must have the format + * `{project}/global/licenses/{license}`. \`{license}\` 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 getLicense() { return license; } + /** + * Name of the License resource to return. It must have the format + * `{project}/global/licenses/{license}`. \`{license}\` 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 setLicense(String license) { this.license = license; 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetMachineTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetMachineTypeHttpRequest.java index d938c1ba1c55..a481f0c1a22f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetMachineTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetMachineTypeHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the machine type to return. It must have the format + * `{project}/zones/{zone}/machineTypes/{machineType}`. \`{machineType}\` 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 getMachineType() { return machineType; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetMachineTypeHttpRequest other) { 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; } + /** 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; } + /** + * Name of the machine type to return. It must have the format + * `{project}/zones/{zone}/machineTypes/{machineType}`. \`{machineType}\` 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 getMachineType() { return machineType; } + /** + * Name of the machine type to return. It must have the format + * `{project}/zones/{zone}/machineTypes/{machineType}`. \`{machineType}\` 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 setMachineType(String machineType) { this.machineType = machineType; 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java index 57d5b63889fe..e5ca0488d647 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNatMappingInfoRoutersHttpRequest.java @@ -137,50 +137,105 @@ 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the Router resource to query for Nat Mapping information of VM endpoints. It must have + * the format `{project}/regions/{region}/routers/{router}/getNatMappingInfo`. \`{router}\` 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 getRouter() { return router; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +334,221 @@ public Builder mergeFrom(GetNatMappingInfoRoutersHttpRequest other) { 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the Router resource to query for Nat Mapping information of VM endpoints. It must + * have the format `{project}/regions/{region}/routers/{router}/getNatMappingInfo`. \`{router}\` + * 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 getRouter() { return router; } + /** + * Name of the Router resource to query for Nat Mapping information of VM endpoints. It must + * have the format `{project}/regions/{region}/routers/{router}/getNatMappingInfo`. \`{router}\` + * 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 setRouter(String router) { this.router = router; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNetworkHttpRequest.java index 8f15aace5180..22accf3b4d8d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNetworkHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the network to return. It must have the format `{project}/global/networks/{network}`. + * \`{network}\` 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 getNetwork() { return network; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetNetworkHttpRequest other) { 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; } + /** 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; } + /** + * Name of the network to return. It must have the format `{project}/global/networks/{network}`. + * \`{network}\` 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 getNetwork() { return network; } + /** + * Name of the network to return. It must have the format `{project}/global/networks/{network}`. + * \`{network}\` 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 setNetwork(String network) { this.network = network; 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeGroupHttpRequest.java index 59ba74eb31ae..87f1a27084ab 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeGroupHttpRequest.java @@ -110,34 +110,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the node group to return. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}`. \`{nodeGroup}\` 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 getNodeGroup() { return nodeGroup; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -216,73 +230,103 @@ public Builder mergeFrom(GetNodeGroupHttpRequest other) { 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; } + /** 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; } + /** + * Name of the node group to return. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}`. \`{nodeGroup}\` 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 getNodeGroup() { return nodeGroup; } + /** + * Name of the node group to return. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}`. \`{nodeGroup}\` 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 setNodeGroup(String nodeGroup) { this.nodeGroup = nodeGroup; 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTemplateHttpRequest.java index fe86ff9c2a3d..404c0ccc0ef1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTemplateHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the node template to return. It must have the format + * `{project}/regions/{region}/nodeTemplates/{nodeTemplate}`. \`{nodeTemplate}\` 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 getNodeTemplate() { return nodeTemplate; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetNodeTemplateHttpRequest other) { 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; } + /** 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; } + /** + * Name of the node template to return. It must have the format + * `{project}/regions/{region}/nodeTemplates/{nodeTemplate}`. \`{nodeTemplate}\` 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 getNodeTemplate() { return nodeTemplate; } + /** + * Name of the node template to return. It must have the format + * `{project}/regions/{region}/nodeTemplates/{nodeTemplate}`. \`{nodeTemplate}\` 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 setNodeTemplate(String nodeTemplate) { this.nodeTemplate = nodeTemplate; 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTypeHttpRequest.java index 510205c5d946..f1d81ac5001f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetNodeTypeHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the node type to return. It must have the format + * `{project}/zones/{zone}/nodeTypes/{nodeType}`. \`{nodeType}\` 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 getNodeType() { return nodeType; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetNodeTypeHttpRequest other) { 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; } + /** 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; } + /** + * Name of the node type to return. It must have the format + * `{project}/zones/{zone}/nodeTypes/{nodeType}`. \`{nodeType}\` 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 getNodeType() { return nodeType; } + /** + * Name of the node type to return. It must have the format + * `{project}/zones/{zone}/nodeTypes/{nodeType}`. \`{nodeType}\` 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 setNodeType(String nodeType) { this.nodeType = nodeType; 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetProjectHttpRequest.java index 468242cccd8e..3debc44d4e28 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetProjectHttpRequest.java @@ -106,34 +106,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}`. \`{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; } @@ -212,73 +226,101 @@ public Builder mergeFrom(GetProjectHttpRequest other) { 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; } + /** 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; } + /** 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}`. \`{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}`. \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionAutoscalerHttpRequest.java index e98fcff1281f..cc0161ac9af3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionAutoscalerHttpRequest.java @@ -106,34 +106,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the autoscaler to return. It must have the format + * `{project}/regions/{region}/autoscalers/{autoscaler}`. \`{autoscaler}\` 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 getAutoscaler() { return autoscaler; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -212,73 +227,103 @@ public Builder mergeFrom(GetRegionAutoscalerHttpRequest other) { 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 autoscaler to return. It must have the format + * `{project}/regions/{region}/autoscalers/{autoscaler}`. \`{autoscaler}\` 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 getAutoscaler() { return autoscaler; } + /** + * Name of the autoscaler to return. It must have the format + * `{project}/regions/{region}/autoscalers/{autoscaler}`. \`{autoscaler}\` 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 setAutoscaler(String autoscaler) { this.autoscaler = autoscaler; 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; } + /** 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionBackendServiceHttpRequest.java index e7d64adb2e05..760667a64f4d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionBackendServiceHttpRequest.java @@ -109,34 +109,49 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to return. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` 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 getBackendService() { return backendService; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetRegionBackendServiceHttpRequest other) { 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 BackendService resource to return. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` 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 getBackendService() { return backendService; } + /** + * Name of the BackendService resource to return. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` 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 setBackendService(String backendService) { this.backendService = backendService; 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; } + /** 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionCommitmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionCommitmentHttpRequest.java index a1f0781e51c1..e906de944763 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionCommitmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionCommitmentHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** + * Name of the commitment to return. It must have the format + * `{project}/regions/{region}/commitments/{commitment}`. \`{commitment}\` 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 getCommitment() { return commitment; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetRegionCommitmentHttpRequest other) { 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; } + /** + * Name of the commitment to return. It must have the format + * `{project}/regions/{region}/commitments/{commitment}`. \`{commitment}\` 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 getCommitment() { return commitment; } + /** + * Name of the commitment to return. It must have the format + * `{project}/regions/{region}/commitments/{commitment}`. \`{commitment}\` 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 setCommitment(String commitment) { this.commitment = commitment; 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; } + /** 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskHttpRequest.java index 67eb9139d2f2..28cdec399070 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskHttpRequest.java @@ -108,34 +108,48 @@ 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; } + /** + * Name of the regional persistent disk to return. It must have the format + * `{project}/regions/{region}/disks/{disk}`. \`{disk}\` 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 getDisk() { return disk; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -214,73 +228,101 @@ public Builder mergeFrom(GetRegionDiskHttpRequest other) { 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; } + /** + * Name of the regional persistent disk to return. It must have the format + * `{project}/regions/{region}/disks/{disk}`. \`{disk}\` 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 getDisk() { return disk; } + /** + * Name of the regional persistent disk to return. It must have the format + * `{project}/regions/{region}/disks/{disk}`. \`{disk}\` 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 setDisk(String disk) { this.disk = disk; 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; } + /** 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskTypeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskTypeHttpRequest.java index f6ded4308cab..4e33f827944f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskTypeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionDiskTypeHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** + * Name of the disk type to return. It must have the format + * `{project}/regions/{region}/diskTypes/{diskType}`. \`{diskType}\` 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 getDiskType() { return diskType; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetRegionDiskTypeHttpRequest other) { 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; } + /** + * Name of the disk type to return. It must have the format + * `{project}/regions/{region}/diskTypes/{diskType}`. \`{diskType}\` 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 getDiskType() { return diskType; } + /** + * Name of the disk type to return. It must have the format + * `{project}/regions/{region}/diskTypes/{diskType}`. \`{diskType}\` 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 setDiskType(String diskType) { this.diskType = diskType; 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; } + /** 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionHttpRequest.java index 6064f84949a9..f714c1c83cba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region resource to return. It must have the format `{project}/regions/{region}`. + * \`{region}\` 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 getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetRegionHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region resource to return. It must have the format `{project}/regions/{region}`. + * \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region resource to return. It must have the format `{project}/regions/{region}`. + * \`{region}\` 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 setRegion(String region) { this.region = region; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupHttpRequest.java index 7bce0948f53a..2d2d805575d5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** + * Name of the instance group resource to return. It must have the format + * `{project}/regions/{region}/instanceGroups/{instanceGroup}`. \`{instanceGroup}\` 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 getInstanceGroup() { return instanceGroup; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetRegionInstanceGroupHttpRequest other) { 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; } + /** + * Name of the instance group resource to return. It must have the format + * `{project}/regions/{region}/instanceGroups/{instanceGroup}`. \`{instanceGroup}\` 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 getInstanceGroup() { return instanceGroup; } + /** + * Name of the instance group resource to return. It must have the format + * `{project}/regions/{region}/instanceGroups/{instanceGroup}`. \`{instanceGroup}\` 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 setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupManagerHttpRequest.java index 89c959aec24b..eec02f9eeba9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionInstanceGroupManagerHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** + * Name of the managed instance group to return. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetRegionInstanceGroupManagerHttpRequest other) { 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; } + /** + * Name of the managed instance group to return. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * Name of the managed instance group to return. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionOperationHttpRequest.java index 3a1d85a414bb..bd302b0d0e66 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRegionOperationHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the Operations resource to return. It must have the format + * `{project}/regions/{region}/operations/{operation}`. \`{operation}\` 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 getOperation() { return operation; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetRegionOperationHttpRequest other) { 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; } + /** 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; } + /** + * Name of the Operations resource to return. It must have the format + * `{project}/regions/{region}/operations/{operation}`. \`{operation}\` 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 getOperation() { return operation; } + /** + * Name of the Operations resource to return. It must have the format + * `{project}/regions/{region}/operations/{operation}`. \`{operation}\` 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 setOperation(String operation) { this.operation = operation; 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouteHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouteHttpRequest.java index 1970d62d5912..08fcf2a000c3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouteHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouteHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the Route resource to return. It must have the format + * `{project}/global/routes/{route}`. \`{route}\` 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 getRoute() { return route; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetRouteHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the Route resource to return. It must have the format + * `{project}/global/routes/{route}`. \`{route}\` 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 getRoute() { return route; } + /** + * Name of the Route resource to return. It must have the format + * `{project}/global/routes/{route}`. \`{route}\` 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 setRoute(String route) { this.route = route; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterHttpRequest.java index 17bc0b1689ab..2a3a7ddd9da0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the Router resource to return. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` 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 getRouter() { return router; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetRouterHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the Router resource to return. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` 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 getRouter() { return router; } + /** + * Name of the Router resource to return. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` 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 setRouter(String router) { this.router = router; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterStatusRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterStatusRouterHttpRequest.java index d143d3482ec5..c79fdc10941e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterStatusRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRouterStatusRouterHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the Router resource to query. It must have the format + * `{project}/regions/{region}/routers/{router}/getRouterStatus`. \`{router}\` 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 getRouter() { return router; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetRouterStatusRouterHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the Router resource to query. It must have the format + * `{project}/regions/{region}/routers/{router}/getRouterStatus`. \`{router}\` 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 getRouter() { return router; } + /** + * Name of the Router resource to query. It must have the format + * `{project}/regions/{region}/routers/{router}/getRouterStatus`. \`{router}\` 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 setRouter(String router) { this.router = router; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRuleSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRuleSecurityPolicyHttpRequest.java index 70d0b7b25425..0f4f90c1c5bf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRuleSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetRuleSecurityPolicyHttpRequest.java @@ -116,38 +116,54 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** The priority of the rule to get from the security policy. */ public Integer getPriority() { return priority; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the security policy to which the queried rule belongs. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/getRule`. \`{securityPolicy}\` 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 getSecurityPolicy() { return securityPolicy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +247,114 @@ public Builder mergeFrom(GetRuleSecurityPolicyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** The priority of the rule to get from the security policy. */ public Integer getPriority() { return priority; } + /** The priority of the rule to get from the security policy. */ public Builder setPriority(Integer priority) { this.priority = priority; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the security policy to which the queried rule belongs. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/getRule`. \`{securityPolicy}\` 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 getSecurityPolicy() { return securityPolicy; } + /** + * Name of the security policy to which the queried rule belongs. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/getRule`. \`{securityPolicy}\` 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 setSecurityPolicy(String securityPolicy) { this.securityPolicy = securityPolicy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSecurityPolicyHttpRequest.java index 7dafc9f892a0..0ddba6bf30b9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSecurityPolicyHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the security policy to get. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}`. \`{securityPolicy}\` 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 getSecurityPolicy() { return securityPolicy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetSecurityPolicyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the security policy to get. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}`. \`{securityPolicy}\` 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 getSecurityPolicy() { return securityPolicy; } + /** + * Name of the security policy to get. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}`. \`{securityPolicy}\` 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 setSecurityPolicy(String securityPolicy) { this.securityPolicy = securityPolicy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSerialPortOutputInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSerialPortOutputInstanceHttpRequest.java index c7d58394ea06..a5b4f160e489 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSerialPortOutputInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSerialPortOutputInstanceHttpRequest.java @@ -123,42 +123,64 @@ 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; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/serialPort`. \`{instance}\` 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 getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Specifies which COM or serial port to retrieve data from. */ public Integer getPort() { return port; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Returns output starting from a specific byte position. Use this to page through output when the + * output is too large to return in a single request. For the initial request, leave this field + * unspecified. For subsequent calls, this field should be set to the next value returned in the + * previous call. + */ public String getStart() { return start; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +269,135 @@ public Builder mergeFrom(GetSerialPortOutputInstanceHttpRequest other) { 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; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/serialPort`. \`{instance}\` 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 getInstance() { return instance; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/serialPort`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; 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; } + /** Specifies which COM or serial port to retrieve data from. */ public Integer getPort() { return port; } + /** Specifies which COM or serial port to retrieve data from. */ public Builder setPort(Integer port) { this.port = port; 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Returns output starting from a specific byte position. Use this to page through output when + * the output is too large to return in a single request. For the initial request, leave this + * field unspecified. For subsequent calls, this field should be set to the next value returned + * in the previous call. + */ public String getStart() { return start; } + /** + * Returns output starting from a specific byte position. Use this to page through output when + * the output is too large to return in a single request. For the initial request, leave this + * field unspecified. For subsequent calls, this field should be set to the next value returned + * in the previous call. + */ public Builder setStart(String start) { this.start = start; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSnapshotHttpRequest.java index 7160f58338a9..9e959f6b79fe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSnapshotHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the Snapshot resource to return. It must have the format + * `{project}/global/snapshots/{snapshot}`. \`{snapshot}\` 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 getSnapshot() { return snapshot; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetSnapshotHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the Snapshot resource to return. It must have the format + * `{project}/global/snapshots/{snapshot}`. \`{snapshot}\` 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 getSnapshot() { return snapshot; } + /** + * Name of the Snapshot resource to return. It must have the format + * `{project}/global/snapshots/{snapshot}`. \`{snapshot}\` 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 setSnapshot(String snapshot) { this.snapshot = snapshot; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslCertificateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslCertificateHttpRequest.java index b52da1ff1d6b..2563e6b3f497 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslCertificateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslCertificateHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the SslCertificate resource to return. It must have the format + * `{project}/global/sslCertificates/{sslCertificate}`. \`{sslCertificate}\` 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 getSslCertificate() { return sslCertificate; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetSslCertificateHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the SslCertificate resource to return. It must have the format + * `{project}/global/sslCertificates/{sslCertificate}`. \`{sslCertificate}\` 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 getSslCertificate() { return sslCertificate; } + /** + * Name of the SslCertificate resource to return. It must have the format + * `{project}/global/sslCertificates/{sslCertificate}`. \`{sslCertificate}\` 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 setSslCertificate(String sslCertificate) { this.sslCertificate = sslCertificate; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslPolicyHttpRequest.java index e4c07b4d58e8..0ed3599cbf6c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSslPolicyHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the SSL policy to update. The name must be 1-63 characters long, and comply with + * RFC1035. It must have the format `{project}/global/sslPolicies/{sslPolicy}`. \`{sslPolicy}\` + * 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 getSslPolicy() { return sslPolicy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetSslPolicyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the SSL policy to update. The name must be 1-63 characters long, and comply with + * RFC1035. It must have the format `{project}/global/sslPolicies/{sslPolicy}`. \`{sslPolicy}\` + * 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 getSslPolicy() { return sslPolicy; } + /** + * Name of the SSL policy to update. The name must be 1-63 characters long, and comply with + * RFC1035. It must have the format `{project}/global/sslPolicies/{sslPolicy}`. \`{sslPolicy}\` + * 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 setSslPolicy(String sslPolicy) { this.sslPolicy = sslPolicy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSubnetworkHttpRequest.java index f25fbe154efa..d0bdb0be84c5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetSubnetworkHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the Subnetwork resource to return. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}`. \`{subnetwork}\` 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 getSubnetwork() { return subnetwork; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetSubnetworkHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the Subnetwork resource to return. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}`. \`{subnetwork}\` 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 getSubnetwork() { return subnetwork; } + /** + * Name of the Subnetwork resource to return. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}`. \`{subnetwork}\` 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 setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpProxyHttpRequest.java index b1b69608e688..f76e2bdeb119 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpProxyHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the TargetHttpProxy resource to return. It must have the format + * `{project}/global/targetHttpProxies/{targetHttpProxy}`. \`{targetHttpProxy}\` 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 getTargetHttpProxy() { return targetHttpProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetTargetHttpProxyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the TargetHttpProxy resource to return. It must have the format + * `{project}/global/targetHttpProxies/{targetHttpProxy}`. \`{targetHttpProxy}\` 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 getTargetHttpProxy() { return targetHttpProxy; } + /** + * Name of the TargetHttpProxy resource to return. It must have the format + * `{project}/global/targetHttpProxies/{targetHttpProxy}`. \`{targetHttpProxy}\` 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 setTargetHttpProxy(String targetHttpProxy) { this.targetHttpProxy = targetHttpProxy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpsProxyHttpRequest.java index 9f5b7fa18e68..2ab85ff75a75 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetHttpsProxyHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the TargetHttpsProxy resource to return. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}`. \`{targetHttpsProxy}\` 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 getTargetHttpsProxy() { return targetHttpsProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetTargetHttpsProxyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the TargetHttpsProxy resource to return. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}`. \`{targetHttpsProxy}\` 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 getTargetHttpsProxy() { return targetHttpsProxy; } + /** + * Name of the TargetHttpsProxy resource to return. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}`. \`{targetHttpsProxy}\` 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 setTargetHttpsProxy(String targetHttpsProxy) { this.targetHttpsProxy = targetHttpsProxy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetInstanceHttpRequest.java index fb0c6b17b50c..d6652cdc0119 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetInstanceHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the TargetInstance resource to return. It must have the format + * `{project}/zones/{zone}/targetInstances/{targetInstance}`. \`{targetInstance}\` 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 getTargetInstance() { return targetInstance; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetTargetInstanceHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the TargetInstance resource to return. It must have the format + * `{project}/zones/{zone}/targetInstances/{targetInstance}`. \`{targetInstance}\` 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 getTargetInstance() { return targetInstance; } + /** + * Name of the TargetInstance resource to return. It must have the format + * `{project}/zones/{zone}/targetInstances/{targetInstance}`. \`{targetInstance}\` 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 setTargetInstance(String targetInstance) { this.targetInstance = targetInstance; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetPoolHttpRequest.java index dff189b9c777..5bff929a8a21 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetPoolHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the TargetPool resource to return. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}`. \`{targetPool}\` 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 getTargetPool() { return targetPool; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetTargetPoolHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the TargetPool resource to return. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}`. \`{targetPool}\` 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 getTargetPool() { return targetPool; } + /** + * Name of the TargetPool resource to return. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}`. \`{targetPool}\` 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 setTargetPool(String targetPool) { this.targetPool = targetPool; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetSslProxyHttpRequest.java index 78baa22e9e50..0240798eb174 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetSslProxyHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the TargetSslProxy resource to return. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}`. \`{targetSslProxy}\` 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 getTargetSslProxy() { return targetSslProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetTargetSslProxyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the TargetSslProxy resource to return. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}`. \`{targetSslProxy}\` 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 getTargetSslProxy() { return targetSslProxy; } + /** + * Name of the TargetSslProxy resource to return. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}`. \`{targetSslProxy}\` 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 setTargetSslProxy(String targetSslProxy) { this.targetSslProxy = targetSslProxy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetTcpProxyHttpRequest.java index 6e6613388a5c..db1eff873ffb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetTcpProxyHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the TargetTcpProxy resource to return. It must have the format + * `{project}/global/targetTcpProxies/{targetTcpProxy}`. \`{targetTcpProxy}\` 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 getTargetTcpProxy() { return targetTcpProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetTargetTcpProxyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the TargetTcpProxy resource to return. It must have the format + * `{project}/global/targetTcpProxies/{targetTcpProxy}`. \`{targetTcpProxy}\` 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 getTargetTcpProxy() { return targetTcpProxy; } + /** + * Name of the TargetTcpProxy resource to return. It must have the format + * `{project}/global/targetTcpProxies/{targetTcpProxy}`. \`{targetTcpProxy}\` 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 setTargetTcpProxy(String targetTcpProxy) { this.targetTcpProxy = targetTcpProxy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetVpnGatewayHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetVpnGatewayHttpRequest.java index bf80297dba15..7639612a8465 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetVpnGatewayHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetTargetVpnGatewayHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the target VPN gateway to return. It must have the format + * `{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}`. \`{targetVpnGateway}\` 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 getTargetVpnGateway() { return targetVpnGateway; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +230,103 @@ public Builder mergeFrom(GetTargetVpnGatewayHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the target VPN gateway to return. It must have the format + * `{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}`. \`{targetVpnGateway}\` + * 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 getTargetVpnGateway() { return targetVpnGateway; } + /** + * Name of the target VPN gateway to return. It must have the format + * `{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}`. \`{targetVpnGateway}\` + * 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 setTargetVpnGateway(String targetVpnGateway) { this.targetVpnGateway = targetVpnGateway; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetUrlMapHttpRequest.java index 650e80179950..d694fbffa77f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetUrlMapHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the UrlMap resource to return. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` 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 getUrlMap() { return urlMap; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetUrlMapHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the UrlMap resource to return. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` 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 getUrlMap() { return urlMap; } + /** + * Name of the UrlMap resource to return. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` 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 setUrlMap(String urlMap) { this.urlMap = urlMap; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetVpnTunnelHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetVpnTunnelHttpRequest.java index ac7d7c144ff6..4d66182628c9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetVpnTunnelHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetVpnTunnelHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } + /** + * Name of the VpnTunnel resource to return. It must have the format + * `{project}/regions/{region}/vpnTunnels/{vpnTunnel}`. \`{vpnTunnel}\` 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 getVpnTunnel() { return vpnTunnel; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetVpnTunnelHttpRequest other) { this.vpnTunnel = source.vpnTunnel; } + /** 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; } + /** 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; } + /** 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; } + /** 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; } + /** + * Name of the VpnTunnel resource to return. It must have the format + * `{project}/regions/{region}/vpnTunnels/{vpnTunnel}`. \`{vpnTunnel}\` 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 getVpnTunnel() { return vpnTunnel; } + /** + * Name of the VpnTunnel resource to return. It must have the format + * `{project}/regions/{region}/vpnTunnels/{vpnTunnel}`. \`{vpnTunnel}\` 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 setVpnTunnel(String vpnTunnel) { this.vpnTunnel = vpnTunnel; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnHostProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnHostProjectHttpRequest.java index e3d93ef43744..00a994803d64 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnHostProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnHostProjectHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/getXpnHost`. \`{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; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetXpnHostProjectHttpRequest other) { 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; } + /** 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; } + /** 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}/getXpnHost`. \`{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}/getXpnHost`. \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java index eebab2bb66b6..a43fc839e472 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetXpnResourcesProjectsHttpRequest.java @@ -137,50 +137,104 @@ 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}/getXpnResources`. \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(GetXpnResourcesProjectsHttpRequest other) { 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}/getXpnResources`. + * \`{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}/getXpnResources`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneHttpRequest.java index bef4a1561495..873e0f39f198 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } + /** + * Name of the zone resource to return. It must have the format `{project}/zones/{zone}`. + * \`{zone}\` 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 getZone() { return zone; } @@ -215,73 +229,101 @@ public Builder mergeFrom(GetZoneHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** 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; } + /** 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; } + /** 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; } + /** + * Name of the zone resource to return. It must have the format `{project}/zones/{zone}`. + * \`{zone}\` 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 getZone() { return zone; } + /** + * Name of the zone resource to return. It must have the format `{project}/zones/{zone}`. + * \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneOperationHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneOperationHttpRequest.java index 84c8c56fb868..ce7f60a182b1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneOperationHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GetZoneOperationHttpRequest.java @@ -109,34 +109,48 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the Operations resource to return. It must have the format + * `{project}/zones/{zone}/operations/{operation}`. \`{operation}\` 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 getOperation() { return operation; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +229,103 @@ public Builder mergeFrom(GetZoneOperationHttpRequest other) { 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; } + /** 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; } + /** + * Name of the Operations resource to return. It must have the format + * `{project}/zones/{zone}/operations/{operation}`. \`{operation}\` 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 getOperation() { return operation; } + /** + * Name of the Operations resource to return. It must have the format + * `{project}/zones/{zone}/operations/{operation}`. \`{operation}\` 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 setOperation(String operation) { this.operation = operation; 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequest.java index a26c792ee44c..8387db8c7981 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequest.java @@ -62,10 +62,25 @@ public List getFieldMask() { return null; } + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. The + * fingerprint is initially generated by Compute Engine and changes after every request to modify + * or update labels. You must always provide an up-to-date fingerprint hash when updating or + * changing labels, otherwise the request will fail with error 412 conditionNotMet. Make a get() + * request to the resource to get the latest fingerprint. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * A list of labels to apply for this resource. Each label key & value must comply with + * RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. For example, "webserver-frontend": "images". A label value + * can also be empty (e.g. "my-label": ""). + */ public Map getLabelsMap() { return labels; } @@ -114,19 +129,49 @@ public Builder mergeFrom(GlobalSetLabelsRequest other) { this.labels = source.labels; } + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. + * The fingerprint is initially generated by Compute Engine and changes after every request to + * modify or update labels. You must always provide an up-to-date fingerprint hash when updating + * or changing labels, otherwise the request will fail with error 412 conditionNotMet. Make a + * get() request to the resource to get the latest fingerprint. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. + * The fingerprint is initially generated by Compute Engine and changes after every request to + * modify or update labels. You must always provide an up-to-date fingerprint hash when updating + * or changing labels, otherwise the request will fail with error 412 conditionNotMet. Make a + * get() request to the resource to get the latest fingerprint. + */ public Builder setLabelFingerprint(String labelFingerprint) { this.labelFingerprint = labelFingerprint; return this; } + /** + * A list of labels to apply for this resource. Each label key & value must comply with + * RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. For example, "webserver-frontend": "images". A label value + * can also be empty (e.g. "my-label": ""). + */ public Map getLabelsMap() { return labels; } + /** + * A list of labels to apply for this resource. Each label key & value must comply with + * RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. For example, "webserver-frontend": "images". A label value + * can also be empty (e.g. "my-label": ""). + */ public Builder putAllLabels(Map labels) { this.labels = labels; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetPolicyRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetPolicyRequest.java index a7384bb75cac..25ac5ff4c1e3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetPolicyRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalSetPolicyRequest.java @@ -68,14 +68,27 @@ public List getFieldMask() { return null; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify + * bindings. + */ public List getBindingsList() { return bindings; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify + * the etag. + */ public String getEtag() { return etag; } + /** + * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is + * limited to a few 10s of KB. An empty policy is in general a valid policy but certain services + * (like Projects) might reject them. + */ public Policy getPolicy() { return policy; } @@ -129,10 +142,18 @@ public Builder mergeFrom(GlobalSetPolicyRequest other) { this.policy = source.policy; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to + * specify bindings. + */ public List getBindingsList() { return bindings; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to + * specify bindings. + */ public Builder addAllBindings(List bindings) { if (this.bindings == null) { this.bindings = new LinkedList<>(); @@ -141,6 +162,10 @@ public Builder addAllBindings(List bindings) { return this; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to + * specify bindings. + */ public Builder addBindings(Binding bindings) { if (this.bindings == null) { this.bindings = new LinkedList<>(); @@ -149,19 +174,37 @@ public Builder addBindings(Binding bindings) { return this; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to + * specify the etag. + */ public String getEtag() { return etag; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to + * specify the etag. + */ public Builder setEtag(String etag) { this.etag = etag; return this; } + /** + * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is + * limited to a few 10s of KB. An empty policy is in general a valid policy but certain services + * (like Projects) might reject them. + */ public Policy getPolicy() { return policy; } + /** + * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is + * limited to a few 10s of KB. An empty policy is in general a valid policy but certain services + * (like Projects) might reject them. + */ public Builder setPolicy(Policy policy) { this.policy = policy; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java index 6b59fa06c2ac..183c67522521 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Guest OS features. */ public final class GuestOsFeature implements ApiMessage { private final String type; @@ -55,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * The ID of a supported feature. Read Enabling guest operating system features to see a list of + * available options. + */ public String getType() { return type; } @@ -98,10 +103,18 @@ public Builder mergeFrom(GuestOsFeature other) { this.type = source.type; } + /** + * The ID of a supported feature. Read Enabling guest operating system features to see a list of + * available options. + */ public String getType() { return type; } + /** + * The ID of a supported feature. Read Enabling guest operating system features to see a list of + * available options. + */ public Builder setType(String type) { this.type = type; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheck.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheck.java index 88bdfc719a47..064f09a2b2cf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheck.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheck.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public final class HealthCheck implements ApiMessage { private final Integer checkIntervalSec; private final String creationTimestamp; @@ -154,18 +158,27 @@ public List getFieldMask() { return null; } + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ public Integer getCheckIntervalSec() { return checkIntervalSec; } + /** [Output Only] Creation timestamp in 3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The + * default value is 2. + */ public Integer getHealthyThreshold() { return healthyThreshold; } @@ -178,18 +191,30 @@ public HttpSHealthCheck getHttpsHealthCheck() { return httpsHealthCheck; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** Type of the resource. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } @@ -202,14 +227,27 @@ public TCPHealthCheck getTcpHealthCheck() { return tcpHealthCheck; } + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is + * invalid for timeoutSec to have greater value than checkIntervalSec. + */ public Integer getTimeoutSec() { return timeoutSec; } + /** + * Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not specified, the + * default is TCP. Exactly one of the protocol-specific health check field must be specified, + * which must match type field. + */ public String getType() { return type; } + /** + * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The + * default value is 2. + */ public Integer getUnhealthyThreshold() { return unhealthyThreshold; } @@ -323,37 +361,55 @@ public Builder mergeFrom(HealthCheck other) { this.unhealthyThreshold = source.unhealthyThreshold; } + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ public Integer getCheckIntervalSec() { return checkIntervalSec; } + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ public Builder setCheckIntervalSec(Integer checkIntervalSec) { this.checkIntervalSec = checkIntervalSec; return this; } + /** [Output Only] Creation timestamp in 3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in 3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The + * default value is 2. + */ public Integer getHealthyThreshold() { return healthyThreshold; } + /** + * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The + * default value is 2. + */ public Builder setHealthyThreshold(Integer healthyThreshold) { this.healthyThreshold = healthyThreshold; return this; @@ -377,37 +433,63 @@ public Builder setHttpsHealthCheck(HttpSHealthCheck httpsHealthCheck) { return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** Type of the resource. */ public String getKind() { return kind; } + /** Type of the resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; @@ -431,28 +513,54 @@ public Builder setTcpHealthCheck(TCPHealthCheck tcpHealthCheck) { return this; } + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is + * invalid for timeoutSec to have greater value than checkIntervalSec. + */ public Integer getTimeoutSec() { return timeoutSec; } + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is + * invalid for timeoutSec to have greater value than checkIntervalSec. + */ public Builder setTimeoutSec(Integer timeoutSec) { this.timeoutSec = timeoutSec; return this; } + /** + * Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not specified, the + * default is TCP. Exactly one of the protocol-specific health check field must be specified, + * which must match type field. + */ public String getType() { return type; } + /** + * Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not specified, the + * default is TCP. Exactly one of the protocol-specific health check field must be specified, + * which must match type field. + */ public Builder setType(String type) { this.type = type; return this; } + /** + * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The + * default value is 2. + */ public Integer getUnhealthyThreshold() { return unhealthyThreshold; } + /** + * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The + * default value is 2. + */ public Builder setUnhealthyThreshold(Integer unhealthyThreshold) { this.unhealthyThreshold = unhealthyThreshold; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckList.java index 5cc52cfc92a5..5e111c720300 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of HealthCheck resources. */ public final class HealthCheckList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of HealthCheck resources. */ public List getItemsList() { return items; } + /** Type of 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(HealthCheckList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of HealthCheck resources. */ public List getItemsList() { return items; } + /** A list of HealthCheck resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of HealthCheck resources. */ public Builder addItems(HealthCheck items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(HealthCheck items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckReference.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckReference.java index a5140d50c5e8..c6b5cef98735 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckReference.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckReference.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * A full or valid partial URL to a health check. For example, the following are valid URLs: - + * https://www.googleapis.com/compute/beta/projects/project-id/global/httpHealthChecks/health-check + * - projects/project-id/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check + */ public final class HealthCheckReference implements ApiMessage { private final String healthCheck; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthStatus.java index 8f98563a36f4..640419fdac73 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthStatus.java @@ -73,18 +73,22 @@ public List getFieldMask() { return null; } + /** Health state of the instance. */ public String getHealthState() { return healthState; } + /** URL of the instance resource. */ public String getInstance() { return instance; } + /** The IP address represented by this resource. */ public String getIpAddress() { return ipAddress; } + /** The port on the instance. */ public Integer getPort() { return port; } @@ -143,37 +147,45 @@ public Builder mergeFrom(HealthStatus other) { this.port = source.port; } + /** Health state of the instance. */ public String getHealthState() { return healthState; } + /** Health state of the instance. */ public Builder setHealthState(String healthState) { this.healthState = healthState; return this; } + /** URL of the instance resource. */ public String getInstance() { return instance; } + /** URL of the instance resource. */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** The IP address represented by this resource. */ public String getIpAddress() { return ipAddress; } + /** The IP address represented by this resource. */ public Builder setIpAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } + /** The port on the instance. */ public Integer getPort() { return port; } + /** The port on the instance. */ public Builder setPort(Integer port) { this.port = port; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HostRule.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HostRule.java index 2bc70f9be5f5..107a3318be57 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HostRule.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HostRule.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the + * BackendService. + */ public final class HostRule implements ApiMessage { private final String description; private final List hosts; @@ -68,14 +72,26 @@ public List getFieldMask() { return null; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * The list of host patterns to match. They must be valid hostnames, except * will match any + * string of ([a-z0-9-.]*). In that case, * must be the first character and must be + * followed in the pattern by either - or .. + */ public List getHostsList() { return hosts; } + /** + * The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches + * the URL's host portion. + */ public String getPathMatcher() { return pathMatcher; } @@ -129,19 +145,35 @@ public Builder mergeFrom(HostRule other) { this.pathMatcher = source.pathMatcher; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * The list of host patterns to match. They must be valid hostnames, except * will match any + * string of ([a-z0-9-.]*). In that case, * must be the first character and must be + * followed in the pattern by either - or .. + */ public List getHostsList() { return hosts; } + /** + * The list of host patterns to match. They must be valid hostnames, except * will match any + * string of ([a-z0-9-.]*). In that case, * must be the first character and must be + * followed in the pattern by either - or .. + */ public Builder addAllHosts(List hosts) { if (this.hosts == null) { this.hosts = new LinkedList<>(); @@ -150,6 +182,11 @@ public Builder addAllHosts(List hosts) { return this; } + /** + * The list of host patterns to match. They must be valid hostnames, except * will match any + * string of ([a-z0-9-.]*). In that case, * must be the first character and must be + * followed in the pattern by either - or .. + */ public Builder addHosts(String hosts) { if (this.hosts == null) { this.hosts = new LinkedList<>(); @@ -158,10 +195,18 @@ public Builder addHosts(String hosts) { return this; } + /** + * The name of the PathMatcher to use to match the path portion of the URL if the hostRule + * matches the URL's host portion. + */ public String getPathMatcher() { return pathMatcher; } + /** + * The name of the PathMatcher to use to match the path portion of the URL if the hostRule + * matches the URL's host portion. + */ public Builder setPathMatcher(String pathMatcher) { this.pathMatcher = pathMatcher; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck.java index f5a76afd301c..dea56466c1d1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck.java @@ -91,26 +91,47 @@ public List getFieldMask() { return null; } + /** + * The value of the host header in the HTTP health check request. If left empty (default value), + * the IP on behalf of which this health check is performed will be used. + */ public String getHost() { return host; } + /** + * The TCP port number for the health check request. The default value is 80. Valid values are 1 + * through 65535. + */ public Integer getPort() { return port; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public String getPortName() { return portName; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE or + * PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** The request path of the HTTP health check request. The default value is /. */ public String getRequestPath() { return requestPath; } + /** + * The string to match anywhere in the first 1024 bytes of the response body. If left empty (the + * default value), the status code determines health. The response data can only be ASCII. + */ public String getResponse() { return response; } @@ -179,55 +200,97 @@ public Builder mergeFrom(HttpHealthCheck other) { this.response = source.response; } + /** + * The value of the host header in the HTTP health check request. If left empty (default value), + * the IP on behalf of which this health check is performed will be used. + */ public String getHost() { return host; } + /** + * The value of the host header in the HTTP health check request. If left empty (default value), + * the IP on behalf of which this health check is performed will be used. + */ public Builder setHost(String host) { this.host = host; return this; } + /** + * The TCP port number for the health check request. The default value is 80. Valid values are 1 + * through 65535. + */ public Integer getPort() { return port; } + /** + * The TCP port number for the health check request. The default value is 80. Valid values are 1 + * through 65535. + */ public Builder setPort(Integer port) { this.port = port; return this; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public String getPortName() { return portName; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public Builder setPortName(String portName) { this.portName = portName; return this; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public Builder setProxyHeader(String proxyHeader) { this.proxyHeader = proxyHeader; return this; } + /** The request path of the HTTP health check request. The default value is /. */ public String getRequestPath() { return requestPath; } + /** The request path of the HTTP health check request. The default value is /. */ public Builder setRequestPath(String requestPath) { this.requestPath = requestPath; return this; } + /** + * The string to match anywhere in the first 1024 bytes of the response body. If left empty (the + * default value), the status code determines health. The response data can only be ASCII. + */ public String getResponse() { return response; } + /** + * The string to match anywhere in the first 1024 bytes of the response body. If left empty (the + * default value), the status code determines health. The response data can only be ASCII. + */ public Builder setResponse(String response) { this.response = response; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck2.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck2.java index 26ccb2b41f19..c9528da6352e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck2.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheck2.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * An HttpHealthCheck resource. This resource defines a template for how individual instances should + * be checked for health, via HTTP. + */ public final class HttpHealthCheck2 implements ApiMessage { private final Integer checkIntervalSec; private final String creationTimestamp; @@ -140,54 +144,89 @@ public List getFieldMask() { return null; } + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ public Integer getCheckIntervalSec() { return checkIntervalSec; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The + * default value is 2. + */ public Integer getHealthyThreshold() { return healthyThreshold; } + /** + * The value of the host header in the HTTP health check request. If left empty (default value), + * the public IP on behalf of which this health check is performed will be used. + */ public String getHost() { return host; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** The TCP port number for the HTTP health check request. The default value is 80. */ public Integer getPort() { return port; } + /** The request path of the HTTP health check request. The default value is /. */ public String getRequestPath() { return requestPath; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is + * invalid for timeoutSec to have greater value than checkIntervalSec. + */ public Integer getTimeoutSec() { return timeoutSec; } + /** + * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The + * default value is 2. + */ public Integer getUnhealthyThreshold() { return unhealthyThreshold; } @@ -291,118 +330,194 @@ public Builder mergeFrom(HttpHealthCheck2 other) { this.unhealthyThreshold = source.unhealthyThreshold; } + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ public Integer getCheckIntervalSec() { return checkIntervalSec; } + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ public Builder setCheckIntervalSec(Integer checkIntervalSec) { this.checkIntervalSec = checkIntervalSec; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The + * default value is 2. + */ public Integer getHealthyThreshold() { return healthyThreshold; } + /** + * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The + * default value is 2. + */ public Builder setHealthyThreshold(Integer healthyThreshold) { this.healthyThreshold = healthyThreshold; return this; } + /** + * The value of the host header in the HTTP health check request. If left empty (default value), + * the public IP on behalf of which this health check is performed will be used. + */ public String getHost() { return host; } + /** + * The value of the host header in the HTTP health check request. If left empty (default value), + * the public IP on behalf of which this health check is performed will be used. + */ public Builder setHost(String host) { this.host = host; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** The TCP port number for the HTTP health check request. The default value is 80. */ public Integer getPort() { return port; } + /** The TCP port number for the HTTP health check request. The default value is 80. */ public Builder setPort(Integer port) { this.port = port; return this; } + /** The request path of the HTTP health check request. The default value is /. */ public String getRequestPath() { return requestPath; } + /** The request path of the HTTP health check request. The default value is /. */ public Builder setRequestPath(String requestPath) { this.requestPath = requestPath; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is + * invalid for timeoutSec to have greater value than checkIntervalSec. + */ public Integer getTimeoutSec() { return timeoutSec; } + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is + * invalid for timeoutSec to have greater value than checkIntervalSec. + */ public Builder setTimeoutSec(Integer timeoutSec) { this.timeoutSec = timeoutSec; return this; } + /** + * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The + * default value is 2. + */ public Integer getUnhealthyThreshold() { return unhealthyThreshold; } + /** + * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The + * default value is 2. + */ public Builder setUnhealthyThreshold(Integer unhealthyThreshold) { this.unhealthyThreshold = unhealthyThreshold; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckList.java index 9950ca361d7d..74c2c3d97c6e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of HttpHealthCheck resources. */ public final class HttpHealthCheckList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of HttpHealthCheck resources. */ public List getItemsList() { return items; } + /** Type of 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(HttpHealthCheckList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of HttpHealthCheck resources. */ public List getItemsList() { return items; } + /** A list of HttpHealthCheck resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of HttpHealthCheck resources. */ public Builder addItems(HttpHealthCheck2 items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(HttpHealthCheck2 items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpSHealthCheck.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpSHealthCheck.java index dbf56d315f81..7cf4b516e0c7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpSHealthCheck.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpSHealthCheck.java @@ -91,26 +91,47 @@ public List getFieldMask() { return null; } + /** + * The value of the host header in the HTTPS health check request. If left empty (default value), + * the IP on behalf of which this health check is performed will be used. + */ public String getHost() { return host; } + /** + * The TCP port number for the health check request. The default value is 443. Valid values are 1 + * through 65535. + */ public Integer getPort() { return port; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public String getPortName() { return portName; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE or + * PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** The request path of the HTTPS health check request. The default value is /. */ public String getRequestPath() { return requestPath; } + /** + * The string to match anywhere in the first 1024 bytes of the response body. If left empty (the + * default value), the status code determines health. The response data can only be ASCII. + */ public String getResponse() { return response; } @@ -179,55 +200,97 @@ public Builder mergeFrom(HttpSHealthCheck other) { this.response = source.response; } + /** + * The value of the host header in the HTTPS health check request. If left empty (default + * value), the IP on behalf of which this health check is performed will be used. + */ public String getHost() { return host; } + /** + * The value of the host header in the HTTPS health check request. If left empty (default + * value), the IP on behalf of which this health check is performed will be used. + */ public Builder setHost(String host) { this.host = host; return this; } + /** + * The TCP port number for the health check request. The default value is 443. Valid values are + * 1 through 65535. + */ public Integer getPort() { return port; } + /** + * The TCP port number for the health check request. The default value is 443. Valid values are + * 1 through 65535. + */ public Builder setPort(Integer port) { this.port = port; return this; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public String getPortName() { return portName; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public Builder setPortName(String portName) { this.portName = portName; return this; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public Builder setProxyHeader(String proxyHeader) { this.proxyHeader = proxyHeader; return this; } + /** The request path of the HTTPS health check request. The default value is /. */ public String getRequestPath() { return requestPath; } + /** The request path of the HTTPS health check request. The default value is /. */ public Builder setRequestPath(String requestPath) { this.requestPath = requestPath; return this; } + /** + * The string to match anywhere in the first 1024 bytes of the response body. If left empty (the + * default value), the status code determines health. The response data can only be ASCII. + */ public String getResponse() { return response; } + /** + * The string to match anywhere in the first 1024 bytes of the response body. If left empty (the + * default value), the status code determines health. The response data can only be ASCII. + */ public Builder setResponse(String response) { this.response = response; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheck2.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheck2.java index e34452f09ab9..f9357afffe02 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheck2.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheck2.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public final class HttpsHealthCheck2 implements ApiMessage { private final Integer checkIntervalSec; private final String creationTimestamp; @@ -140,54 +144,89 @@ public List getFieldMask() { return null; } + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ public Integer getCheckIntervalSec() { return checkIntervalSec; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The + * default value is 2. + */ public Integer getHealthyThreshold() { return healthyThreshold; } + /** + * The value of the host header in the HTTPS health check request. If left empty (default value), + * the public IP on behalf of which this health check is performed will be used. + */ public String getHost() { return host; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** Type of the resource. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** The TCP port number for the HTTPS health check request. The default value is 443. */ public Integer getPort() { return port; } + /** The request path of the HTTPS health check request. The default value is "/". */ public String getRequestPath() { return requestPath; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is + * invalid for timeoutSec to have a greater value than checkIntervalSec. + */ public Integer getTimeoutSec() { return timeoutSec; } + /** + * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The + * default value is 2. + */ public Integer getUnhealthyThreshold() { return unhealthyThreshold; } @@ -291,118 +330,190 @@ public Builder mergeFrom(HttpsHealthCheck2 other) { this.unhealthyThreshold = source.unhealthyThreshold; } + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ public Integer getCheckIntervalSec() { return checkIntervalSec; } + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ public Builder setCheckIntervalSec(Integer checkIntervalSec) { this.checkIntervalSec = checkIntervalSec; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The + * default value is 2. + */ public Integer getHealthyThreshold() { return healthyThreshold; } + /** + * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The + * default value is 2. + */ public Builder setHealthyThreshold(Integer healthyThreshold) { this.healthyThreshold = healthyThreshold; return this; } + /** + * The value of the host header in the HTTPS health check request. If left empty (default + * value), the public IP on behalf of which this health check is performed will be used. + */ public String getHost() { return host; } + /** + * The value of the host header in the HTTPS health check request. If left empty (default + * value), the public IP on behalf of which this health check is performed will be used. + */ public Builder setHost(String host) { this.host = host; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** Type of the resource. */ public String getKind() { return kind; } + /** Type of the resource. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** The TCP port number for the HTTPS health check request. The default value is 443. */ public Integer getPort() { return port; } + /** The TCP port number for the HTTPS health check request. The default value is 443. */ public Builder setPort(Integer port) { this.port = port; return this; } + /** The request path of the HTTPS health check request. The default value is "/". */ public String getRequestPath() { return requestPath; } + /** The request path of the HTTPS health check request. The default value is "/". */ public Builder setRequestPath(String requestPath) { this.requestPath = requestPath; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is + * invalid for timeoutSec to have a greater value than checkIntervalSec. + */ public Integer getTimeoutSec() { return timeoutSec; } + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is + * invalid for timeoutSec to have a greater value than checkIntervalSec. + */ public Builder setTimeoutSec(Integer timeoutSec) { this.timeoutSec = timeoutSec; return this; } + /** + * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The + * default value is 2. + */ public Integer getUnhealthyThreshold() { return unhealthyThreshold; } + /** + * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The + * default value is 2. + */ public Builder setUnhealthyThreshold(Integer unhealthyThreshold) { this.unhealthyThreshold = unhealthyThreshold; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckList.java index 614c351219ef..f8e0cbb052f5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of HttpsHealthCheck resources. */ public final class HttpsHealthCheckList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of HttpsHealthCheck resources. */ public List getItemsList() { return items; } + /** Type of 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(HttpsHealthCheckList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of HttpsHealthCheck resources. */ public List getItemsList() { return items; } + /** A list of HttpsHealthCheck resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of HttpsHealthCheck resources. */ public Builder addItems(HttpsHealthCheck2 items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(HttpsHealthCheck2 items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Image.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Image.java index a50140253b98..0f2295f0f70f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Image.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Image.java @@ -26,6 +26,7 @@ @Generated("by GAPIC") @BetaApi +/** An Image resource. (== resource_for beta.images ==) (== resource_for v1.images ==) */ public final class Image implements ApiMessage { private final String archiveSizeBytes; private final String creationTimestamp; @@ -247,114 +248,217 @@ public List getFieldMask() { return null; } + /** Size of the image tar.gz archive stored in Google Cloud Storage (in bytes). */ public String getArchiveSizeBytes() { return archiveSizeBytes; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** The deprecation status associated with this image. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** Size of the image when restored onto a persistent disk (in GB). */ public String getDiskSizeGb() { return diskSizeGb; } + /** + * The name of the image family to which this image belongs. You can create disks by specifying an + * image family instead of a specific image name. The image family always returns its latest image + * that is not deprecated. The name of the image family must comply with RFC1035. + */ public String getFamily() { return family; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public List getGuestOsFeaturesList() { return guestOsFeatures; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * Encrypts the image using a customer-supplied encryption key. + * + *

After you encrypt an image with a customer-supplied key, you must provide the same key if + * you use the image later (e.g. to create a disk from the image). + * + *

Customer-supplied encryption keys do not protect access to metadata of the disk. + * + *

If you do not provide an encryption key when creating the image, then the disk will be + * encrypted using an automatically generated key and you do not need to provide a key to use the + * image later. + */ public CustomerEncryptionKey getImageEncryptionKey() { return imageEncryptionKey; } + /** [Output Only] Type of the resource. Always compute#image for images. */ public String getKind() { return kind; } + /** + * A fingerprint for the labels being applied to this image, which is essentially a hash of the + * labels used for optimistic locking. The fingerprint is initially generated by Compute Engine + * and changes after every request to modify or update labels. You must always provide an + * up-to-date fingerprint hash in order to update or change labels, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve an image. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** Labels to apply to this image. These can be later modified by the setLabels method. */ public Map getLabelsMap() { return labels; } + /** Integer license codes indicating which licenses are attached to this image. */ public List getLicenseCodesList() { return licenseCodes; } + /** Any applicable license URI. */ public List getLicensesList() { return licenses; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** The parameters of the raw disk image. */ public RawDisk getRawDisk() { return rawDisk; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * URL of the source disk used to create this image. This can be a full or valid partial URL. You + * must provide either this property or the rawDisk.source property but not both to create an + * image. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk - + * projects/project/zones/zone/disks/disk - zones/zone/disks/disk + */ public String getSourceDisk() { return sourceDisk; } + /** + * The customer-supplied encryption key of the source disk. Required if the source disk is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceDiskEncryptionKey() { return sourceDiskEncryptionKey; } + /** + * [Output Only] The ID value of the disk used to create this image. This value may be used to + * determine whether the image was taken from the current or a previous instance of a given disk + * name. + */ public String getSourceDiskId() { return sourceDiskId; } + /** + * URL of the source image used to create this image. This can be a full or valid partial URL. You + * must provide exactly one of: - this property, or - the rawDisk.source property, or - the + * sourceDisk property in order to create an image. + */ public String getSourceImage() { return sourceImage; } + /** + * The customer-supplied encryption key of the source image. Required if the source image is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceImageEncryptionKey() { return sourceImageEncryptionKey; } + /** + * [Output Only] The ID value of the image used to create this image. This value may be used to + * determine whether the image was taken from the current or a previous instance of a given image + * name. + */ public String getSourceImageId() { return sourceImageId; } + /** + * URL of the source snapshot used to create this image. This can be a full or valid partial URL. + * You must provide exactly one of: - this property, or - the sourceImage property, or - the + * rawDisk.source property, or - the sourceDisk property in order to create an image. + */ public String getSourceSnapshot() { return sourceSnapshot; } + /** + * The customer-supplied encryption key of the source snapshot. Required if the source snapshot is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceSnapshotEncryptionKey() { return sourceSnapshotEncryptionKey; } + /** + * [Output Only] The ID value of the snapshot used to create this image. This value may be used to + * determine whether the snapshot was taken from the current or a previous instance of a given + * snapshot name. + */ public String getSourceSnapshotId() { return sourceSnapshotId; } + /** The type of the image used to create this disk. The default and only value is RAW */ public String getSourceType() { return sourceType; } + /** + * [Output Only] The status of the image. An image can be used to create other resources, such as + * instances, only after the image has been successfully created and the status is set to READY. + * Possible values are FAILED, PENDING, or READY. + */ public String getStatus() { return status; } @@ -533,64 +637,96 @@ public Builder mergeFrom(Image other) { this.status = source.status; } + /** Size of the image tar.gz archive stored in Google Cloud Storage (in bytes). */ public String getArchiveSizeBytes() { return archiveSizeBytes; } + /** Size of the image tar.gz archive stored in Google Cloud Storage (in bytes). */ public Builder setArchiveSizeBytes(String archiveSizeBytes) { this.archiveSizeBytes = archiveSizeBytes; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** The deprecation status associated with this image. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** The deprecation status associated with this image. */ public Builder setDeprecated(DeprecationStatus deprecated) { this.deprecated = deprecated; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** Size of the image when restored onto a persistent disk (in GB). */ public String getDiskSizeGb() { return diskSizeGb; } + /** Size of the image when restored onto a persistent disk (in GB). */ public Builder setDiskSizeGb(String diskSizeGb) { this.diskSizeGb = diskSizeGb; return this; } + /** + * The name of the image family to which this image belongs. You can create disks by specifying + * an image family instead of a specific image name. The image family always returns its latest + * image that is not deprecated. The name of the image family must comply with RFC1035. + */ public String getFamily() { return family; } + /** + * The name of the image family to which this image belongs. You can create disks by specifying + * an image family instead of a specific image name. The image family always returns its latest + * image that is not deprecated. The name of the image family must comply with RFC1035. + */ public Builder setFamily(String family) { this.family = family; return this; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public List getGuestOsFeaturesList() { return guestOsFeatures; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public Builder addAllGuestOsFeatures(List guestOsFeatures) { if (this.guestOsFeatures == null) { this.guestOsFeatures = new LinkedList<>(); @@ -599,6 +735,10 @@ public Builder addAllGuestOsFeatures(List guestOsFeatures) { return this; } + /** + * A list of features to enable on the guest operating system. Applicable only for bootable + * images. Read Enabling guest operating system features to see a list of available options. + */ public Builder addGuestOsFeatures(GuestOsFeature guestOsFeatures) { if (this.guestOsFeatures == null) { this.guestOsFeatures = new LinkedList<>(); @@ -607,55 +747,111 @@ public Builder addGuestOsFeatures(GuestOsFeature guestOsFeatures) { return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * Encrypts the image using a customer-supplied encryption key. + * + *

After you encrypt an image with a customer-supplied key, you must provide the same key if + * you use the image later (e.g. to create a disk from the image). + * + *

Customer-supplied encryption keys do not protect access to metadata of the disk. + * + *

If you do not provide an encryption key when creating the image, then the disk will be + * encrypted using an automatically generated key and you do not need to provide a key to use + * the image later. + */ public CustomerEncryptionKey getImageEncryptionKey() { return imageEncryptionKey; } + /** + * Encrypts the image using a customer-supplied encryption key. + * + *

After you encrypt an image with a customer-supplied key, you must provide the same key if + * you use the image later (e.g. to create a disk from the image). + * + *

Customer-supplied encryption keys do not protect access to metadata of the disk. + * + *

If you do not provide an encryption key when creating the image, then the disk will be + * encrypted using an automatically generated key and you do not need to provide a key to use + * the image later. + */ public Builder setImageEncryptionKey(CustomerEncryptionKey imageEncryptionKey) { this.imageEncryptionKey = imageEncryptionKey; return this; } + /** [Output Only] Type of the resource. Always compute#image for images. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#image for images. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * A fingerprint for the labels being applied to this image, which is essentially a hash of the + * labels used for optimistic locking. The fingerprint is initially generated by Compute Engine + * and changes after every request to modify or update labels. You must always provide an + * up-to-date fingerprint hash in order to update or change labels, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve an image. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * A fingerprint for the labels being applied to this image, which is essentially a hash of the + * labels used for optimistic locking. The fingerprint is initially generated by Compute Engine + * and changes after every request to modify or update labels. You must always provide an + * up-to-date fingerprint hash in order to update or change labels, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve an image. + */ public Builder setLabelFingerprint(String labelFingerprint) { this.labelFingerprint = labelFingerprint; return this; } + /** Labels to apply to this image. These can be later modified by the setLabels method. */ public Map getLabelsMap() { return labels; } + /** Labels to apply to this image. These can be later modified by the setLabels method. */ public Builder putAllLabels(Map labels) { this.labels = labels; return this; } + /** Integer license codes indicating which licenses are attached to this image. */ public List getLicenseCodesList() { return licenseCodes; } + /** Integer license codes indicating which licenses are attached to this image. */ public Builder addAllLicenseCodes(List licenseCodes) { if (this.licenseCodes == null) { this.licenseCodes = new LinkedList<>(); @@ -664,6 +860,7 @@ public Builder addAllLicenseCodes(List licenseCodes) { return this; } + /** Integer license codes indicating which licenses are attached to this image. */ public Builder addLicenseCodes(String licenseCodes) { if (this.licenseCodes == null) { this.licenseCodes = new LinkedList<>(); @@ -672,10 +869,12 @@ public Builder addLicenseCodes(String licenseCodes) { return this; } + /** Any applicable license URI. */ public List getLicensesList() { return licenses; } + /** Any applicable license URI. */ public Builder addAllLicenses(List licenses) { if (this.licenses == null) { this.licenses = new LinkedList<>(); @@ -684,6 +883,7 @@ public Builder addAllLicenses(List licenses) { return this; } + /** Any applicable license URI. */ public Builder addLicenses(String licenses) { if (this.licenses == null) { this.licenses = new LinkedList<>(); @@ -692,128 +892,246 @@ public Builder addLicenses(String licenses) { return this; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** The parameters of the raw disk image. */ public RawDisk getRawDisk() { return rawDisk; } + /** The parameters of the raw disk image. */ public Builder setRawDisk(RawDisk rawDisk) { this.rawDisk = rawDisk; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * URL of the source disk used to create this image. This can be a full or valid partial URL. + * You must provide either this property or the rawDisk.source property but not both to create + * an image. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk - + * projects/project/zones/zone/disks/disk - zones/zone/disks/disk + */ public String getSourceDisk() { return sourceDisk; } + /** + * URL of the source disk used to create this image. This can be a full or valid partial URL. + * You must provide either this property or the rawDisk.source property but not both to create + * an image. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk - + * projects/project/zones/zone/disks/disk - zones/zone/disks/disk + */ public Builder setSourceDisk(String sourceDisk) { this.sourceDisk = sourceDisk; return this; } + /** + * The customer-supplied encryption key of the source disk. Required if the source disk is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceDiskEncryptionKey() { return sourceDiskEncryptionKey; } + /** + * The customer-supplied encryption key of the source disk. Required if the source disk is + * protected by a customer-supplied encryption key. + */ public Builder setSourceDiskEncryptionKey(CustomerEncryptionKey sourceDiskEncryptionKey) { this.sourceDiskEncryptionKey = sourceDiskEncryptionKey; return this; } + /** + * [Output Only] The ID value of the disk used to create this image. This value may be used to + * determine whether the image was taken from the current or a previous instance of a given disk + * name. + */ public String getSourceDiskId() { return sourceDiskId; } + /** + * [Output Only] The ID value of the disk used to create this image. This value may be used to + * determine whether the image was taken from the current or a previous instance of a given disk + * name. + */ public Builder setSourceDiskId(String sourceDiskId) { this.sourceDiskId = sourceDiskId; return this; } + /** + * URL of the source image used to create this image. This can be a full or valid partial URL. + * You must provide exactly one of: - this property, or - the rawDisk.source property, or - the + * sourceDisk property in order to create an image. + */ public String getSourceImage() { return sourceImage; } + /** + * URL of the source image used to create this image. This can be a full or valid partial URL. + * You must provide exactly one of: - this property, or - the rawDisk.source property, or - the + * sourceDisk property in order to create an image. + */ public Builder setSourceImage(String sourceImage) { this.sourceImage = sourceImage; return this; } + /** + * The customer-supplied encryption key of the source image. Required if the source image is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceImageEncryptionKey() { return sourceImageEncryptionKey; } + /** + * The customer-supplied encryption key of the source image. Required if the source image is + * protected by a customer-supplied encryption key. + */ public Builder setSourceImageEncryptionKey(CustomerEncryptionKey sourceImageEncryptionKey) { this.sourceImageEncryptionKey = sourceImageEncryptionKey; return this; } + /** + * [Output Only] The ID value of the image used to create this image. This value may be used to + * determine whether the image was taken from the current or a previous instance of a given + * image name. + */ public String getSourceImageId() { return sourceImageId; } + /** + * [Output Only] The ID value of the image used to create this image. This value may be used to + * determine whether the image was taken from the current or a previous instance of a given + * image name. + */ public Builder setSourceImageId(String sourceImageId) { this.sourceImageId = sourceImageId; return this; } + /** + * URL of the source snapshot used to create this image. This can be a full or valid partial + * URL. You must provide exactly one of: - this property, or - the sourceImage property, or - + * the rawDisk.source property, or - the sourceDisk property in order to create an image. + */ public String getSourceSnapshot() { return sourceSnapshot; } + /** + * URL of the source snapshot used to create this image. This can be a full or valid partial + * URL. You must provide exactly one of: - this property, or - the sourceImage property, or - + * the rawDisk.source property, or - the sourceDisk property in order to create an image. + */ public Builder setSourceSnapshot(String sourceSnapshot) { this.sourceSnapshot = sourceSnapshot; return this; } + /** + * The customer-supplied encryption key of the source snapshot. Required if the source snapshot + * is protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceSnapshotEncryptionKey() { return sourceSnapshotEncryptionKey; } + /** + * The customer-supplied encryption key of the source snapshot. Required if the source snapshot + * is protected by a customer-supplied encryption key. + */ public Builder setSourceSnapshotEncryptionKey( CustomerEncryptionKey sourceSnapshotEncryptionKey) { this.sourceSnapshotEncryptionKey = sourceSnapshotEncryptionKey; return this; } + /** + * [Output Only] The ID value of the snapshot used to create this image. This value may be used + * to determine whether the snapshot was taken from the current or a previous instance of a + * given snapshot name. + */ public String getSourceSnapshotId() { return sourceSnapshotId; } + /** + * [Output Only] The ID value of the snapshot used to create this image. This value may be used + * to determine whether the snapshot was taken from the current or a previous instance of a + * given snapshot name. + */ public Builder setSourceSnapshotId(String sourceSnapshotId) { this.sourceSnapshotId = sourceSnapshotId; return this; } + /** The type of the image used to create this disk. The default and only value is RAW */ public String getSourceType() { return sourceType; } + /** The type of the image used to create this disk. The default and only value is RAW */ public Builder setSourceType(String sourceType) { this.sourceType = sourceType; return this; } + /** + * [Output Only] The status of the image. An image can be used to create other resources, such + * as instances, only after the image has been successfully created and the status is set to + * READY. Possible values are FAILED, PENDING, or READY. + */ public String getStatus() { return status; } + /** + * [Output Only] The status of the image. An image can be used to create other resources, such + * as instances, only after the image has been successfully created and the status is set to + * READY. Possible values are FAILED, PENDING, or READY. + */ public Builder setStatus(String status) { this.status = status; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageList.java index c924f8143e5d..a08176a16421 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of images. */ public final class ImageList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Image resources. */ public List getItemsList() { return items; } + /** Type of 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(ImageList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Image resources. */ public List getItemsList() { return items; } + /** A list of Image resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Image resources. */ public Builder addItems(Image items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Image items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAddressHttpRequest.java index 35f2ff5002dc..611407e8e832 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAddressHttpRequest.java @@ -123,42 +123,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * A reserved address resource. (== resource_for beta.addresses ==) (== resource_for v1.addresses + * ==) (== resource_for beta.globalAddresses ==) (== resource_for v1.globalAddresses ==) + */ public Address getAddressResource() { return addressResource; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/addresses`. \`{region}\` 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 getRegion() { return region; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,155 @@ public Builder mergeFrom(InsertAddressHttpRequest other) { 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; } + /** + * A reserved address resource. (== resource_for beta.addresses ==) (== resource_for + * v1.addresses ==) (== resource_for beta.globalAddresses ==) (== resource_for + * v1.globalAddresses ==) + */ public Address getAddressResource() { return addressResource; } + /** + * A reserved address resource. (== resource_for beta.addresses ==) (== resource_for + * v1.addresses ==) (== resource_for beta.globalAddresses ==) (== resource_for + * v1.globalAddresses ==) + */ public Builder setAddressResource(Address addressResource) { this.addressResource = addressResource; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/addresses`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/addresses`. \`{region}\` 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 setRegion(String region) { this.region = region; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAutoscalerHttpRequest.java index af1eb0c97be1..ef46ac5fa04a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertAutoscalerHttpRequest.java @@ -123,42 +123,76 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual machine + * instances in managed instance groups according to an autoscaling policy that you define. For + * more information, read Autoscaling Groups of Instances. (== resource_for beta.autoscalers ==) + * (== resource_for v1.autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== + * resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` 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 getZone() { return zone; } @@ -247,91 +281,159 @@ public Builder mergeFrom(InsertAutoscalerHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Builder setAutoscalerResource(Autoscaler autoscalerResource) { this.autoscalerResource = autoscalerResource; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` 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 getZone() { return zone; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendBucketHttpRequest.java index a1bf2b1cff6d..ef92fa37d0ee 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendBucketHttpRequest.java @@ -123,42 +123,70 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public BackendBucket getBackendBucketResource() { return backendBucketResource; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/backendBuckets`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +275,147 @@ public Builder mergeFrom(InsertBackendBucketHttpRequest other) { 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; } + /** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public BackendBucket getBackendBucketResource() { return backendBucketResource; } + /** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public Builder setBackendBucketResource(BackendBucket backendBucketResource) { this.backendBucketResource = backendBucketResource; 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; } + /** 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; } + /** 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/backendBuckets`. + * \`{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/backendBuckets`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendServiceHttpRequest.java index 5e7f48117022..f071d262ef60 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertBackendServiceHttpRequest.java @@ -125,42 +125,74 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and their + * serving capacity. (== resource_for v1.backendService ==) (== resource_for beta.backendService + * ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/backendServices`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,91 +281,155 @@ public Builder mergeFrom(InsertBackendServiceHttpRequest other) { 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; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public Builder setBackendServiceResource(BackendService backendServiceResource) { this.backendServiceResource = backendServiceResource; 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; } + /** 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; } + /** 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/backendServices`. + * \`{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/backendServices`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java index c44317739566..e8468c4be1a7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertDiskHttpRequest.java @@ -132,46 +132,75 @@ 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; } + /** A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks ==) */ public Disk getDiskResource() { return diskResource; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** Optional. Source image to restore onto a disk. */ public String getSourceImage() { return sourceImage; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * The name of the zone for this request. It must have the format `{project}/zones/{zone}/disks`. + * \`{zone}\` 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 getZone() { return zone; } @@ -265,100 +294,158 @@ public Builder mergeFrom(InsertDiskHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks ==) */ public Disk getDiskResource() { return diskResource; } + /** A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks ==) */ public Builder setDiskResource(Disk diskResource) { this.diskResource = diskResource; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** Optional. Source image to restore onto a disk. */ public String getSourceImage() { return sourceImage; } + /** Optional. Source image to restore onto a disk. */ public Builder setSourceImage(String sourceImage) { this.sourceImage = sourceImage; 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; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/disks`. \`{zone}\` 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 getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/disks`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertFirewallHttpRequest.java index 312ccfdb7fd2..98b754070e3c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertFirewallHttpRequest.java @@ -123,42 +123,70 @@ 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; } + /** Represents a Firewall resource. */ public Firewall getFirewallResource() { return firewallResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/firewalls`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +275,147 @@ public Builder mergeFrom(InsertFirewallHttpRequest other) { 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; } + /** Represents a Firewall resource. */ public Firewall getFirewallResource() { return firewallResource; } + /** Represents a Firewall resource. */ public Builder setFirewallResource(Firewall firewallResource) { this.firewallResource = firewallResource; 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; } + /** 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/firewalls`. + * \`{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/firewalls`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertForwardingRuleHttpRequest.java index b22919421644..c92d0232bb0d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertForwardingRuleHttpRequest.java @@ -123,42 +123,76 @@ 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 ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual + * machines to forward a packet to if it matches the given [IPAddress, IPProtocol, ports] tuple. + * (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules ==) (== + * resource_for beta.globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (== + * resource_for beta.regionForwardingRules ==) (== resource_for v1.regionForwardingRules ==) + */ public ForwardingRule getForwardingRuleResource() { return forwardingRuleResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/forwardingRules`. \`{region}\` 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 getRegion() { return region; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +281,159 @@ public Builder mergeFrom(InsertForwardingRuleHttpRequest other) { 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 ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual + * machines to forward a packet to if it matches the given [IPAddress, IPProtocol, ports] tuple. + * (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules ==) (== + * resource_for beta.globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (== + * resource_for beta.regionForwardingRules ==) (== resource_for v1.regionForwardingRules ==) + */ public ForwardingRule getForwardingRuleResource() { return forwardingRuleResource; } + /** + * A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual + * machines to forward a packet to if it matches the given [IPAddress, IPProtocol, ports] tuple. + * (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules ==) (== + * resource_for beta.globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (== + * resource_for beta.regionForwardingRules ==) (== resource_for v1.regionForwardingRules ==) + */ public Builder setForwardingRuleResource(ForwardingRule forwardingRuleResource) { this.forwardingRuleResource = forwardingRuleResource; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/forwardingRules`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/forwardingRules`. \`{region}\` 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 setRegion(String region) { this.region = region; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalAddressHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalAddressHttpRequest.java index 3fdc13f5950e..933d9a753333 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalAddressHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalAddressHttpRequest.java @@ -123,42 +123,73 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * A reserved address resource. (== resource_for beta.addresses ==) (== resource_for v1.addresses + * ==) (== resource_for beta.globalAddresses ==) (== resource_for v1.globalAddresses ==) + */ public Address getAddressResource() { return addressResource; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/addresses`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,155 @@ public Builder mergeFrom(InsertGlobalAddressHttpRequest other) { 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; } + /** + * A reserved address resource. (== resource_for beta.addresses ==) (== resource_for + * v1.addresses ==) (== resource_for beta.globalAddresses ==) (== resource_for + * v1.globalAddresses ==) + */ public Address getAddressResource() { return addressResource; } + /** + * A reserved address resource. (== resource_for beta.addresses ==) (== resource_for + * v1.addresses ==) (== resource_for beta.globalAddresses ==) (== resource_for + * v1.globalAddresses ==) + */ public Builder setAddressResource(Address addressResource) { this.addressResource = addressResource; 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; } + /** 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; } + /** 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/addresses`. + * \`{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/addresses`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalForwardingRuleHttpRequest.java index 4a5228b656d4..36d5a5d0d824 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertGlobalForwardingRuleHttpRequest.java @@ -123,42 +123,76 @@ 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 ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual + * machines to forward a packet to if it matches the given [IPAddress, IPProtocol, ports] tuple. + * (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules ==) (== + * resource_for beta.globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (== + * resource_for beta.regionForwardingRules ==) (== resource_for v1.regionForwardingRules ==) + */ public ForwardingRule getForwardingRuleResource() { return forwardingRuleResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/forwardingRules`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +281,159 @@ public Builder mergeFrom(InsertGlobalForwardingRuleHttpRequest other) { 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 ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual + * machines to forward a packet to if it matches the given [IPAddress, IPProtocol, ports] tuple. + * (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules ==) (== + * resource_for beta.globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (== + * resource_for beta.regionForwardingRules ==) (== resource_for v1.regionForwardingRules ==) + */ public ForwardingRule getForwardingRuleResource() { return forwardingRuleResource; } + /** + * A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual + * machines to forward a packet to if it matches the given [IPAddress, IPProtocol, ports] tuple. + * (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules ==) (== + * resource_for beta.globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (== + * resource_for beta.regionForwardingRules ==) (== resource_for v1.regionForwardingRules ==) + */ public Builder setForwardingRuleResource(ForwardingRule forwardingRuleResource) { this.forwardingRuleResource = forwardingRuleResource; 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; } + /** 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/forwardingRules`. + * \`{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/forwardingRules`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHealthCheckHttpRequest.java index dab103a1b6d7..2a8f214e907b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHealthCheckHttpRequest.java @@ -123,42 +123,73 @@ 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; } + /** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public HealthCheck getHealthCheckResource() { return healthCheckResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/healthChecks`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertHealthCheckHttpRequest other) { 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; } + /** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public HealthCheck getHealthCheckResource() { return healthCheckResource; } + /** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public Builder setHealthCheckResource(HealthCheck healthCheckResource) { this.healthCheckResource = healthCheckResource; 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; } + /** 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/healthChecks`. + * \`{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/healthChecks`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpHealthCheckHttpRequest.java index 39487c2b7868..caf7cc9d6d66 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpHealthCheckHttpRequest.java @@ -123,42 +123,73 @@ 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; } + /** + * An HttpHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTP. + */ public HttpHealthCheck2 getHttpHealthCheckResource() { return httpHealthCheckResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/httpHealthChecks`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertHttpHealthCheckHttpRequest other) { 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; } + /** + * An HttpHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTP. + */ public HttpHealthCheck2 getHttpHealthCheckResource() { return httpHealthCheckResource; } + /** + * An HttpHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTP. + */ public Builder setHttpHealthCheckResource(HttpHealthCheck2 httpHealthCheckResource) { this.httpHealthCheckResource = httpHealthCheckResource; 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; } + /** 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/httpHealthChecks`. + * \`{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/httpHealthChecks`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpsHealthCheckHttpRequest.java index ea20f4221c7f..bf291e92f216 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertHttpsHealthCheckHttpRequest.java @@ -123,42 +123,73 @@ 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; } + /** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public HttpsHealthCheck2 getHttpsHealthCheckResource() { return httpsHealthCheckResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/httpsHealthChecks`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertHttpsHealthCheckHttpRequest other) { 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; } + /** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public HttpsHealthCheck2 getHttpsHealthCheckResource() { return httpsHealthCheckResource; } + /** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public Builder setHttpsHealthCheckResource(HttpsHealthCheck2 httpsHealthCheckResource) { this.httpsHealthCheckResource = httpsHealthCheckResource; 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; } + /** 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/httpsHealthChecks`. + * \`{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/httpsHealthChecks`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertImageHttpRequest.java index acb72a578bbf..53f2c5b3dcc9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertImageHttpRequest.java @@ -130,46 +130,75 @@ 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; } + /** Force image creation if true. */ public Boolean getForceCreate() { return forceCreate; } + /** An Image resource. (== resource_for beta.images ==) (== resource_for v1.images ==) */ public Image getImageResource() { return imageResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/images`. \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -263,100 +292,158 @@ public Builder mergeFrom(InsertImageHttpRequest other) { 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; } + /** Force image creation if true. */ public Boolean getForceCreate() { return forceCreate; } + /** Force image creation if true. */ public Builder setForceCreate(Boolean forceCreate) { this.forceCreate = forceCreate; return this; } + /** An Image resource. (== resource_for beta.images ==) (== resource_for v1.images ==) */ public Image getImageResource() { return imageResource; } + /** An Image resource. (== resource_for beta.images ==) (== resource_for v1.images ==) */ public Builder setImageResource(Image imageResource) { this.imageResource = imageResource; 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; } + /** 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/images`. \`{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/images`. \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupHttpRequest.java index a012333eb927..986f6482ebde 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupHttpRequest.java @@ -123,42 +123,73 @@ 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; } + /** + * InstanceGroups (== resource_for beta.instanceGroups ==) (== resource_for v1.instanceGroups ==) + * (== resource_for beta.regionInstanceGroups ==) (== resource_for v1.regionInstanceGroups ==) + */ public InstanceGroup getInstanceGroupResource() { return instanceGroupResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * The name of the zone where you want to create the instance group. It must have the format + * `{project}/zones/{zone}/instanceGroups`. \`{zone}\` 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 getZone() { return zone; } @@ -247,91 +278,155 @@ public Builder mergeFrom(InsertInstanceGroupHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** + * InstanceGroups (== resource_for beta.instanceGroups ==) (== resource_for v1.instanceGroups + * ==) (== resource_for beta.regionInstanceGroups ==) (== resource_for v1.regionInstanceGroups + * ==) + */ public InstanceGroup getInstanceGroupResource() { return instanceGroupResource; } + /** + * InstanceGroups (== resource_for beta.instanceGroups ==) (== resource_for v1.instanceGroups + * ==) (== resource_for beta.regionInstanceGroups ==) (== resource_for v1.regionInstanceGroups + * ==) + */ public Builder setInstanceGroupResource(InstanceGroup instanceGroupResource) { this.instanceGroupResource = instanceGroupResource; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; } + /** + * The name of the zone where you want to create the instance group. It must have the format + * `{project}/zones/{zone}/instanceGroups`. \`{zone}\` 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 getZone() { return zone; } + /** + * The name of the zone where you want to create the instance group. It must have the format + * `{project}/zones/{zone}/instanceGroups`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerHttpRequest.java index 105a1f5bfe06..90ad9346b075 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerHttpRequest.java @@ -129,42 +129,74 @@ 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; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers ==) + * (== resource_for v1.regionInstanceGroupManagers ==) + */ public InstanceGroupManager getInstanceGroupManagerResource() { return instanceGroupManagerResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * The name of the zone where you want to create the managed instance group. It must have the + * format `{project}/zones/{zone}/instanceGroupManagers`. \`{zone}\` 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 getZone() { return zone; } @@ -253,92 +285,158 @@ public Builder mergeFrom(InsertInstanceGroupManagerHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers + * ==) (== resource_for v1.regionInstanceGroupManagers ==) + */ public InstanceGroupManager getInstanceGroupManagerResource() { return instanceGroupManagerResource; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers + * ==) (== resource_for v1.regionInstanceGroupManagers ==) + */ public Builder setInstanceGroupManagerResource( InstanceGroupManager instanceGroupManagerResource) { this.instanceGroupManagerResource = instanceGroupManagerResource; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; } + /** + * The name of the zone where you want to create the managed instance group. It must have the + * format `{project}/zones/{zone}/instanceGroupManagers`. \`{zone}\` 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 getZone() { return zone; } + /** + * The name of the zone where you want to create the managed instance group. It must have the + * format `{project}/zones/{zone}/instanceGroupManagers`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceHttpRequest.java index 288f7b2a313f..389d2d74a9a2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceHttpRequest.java @@ -130,46 +130,83 @@ 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; } + /** An Instance resource. (== resource_for beta.instances ==) (== resource_for v1.instances ==) */ public Instance getInstanceResource() { return instanceResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Specifies instance template to create the instance. + * + *

This field is optional. It can be a full or partial URL. For example, the following are all + * valid URLs to an instance template: - + * https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate + * - projects/project/global/instanceTemplates/instanceTemplate - + * global/instanceTemplates/instanceTemplate + */ public String getSourceInstanceTemplate() { return sourceInstanceTemplate; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/instances`. \`{zone}\` 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 getZone() { return zone; } @@ -263,100 +300,178 @@ public Builder mergeFrom(InsertInstanceHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** + * An Instance resource. (== resource_for beta.instances ==) (== resource_for v1.instances ==) + */ public Instance getInstanceResource() { return instanceResource; } + /** + * An Instance resource. (== resource_for beta.instances ==) (== resource_for v1.instances ==) + */ public Builder setInstanceResource(Instance instanceResource) { this.instanceResource = instanceResource; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Specifies instance template to create the instance. + * + *

This field is optional. It can be a full or partial URL. For example, the following are + * all valid URLs to an instance template: - + * https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate + * - projects/project/global/instanceTemplates/instanceTemplate - + * global/instanceTemplates/instanceTemplate + */ public String getSourceInstanceTemplate() { return sourceInstanceTemplate; } + /** + * Specifies instance template to create the instance. + * + *

This field is optional. It can be a full or partial URL. For example, the following are + * all valid URLs to an instance template: - + * https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate + * - projects/project/global/instanceTemplates/instanceTemplate - + * global/instanceTemplates/instanceTemplate + */ public Builder setSourceInstanceTemplate(String sourceInstanceTemplate) { this.sourceInstanceTemplate = sourceInstanceTemplate; 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; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/instances`. \`{zone}\` 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 getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/instances`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceTemplateHttpRequest.java index e963ef2d8725..46a2046bb0cb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInstanceTemplateHttpRequest.java @@ -125,42 +125,73 @@ 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; } + /** + * An Instance Template resource. (== resource_for beta.instanceTemplates ==) (== resource_for + * v1.instanceTemplates ==) + */ public InstanceTemplate getInstanceTemplateResource() { return instanceTemplateResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/instanceTemplates`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,91 +280,153 @@ public Builder mergeFrom(InsertInstanceTemplateHttpRequest other) { 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; } + /** + * An Instance Template resource. (== resource_for beta.instanceTemplates ==) (== resource_for + * v1.instanceTemplates ==) + */ public InstanceTemplate getInstanceTemplateResource() { return instanceTemplateResource; } + /** + * An Instance Template resource. (== resource_for beta.instanceTemplates ==) (== resource_for + * v1.instanceTemplates ==) + */ public Builder setInstanceTemplateResource(InstanceTemplate instanceTemplateResource) { this.instanceTemplateResource = instanceTemplateResource; 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; } + /** 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/instanceTemplates`. + * \`{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/instanceTemplates`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectAttachmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectAttachmentHttpRequest.java index c594442995ff..3074be985139 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectAttachmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectAttachmentHttpRequest.java @@ -123,42 +123,74 @@ 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; } + /** + * Represents an InterconnectAttachment (VLAN attachment) resource. For more information, see + * Creating VLAN Attachments. (== resource_for beta.interconnectAttachments ==) (== resource_for + * v1.interconnectAttachments ==) + */ public InterconnectAttachment getInterconnectAttachmentResource() { return interconnectAttachmentResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/interconnectAttachments`. \`{region}\` 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 getRegion() { return region; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,92 +279,158 @@ public Builder mergeFrom(InsertInterconnectAttachmentHttpRequest other) { 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; } + /** + * Represents an InterconnectAttachment (VLAN attachment) resource. For more information, see + * Creating VLAN Attachments. (== resource_for beta.interconnectAttachments ==) (== resource_for + * v1.interconnectAttachments ==) + */ public InterconnectAttachment getInterconnectAttachmentResource() { return interconnectAttachmentResource; } + /** + * Represents an InterconnectAttachment (VLAN attachment) resource. For more information, see + * Creating VLAN Attachments. (== resource_for beta.interconnectAttachments ==) (== resource_for + * v1.interconnectAttachments ==) + */ public Builder setInterconnectAttachmentResource( InterconnectAttachment interconnectAttachmentResource) { this.interconnectAttachmentResource = interconnectAttachmentResource; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/interconnectAttachments`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/interconnectAttachments`. \`{region}\` 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 setRegion(String region) { this.region = region; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectHttpRequest.java index 45e1cbfe1bef..9ce631308dd2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertInterconnectHttpRequest.java @@ -123,42 +123,74 @@ 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; } + /** + * Represents an Interconnects resource. The Interconnects resource is a dedicated connection + * between Google's network and your on-premises network. For more information, see the Dedicated + * overview page. (== resource_for v1.interconnects ==) (== resource_for beta.interconnects ==) + */ public Interconnect getInterconnectResource() { return interconnectResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/interconnects`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +279,157 @@ public Builder mergeFrom(InsertInterconnectHttpRequest other) { 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; } + /** + * Represents an Interconnects resource. The Interconnects resource is a dedicated connection + * between Google's network and your on-premises network. For more information, see the + * Dedicated overview page. (== resource_for v1.interconnects ==) (== resource_for + * beta.interconnects ==) + */ public Interconnect getInterconnectResource() { return interconnectResource; } + /** + * Represents an Interconnects resource. The Interconnects resource is a dedicated connection + * between Google's network and your on-premises network. For more information, see the + * Dedicated overview page. (== resource_for v1.interconnects ==) (== resource_for + * beta.interconnects ==) + */ public Builder setInterconnectResource(Interconnect interconnectResource) { this.interconnectResource = interconnectResource; 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; } + /** 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/interconnects`. + * \`{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/interconnects`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertLicenseHttpRequest.java index 5a4f7db4a16e..f6e1818e01c2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertLicenseHttpRequest.java @@ -123,42 +123,70 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** A license resource. */ public License getLicenseResource() { return licenseResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/licenses`. \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +275,147 @@ public Builder mergeFrom(InsertLicenseHttpRequest other) { 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; } + /** 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; } + /** A license resource. */ public License getLicenseResource() { return licenseResource; } + /** A license resource. */ public Builder setLicenseResource(License licenseResource) { this.licenseResource = licenseResource; 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/licenses`. + * \`{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/licenses`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNetworkHttpRequest.java index 2d41e23d9809..0678a857f4b7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNetworkHttpRequest.java @@ -123,42 +123,73 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Represents a Network resource. Read Virtual Private Cloud (VPC) Network Overview for more + * information. (== resource_for v1.networks ==) (== resource_for beta.networks ==) + */ public Network getNetworkResource() { return networkResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/networks`. \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertNetworkHttpRequest other) { 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; } + /** 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; } + /** + * Represents a Network resource. Read Virtual Private Cloud (VPC) Network Overview for more + * information. (== resource_for v1.networks ==) (== resource_for beta.networks ==) + */ public Network getNetworkResource() { return networkResource; } + /** + * Represents a Network resource. Read Virtual Private Cloud (VPC) Network Overview for more + * information. (== resource_for v1.networks ==) (== resource_for beta.networks ==) + */ public Builder setNetworkResource(Network networkResource) { this.networkResource = networkResource; 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/networks`. + * \`{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/networks`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeGroupHttpRequest.java index 14c90ffd92bc..0657cc08d63d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeGroupHttpRequest.java @@ -130,46 +130,75 @@ 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; } + /** Initial count of nodes in the node group. */ public Integer getInitialNodeCount() { return initialNodeCount; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** A NodeGroup resource. */ public NodeGroup getNodeGroupResource() { return nodeGroupResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups`. \`{zone}\` 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 getZone() { return zone; } @@ -263,100 +292,158 @@ public Builder mergeFrom(InsertNodeGroupHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** Initial count of nodes in the node group. */ public Integer getInitialNodeCount() { return initialNodeCount; } + /** Initial count of nodes in the node group. */ public Builder setInitialNodeCount(Integer initialNodeCount) { this.initialNodeCount = initialNodeCount; 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; } + /** A NodeGroup resource. */ public NodeGroup getNodeGroupResource() { return nodeGroupResource; } + /** A NodeGroup resource. */ public Builder setNodeGroupResource(NodeGroup nodeGroupResource) { this.nodeGroupResource = nodeGroupResource; 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups`. \`{zone}\` 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 getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeTemplateHttpRequest.java index fe55b9cfc639..fe1c5d9e54e7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertNodeTemplateHttpRequest.java @@ -123,42 +123,70 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** A Node Template resource. */ public NodeTemplate getNodeTemplateResource() { return nodeTemplateResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * The name of the region for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates`. \`{region}\` 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 getRegion() { return region; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +275,147 @@ public Builder mergeFrom(InsertNodeTemplateHttpRequest other) { 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; } + /** 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; } + /** A Node Template resource. */ public NodeTemplate getNodeTemplateResource() { return nodeTemplateResource; } + /** A Node Template resource. */ public Builder setNodeTemplateResource(NodeTemplate nodeTemplateResource) { this.nodeTemplateResource = nodeTemplateResource; 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * The name of the region for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates`. \`{region}\` 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 getRegion() { return region; } + /** + * The name of the region for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates`. \`{region}\` 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 setRegion(String region) { this.region = region; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionAutoscalerHttpRequest.java index 9a48adaf454a..7a4b61fa1b3c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionAutoscalerHttpRequest.java @@ -123,42 +123,76 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual machine + * instances in managed instance groups according to an autoscaling policy that you define. For + * more information, read Autoscaling Groups of Instances. (== resource_for beta.autoscalers ==) + * (== resource_for v1.autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== + * resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` 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 getRegion() { return region; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +281,159 @@ public Builder mergeFrom(InsertRegionAutoscalerHttpRequest other) { 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; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Builder setAutoscalerResource(Autoscaler autoscalerResource) { this.autoscalerResource = autoscalerResource; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` 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 setRegion(String region) { this.region = region; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionBackendServiceHttpRequest.java index 42c735be0b17..9f03122f6020 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionBackendServiceHttpRequest.java @@ -125,42 +125,74 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and their + * serving capacity. (== resource_for v1.backendService ==) (== resource_for beta.backendService + * ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/backendServices`. \`{region}\` 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 getRegion() { return region; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,91 +281,155 @@ public Builder mergeFrom(InsertRegionBackendServiceHttpRequest other) { 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; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public Builder setBackendServiceResource(BackendService backendServiceResource) { this.backendServiceResource = backendServiceResource; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/backendServices`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/backendServices`. \`{region}\` 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 setRegion(String region) { this.region = region; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionCommitmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionCommitmentHttpRequest.java index f4bd839b2cb0..9f88a2de0492 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionCommitmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionCommitmentHttpRequest.java @@ -123,42 +123,80 @@ 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; } + /** + * Represents a Commitment resource. Creating a Commitment resource means that you are purchasing + * a committed use contract with an explicit start and end time. You can create commitments based + * on vCPUs and memory usage and receive discounted rates. For full details, read Signing Up for + * Committed Use Discounts. + * + *

Committed use discounts are subject to Google Cloud Platform's Service Specific Terms. By + * purchasing a committed use discount, you agree to these terms. Committed use discounts will not + * renew, so you must purchase a new commitment to continue receiving discounts. (== resource_for + * beta.commitments ==) (== resource_for v1.commitments ==) + */ public Commitment getCommitmentResource() { return commitmentResource; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/commitments`. \`{region}\` 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 getRegion() { return region; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +285,167 @@ public Builder mergeFrom(InsertRegionCommitmentHttpRequest other) { 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; } + /** + * Represents a Commitment resource. Creating a Commitment resource means that you are + * purchasing a committed use contract with an explicit start and end time. You can create + * commitments based on vCPUs and memory usage and receive discounted rates. For full details, + * read Signing Up for Committed Use Discounts. + * + *

Committed use discounts are subject to Google Cloud Platform's Service Specific Terms. By + * purchasing a committed use discount, you agree to these terms. Committed use discounts will + * not renew, so you must purchase a new commitment to continue receiving discounts. (== + * resource_for beta.commitments ==) (== resource_for v1.commitments ==) + */ public Commitment getCommitmentResource() { return commitmentResource; } + /** + * Represents a Commitment resource. Creating a Commitment resource means that you are + * purchasing a committed use contract with an explicit start and end time. You can create + * commitments based on vCPUs and memory usage and receive discounted rates. For full details, + * read Signing Up for Committed Use Discounts. + * + *

Committed use discounts are subject to Google Cloud Platform's Service Specific Terms. By + * purchasing a committed use discount, you agree to these terms. Committed use discounts will + * not renew, so you must purchase a new commitment to continue receiving discounts. (== + * resource_for beta.commitments ==) (== resource_for v1.commitments ==) + */ public Builder setCommitmentResource(Commitment commitmentResource) { this.commitmentResource = commitmentResource; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/commitments`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/commitments`. \`{region}\` 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 setRegion(String region) { this.region = region; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java index cb9916dbec47..605b84da2129 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskHttpRequest.java @@ -130,46 +130,75 @@ 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; } + /** A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks ==) */ public Disk getDiskResource() { return diskResource; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/disks`. \`{region}\` 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 getRegion() { return region; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** Optional. Source image to restore onto a disk. */ public String getSourceImage() { return sourceImage; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -263,100 +292,158 @@ public Builder mergeFrom(InsertRegionDiskHttpRequest other) { 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; } + /** A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks ==) */ public Disk getDiskResource() { return diskResource; } + /** A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks ==) */ public Builder setDiskResource(Disk diskResource) { this.diskResource = diskResource; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/disks`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/disks`. \`{region}\` 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 setRegion(String region) { this.region = region; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** Optional. Source image to restore onto a disk. */ public String getSourceImage() { return sourceImage; } + /** Optional. Source image to restore onto a disk. */ public Builder setSourceImage(String sourceImage) { this.sourceImage = sourceImage; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionInstanceGroupManagerHttpRequest.java index 29db4b632cf0..29bbe702ea62 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRegionInstanceGroupManagerHttpRequest.java @@ -129,42 +129,74 @@ 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; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers ==) + * (== resource_for v1.regionInstanceGroupManagers ==) + */ public InstanceGroupManager getInstanceGroupManagerResource() { return instanceGroupManagerResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/instanceGroupManagers`. \`{region}\` 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 getRegion() { return region; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -253,92 +285,158 @@ public Builder mergeFrom(InsertRegionInstanceGroupManagerHttpRequest other) { 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; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers + * ==) (== resource_for v1.regionInstanceGroupManagers ==) + */ public InstanceGroupManager getInstanceGroupManagerResource() { return instanceGroupManagerResource; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers + * ==) (== resource_for v1.regionInstanceGroupManagers ==) + */ public Builder setInstanceGroupManagerResource( InstanceGroupManager instanceGroupManagerResource) { this.instanceGroupManagerResource = instanceGroupManagerResource; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/instanceGroupManagers`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/instanceGroupManagers`. \`{region}\` 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 setRegion(String region) { this.region = region; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouteHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouteHttpRequest.java index 98a76a32c41b..6ac11a0a66cb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouteHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouteHttpRequest.java @@ -123,42 +123,85 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/routes`. \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Represents a Route resource. A route specifies how certain packets should be handled by the + * network. Routes are associated with instances by tags and the set of routes for a particular + * instance is called its routing table. + * + *

For each packet leaving an instance, the system searches that instance's routing table for a + * single best matching route. Routes match packets by destination IP address, preferring smaller + * or more specific ranges over larger ones. If there is a tie, the system selects the route with + * the smallest priority value. If there is still a tie, it uses the layer three and four packet + * headers to select just one of the remaining matching routes. The packet is then forwarded as + * specified by the nextHop field of the winning route - either to another instance destination, + * an instance gateway, or a Google Compute Engine-operated gateway. + * + *

Packets that do not match any route in the sending instance's routing table are dropped. (== + * resource_for beta.routes ==) (== resource_for v1.routes ==) + */ public Route getRouteResource() { return routeResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +290,177 @@ public Builder mergeFrom(InsertRouteHttpRequest other) { 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; } + /** 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; } + /** 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/routes`. \`{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/routes`. \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Represents a Route resource. A route specifies how certain packets should be handled by the + * network. Routes are associated with instances by tags and the set of routes for a particular + * instance is called its routing table. + * + *

For each packet leaving an instance, the system searches that instance's routing table for + * a single best matching route. Routes match packets by destination IP address, preferring + * smaller or more specific ranges over larger ones. If there is a tie, the system selects the + * route with the smallest priority value. If there is still a tie, it uses the layer three and + * four packet headers to select just one of the remaining matching routes. The packet is then + * forwarded as specified by the nextHop field of the winning route - either to another instance + * destination, an instance gateway, or a Google Compute Engine-operated gateway. + * + *

Packets that do not match any route in the sending instance's routing table are dropped. + * (== resource_for beta.routes ==) (== resource_for v1.routes ==) + */ public Route getRouteResource() { return routeResource; } + /** + * Represents a Route resource. A route specifies how certain packets should be handled by the + * network. Routes are associated with instances by tags and the set of routes for a particular + * instance is called its routing table. + * + *

For each packet leaving an instance, the system searches that instance's routing table for + * a single best matching route. Routes match packets by destination IP address, preferring + * smaller or more specific ranges over larger ones. If there is a tie, the system selects the + * route with the smallest priority value. If there is still a tie, it uses the layer three and + * four packet headers to select just one of the remaining matching routes. The packet is then + * forwarded as specified by the nextHop field of the winning route - either to another instance + * destination, an instance gateway, or a Google Compute Engine-operated gateway. + * + *

Packets that do not match any route in the sending instance's routing table are dropped. + * (== resource_for beta.routes ==) (== resource_for v1.routes ==) + */ public Builder setRouteResource(Route routeResource) { this.routeResource = routeResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouterHttpRequest.java index dc808e68f8de..df8568dd64a9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertRouterHttpRequest.java @@ -123,42 +123,70 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/routers`. \`{region}\` 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 getRegion() { return region; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** Router resource. */ public Router getRouterResource() { return routerResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +275,147 @@ public Builder mergeFrom(InsertRouterHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/routers`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/routers`. \`{region}\` 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 setRegion(String region) { this.region = region; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** Router resource. */ public Router getRouterResource() { return routerResource; } + /** Router resource. */ public Builder setRouterResource(Router routerResource) { this.routerResource = routerResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSecurityPolicyHttpRequest.java index 2259dab50928..114936b9ebc0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSecurityPolicyHttpRequest.java @@ -123,42 +123,73 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** 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`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A security policy is comprised of one or more rules. It can also be associated with one or more + * 'targets'. (== resource_for v1.securityPolicies ==) (== resource_for beta.securityPolicies ==) + */ public SecurityPolicy getSecurityPolicyResource() { return securityPolicyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,155 @@ public Builder mergeFrom(InsertSecurityPolicyHttpRequest other) { 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; } + /** 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; } + /** 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`. + * \`{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`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A security policy is comprised of one or more rules. It can also be associated with one or + * more 'targets'. (== resource_for v1.securityPolicies ==) (== resource_for + * beta.securityPolicies ==) + */ public SecurityPolicy getSecurityPolicyResource() { return securityPolicyResource; } + /** + * A security policy is comprised of one or more rules. It can also be associated with one or + * more 'targets'. (== resource_for v1.securityPolicies ==) (== resource_for + * beta.securityPolicies ==) + */ public Builder setSecurityPolicyResource(SecurityPolicy securityPolicyResource) { this.securityPolicyResource = securityPolicyResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslCertificateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslCertificateHttpRequest.java index 88fa6ecfeb94..89e3b5f0e6ad 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslCertificateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslCertificateHttpRequest.java @@ -123,42 +123,74 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/sslCertificates`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An SslCertificate resource. This resource provides a mechanism to upload an SSL key and + * certificate to the load balancer to serve secure connections from the user. (== resource_for + * beta.sslCertificates ==) (== resource_for v1.sslCertificates ==) + */ public SslCertificate getSslCertificateResource() { return sslCertificateResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +279,155 @@ public Builder mergeFrom(InsertSslCertificateHttpRequest other) { 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; } + /** 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; } + /** 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/sslCertificates`. + * \`{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/sslCertificates`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * An SslCertificate resource. This resource provides a mechanism to upload an SSL key and + * certificate to the load balancer to serve secure connections from the user. (== resource_for + * beta.sslCertificates ==) (== resource_for v1.sslCertificates ==) + */ public SslCertificate getSslCertificateResource() { return sslCertificateResource; } + /** + * An SslCertificate resource. This resource provides a mechanism to upload an SSL key and + * certificate to the load balancer to serve secure connections from the user. (== resource_for + * beta.sslCertificates ==) (== resource_for v1.sslCertificates ==) + */ public Builder setSslCertificateResource(SslCertificate sslCertificateResource) { this.sslCertificateResource = sslCertificateResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslPolicyHttpRequest.java index 8ea59b8c7c2a..49ed8fd5590a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSslPolicyHttpRequest.java @@ -123,42 +123,75 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/sslPolicies`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A SSL policy specifies the server-side support for SSL features. This can be attached to a + * TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS or + * SSL proxy load balancer. They do not affect the connection between the load balancers and the + * backends. + */ public SslPolicy getSslPolicyResource() { return sslPolicyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +280,157 @@ public Builder mergeFrom(InsertSslPolicyHttpRequest other) { 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; } + /** 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; } + /** 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/sslPolicies`. + * \`{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/sslPolicies`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A SSL policy specifies the server-side support for SSL features. This can be attached to a + * TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS + * or SSL proxy load balancer. They do not affect the connection between the load balancers and + * the backends. + */ public SslPolicy getSslPolicyResource() { return sslPolicyResource; } + /** + * A SSL policy specifies the server-side support for SSL features. This can be attached to a + * TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS + * or SSL proxy load balancer. They do not affect the connection between the load balancers and + * the backends. + */ public Builder setSslPolicyResource(SslPolicy sslPolicyResource) { this.sslPolicyResource = sslPolicyResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSubnetworkHttpRequest.java index bc93872ad7d4..458cd4eb519a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertSubnetworkHttpRequest.java @@ -123,42 +123,73 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/subnetworks`. \`{region}\` 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 getRegion() { return region; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for v1.subnetworks + * ==) + */ public Subnetwork getSubnetworkResource() { return subnetworkResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertSubnetworkHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/subnetworks`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/subnetworks`. \`{region}\` 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 setRegion(String region) { this.region = region; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for v1.subnetworks + * ==) + */ public Subnetwork getSubnetworkResource() { return subnetworkResource; } + /** + * A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for v1.subnetworks + * ==) + */ public Builder setSubnetworkResource(Subnetwork subnetworkResource) { this.subnetworkResource = subnetworkResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpProxyHttpRequest.java index 5c0753ddc09e..d262ccec701e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpProxyHttpRequest.java @@ -123,42 +123,73 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/targetHttpProxies`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A TargetHttpProxy resource. This resource defines an HTTP proxy. (== resource_for + * beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies ==) + */ public TargetHttpProxy getTargetHttpProxyResource() { return targetHttpProxyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertTargetHttpProxyHttpRequest other) { 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; } + /** 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; } + /** 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/targetHttpProxies`. + * \`{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/targetHttpProxies`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A TargetHttpProxy resource. This resource defines an HTTP proxy. (== resource_for + * beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies ==) + */ public TargetHttpProxy getTargetHttpProxyResource() { return targetHttpProxyResource; } + /** + * A TargetHttpProxy resource. This resource defines an HTTP proxy. (== resource_for + * beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies ==) + */ public Builder setTargetHttpProxyResource(TargetHttpProxy targetHttpProxyResource) { this.targetHttpProxyResource = targetHttpProxyResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpsProxyHttpRequest.java index 5eeb61bd936b..1c44419954ed 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetHttpsProxyHttpRequest.java @@ -123,42 +123,73 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/targetHttpsProxies`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A TargetHttpsProxy resource. This resource defines an HTTPS proxy. (== resource_for + * beta.targetHttpsProxies ==) (== resource_for v1.targetHttpsProxies ==) + */ public TargetHttpsProxy getTargetHttpsProxyResource() { return targetHttpsProxyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertTargetHttpsProxyHttpRequest other) { 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; } + /** 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; } + /** 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/targetHttpsProxies`. + * \`{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/targetHttpsProxies`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A TargetHttpsProxy resource. This resource defines an HTTPS proxy. (== resource_for + * beta.targetHttpsProxies ==) (== resource_for v1.targetHttpsProxies ==) + */ public TargetHttpsProxy getTargetHttpsProxyResource() { return targetHttpsProxyResource; } + /** + * A TargetHttpsProxy resource. This resource defines an HTTPS proxy. (== resource_for + * beta.targetHttpsProxies ==) (== resource_for v1.targetHttpsProxies ==) + */ public Builder setTargetHttpsProxyResource(TargetHttpsProxy targetHttpsProxyResource) { this.targetHttpsProxyResource = targetHttpsProxyResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetInstanceHttpRequest.java index d3cd13452314..4ffd739d8833 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetInstanceHttpRequest.java @@ -123,42 +123,74 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A TargetInstance resource. This resource defines an endpoint instance that terminates traffic + * of certain protocols. (== resource_for beta.targetInstances ==) (== resource_for + * v1.targetInstances ==) + */ public TargetInstance getTargetInstanceResource() { return targetInstanceResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * Name of the zone scoping this request. It must have the format + * `{project}/zones/{zone}/targetInstances`. \`{zone}\` 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 getZone() { return zone; } @@ -247,91 +279,155 @@ public Builder mergeFrom(InsertTargetInstanceHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A TargetInstance resource. This resource defines an endpoint instance that terminates traffic + * of certain protocols. (== resource_for beta.targetInstances ==) (== resource_for + * v1.targetInstances ==) + */ public TargetInstance getTargetInstanceResource() { return targetInstanceResource; } + /** + * A TargetInstance resource. This resource defines an endpoint instance that terminates traffic + * of certain protocols. (== resource_for beta.targetInstances ==) (== resource_for + * v1.targetInstances ==) + */ public Builder setTargetInstanceResource(TargetInstance targetInstanceResource) { this.targetInstanceResource = targetInstanceResource; 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; } + /** + * Name of the zone scoping this request. It must have the format + * `{project}/zones/{zone}/targetInstances`. \`{zone}\` 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 getZone() { return zone; } + /** + * Name of the zone scoping this request. It must have the format + * `{project}/zones/{zone}/targetInstances`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetPoolHttpRequest.java index 55a8edade7d6..db47c40a0c48 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetPoolHttpRequest.java @@ -123,42 +123,74 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/targetPools`. \`{region}\` 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 getRegion() { return region; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A TargetPool resource. This resource defines a pool of instances, an associated HttpHealthCheck + * resource, and the fallback target pool. (== resource_for beta.targetPools ==) (== resource_for + * v1.targetPools ==) + */ public TargetPool getTargetPoolResource() { return targetPoolResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +279,155 @@ public Builder mergeFrom(InsertTargetPoolHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/targetPools`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/targetPools`. \`{region}\` 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 setRegion(String region) { this.region = region; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A TargetPool resource. This resource defines a pool of instances, an associated + * HttpHealthCheck resource, and the fallback target pool. (== resource_for beta.targetPools ==) + * (== resource_for v1.targetPools ==) + */ public TargetPool getTargetPoolResource() { return targetPoolResource; } + /** + * A TargetPool resource. This resource defines a pool of instances, an associated + * HttpHealthCheck resource, and the fallback target pool. (== resource_for beta.targetPools ==) + * (== resource_for v1.targetPools ==) + */ public Builder setTargetPoolResource(TargetPool targetPoolResource) { this.targetPoolResource = targetPoolResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetSslProxyHttpRequest.java index ce84c442a3a9..ee4eec705dfa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetSslProxyHttpRequest.java @@ -123,42 +123,73 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/targetSslProxies`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A TargetSslProxy resource. This resource defines an SSL proxy. (== resource_for + * beta.targetSslProxies ==) (== resource_for v1.targetSslProxies ==) + */ public TargetSslProxy getTargetSslProxyResource() { return targetSslProxyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertTargetSslProxyHttpRequest other) { 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; } + /** 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; } + /** 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/targetSslProxies`. + * \`{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/targetSslProxies`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A TargetSslProxy resource. This resource defines an SSL proxy. (== resource_for + * beta.targetSslProxies ==) (== resource_for v1.targetSslProxies ==) + */ public TargetSslProxy getTargetSslProxyResource() { return targetSslProxyResource; } + /** + * A TargetSslProxy resource. This resource defines an SSL proxy. (== resource_for + * beta.targetSslProxies ==) (== resource_for v1.targetSslProxies ==) + */ public Builder setTargetSslProxyResource(TargetSslProxy targetSslProxyResource) { this.targetSslProxyResource = targetSslProxyResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java index 273f8f7ce515..6260e686e010 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetTcpProxyHttpRequest.java @@ -123,42 +123,73 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/targetTcpProxies`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A TargetTcpProxy resource. This resource defines a TCP proxy. (== resource_for + * beta.targetTcpProxies ==) (== resource_for v1.targetTcpProxies ==) + */ public TargetTcpProxy getTargetTcpProxyResource() { return targetTcpProxyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertTargetTcpProxyHttpRequest other) { 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; } + /** 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; } + /** 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/targetTcpProxies`. + * \`{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/targetTcpProxies`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A TargetTcpProxy resource. This resource defines a TCP proxy. (== resource_for + * beta.targetTcpProxies ==) (== resource_for v1.targetTcpProxies ==) + */ public TargetTcpProxy getTargetTcpProxyResource() { return targetTcpProxyResource; } + /** + * A TargetTcpProxy resource. This resource defines a TCP proxy. (== resource_for + * beta.targetTcpProxies ==) (== resource_for v1.targetTcpProxies ==) + */ public Builder setTargetTcpProxyResource(TargetTcpProxy targetTcpProxyResource) { this.targetTcpProxyResource = targetTcpProxyResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetVpnGatewayHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetVpnGatewayHttpRequest.java index a563a6c3cdc1..dff438d8f0db 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetVpnGatewayHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertTargetVpnGatewayHttpRequest.java @@ -123,42 +123,73 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/targetVpnGateways`. \`{region}\` 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 getRegion() { return region; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Represents a Target VPN gateway resource. (== resource_for beta.targetVpnGateways ==) (== + * resource_for v1.targetVpnGateways ==) + */ public TargetVpnGateway getTargetVpnGatewayResource() { return targetVpnGatewayResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertTargetVpnGatewayHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/targetVpnGateways`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/targetVpnGateways`. \`{region}\` 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 setRegion(String region) { this.region = region; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Represents a Target VPN gateway resource. (== resource_for beta.targetVpnGateways ==) (== + * resource_for v1.targetVpnGateways ==) + */ public TargetVpnGateway getTargetVpnGatewayResource() { return targetVpnGatewayResource; } + /** + * Represents a Target VPN gateway resource. (== resource_for beta.targetVpnGateways ==) (== + * resource_for v1.targetVpnGateways ==) + */ public Builder setTargetVpnGatewayResource(TargetVpnGateway targetVpnGatewayResource) { this.targetVpnGatewayResource = targetVpnGatewayResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertUrlMapHttpRequest.java index f69feea502e7..55c152098402 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertUrlMapHttpRequest.java @@ -123,42 +123,73 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/global/urlMaps`. \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public UrlMap getUrlMapResource() { return urlMapResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +278,153 @@ public Builder mergeFrom(InsertUrlMapHttpRequest other) { 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; } + /** 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; } + /** 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/urlMaps`. + * \`{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/urlMaps`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public UrlMap getUrlMapResource() { return urlMapResource; } + /** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public Builder setUrlMapResource(UrlMap urlMapResource) { this.urlMapResource = urlMapResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertVpnTunnelHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertVpnTunnelHttpRequest.java index b134700d739a..9cce76bdc645 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertVpnTunnelHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InsertVpnTunnelHttpRequest.java @@ -123,42 +123,72 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/vpnTunnels`. \`{region}\` 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 getRegion() { return region; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * VPN tunnel resource. (== resource_for beta.vpnTunnels ==) (== resource_for v1.vpnTunnels ==) + */ public VpnTunnel getVpnTunnelResource() { return vpnTunnelResource; } @@ -247,91 +277,151 @@ public Builder mergeFrom(InsertVpnTunnelHttpRequest other) { this.vpnTunnelResource = source.vpnTunnelResource; } + /** 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/vpnTunnels`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/vpnTunnels`. \`{region}\` 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 setRegion(String region) { this.region = region; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; } + /** + * VPN tunnel resource. (== resource_for beta.vpnTunnels ==) (== resource_for v1.vpnTunnels ==) + */ public VpnTunnel getVpnTunnelResource() { return vpnTunnelResource; } + /** + * VPN tunnel resource. (== resource_for beta.vpnTunnels ==) (== resource_for v1.vpnTunnels ==) + */ public Builder setVpnTunnelResource(VpnTunnel vpnTunnelResource) { this.vpnTunnelResource = vpnTunnelResource; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Instance.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Instance.java index 7ed4fbd231f0..8bd5a332e5f2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Instance.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Instance.java @@ -26,6 +26,7 @@ @Generated("by GAPIC") @BetaApi +/** An Instance resource. (== resource_for beta.instances ==) (== resource_for v1.instances ==) */ public final class Instance implements ApiMessage { private final Boolean canIpForward; private final String cpuPlatform; @@ -226,30 +227,46 @@ public List getFieldMask() { return null; } + /** + * Allows this instance to send and receive packets with non-matching destination or source IPs. + * This is required if you plan to use this instance to forward routes. For more information, see + * Enabling IP Forwarding. + */ public Boolean getCanIpForward() { return canIpForward; } + /** [Output Only] The CPU platform used by this instance. */ public String getCpuPlatform() { return cpuPlatform; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** Whether the resource should be protected against deletion. */ public Boolean getDeletionProtection() { return deletionProtection; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * Array of disks associated with this instance. Persistent disks must be created before you can + * assign them. + */ public List getDisksList() { return disks; } + /** A list of the type and count of accelerator cards attached to the instance. */ public List getGuestAcceleratorsList() { return guestAccelerators; } @@ -258,70 +275,147 @@ public String getHostname() { return hostname; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#instance for instances. */ public String getKind() { return kind; } + /** + * A fingerprint for this request, which is essentially a hash of the label's contents and used + * for optimistic locking. The fingerprint is initially generated by Compute Engine and changes + * after every request to modify or update labels. You must always provide an up-to-date + * fingerprint hash in order to update or change labels. + * + *

To see the latest fingerprint, make get() request to the instance. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** Labels to apply to this instance. These can be later modified by the setLabels method. */ public Map getLabelsMap() { return labels; } + /** + * Full or partial URL of the machine type resource to use for this instance, in the format: + * zones/zone/machineTypes/machine-type. This is provided by the client when the instance is + * created. For example, the following is a valid partial url to a predefined machine type: + * zones/us-central1-f/machineTypes/n1-standard-1 + * + *

To create a custom machine type, provide a URL to a machine type in the following format, + * where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total + * memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. + * 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY + * + *

For example: zones/us-central1-f/machineTypes/custom-4-5120 + * + *

For a full list of restrictions, read the Specifications for custom machine types. + */ public String getMachineType() { return machineType; } + /** + * The metadata key/value pairs assigned to this instance. This includes custom metadata and + * predefined keys. + */ public Metadata getMetadata() { return metadata; } + /** + * Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names + * of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy + * Bridge". + */ public String getMinCpuPlatform() { return minCpuPlatform; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name + * must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` + * which means the first character must be a lowercase letter, and all following characters must + * be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * An array of network configurations for this instance. These specify how interfaces are + * configured to interact with other network services, such as connecting to the internet. + * Multiple interfaces are supported per instance. + */ public List getNetworkInterfacesList() { return networkInterfaces; } + /** Sets the scheduling options for this instance. */ public Scheduling getScheduling() { return scheduling; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** + * A list of service accounts, with their specified scopes, authorized for this instance. Only one + * service account per VM instance is supported. + * + *

Service accounts generate access tokens that can be accessed through the metadata server and + * used to authenticate applications on the instance. See Service Accounts for more information. + */ public List getServiceAccountsList() { return serviceAccounts; } + /** + * [Output Only] Whether a VM has been restricted for start because Compute Engine has detected + * suspicious activity. + */ public Boolean getStartRestricted() { return startRestricted; } + /** + * [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, + * RUNNING, STOPPING, STOPPED, SUSPENDING, SUSPENDED, and TERMINATED. + */ public String getStatus() { return status; } + /** [Output Only] An optional, human-readable explanation of the status. */ public String getStatusMessage() { return statusMessage; } + /** + * Tags to apply to this instance. Tags are used to identify valid sources or targets for network + * firewalls and are specified by the client during instance creation. The tags can be later + * modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple + * tags can be specified via the 'tags.items' field. + */ public Tags getTags() { return tags; } + /** + * [Output Only] URL of the zone where the instance resides. You must specify this field as part + * of the HTTP request URL. It is not settable as a field in the request body. + */ public String getZone() { return zone; } @@ -485,55 +579,85 @@ public Builder mergeFrom(Instance other) { this.zone = source.zone; } + /** + * Allows this instance to send and receive packets with non-matching destination or source IPs. + * This is required if you plan to use this instance to forward routes. For more information, + * see Enabling IP Forwarding. + */ public Boolean getCanIpForward() { return canIpForward; } + /** + * Allows this instance to send and receive packets with non-matching destination or source IPs. + * This is required if you plan to use this instance to forward routes. For more information, + * see Enabling IP Forwarding. + */ public Builder setCanIpForward(Boolean canIpForward) { this.canIpForward = canIpForward; return this; } + /** [Output Only] The CPU platform used by this instance. */ public String getCpuPlatform() { return cpuPlatform; } + /** [Output Only] The CPU platform used by this instance. */ public Builder setCpuPlatform(String cpuPlatform) { this.cpuPlatform = cpuPlatform; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** Whether the resource should be protected against deletion. */ public Boolean getDeletionProtection() { return deletionProtection; } + /** Whether the resource should be protected against deletion. */ public Builder setDeletionProtection(Boolean deletionProtection) { this.deletionProtection = deletionProtection; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * Array of disks associated with this instance. Persistent disks must be created before you can + * assign them. + */ public List getDisksList() { return disks; } + /** + * Array of disks associated with this instance. Persistent disks must be created before you can + * assign them. + */ public Builder addAllDisks(List disks) { if (this.disks == null) { this.disks = new LinkedList<>(); @@ -542,6 +666,10 @@ public Builder addAllDisks(List disks) { return this; } + /** + * Array of disks associated with this instance. Persistent disks must be created before you can + * assign them. + */ public Builder addDisks(AttachedDisk disks) { if (this.disks == null) { this.disks = new LinkedList<>(); @@ -550,10 +678,12 @@ public Builder addDisks(AttachedDisk disks) { return this; } + /** A list of the type and count of accelerator cards attached to the instance. */ public List getGuestAcceleratorsList() { return guestAccelerators; } + /** A list of the type and count of accelerator cards attached to the instance. */ public Builder addAllGuestAccelerators(List guestAccelerators) { if (this.guestAccelerators == null) { this.guestAccelerators = new LinkedList<>(); @@ -562,6 +692,7 @@ public Builder addAllGuestAccelerators(List guestAccelerators return this; } + /** A list of the type and count of accelerator cards attached to the instance. */ public Builder addGuestAccelerators(AcceleratorConfig guestAccelerators) { if (this.guestAccelerators == null) { this.guestAccelerators = new LinkedList<>(); @@ -579,82 +710,184 @@ public Builder setHostname(String hostname) { return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#instance for instances. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#instance for instances. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * A fingerprint for this request, which is essentially a hash of the label's contents and used + * for optimistic locking. The fingerprint is initially generated by Compute Engine and changes + * after every request to modify or update labels. You must always provide an up-to-date + * fingerprint hash in order to update or change labels. + * + *

To see the latest fingerprint, make get() request to the instance. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * A fingerprint for this request, which is essentially a hash of the label's contents and used + * for optimistic locking. The fingerprint is initially generated by Compute Engine and changes + * after every request to modify or update labels. You must always provide an up-to-date + * fingerprint hash in order to update or change labels. + * + *

To see the latest fingerprint, make get() request to the instance. + */ public Builder setLabelFingerprint(String labelFingerprint) { this.labelFingerprint = labelFingerprint; return this; } + /** Labels to apply to this instance. These can be later modified by the setLabels method. */ public Map getLabelsMap() { return labels; } + /** Labels to apply to this instance. These can be later modified by the setLabels method. */ public Builder putAllLabels(Map labels) { this.labels = labels; return this; } + /** + * Full or partial URL of the machine type resource to use for this instance, in the format: + * zones/zone/machineTypes/machine-type. This is provided by the client when the instance is + * created. For example, the following is a valid partial url to a predefined machine type: + * zones/us-central1-f/machineTypes/n1-standard-1 + * + *

To create a custom machine type, provide a URL to a machine type in the following format, + * where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total + * memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB + * (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY + * + *

For example: zones/us-central1-f/machineTypes/custom-4-5120 + * + *

For a full list of restrictions, read the Specifications for custom machine types. + */ public String getMachineType() { return machineType; } + /** + * Full or partial URL of the machine type resource to use for this instance, in the format: + * zones/zone/machineTypes/machine-type. This is provided by the client when the instance is + * created. For example, the following is a valid partial url to a predefined machine type: + * zones/us-central1-f/machineTypes/n1-standard-1 + * + *

To create a custom machine type, provide a URL to a machine type in the following format, + * where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total + * memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB + * (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY + * + *

For example: zones/us-central1-f/machineTypes/custom-4-5120 + * + *

For a full list of restrictions, read the Specifications for custom machine types. + */ public Builder setMachineType(String machineType) { this.machineType = machineType; return this; } + /** + * The metadata key/value pairs assigned to this instance. This includes custom metadata and + * predefined keys. + */ public Metadata getMetadata() { return metadata; } + /** + * The metadata key/value pairs assigned to this instance. This includes custom metadata and + * predefined keys. + */ public Builder setMetadata(Metadata metadata) { this.metadata = metadata; return this; } + /** + * Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly + * names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel + * Sandy Bridge". + */ public String getMinCpuPlatform() { return minCpuPlatform; } + /** + * Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly + * names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel + * Sandy Bridge". + */ public Builder setMinCpuPlatform(String minCpuPlatform) { this.minCpuPlatform = minCpuPlatform; return this; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name + * must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public String getName() { return name; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name + * must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * An array of network configurations for this instance. These specify how interfaces are + * configured to interact with other network services, such as connecting to the internet. + * Multiple interfaces are supported per instance. + */ public List getNetworkInterfacesList() { return networkInterfaces; } + /** + * An array of network configurations for this instance. These specify how interfaces are + * configured to interact with other network services, such as connecting to the internet. + * Multiple interfaces are supported per instance. + */ public Builder addAllNetworkInterfaces(List networkInterfaces) { if (this.networkInterfaces == null) { this.networkInterfaces = new LinkedList<>(); @@ -663,6 +896,11 @@ public Builder addAllNetworkInterfaces(List networkInterfaces) return this; } + /** + * An array of network configurations for this instance. These specify how interfaces are + * configured to interact with other network services, such as connecting to the internet. + * Multiple interfaces are supported per instance. + */ public Builder addNetworkInterfaces(NetworkInterface networkInterfaces) { if (this.networkInterfaces == null) { this.networkInterfaces = new LinkedList<>(); @@ -671,28 +909,48 @@ public Builder addNetworkInterfaces(NetworkInterface networkInterfaces) { return this; } + /** Sets the scheduling options for this instance. */ public Scheduling getScheduling() { return scheduling; } + /** Sets the scheduling options for this instance. */ public Builder setScheduling(Scheduling scheduling) { this.scheduling = scheduling; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * A list of service accounts, with their specified scopes, authorized for this instance. Only + * one service account per VM instance is supported. + * + *

Service accounts generate access tokens that can be accessed through the metadata server + * and used to authenticate applications on the instance. See Service Accounts for more + * information. + */ public List getServiceAccountsList() { return serviceAccounts; } + /** + * A list of service accounts, with their specified scopes, authorized for this instance. Only + * one service account per VM instance is supported. + * + *

Service accounts generate access tokens that can be accessed through the metadata server + * and used to authenticate applications on the instance. See Service Accounts for more + * information. + */ public Builder addAllServiceAccounts(List serviceAccounts) { if (this.serviceAccounts == null) { this.serviceAccounts = new LinkedList<>(); @@ -701,6 +959,14 @@ public Builder addAllServiceAccounts(List serviceAccounts) { return this; } + /** + * A list of service accounts, with their specified scopes, authorized for this instance. Only + * one service account per VM instance is supported. + * + *

Service accounts generate access tokens that can be accessed through the metadata server + * and used to authenticate applications on the instance. See Service Accounts for more + * information. + */ public Builder addServiceAccounts(ServiceAccount serviceAccounts) { if (this.serviceAccounts == null) { this.serviceAccounts = new LinkedList<>(); @@ -709,46 +975,84 @@ public Builder addServiceAccounts(ServiceAccount serviceAccounts) { return this; } + /** + * [Output Only] Whether a VM has been restricted for start because Compute Engine has detected + * suspicious activity. + */ public Boolean getStartRestricted() { return startRestricted; } + /** + * [Output Only] Whether a VM has been restricted for start because Compute Engine has detected + * suspicious activity. + */ public Builder setStartRestricted(Boolean startRestricted) { this.startRestricted = startRestricted; return this; } + /** + * [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, + * RUNNING, STOPPING, STOPPED, SUSPENDING, SUSPENDED, and TERMINATED. + */ public String getStatus() { return status; } + /** + * [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, + * RUNNING, STOPPING, STOPPED, SUSPENDING, SUSPENDED, and TERMINATED. + */ public Builder setStatus(String status) { this.status = status; return this; } + /** [Output Only] An optional, human-readable explanation of the status. */ public String getStatusMessage() { return statusMessage; } + /** [Output Only] An optional, human-readable explanation of the status. */ public Builder setStatusMessage(String statusMessage) { this.statusMessage = statusMessage; return this; } + /** + * Tags to apply to this instance. Tags are used to identify valid sources or targets for + * network firewalls and are specified by the client during instance creation. The tags can be + * later modified by the setTags method. Each tag within the list must comply with RFC1035. + * Multiple tags can be specified via the 'tags.items' field. + */ public Tags getTags() { return tags; } + /** + * Tags to apply to this instance. Tags are used to identify valid sources or targets for + * network firewalls and are specified by the client during instance creation. The tags can be + * later modified by the setTags method. Each tag within the list must comply with RFC1035. + * Multiple tags can be specified via the 'tags.items' field. + */ public Builder setTags(Tags tags) { this.tags = tags; return this; } + /** + * [Output Only] URL of the zone where the instance resides. You must specify this field as part + * of the HTTP request URL. It is not settable as a field in the request body. + */ public String getZone() { return zone; } + /** + * [Output Only] URL of the zone where the instance resides. You must specify this field as part + * of the HTTP request URL. It is not settable as a field in the request body. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceAggregatedList.java index de66a78d297e..1a476a0a5ea3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of InstancesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of instances. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#instanceAggregatedList for aggregated lists of + * Instance resources. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(InstanceAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of InstancesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of instances. + */ public Map getItemsMap() { return items; } + /** + * A list of InstancesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of instances. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#instanceAggregatedList for aggregated lists of + * Instance resources. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#instanceAggregatedList for aggregated lists of + * Instance resources. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroup.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroup.java index b9411a7ecca9..5dc4ff85f346 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroup.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroup.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * InstanceGroups (== resource_for beta.instanceGroups ==) (== resource_for v1.instanceGroups ==) + * (== resource_for beta.regionInstanceGroups ==) (== resource_for v1.regionInstanceGroups ==) + */ public final class InstanceGroup implements ApiMessage { private final String creationTimestamp; private final String description; @@ -141,54 +145,89 @@ public List getFieldMask() { return null; } + /** [Output Only] The creation timestamp for this instance group in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect + * conflicts when multiple users change the named ports concurrently. + */ public String getFingerprint() { return fingerprint; } + /** [Output Only] A unique identifier for this instance group, generated by the server. */ public String getId() { return id; } + /** [Output Only] The resource type, which is always compute#instanceGroup for instance groups. */ public String getKind() { return kind; } + /** + * The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035. + */ public String getName() { return name; } + /** + * Assigns a name to a port number. For example: {name: "http", port: 80} + * + *

This allows the system to reference ports by the assigned name instead of a port number. + * Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: + * "http", port: 8080}] + * + *

Named ports apply to all instances in this instance group. + */ public List getNamedPortsList() { return namedPorts; } + /** The URL of the network to which all instances in the instance group belong. */ public String getNetwork() { return network; } + /** + * [Output Only] The URL of the region where the instance group is located (for regional + * resources). + */ public String getRegion() { return region; } + /** [Output Only] The URL for this instance group. The server generates this URL. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The total number of instances in the instance group. */ public Integer getSize() { return size; } + /** + * [Output Only] The URL of the subnetwork to which all instances in the instance group belong. + */ public String getSubnetwork() { return subnetwork; } + /** + * [Output Only] The URL of the zone where the instance group is located (for zonal resources). + */ public String getZone() { return zone; } @@ -292,64 +331,114 @@ public Builder mergeFrom(InstanceGroup other) { this.zone = source.zone; } + /** [Output Only] The creation timestamp for this instance group in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] The creation timestamp for this instance group in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect + * conflicts when multiple users change the named ports concurrently. + */ public String getFingerprint() { return fingerprint; } + /** + * [Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect + * conflicts when multiple users change the named ports concurrently. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** [Output Only] A unique identifier for this instance group, generated by the server. */ public String getId() { return id; } + /** [Output Only] A unique identifier for this instance group, generated by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] The resource type, which is always compute#instanceGroup for instance groups. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceGroup for instance groups. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * The name of the instance group. The name must be 1-63 characters long, and comply with + * RFC1035. + */ public String getName() { return name; } + /** + * The name of the instance group. The name must be 1-63 characters long, and comply with + * RFC1035. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * Assigns a name to a port number. For example: {name: "http", port: 80} + * + *

This allows the system to reference ports by the assigned name instead of a port number. + * Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: + * "http", port: 8080}] + * + *

Named ports apply to all instances in this instance group. + */ public List getNamedPortsList() { return namedPorts; } + /** + * Assigns a name to a port number. For example: {name: "http", port: 80} + * + *

This allows the system to reference ports by the assigned name instead of a port number. + * Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: + * "http", port: 8080}] + * + *

Named ports apply to all instances in this instance group. + */ public Builder addAllNamedPorts(List namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); @@ -358,6 +447,15 @@ public Builder addAllNamedPorts(List namedPorts) { return this; } + /** + * Assigns a name to a port number. For example: {name: "http", port: 80} + * + *

This allows the system to reference ports by the assigned name instead of a port number. + * Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: + * "http", port: 8080}] + * + *

Named ports apply to all instances in this instance group. + */ public Builder addNamedPorts(NamedPort namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); @@ -366,55 +464,81 @@ public Builder addNamedPorts(NamedPort namedPorts) { return this; } + /** The URL of the network to which all instances in the instance group belong. */ public String getNetwork() { return network; } + /** The URL of the network to which all instances in the instance group belong. */ public Builder setNetwork(String network) { this.network = network; return this; } + /** + * [Output Only] The URL of the region where the instance group is located (for regional + * resources). + */ public String getRegion() { return region; } + /** + * [Output Only] The URL of the region where the instance group is located (for regional + * resources). + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] The URL for this instance group. The server generates this URL. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The URL for this instance group. The server generates this URL. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] The total number of instances in the instance group. */ public Integer getSize() { return size; } + /** [Output Only] The total number of instances in the instance group. */ public Builder setSize(Integer size) { this.size = size; return this; } + /** + * [Output Only] The URL of the subnetwork to which all instances in the instance group belong. + */ public String getSubnetwork() { return subnetwork; } + /** + * [Output Only] The URL of the subnetwork to which all instances in the instance group belong. + */ public Builder setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; return this; } + /** + * [Output Only] The URL of the zone where the instance group is located (for zonal resources). + */ public String getZone() { return zone; } + /** + * [Output Only] The URL of the zone where the instance group is located (for zonal resources). + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupAggregatedList.java index a516b7b62596..346ee995f05b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of InstanceGroupsScopedList resources. The key for the map is: The name of the scope + * that contains this set of instance groups. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupAggregatedList for + * aggregated lists of instance groups. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(InstanceGroupAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of InstanceGroupsScopedList resources. The key for the map is: The name of the scope + * that contains this set of instance groups. + */ public Map getItemsMap() { return items; } + /** + * A list of InstanceGroupsScopedList resources. The key for the map is: The name of the scope + * that contains this set of instance groups. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupAggregatedList for + * aggregated lists of instance groups. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupAggregatedList for + * aggregated lists of instance groups. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupList.java index 8712fc6d66bd..9863c5afc543 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A list of InstanceGroup resources. */ public final class InstanceGroupList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of InstanceGroup resources. */ public List getItemsList() { return items; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupList for instance group + * lists. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +195,23 @@ public Builder mergeFrom(InstanceGroupList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of InstanceGroup resources. */ public List getItemsList() { return items; } + /** A list of InstanceGroup resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +220,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of InstanceGroup resources. */ public Builder addItems(InstanceGroup items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +229,61 @@ public Builder addItems(InstanceGroup items) { return this; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupList for instance group + * lists. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupList for instance group + * lists. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java index 66dff0682b92..5d8d6b64180b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManager.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers ==) + * (== resource_for v1.regionInstanceGroupManagers ==) + */ public final class InstanceGroupManager implements ApiMessage { private final List autoHealingPolicies; private final String baseInstanceName; @@ -197,86 +202,158 @@ public List getFieldMask() { return null; } + /** The autohealing policy for this managed instance group. You can specify only one value. */ public List getAutoHealingPoliciesList() { return autoHealingPolicies; } + /** + * The base instance name to use for instances in this group. The value must be 1-58 characters + * long. Instances are named by appending a hyphen and a random four-character string to the base + * instance name. The base instance name must comply with RFC1035. + */ public String getBaseInstanceName() { return baseInstanceName; } + /** + * [Output Only] The creation timestamp for this managed instance group in RFC3339 text format. + */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * [Output Only] The list of instance actions and the number of instances in this managed instance + * group that are scheduled for each of those actions. + */ public InstanceGroupManagerActionsSummary getCurrentActions() { return currentActions; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** Policy specifying intended distribution of instances in regional managed instance group. */ public DistributionPolicy getDistributionPolicy() { return distributionPolicy; } + /** + * Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored + * when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to + * update the InstanceGroupManager, otherwise the request will fail with error 412 + * conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager. + */ public String getFingerprint() { return fingerprint; } + /** + * [Output Only] A unique identifier for this resource type. The server generates this identifier. + */ public String getId() { return id; } + /** [Output Only] The URL of the Instance Group resource. */ public String getInstanceGroup() { return instanceGroup; } + /** + * The URL of the instance template that is specified for this managed instance group. The group + * uses this template to create all new instances in the managed instance group. + */ public String getInstanceTemplate() { return instanceTemplate; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManager for managed + * instance groups. + */ public String getKind() { return kind; } + /** + * The name of the managed instance group. The name must be 1-63 characters long, and comply with + * RFC1035. + */ public String getName() { return name; } + /** + * Named ports configured for the Instance Groups complementary to this Instance Group Manager. + */ public List getNamedPortsList() { return namedPorts; } + /** + * [Output Only] The URL of the region where the managed instance group resides (for regional + * resources). + */ public String getRegion() { return region; } + /** [Output Only] The URL for this managed instance group. The server defines this URL. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The status of this managed instance group. */ public InstanceGroupManagerStatus getStatus() { return status; } + /** + * The URLs for all TargetPool resources to which instances in the instanceGroup field are added. + * The target pools automatically apply to all of the instances in the managed instance group. + */ public List getTargetPoolsList() { return targetPools; } + /** + * The target number of running instances for this managed instance group. Deleting or abandoning + * instances reduces this number. Resizing the group changes this number. + */ public Integer getTargetSize() { return targetSize; } + /** The update policy for this managed instance group. */ public InstanceGroupManagerUpdatePolicy getUpdatePolicy() { return updatePolicy; } + /** + * Specifies the instance templates used by this managed instance group to create instances. + * + *

Each version is defined by an instanceTemplate. Every template can appear at most once per + * instance group. This field overrides the top-level instanceTemplate field. Read more about the + * relationships between these fields. Exactly one version must leave the targetSize field unset. + * That version will be applied to all remaining instances. For more information, read about + * canary updates. + */ public List getVersionsList() { return versions; } + /** + * [Output Only] The URL of the zone where the managed instance group is located (for zonal + * resources). + */ public String getZone() { return zone; } @@ -420,10 +497,12 @@ public Builder mergeFrom(InstanceGroupManager other) { this.zone = source.zone; } + /** The autohealing policy for this managed instance group. You can specify only one value. */ public List getAutoHealingPoliciesList() { return autoHealingPolicies; } + /** The autohealing policy for this managed instance group. You can specify only one value. */ public Builder addAllAutoHealingPolicies( List autoHealingPolicies) { if (this.autoHealingPolicies == null) { @@ -433,6 +512,7 @@ public Builder addAllAutoHealingPolicies( return this; } + /** The autohealing policy for this managed instance group. You can specify only one value. */ public Builder addAutoHealingPolicies( InstanceGroupManagerAutoHealingPolicy autoHealingPolicies) { if (this.autoHealingPolicies == null) { @@ -442,109 +522,197 @@ public Builder addAutoHealingPolicies( return this; } + /** + * The base instance name to use for instances in this group. The value must be 1-58 characters + * long. Instances are named by appending a hyphen and a random four-character string to the + * base instance name. The base instance name must comply with RFC1035. + */ public String getBaseInstanceName() { return baseInstanceName; } + /** + * The base instance name to use for instances in this group. The value must be 1-58 characters + * long. Instances are named by appending a hyphen and a random four-character string to the + * base instance name. The base instance name must comply with RFC1035. + */ public Builder setBaseInstanceName(String baseInstanceName) { this.baseInstanceName = baseInstanceName; return this; } + /** + * [Output Only] The creation timestamp for this managed instance group in RFC3339 text format. + */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * [Output Only] The creation timestamp for this managed instance group in RFC3339 text format. + */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * [Output Only] The list of instance actions and the number of instances in this managed + * instance group that are scheduled for each of those actions. + */ public InstanceGroupManagerActionsSummary getCurrentActions() { return currentActions; } + /** + * [Output Only] The list of instance actions and the number of instances in this managed + * instance group that are scheduled for each of those actions. + */ public Builder setCurrentActions(InstanceGroupManagerActionsSummary currentActions) { this.currentActions = currentActions; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** Policy specifying intended distribution of instances in regional managed instance group. */ public DistributionPolicy getDistributionPolicy() { return distributionPolicy; } + /** Policy specifying intended distribution of instances in regional managed instance group. */ public Builder setDistributionPolicy(DistributionPolicy distributionPolicy) { this.distributionPolicy = distributionPolicy; return this; } + /** + * Fingerprint of this resource. This field may be used in optimistic locking. It will be + * ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in + * order to update the InstanceGroupManager, otherwise the request will fail with error 412 + * conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager. + */ public String getFingerprint() { return fingerprint; } + /** + * Fingerprint of this resource. This field may be used in optimistic locking. It will be + * ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in + * order to update the InstanceGroupManager, otherwise the request will fail with error 412 + * conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** + * [Output Only] A unique identifier for this resource type. The server generates this + * identifier. + */ public String getId() { return id; } + /** + * [Output Only] A unique identifier for this resource type. The server generates this + * identifier. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] The URL of the Instance Group resource. */ public String getInstanceGroup() { return instanceGroup; } + /** [Output Only] The URL of the Instance Group resource. */ public Builder setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; return this; } + /** + * The URL of the instance template that is specified for this managed instance group. The group + * uses this template to create all new instances in the managed instance group. + */ public String getInstanceTemplate() { return instanceTemplate; } + /** + * The URL of the instance template that is specified for this managed instance group. The group + * uses this template to create all new instances in the managed instance group. + */ public Builder setInstanceTemplate(String instanceTemplate) { this.instanceTemplate = instanceTemplate; return this; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManager for managed + * instance groups. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManager for managed + * instance groups. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * The name of the managed instance group. The name must be 1-63 characters long, and comply + * with RFC1035. + */ public String getName() { return name; } + /** + * The name of the managed instance group. The name must be 1-63 characters long, and comply + * with RFC1035. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * Named ports configured for the Instance Groups complementary to this Instance Group Manager. + */ public List getNamedPortsList() { return namedPorts; } + /** + * Named ports configured for the Instance Groups complementary to this Instance Group Manager. + */ public Builder addAllNamedPorts(List namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); @@ -553,6 +721,9 @@ public Builder addAllNamedPorts(List namedPorts) { return this; } + /** + * Named ports configured for the Instance Groups complementary to this Instance Group Manager. + */ public Builder addNamedPorts(NamedPort namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); @@ -561,37 +732,59 @@ public Builder addNamedPorts(NamedPort namedPorts) { return this; } + /** + * [Output Only] The URL of the region where the managed instance group resides (for regional + * resources). + */ public String getRegion() { return region; } + /** + * [Output Only] The URL of the region where the managed instance group resides (for regional + * resources). + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] The URL for this managed instance group. The server defines this URL. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The URL for this managed instance group. The server defines this URL. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] The status of this managed instance group. */ public InstanceGroupManagerStatus getStatus() { return status; } + /** [Output Only] The status of this managed instance group. */ public Builder setStatus(InstanceGroupManagerStatus status) { this.status = status; return this; } + /** + * The URLs for all TargetPool resources to which instances in the instanceGroup field are + * added. The target pools automatically apply to all of the instances in the managed instance + * group. + */ public List getTargetPoolsList() { return targetPools; } + /** + * The URLs for all TargetPool resources to which instances in the instanceGroup field are + * added. The target pools automatically apply to all of the instances in the managed instance + * group. + */ public Builder addAllTargetPools(List targetPools) { if (this.targetPools == null) { this.targetPools = new LinkedList<>(); @@ -600,6 +793,11 @@ public Builder addAllTargetPools(List targetPools) { return this; } + /** + * The URLs for all TargetPool resources to which instances in the instanceGroup field are + * added. The target pools automatically apply to all of the instances in the managed instance + * group. + */ public Builder addTargetPools(String targetPools) { if (this.targetPools == null) { this.targetPools = new LinkedList<>(); @@ -608,28 +806,56 @@ public Builder addTargetPools(String targetPools) { return this; } + /** + * The target number of running instances for this managed instance group. Deleting or + * abandoning instances reduces this number. Resizing the group changes this number. + */ public Integer getTargetSize() { return targetSize; } + /** + * The target number of running instances for this managed instance group. Deleting or + * abandoning instances reduces this number. Resizing the group changes this number. + */ public Builder setTargetSize(Integer targetSize) { this.targetSize = targetSize; return this; } + /** The update policy for this managed instance group. */ public InstanceGroupManagerUpdatePolicy getUpdatePolicy() { return updatePolicy; } + /** The update policy for this managed instance group. */ public Builder setUpdatePolicy(InstanceGroupManagerUpdatePolicy updatePolicy) { this.updatePolicy = updatePolicy; return this; } + /** + * Specifies the instance templates used by this managed instance group to create instances. + * + *

Each version is defined by an instanceTemplate. Every template can appear at most once per + * instance group. This field overrides the top-level instanceTemplate field. Read more about + * the relationships between these fields. Exactly one version must leave the targetSize field + * unset. That version will be applied to all remaining instances. For more information, read + * about canary updates. + */ public List getVersionsList() { return versions; } + /** + * Specifies the instance templates used by this managed instance group to create instances. + * + *

Each version is defined by an instanceTemplate. Every template can appear at most once per + * instance group. This field overrides the top-level instanceTemplate field. Read more about + * the relationships between these fields. Exactly one version must leave the targetSize field + * unset. That version will be applied to all remaining instances. For more information, read + * about canary updates. + */ public Builder addAllVersions(List versions) { if (this.versions == null) { this.versions = new LinkedList<>(); @@ -638,6 +864,15 @@ public Builder addAllVersions(List versions) { return this; } + /** + * Specifies the instance templates used by this managed instance group to create instances. + * + *

Each version is defined by an instanceTemplate. Every template can appear at most once per + * instance group. This field overrides the top-level instanceTemplate field. Read more about + * the relationships between these fields. Exactly one version must leave the targetSize field + * unset. That version will be applied to all remaining instances. For more information, read + * about canary updates. + */ public Builder addVersions(InstanceGroupManagerVersion versions) { if (this.versions == null) { this.versions = new LinkedList<>(); @@ -646,10 +881,18 @@ public Builder addVersions(InstanceGroupManagerVersion versions) { return this; } + /** + * [Output Only] The URL of the zone where the managed instance group is located (for zonal + * resources). + */ public String getZone() { return zone; } + /** + * [Output Only] The URL of the zone where the managed instance group is located (for zonal + * resources). + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerActionsSummary.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerActionsSummary.java index 22696ec34eec..d68ef9d7462a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerActionsSummary.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerActionsSummary.java @@ -112,38 +112,84 @@ public List getFieldMask() { return null; } + /** + * [Output Only] The total number of instances in the managed instance group that are scheduled to + * be abandoned. Abandoning an instance removes it from the managed instance group without + * deleting it. + */ public Integer getAbandoning() { return abandoning; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * created or are currently being created. If the group fails to create any of these instances, it + * tries again until it creates the instance successfully. + * + *

If you have disabled creation retries, this field will not be populated; instead, the + * creatingWithoutRetries field will be populated. + */ public Integer getCreating() { return creating; } + /** + * [Output Only] The number of instances that the managed instance group will attempt to create. + * The group attempts to create each instance only once. If the group fails to create any of these + * instances, it decreases the group's targetSize value accordingly. + */ public Integer getCreatingWithoutRetries() { return creatingWithoutRetries; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * deleted or are currently being deleted. + */ public Integer getDeleting() { return deleting; } + /** + * [Output Only] The number of instances in the managed instance group that are running and have + * no scheduled actions. + */ public Integer getNone() { return none; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * recreated or are currently being being recreated. Recreating an instance deletes the existing + * root persistent disk and creates a new disk from the image that is defined in the instance + * template. + */ public Integer getRecreating() { return recreating; } + /** + * [Output Only] The number of instances in the managed instance group that are being reconfigured + * with properties that do not require a restart or a recreate action. For example, setting or + * removing target pools for the instance. + */ public Integer getRefreshing() { return refreshing; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * restarted or are currently being restarted. + */ public Integer getRestarting() { return restarting; } + /** + * [Output Only] The number of instances in the managed instance group that are being verified. + * See the managedInstances[].currentAction property in the listManagedInstances method + * documentation. + */ public Integer getVerifying() { return verifying; } @@ -227,82 +273,174 @@ public Builder mergeFrom(InstanceGroupManagerActionsSummary other) { this.verifying = source.verifying; } + /** + * [Output Only] The total number of instances in the managed instance group that are scheduled + * to be abandoned. Abandoning an instance removes it from the managed instance group without + * deleting it. + */ public Integer getAbandoning() { return abandoning; } + /** + * [Output Only] The total number of instances in the managed instance group that are scheduled + * to be abandoned. Abandoning an instance removes it from the managed instance group without + * deleting it. + */ public Builder setAbandoning(Integer abandoning) { this.abandoning = abandoning; return this; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * created or are currently being created. If the group fails to create any of these instances, + * it tries again until it creates the instance successfully. + * + *

If you have disabled creation retries, this field will not be populated; instead, the + * creatingWithoutRetries field will be populated. + */ public Integer getCreating() { return creating; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * created or are currently being created. If the group fails to create any of these instances, + * it tries again until it creates the instance successfully. + * + *

If you have disabled creation retries, this field will not be populated; instead, the + * creatingWithoutRetries field will be populated. + */ public Builder setCreating(Integer creating) { this.creating = creating; return this; } + /** + * [Output Only] The number of instances that the managed instance group will attempt to create. + * The group attempts to create each instance only once. If the group fails to create any of + * these instances, it decreases the group's targetSize value accordingly. + */ public Integer getCreatingWithoutRetries() { return creatingWithoutRetries; } + /** + * [Output Only] The number of instances that the managed instance group will attempt to create. + * The group attempts to create each instance only once. If the group fails to create any of + * these instances, it decreases the group's targetSize value accordingly. + */ public Builder setCreatingWithoutRetries(Integer creatingWithoutRetries) { this.creatingWithoutRetries = creatingWithoutRetries; return this; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * deleted or are currently being deleted. + */ public Integer getDeleting() { return deleting; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * deleted or are currently being deleted. + */ public Builder setDeleting(Integer deleting) { this.deleting = deleting; return this; } + /** + * [Output Only] The number of instances in the managed instance group that are running and have + * no scheduled actions. + */ public Integer getNone() { return none; } + /** + * [Output Only] The number of instances in the managed instance group that are running and have + * no scheduled actions. + */ public Builder setNone(Integer none) { this.none = none; return this; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * recreated or are currently being being recreated. Recreating an instance deletes the existing + * root persistent disk and creates a new disk from the image that is defined in the instance + * template. + */ public Integer getRecreating() { return recreating; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * recreated or are currently being being recreated. Recreating an instance deletes the existing + * root persistent disk and creates a new disk from the image that is defined in the instance + * template. + */ public Builder setRecreating(Integer recreating) { this.recreating = recreating; return this; } + /** + * [Output Only] The number of instances in the managed instance group that are being + * reconfigured with properties that do not require a restart or a recreate action. For example, + * setting or removing target pools for the instance. + */ public Integer getRefreshing() { return refreshing; } + /** + * [Output Only] The number of instances in the managed instance group that are being + * reconfigured with properties that do not require a restart or a recreate action. For example, + * setting or removing target pools for the instance. + */ public Builder setRefreshing(Integer refreshing) { this.refreshing = refreshing; return this; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * restarted or are currently being restarted. + */ public Integer getRestarting() { return restarting; } + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be + * restarted or are currently being restarted. + */ public Builder setRestarting(Integer restarting) { this.restarting = restarting; return this; } + /** + * [Output Only] The number of instances in the managed instance group that are being verified. + * See the managedInstances[].currentAction property in the listManagedInstances method + * documentation. + */ public Integer getVerifying() { return verifying; } + /** + * [Output Only] The number of instances in the managed instance group that are being verified. + * See the managedInstances[].currentAction property in the listManagedInstances method + * documentation. + */ public Builder setVerifying(Integer verifying) { this.verifying = verifying; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAggregatedList.java index 3c2dc17edfb5..d9fb13c0ffa5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of InstanceGroupManagersScopedList resources. The key for the map is: [Output Only] The + * name of the scope that contains this set of managed instance groups. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManagerAggregatedList for + * an aggregated list of managed instance groups. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(InstanceGroupManagerAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of InstanceGroupManagersScopedList resources. The key for the map is: [Output Only] + * The name of the scope that contains this set of managed instance groups. + */ public Map getItemsMap() { return items; } + /** + * A list of InstanceGroupManagersScopedList resources. The key for the map is: [Output Only] + * The name of the scope that contains this set of managed instance groups. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManagerAggregatedList + * for an aggregated list of managed instance groups. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManagerAggregatedList + * for an aggregated list of managed instance groups. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAutoHealingPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAutoHealingPolicy.java index 83bd6010bd25..b387ca79fcfd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAutoHealingPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerAutoHealingPolicy.java @@ -61,10 +61,18 @@ public List getFieldMask() { return null; } + /** The URL for the health check that signals autohealing. */ public String getHealthCheck() { return healthCheck; } + /** + * The number of seconds that the managed instance group waits before it applies autohealing + * policies to new instances or recently recreated instances. This initial delay allows instances + * to initialize and run their startup scripts before the instance group determines that they are + * UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. + * This value must be from range [0, 3600]. + */ public Integer getInitialDelaySec() { return initialDelaySec; } @@ -113,19 +121,35 @@ public Builder mergeFrom(InstanceGroupManagerAutoHealingPolicy other) { this.initialDelaySec = source.initialDelaySec; } + /** The URL for the health check that signals autohealing. */ public String getHealthCheck() { return healthCheck; } + /** The URL for the health check that signals autohealing. */ public Builder setHealthCheck(String healthCheck) { this.healthCheck = healthCheck; return this; } + /** + * The number of seconds that the managed instance group waits before it applies autohealing + * policies to new instances or recently recreated instances. This initial delay allows + * instances to initialize and run their startup scripts before the instance group determines + * that they are UNHEALTHY. This prevents the managed instance group from recreating its + * instances prematurely. This value must be from range [0, 3600]. + */ public Integer getInitialDelaySec() { return initialDelaySec; } + /** + * The number of seconds that the managed instance group waits before it applies autohealing + * policies to new instances or recently recreated instances. This initial delay allows + * instances to initialize and run their startup scripts before the instance group determines + * that they are UNHEALTHY. This prevents the managed instance group from recreating its + * instances prematurely. This value must be from range [0, 3600]. + */ public Builder setInitialDelaySec(Integer initialDelaySec) { this.initialDelaySec = initialDelaySec; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerList.java index 2cbde662078d..4e018dbd3b19 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** [Output Only] A list of managed instance groups. */ public final class InstanceGroupManagerList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of InstanceGroupManager resources. */ public List getItemsList() { return items; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManagerList for a list of + * managed instance groups. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +195,23 @@ public Builder mergeFrom(InstanceGroupManagerList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of InstanceGroupManager resources. */ public List getItemsList() { return items; } + /** A list of InstanceGroupManager resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +220,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of InstanceGroupManager resources. */ public Builder addItems(InstanceGroupManager items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +229,61 @@ public Builder addItems(InstanceGroupManager items) { return this; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManagerList for a list + * of managed instance groups. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManagerList for a list + * of managed instance groups. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatus.java index 227c8820d688..fa36cdbd78b4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatus.java @@ -55,6 +55,13 @@ public List getFieldMask() { return null; } + /** + * [Output Only] A bit indicating whether the managed instance group is in a stable state. A + * stable state means that: none of the instances in the managed instance group is currently + * undergoing any type of change (for example, creation, restart, or deletion); no future changes + * are scheduled for instances in the managed instance group; and the managed instance group + * itself is not being modified. + */ public Boolean getIsStable() { return isStable; } @@ -98,10 +105,24 @@ public Builder mergeFrom(InstanceGroupManagerStatus other) { this.isStable = source.isStable; } + /** + * [Output Only] A bit indicating whether the managed instance group is in a stable state. A + * stable state means that: none of the instances in the managed instance group is currently + * undergoing any type of change (for example, creation, restart, or deletion); no future + * changes are scheduled for instances in the managed instance group; and the managed instance + * group itself is not being modified. + */ public Boolean getIsStable() { return isStable; } + /** + * [Output Only] A bit indicating whether the managed instance group is in a stable state. A + * stable state means that: none of the instances in the managed instance group is currently + * undergoing any type of change (for example, creation, restart, or deletion); no future + * changes are scheduled for instances in the managed instance group; and the managed instance + * group itself is not being modified. + */ public Builder setIsStable(Boolean isStable) { this.isStable = isStable; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicy.java index 7ed3a69f847c..66bb66290dd6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicy.java @@ -74,14 +74,44 @@ public List getFieldMask() { return null; } + /** + * The maximum number of instances that can be created above the specified targetSize during the + * update process. By default, a fixed value of 1 is used. This value can be either a fixed number + * or a percentage if the instance group has 10 or more instances. If you set a percentage, the + * number of instances will be rounded up if necessary. + * + *

At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about + * maxSurge. + */ public FixedOrPercent getMaxSurge() { return maxSurge; } + /** + * The maximum number of instances that can be unavailable during the update process. An instance + * is considered available if all of the following conditions are satisfied: + * + *

- The instance's status is RUNNING. - If there is a health check on the instance group, the + * instance's liveness health check result must be HEALTHY at least once. If there is no health + * check on the group, then the instance only needs to have a status of RUNNING to be considered + * available. By default, a fixed value of 1 is used. This value can be either a fixed number or a + * percentage if the instance group has 10 or more instances. If you set a percentage, the number + * of instances will be rounded up if necessary. + * + *

At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about + * maxUnavailable. + */ public FixedOrPercent getMaxUnavailable() { return maxUnavailable; } + /** + * Minimal action to be taken on an instance. You can specify either RESTART to restart existing + * instances or REPLACE to delete and create new instances from the target template. If you + * specify a RESTART, the Updater will attempt to perform that action only. However, if the + * Updater determines that the minimal action you specify is not enough to perform the update, it + * might perform a more disruptive action. + */ public String getMinimalAction() { return minimalAction; } @@ -144,28 +174,88 @@ public Builder mergeFrom(InstanceGroupManagerUpdatePolicy other) { this.type = source.type; } + /** + * The maximum number of instances that can be created above the specified targetSize during the + * update process. By default, a fixed value of 1 is used. This value can be either a fixed + * number or a percentage if the instance group has 10 or more instances. If you set a + * percentage, the number of instances will be rounded up if necessary. + * + *

At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about + * maxSurge. + */ public FixedOrPercent getMaxSurge() { return maxSurge; } + /** + * The maximum number of instances that can be created above the specified targetSize during the + * update process. By default, a fixed value of 1 is used. This value can be either a fixed + * number or a percentage if the instance group has 10 or more instances. If you set a + * percentage, the number of instances will be rounded up if necessary. + * + *

At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about + * maxSurge. + */ public Builder setMaxSurge(FixedOrPercent maxSurge) { this.maxSurge = maxSurge; return this; } + /** + * The maximum number of instances that can be unavailable during the update process. An + * instance is considered available if all of the following conditions are satisfied: + * + *

- The instance's status is RUNNING. - If there is a health check on the instance group, + * the instance's liveness health check result must be HEALTHY at least once. If there is no + * health check on the group, then the instance only needs to have a status of RUNNING to be + * considered available. By default, a fixed value of 1 is used. This value can be either a + * fixed number or a percentage if the instance group has 10 or more instances. If you set a + * percentage, the number of instances will be rounded up if necessary. + * + *

At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about + * maxUnavailable. + */ public FixedOrPercent getMaxUnavailable() { return maxUnavailable; } + /** + * The maximum number of instances that can be unavailable during the update process. An + * instance is considered available if all of the following conditions are satisfied: + * + *

- The instance's status is RUNNING. - If there is a health check on the instance group, + * the instance's liveness health check result must be HEALTHY at least once. If there is no + * health check on the group, then the instance only needs to have a status of RUNNING to be + * considered available. By default, a fixed value of 1 is used. This value can be either a + * fixed number or a percentage if the instance group has 10 or more instances. If you set a + * percentage, the number of instances will be rounded up if necessary. + * + *

At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about + * maxUnavailable. + */ public Builder setMaxUnavailable(FixedOrPercent maxUnavailable) { this.maxUnavailable = maxUnavailable; return this; } + /** + * Minimal action to be taken on an instance. You can specify either RESTART to restart existing + * instances or REPLACE to delete and create new instances from the target template. If you + * specify a RESTART, the Updater will attempt to perform that action only. However, if the + * Updater determines that the minimal action you specify is not enough to perform the update, + * it might perform a more disruptive action. + */ public String getMinimalAction() { return minimalAction; } + /** + * Minimal action to be taken on an instance. You can specify either RESTART to restart existing + * instances or REPLACE to delete and create new instances from the target template. If you + * specify a RESTART, the Updater will attempt to perform that action only. However, if the + * Updater determines that the minimal action you specify is not enough to perform the update, + * it might perform a more disruptive action. + */ public Builder setMinimalAction(String minimalAction) { this.minimalAction = minimalAction; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerVersion.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerVersion.java index 04530b1e9355..735931737c40 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerVersion.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerVersion.java @@ -72,10 +72,20 @@ public String getInstanceTemplate() { return instanceTemplate; } + /** Name of the version. Unique among all versions in the scope of this managed instance group. */ public String getName() { return name; } + /** + * Specifies the intended number of instances to be created from the instanceTemplate. The final + * number of instances created from the template will be equal to: - If expressed as a fixed + * number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if + * expressed as a percent, the targetSize would be (targetSize.percent/100 * + * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded up. If unset, + * this version will update any remaining instances not updated by another version. Read Starting + * a canary update for more information. + */ public FixedOrPercent getTargetSize() { return targetSize; } @@ -138,19 +148,43 @@ public Builder setInstanceTemplate(String instanceTemplate) { return this; } + /** + * Name of the version. Unique among all versions in the scope of this managed instance group. + */ public String getName() { return name; } + /** + * Name of the version. Unique among all versions in the scope of this managed instance group. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * Specifies the intended number of instances to be created from the instanceTemplate. The final + * number of instances created from the template will be equal to: - If expressed as a fixed + * number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - + * if expressed as a percent, the targetSize would be (targetSize.percent/100 * + * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded up. If unset, + * this version will update any remaining instances not updated by another version. Read + * Starting a canary update for more information. + */ public FixedOrPercent getTargetSize() { return targetSize; } + /** + * Specifies the intended number of instances to be created from the instanceTemplate. The final + * number of instances created from the template will be equal to: - If expressed as a fixed + * number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - + * if expressed as a percent, the targetSize would be (targetSize.percent/100 * + * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded up. If unset, + * this version will update any remaining instances not updated by another version. Read + * Starting a canary update for more information. + */ public Builder setTargetSize(FixedOrPercent targetSize) { this.targetSize = targetSize; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersAbandonInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersAbandonInstancesRequest.java index 6d3972e9c44b..2389c15a0f27 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersAbandonInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersAbandonInstancesRequest.java @@ -56,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } @@ -99,10 +103,18 @@ public Builder mergeFrom(InstanceGroupManagersAbandonInstancesRequest other) { this.instances = source.instances; } + /** + * The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } + /** + * The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -111,6 +123,10 @@ public Builder addAllInstances(List instances) { return this; } + /** + * The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addInstances(String instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersDeleteInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersDeleteInstancesRequest.java index ace1e968e539..54f9d829e8ee 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersDeleteInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersDeleteInstancesRequest.java @@ -56,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } @@ -99,10 +103,18 @@ public Builder mergeFrom(InstanceGroupManagersDeleteInstancesRequest other) { this.instances = source.instances; } + /** + * The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } + /** + * The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -111,6 +123,10 @@ public Builder addAllInstances(List instances) { return this; } + /** + * The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addInstances(String instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersListManagedInstancesResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersListManagedInstancesResponse.java index 0602359285e2..bf9313252a87 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersListManagedInstancesResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersListManagedInstancesResponse.java @@ -57,6 +57,7 @@ public List getFieldMask() { return null; } + /** [Output Only] The list of instances in the managed instance group. */ public List getManagedInstancesList() { return managedInstances; } @@ -101,10 +102,12 @@ public Builder mergeFrom(InstanceGroupManagersListManagedInstancesResponse other this.managedInstances = source.managedInstances; } + /** [Output Only] The list of instances in the managed instance group. */ public List getManagedInstancesList() { return managedInstances; } + /** [Output Only] The list of instances in the managed instance group. */ public Builder addAllManagedInstances(List managedInstances) { if (this.managedInstances == null) { this.managedInstances = new LinkedList<>(); @@ -113,6 +116,7 @@ public Builder addAllManagedInstances(List managedInstances) { return this; } + /** [Output Only] The list of instances in the managed instance group. */ public Builder addManagedInstances(ManagedInstance managedInstances) { if (this.managedInstances == null) { this.managedInstances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersRecreateInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersRecreateInstancesRequest.java index f1a6f3cda28a..e2b05adf8c67 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersRecreateInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersRecreateInstancesRequest.java @@ -56,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } @@ -99,10 +103,18 @@ public Builder mergeFrom(InstanceGroupManagersRecreateInstancesRequest other) { this.instances = source.instances; } + /** + * The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } + /** + * The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -111,6 +123,10 @@ public Builder addAllInstances(List instances) { return this; } + /** + * The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addInstances(String instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersScopedList.java index 0c8834f7774e..c766f42bbcd7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersScopedList.java @@ -63,10 +63,18 @@ public List getFieldMask() { return null; } + /** + * [Output Only] The list of managed instance groups that are contained in the specified project + * and zone. + */ public List getInstanceGroupManagersList() { return instanceGroupManagers; } + /** + * [Output Only] The warning that replaces the list of managed instance groups when the list is + * empty. + */ public Warning getWarning() { return warning; } @@ -115,10 +123,18 @@ public Builder mergeFrom(InstanceGroupManagersScopedList other) { this.warning = source.warning; } + /** + * [Output Only] The list of managed instance groups that are contained in the specified project + * and zone. + */ public List getInstanceGroupManagersList() { return instanceGroupManagers; } + /** + * [Output Only] The list of managed instance groups that are contained in the specified project + * and zone. + */ public Builder addAllInstanceGroupManagers(List instanceGroupManagers) { if (this.instanceGroupManagers == null) { this.instanceGroupManagers = new LinkedList<>(); @@ -127,6 +143,10 @@ public Builder addAllInstanceGroupManagers(List instanceGr return this; } + /** + * [Output Only] The list of managed instance groups that are contained in the specified project + * and zone. + */ public Builder addInstanceGroupManagers(InstanceGroupManager instanceGroupManagers) { if (this.instanceGroupManagers == null) { this.instanceGroupManagers = new LinkedList<>(); @@ -135,10 +155,18 @@ public Builder addInstanceGroupManagers(InstanceGroupManager instanceGroupManage return this; } + /** + * [Output Only] The warning that replaces the list of managed instance groups when the list is + * empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] The warning that replaces the list of managed instance groups when the list is + * empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetInstanceTemplateRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetInstanceTemplateRequest.java index 4ac231621c24..5a704184e59d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetInstanceTemplateRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetInstanceTemplateRequest.java @@ -55,6 +55,10 @@ public List getFieldMask() { return null; } + /** + * The URL of the instance template that is specified for this managed instance group. The group + * uses this template to create all new instances in the managed instance group. + */ public String getInstanceTemplate() { return instanceTemplate; } @@ -99,10 +103,18 @@ public Builder mergeFrom(InstanceGroupManagersSetInstanceTemplateRequest other) this.instanceTemplate = source.instanceTemplate; } + /** + * The URL of the instance template that is specified for this managed instance group. The group + * uses this template to create all new instances in the managed instance group. + */ public String getInstanceTemplate() { return instanceTemplate; } + /** + * The URL of the instance template that is specified for this managed instance group. The group + * uses this template to create all new instances in the managed instance group. + */ public Builder setInstanceTemplate(String instanceTemplate) { this.instanceTemplate = instanceTemplate; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetTargetPoolsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetTargetPoolsRequest.java index f8e761258525..692f5348e6f1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetTargetPoolsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersSetTargetPoolsRequest.java @@ -62,10 +62,22 @@ public List getFieldMask() { return null; } + /** + * The fingerprint of the target pools information. Use this optional property to prevent + * conflicts when multiple users change the target pools settings concurrently. Obtain the + * fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your + * request to ensure that you do not overwrite changes that were applied from another concurrent + * request. + */ public String getFingerprint() { return fingerprint; } + /** + * The list of target pool URLs that instances in this managed instance group belong to. The + * managed instance group applies these target pools to all of the instances in the group. + * Existing instances and new instances in the group all receive these target pool settings. + */ public List getTargetPoolsList() { return targetPools; } @@ -114,19 +126,43 @@ public Builder mergeFrom(InstanceGroupManagersSetTargetPoolsRequest other) { this.targetPools = source.targetPools; } + /** + * The fingerprint of the target pools information. Use this optional property to prevent + * conflicts when multiple users change the target pools settings concurrently. Obtain the + * fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your + * request to ensure that you do not overwrite changes that were applied from another concurrent + * request. + */ public String getFingerprint() { return fingerprint; } + /** + * The fingerprint of the target pools information. Use this optional property to prevent + * conflicts when multiple users change the target pools settings concurrently. Obtain the + * fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your + * request to ensure that you do not overwrite changes that were applied from another concurrent + * request. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** + * The list of target pool URLs that instances in this managed instance group belong to. The + * managed instance group applies these target pools to all of the instances in the group. + * Existing instances and new instances in the group all receive these target pool settings. + */ public List getTargetPoolsList() { return targetPools; } + /** + * The list of target pool URLs that instances in this managed instance group belong to. The + * managed instance group applies these target pools to all of the instances in the group. + * Existing instances and new instances in the group all receive these target pool settings. + */ public Builder addAllTargetPools(List targetPools) { if (this.targetPools == null) { this.targetPools = new LinkedList<>(); @@ -135,6 +171,11 @@ public Builder addAllTargetPools(List targetPools) { return this; } + /** + * The list of target pool URLs that instances in this managed instance group belong to. The + * managed instance group applies these target pools to all of the instances in the group. + * Existing instances and new instances in the group all receive these target pool settings. + */ public Builder addTargetPools(String targetPools) { if (this.targetPools == null) { this.targetPools = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsAddInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsAddInstancesRequest.java index c4b8af273cee..d3f7f99eddf8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsAddInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsAddInstancesRequest.java @@ -56,6 +56,7 @@ public List getFieldMask() { return null; } + /** The list of instances to add to the instance group. */ public List getInstancesList() { return instances; } @@ -99,10 +100,12 @@ public Builder mergeFrom(InstanceGroupsAddInstancesRequest other) { this.instances = source.instances; } + /** The list of instances to add to the instance group. */ public List getInstancesList() { return instances; } + /** The list of instances to add to the instance group. */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -111,6 +114,7 @@ public Builder addAllInstances(List instances) { return this; } + /** The list of instances to add to the instance group. */ public Builder addInstances(InstanceReference instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstances.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstances.java index 282d08c7d00c..79846065797c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstances.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstances.java @@ -92,26 +92,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of InstanceWithNamedPorts resources. */ public List getItemsList() { return items; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupsListInstances for the + * list of instances in the specified instance group. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +194,23 @@ public Builder mergeFrom(InstanceGroupsListInstances other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of InstanceWithNamedPorts resources. */ public List getItemsList() { return items; } + /** A list of InstanceWithNamedPorts resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +219,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of InstanceWithNamedPorts resources. */ public Builder addItems(InstanceWithNamedPorts items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +228,61 @@ public Builder addItems(InstanceWithNamedPorts items) { return this; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupsListInstances for the + * list of instances in the specified instance group. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupsListInstances for the + * list of instances in the specified instance group. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstancesRequest.java index 5c70d106459e..8a2add62db08 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsListInstancesRequest.java @@ -55,6 +55,11 @@ public List getFieldMask() { return null; } + /** + * A filter for the state of the instances in the instance group. Valid options are ALL or + * RUNNING. If you do not specify this parameter the list includes all instances regardless of + * their state. + */ public String getInstanceState() { return instanceState; } @@ -98,10 +103,20 @@ public Builder mergeFrom(InstanceGroupsListInstancesRequest other) { this.instanceState = source.instanceState; } + /** + * A filter for the state of the instances in the instance group. Valid options are ALL or + * RUNNING. If you do not specify this parameter the list includes all instances regardless of + * their state. + */ public String getInstanceState() { return instanceState; } + /** + * A filter for the state of the instances in the instance group. Valid options are ALL or + * RUNNING. If you do not specify this parameter the list includes all instances regardless of + * their state. + */ public Builder setInstanceState(String instanceState) { this.instanceState = instanceState; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsRemoveInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsRemoveInstancesRequest.java index 4dc9e1ee11d5..eba33bccf1c0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsRemoveInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsRemoveInstancesRequest.java @@ -56,6 +56,7 @@ public List getFieldMask() { return null; } + /** The list of instances to remove from the instance group. */ public List getInstancesList() { return instances; } @@ -99,10 +100,12 @@ public Builder mergeFrom(InstanceGroupsRemoveInstancesRequest other) { this.instances = source.instances; } + /** The list of instances to remove from the instance group. */ public List getInstancesList() { return instances; } + /** The list of instances to remove from the instance group. */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -111,6 +114,7 @@ public Builder addAllInstances(List instances) { return this; } + /** The list of instances to remove from the instance group. */ public Builder addInstances(InstanceReference instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsScopedList.java index d0086228d91c..cd129b0f59c0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsScopedList.java @@ -62,10 +62,15 @@ public List getFieldMask() { return null; } + /** [Output Only] The list of instance groups that are contained in this scope. */ public List getInstanceGroupsList() { return instanceGroups; } + /** + * [Output Only] An informational warning that replaces the list of instance groups when the list + * is empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +119,12 @@ public Builder mergeFrom(InstanceGroupsScopedList other) { this.warning = source.warning; } + /** [Output Only] The list of instance groups that are contained in this scope. */ public List getInstanceGroupsList() { return instanceGroups; } + /** [Output Only] The list of instance groups that are contained in this scope. */ public Builder addAllInstanceGroups(List instanceGroups) { if (this.instanceGroups == null) { this.instanceGroups = new LinkedList<>(); @@ -126,6 +133,7 @@ public Builder addAllInstanceGroups(List instanceGroups) { return this; } + /** [Output Only] The list of instance groups that are contained in this scope. */ public Builder addInstanceGroups(InstanceGroup instanceGroups) { if (this.instanceGroups == null) { this.instanceGroups = new LinkedList<>(); @@ -134,10 +142,18 @@ public Builder addInstanceGroups(InstanceGroup instanceGroups) { return this; } + /** + * [Output Only] An informational warning that replaces the list of instance groups when the + * list is empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] An informational warning that replaces the list of instance groups when the + * list is empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsSetNamedPortsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsSetNamedPortsRequest.java index 021b431a309b..27795bc7f379 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsSetNamedPortsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupsSetNamedPortsRequest.java @@ -62,10 +62,19 @@ public List getFieldMask() { return null; } + /** + * The fingerprint of the named ports information for this instance group. Use this optional + * property to prevent conflicts when multiple users change the named ports settings concurrently. + * Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in + * your request to ensure that you do not overwrite changes that were applied from another + * concurrent request. A request with an incorrect fingerprint will fail with error 412 + * conditionNotMet. + */ public String getFingerprint() { return fingerprint; } + /** The list of named ports to set for this instance group. */ public List getNamedPortsList() { return namedPorts; } @@ -114,19 +123,37 @@ public Builder mergeFrom(InstanceGroupsSetNamedPortsRequest other) { this.namedPorts = source.namedPorts; } + /** + * The fingerprint of the named ports information for this instance group. Use this optional + * property to prevent conflicts when multiple users change the named ports settings + * concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the + * fingerprint in your request to ensure that you do not overwrite changes that were applied + * from another concurrent request. A request with an incorrect fingerprint will fail with error + * 412 conditionNotMet. + */ public String getFingerprint() { return fingerprint; } + /** + * The fingerprint of the named ports information for this instance group. Use this optional + * property to prevent conflicts when multiple users change the named ports settings + * concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the + * fingerprint in your request to ensure that you do not overwrite changes that were applied + * from another concurrent request. A request with an incorrect fingerprint will fail with error + * 412 conditionNotMet. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** The list of named ports to set for this instance group. */ public List getNamedPortsList() { return namedPorts; } + /** The list of named ports to set for this instance group. */ public Builder addAllNamedPorts(List namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); @@ -135,6 +162,7 @@ public Builder addAllNamedPorts(List namedPorts) { return this; } + /** The list of named ports to set for this instance group. */ public Builder addNamedPorts(NamedPort namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceList.java index abe8f6db0ad9..d852bebc822c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of instances. */ public final class InstanceList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,39 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Instance resources. */ public List getItemsList() { return items; } + /** + * [Output Only] Type of resource. Always compute#instanceList for lists of Instance resources. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +194,23 @@ public Builder mergeFrom(InstanceList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Instance resources. */ public List getItemsList() { return items; } + /** A list of Instance resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +219,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Instance resources. */ public Builder addItems(Instance items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +228,59 @@ public Builder addItems(Instance items) { return this; } + /** + * [Output Only] Type of resource. Always compute#instanceList for lists of Instance resources. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#instanceList for lists of Instance resources. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceListReferrers.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceListReferrers.java index c86bc0de725b..cabea61e4d17 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceListReferrers.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceListReferrers.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of instance referrers. */ public final class InstanceListReferrers implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Reference resources. */ public List getItemsList() { return items; } + /** + * [Output Only] Type of resource. Always compute#instanceListReferrers for lists of Instance + * referrers. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +195,23 @@ public Builder mergeFrom(InstanceListReferrers other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Reference resources. */ public List getItemsList() { return items; } + /** A list of Reference resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +220,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Reference resources. */ public Builder addItems(Reference items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +229,61 @@ public Builder addItems(Reference items) { return this; } + /** + * [Output Only] Type of resource. Always compute#instanceListReferrers for lists of Instance + * referrers. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#instanceListReferrers for lists of Instance + * referrers. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceMoveRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceMoveRequest.java index bee05f9d8bcd..6b2d38d7ff91 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceMoveRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceMoveRequest.java @@ -61,10 +61,22 @@ public List getFieldMask() { return null; } + /** + * The URL of the destination zone to move the instance. This can be a full or partial URL. For + * example, the following are all valid URLs to a zone: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone + * - zones/zone + */ public String getDestinationZone() { return destinationZone; } + /** + * The URL of the target instance to move. This can be a full or partial URL. For example, the + * following are all valid URLs to an instance: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - + * projects/project/zones/zone/instances/instance - zones/zone/instances/instance + */ public String getTargetInstance() { return targetInstance; } @@ -113,19 +125,43 @@ public Builder mergeFrom(InstanceMoveRequest other) { this.targetInstance = source.targetInstance; } + /** + * The URL of the destination zone to move the instance. This can be a full or partial URL. For + * example, the following are all valid URLs to a zone: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone - + * projects/project/zones/zone - zones/zone + */ public String getDestinationZone() { return destinationZone; } + /** + * The URL of the destination zone to move the instance. This can be a full or partial URL. For + * example, the following are all valid URLs to a zone: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone - + * projects/project/zones/zone - zones/zone + */ public Builder setDestinationZone(String destinationZone) { this.destinationZone = destinationZone; return this; } + /** + * The URL of the target instance to move. This can be a full or partial URL. For example, the + * following are all valid URLs to an instance: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - + * projects/project/zones/zone/instances/instance - zones/zone/instances/instance + */ public String getTargetInstance() { return targetInstance; } + /** + * The URL of the target instance to move. This can be a full or partial URL. For example, the + * following are all valid URLs to an instance: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - + * projects/project/zones/zone/instances/instance - zones/zone/instances/instance + */ public Builder setTargetInstance(String targetInstance) { this.targetInstance = targetInstance; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceProperties.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceProperties.java index 7cb1dc03d55c..9d810d1df1ec 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceProperties.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceProperties.java @@ -135,50 +135,92 @@ public List getFieldMask() { return null; } + /** + * Enables instances created based on this template to send packets with source IP addresses other + * than their own and receive packets with destination IP addresses other than their own. If these + * instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, + * specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation + * for more information. + */ public Boolean getCanIpForward() { return canIpForward; } + /** + * An optional text description for the instances that are created from this instance template. + */ public String getDescription() { return description; } + /** + * An array of disks that are associated with the instances that are created from this template. + */ public List getDisksList() { return disks; } + /** + * A list of guest accelerator cards' type and count to use for instances created from the + * instance template. + */ public List getGuestAcceleratorsList() { return guestAccelerators; } + /** Labels to apply to instances that are created from this template. */ public Map getLabelsMap() { return labels; } + /** The machine type to use for instances that are created from this template. */ public String getMachineType() { return machineType; } + /** + * The metadata key/value pairs to assign to instances that are created from this template. These + * pairs can consist of custom metadata or predefined keys. See Project and instance metadata for + * more information. + */ public Metadata getMetadata() { return metadata; } + /** + * Minimum cpu/platform to be used by this instance. The instance may be scheduled on the + * specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, + * such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more + * information, read Specifying a Minimum CPU Platform. + */ public String getMinCpuPlatform() { return minCpuPlatform; } + /** An array of network access configurations for this interface. */ public List getNetworkInterfacesList() { return networkInterfaces; } + /** Specifies the scheduling options for the instances that are created from this template. */ public Scheduling getScheduling() { return scheduling; } + /** + * A list of service accounts with specified scopes. Access tokens for these service accounts are + * available to the instances that are created from this template. Use metadata queries to obtain + * the access tokens for these instances. + */ public List getServiceAccountsList() { return serviceAccounts; } + /** + * A list of tags to apply to the instances that are created from this template. The tags identify + * valid sources or targets for network firewalls. The setTags method can modify this list of + * tags. Each tag within the list must comply with RFC1035. + */ public Tags getTags() { return tags; } @@ -277,28 +319,54 @@ public Builder mergeFrom(InstanceProperties other) { this.tags = source.tags; } + /** + * Enables instances created based on this template to send packets with source IP addresses + * other than their own and receive packets with destination IP addresses other than their own. + * If these instances will be used as an IP gateway or it will be set as the next-hop in a Route + * resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding + * documentation for more information. + */ public Boolean getCanIpForward() { return canIpForward; } + /** + * Enables instances created based on this template to send packets with source IP addresses + * other than their own and receive packets with destination IP addresses other than their own. + * If these instances will be used as an IP gateway or it will be set as the next-hop in a Route + * resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding + * documentation for more information. + */ public Builder setCanIpForward(Boolean canIpForward) { this.canIpForward = canIpForward; return this; } + /** + * An optional text description for the instances that are created from this instance template. + */ public String getDescription() { return description; } + /** + * An optional text description for the instances that are created from this instance template. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * An array of disks that are associated with the instances that are created from this template. + */ public List getDisksList() { return disks; } + /** + * An array of disks that are associated with the instances that are created from this template. + */ public Builder addAllDisks(List disks) { if (this.disks == null) { this.disks = new LinkedList<>(); @@ -307,6 +375,9 @@ public Builder addAllDisks(List disks) { return this; } + /** + * An array of disks that are associated with the instances that are created from this template. + */ public Builder addDisks(AttachedDisk disks) { if (this.disks == null) { this.disks = new LinkedList<>(); @@ -315,10 +386,18 @@ public Builder addDisks(AttachedDisk disks) { return this; } + /** + * A list of guest accelerator cards' type and count to use for instances created from the + * instance template. + */ public List getGuestAcceleratorsList() { return guestAccelerators; } + /** + * A list of guest accelerator cards' type and count to use for instances created from the + * instance template. + */ public Builder addAllGuestAccelerators(List guestAccelerators) { if (this.guestAccelerators == null) { this.guestAccelerators = new LinkedList<>(); @@ -327,6 +406,10 @@ public Builder addAllGuestAccelerators(List guestAccelerators return this; } + /** + * A list of guest accelerator cards' type and count to use for instances created from the + * instance template. + */ public Builder addGuestAccelerators(AcceleratorConfig guestAccelerators) { if (this.guestAccelerators == null) { this.guestAccelerators = new LinkedList<>(); @@ -335,46 +418,74 @@ public Builder addGuestAccelerators(AcceleratorConfig guestAccelerators) { return this; } + /** Labels to apply to instances that are created from this template. */ public Map getLabelsMap() { return labels; } + /** Labels to apply to instances that are created from this template. */ public Builder putAllLabels(Map labels) { this.labels = labels; return this; } + /** The machine type to use for instances that are created from this template. */ public String getMachineType() { return machineType; } + /** The machine type to use for instances that are created from this template. */ public Builder setMachineType(String machineType) { this.machineType = machineType; return this; } + /** + * The metadata key/value pairs to assign to instances that are created from this template. + * These pairs can consist of custom metadata or predefined keys. See Project and instance + * metadata for more information. + */ public Metadata getMetadata() { return metadata; } + /** + * The metadata key/value pairs to assign to instances that are created from this template. + * These pairs can consist of custom metadata or predefined keys. See Project and instance + * metadata for more information. + */ public Builder setMetadata(Metadata metadata) { this.metadata = metadata; return this; } + /** + * Minimum cpu/platform to be used by this instance. The instance may be scheduled on the + * specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, + * such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more + * information, read Specifying a Minimum CPU Platform. + */ public String getMinCpuPlatform() { return minCpuPlatform; } + /** + * Minimum cpu/platform to be used by this instance. The instance may be scheduled on the + * specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, + * such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more + * information, read Specifying a Minimum CPU Platform. + */ public Builder setMinCpuPlatform(String minCpuPlatform) { this.minCpuPlatform = minCpuPlatform; return this; } + /** An array of network access configurations for this interface. */ public List getNetworkInterfacesList() { return networkInterfaces; } + /** An array of network access configurations for this interface. */ public Builder addAllNetworkInterfaces(List networkInterfaces) { if (this.networkInterfaces == null) { this.networkInterfaces = new LinkedList<>(); @@ -383,6 +494,7 @@ public Builder addAllNetworkInterfaces(List networkInterfaces) return this; } + /** An array of network access configurations for this interface. */ public Builder addNetworkInterfaces(NetworkInterface networkInterfaces) { if (this.networkInterfaces == null) { this.networkInterfaces = new LinkedList<>(); @@ -391,19 +503,31 @@ public Builder addNetworkInterfaces(NetworkInterface networkInterfaces) { return this; } + /** Specifies the scheduling options for the instances that are created from this template. */ public Scheduling getScheduling() { return scheduling; } + /** Specifies the scheduling options for the instances that are created from this template. */ public Builder setScheduling(Scheduling scheduling) { this.scheduling = scheduling; return this; } + /** + * A list of service accounts with specified scopes. Access tokens for these service accounts + * are available to the instances that are created from this template. Use metadata queries to + * obtain the access tokens for these instances. + */ public List getServiceAccountsList() { return serviceAccounts; } + /** + * A list of service accounts with specified scopes. Access tokens for these service accounts + * are available to the instances that are created from this template. Use metadata queries to + * obtain the access tokens for these instances. + */ public Builder addAllServiceAccounts(List serviceAccounts) { if (this.serviceAccounts == null) { this.serviceAccounts = new LinkedList<>(); @@ -412,6 +536,11 @@ public Builder addAllServiceAccounts(List serviceAccounts) { return this; } + /** + * A list of service accounts with specified scopes. Access tokens for these service accounts + * are available to the instances that are created from this template. Use metadata queries to + * obtain the access tokens for these instances. + */ public Builder addServiceAccounts(ServiceAccount serviceAccounts) { if (this.serviceAccounts == null) { this.serviceAccounts = new LinkedList<>(); @@ -420,10 +549,20 @@ public Builder addServiceAccounts(ServiceAccount serviceAccounts) { return this; } + /** + * A list of tags to apply to the instances that are created from this template. The tags + * identify valid sources or targets for network firewalls. The setTags method can modify this + * list of tags. Each tag within the list must comply with RFC1035. + */ public Tags getTags() { return tags; } + /** + * A list of tags to apply to the instances that are created from this template. The tags + * identify valid sources or targets for network firewalls. The setTags method can modify this + * list of tags. Each tag within the list must comply with RFC1035. + */ public Builder setTags(Tags tags) { this.tags = tags; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceReference.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceReference.java index bc073a3c35bb..bf9044b73b40 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceReference.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceReference.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** The URL for a specific instance. */ public String getInstance() { return instance; } @@ -98,10 +99,12 @@ public Builder mergeFrom(InstanceReference other) { this.instance = source.instance; } + /** The URL for a specific instance. */ public String getInstance() { return instance; } + /** The URL for a specific instance. */ public Builder setInstance(String instance) { this.instance = instance; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplate.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplate.java index 0d7098630f54..ab3fa38ca417 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplate.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplate.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * An Instance Template resource. (== resource_for beta.instanceTemplates ==) (== resource_for + * v1.instanceTemplates ==) + */ public final class InstanceTemplate implements ApiMessage { private final String creationTimestamp; private final String description; @@ -112,38 +116,66 @@ public List getFieldMask() { return null; } + /** [Output Only] The creation timestamp for this instance template in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] A unique identifier for this instance template. The server defines this + * identifier. + */ public String getId() { return id; } + /** + * [Output Only] The resource type, which is always compute#instanceTemplate for instance + * templates. + */ public String getKind() { return kind; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** The instance properties for this instance template. */ public InstanceProperties getProperties() { return properties; } + /** [Output Only] The URL for this instance template. The server defines this URL. */ public String getSelfLink() { return selfLink; } + /** + * The source instance used to create the template. You can provide this as a partial or full URL + * to the resource. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - + * projects/project/zones/zone/instances/instance + */ public String getSourceInstance() { return sourceInstance; } + /** The source instance params to use to create this instance template. */ public SourceInstanceParams getSourceInstanceParams() { return sourceInstanceParams; } @@ -227,82 +259,138 @@ public Builder mergeFrom(InstanceTemplate other) { this.sourceInstanceParams = source.sourceInstanceParams; } + /** [Output Only] The creation timestamp for this instance template in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] The creation timestamp for this instance template in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] A unique identifier for this instance template. The server defines this + * identifier. + */ public String getId() { return id; } + /** + * [Output Only] A unique identifier for this instance template. The server defines this + * identifier. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] The resource type, which is always compute#instanceTemplate for instance + * templates. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceTemplate for instance + * templates. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** The instance properties for this instance template. */ public InstanceProperties getProperties() { return properties; } + /** The instance properties for this instance template. */ public Builder setProperties(InstanceProperties properties) { this.properties = properties; return this; } + /** [Output Only] The URL for this instance template. The server defines this URL. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The URL for this instance template. The server defines this URL. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * The source instance used to create the template. You can provide this as a partial or full + * URL to the resource. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - + * projects/project/zones/zone/instances/instance + */ public String getSourceInstance() { return sourceInstance; } + /** + * The source instance used to create the template. You can provide this as a partial or full + * URL to the resource. For example, the following are valid values: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - + * projects/project/zones/zone/instances/instance + */ public Builder setSourceInstance(String sourceInstance) { this.sourceInstance = sourceInstance; return this; } + /** The source instance params to use to create this instance template. */ public SourceInstanceParams getSourceInstanceParams() { return sourceInstanceParams; } + /** The source instance params to use to create this instance template. */ public Builder setSourceInstanceParams(SourceInstanceParams sourceInstanceParams) { this.sourceInstanceParams = sourceInstanceParams; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateList.java index 22b5a0875af2..2a2d72a177aa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A list of instance templates. */ public final class InstanceTemplateList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of InstanceTemplate resources. */ public List getItemsList() { return items; } + /** + * [Output Only] The resource type, which is always compute#instanceTemplatesListResponse for + * instance template lists. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +195,23 @@ public Builder mergeFrom(InstanceTemplateList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of InstanceTemplate resources. */ public List getItemsList() { return items; } + /** A list of InstanceTemplate resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +220,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of InstanceTemplate resources. */ public Builder addItems(InstanceTemplate items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +229,61 @@ public Builder addItems(InstanceTemplate items) { return this; } + /** + * [Output Only] The resource type, which is always compute#instanceTemplatesListResponse for + * instance template lists. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceTemplatesListResponse for + * instance template lists. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceWithNamedPorts.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceWithNamedPorts.java index 02b4cecca0a4..7a67b907c882 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceWithNamedPorts.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceWithNamedPorts.java @@ -68,14 +68,17 @@ public List getFieldMask() { return null; } + /** [Output Only] The URL of the instance. */ public String getInstance() { return instance; } + /** [Output Only] The named ports that belong to this instance group. */ public List getNamedPortsList() { return namedPorts; } + /** [Output Only] The status of the instance. */ public String getStatus() { return status; } @@ -129,19 +132,23 @@ public Builder mergeFrom(InstanceWithNamedPorts other) { this.status = source.status; } + /** [Output Only] The URL of the instance. */ public String getInstance() { return instance; } + /** [Output Only] The URL of the instance. */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** [Output Only] The named ports that belong to this instance group. */ public List getNamedPortsList() { return namedPorts; } + /** [Output Only] The named ports that belong to this instance group. */ public Builder addAllNamedPorts(List namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); @@ -150,6 +157,7 @@ public Builder addAllNamedPorts(List namedPorts) { return this; } + /** [Output Only] The named ports that belong to this instance group. */ public Builder addNamedPorts(NamedPort namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); @@ -158,10 +166,12 @@ public Builder addNamedPorts(NamedPort namedPorts) { return this; } + /** [Output Only] The status of the instance. */ public String getStatus() { return status; } + /** [Output Only] The status of the instance. */ public Builder setStatus(String status) { this.status = status; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesScopedList.java index c797dbe34141..9c6c49c71e02 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesScopedList.java @@ -62,10 +62,15 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of instances contained in this scope. */ public List getInstancesList() { return instances; } + /** + * [Output Only] Informational warning which replaces the list of instances when the list is + * empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +119,12 @@ public Builder mergeFrom(InstancesScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of instances contained in this scope. */ public List getInstancesList() { return instances; } + /** [Output Only] A list of instances contained in this scope. */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -126,6 +133,7 @@ public Builder addAllInstances(List instances) { return this; } + /** [Output Only] A list of instances contained in this scope. */ public Builder addInstances(Instance instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -134,10 +142,18 @@ public Builder addInstances(Instance instances) { return this; } + /** + * [Output Only] Informational warning which replaces the list of instances when the list is + * empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] Informational warning which replaces the list of instances when the list is + * empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetLabelsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetLabelsRequest.java index 3e6b0881320c..b9a16492dcab 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetLabelsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetLabelsRequest.java @@ -62,6 +62,10 @@ public List getFieldMask() { return null; } + /** + * Fingerprint of the previous set of labels for this resource, used to prevent conflicts. Provide + * the latest fingerprint value when making a request to add or change labels. + */ public String getLabelFingerprint() { return labelFingerprint; } @@ -114,10 +118,18 @@ public Builder mergeFrom(InstancesSetLabelsRequest other) { this.labels = source.labels; } + /** + * Fingerprint of the previous set of labels for this resource, used to prevent conflicts. + * Provide the latest fingerprint value when making a request to add or change labels. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * Fingerprint of the previous set of labels for this resource, used to prevent conflicts. + * Provide the latest fingerprint value when making a request to add or change labels. + */ public Builder setLabelFingerprint(String labelFingerprint) { this.labelFingerprint = labelFingerprint; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineResourcesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineResourcesRequest.java index c81d4dee1d29..30e527723691 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineResourcesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineResourcesRequest.java @@ -56,6 +56,7 @@ public List getFieldMask() { return null; } + /** A list of the type and count of accelerator cards attached to the instance. */ public List getGuestAcceleratorsList() { return guestAccelerators; } @@ -99,10 +100,12 @@ public Builder mergeFrom(InstancesSetMachineResourcesRequest other) { this.guestAccelerators = source.guestAccelerators; } + /** A list of the type and count of accelerator cards attached to the instance. */ public List getGuestAcceleratorsList() { return guestAccelerators; } + /** A list of the type and count of accelerator cards attached to the instance. */ public Builder addAllGuestAccelerators(List guestAccelerators) { if (this.guestAccelerators == null) { this.guestAccelerators = new LinkedList<>(); @@ -111,6 +114,7 @@ public Builder addAllGuestAccelerators(List guestAccelerators return this; } + /** A list of the type and count of accelerator cards attached to the instance. */ public Builder addGuestAccelerators(AcceleratorConfig guestAccelerators) { if (this.guestAccelerators == null) { this.guestAccelerators = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineTypeRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineTypeRequest.java index 6938cd79d50e..dee3b4cd7de5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineTypeRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMachineTypeRequest.java @@ -55,6 +55,10 @@ public List getFieldMask() { return null; } + /** + * Full or partial URL of the machine type resource. See Machine Types for a full list of machine + * types. For example: zones/us-central1-f/machineTypes/n1-standard-1 + */ public String getMachineType() { return machineType; } @@ -98,10 +102,18 @@ public Builder mergeFrom(InstancesSetMachineTypeRequest other) { this.machineType = source.machineType; } + /** + * Full or partial URL of the machine type resource. See Machine Types for a full list of + * machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1 + */ public String getMachineType() { return machineType; } + /** + * Full or partial URL of the machine type resource. See Machine Types for a full list of + * machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1 + */ public Builder setMachineType(String machineType) { this.machineType = machineType; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMinCpuPlatformRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMinCpuPlatformRequest.java index 35b02d1742cd..30d712211ed5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMinCpuPlatformRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetMinCpuPlatformRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** Minimum cpu/platform this instance should be started at. */ public String getMinCpuPlatform() { return minCpuPlatform; } @@ -98,10 +99,12 @@ public Builder mergeFrom(InstancesSetMinCpuPlatformRequest other) { this.minCpuPlatform = source.minCpuPlatform; } + /** Minimum cpu/platform this instance should be started at. */ public String getMinCpuPlatform() { return minCpuPlatform; } + /** Minimum cpu/platform this instance should be started at. */ public Builder setMinCpuPlatform(String minCpuPlatform) { this.minCpuPlatform = minCpuPlatform; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetServiceAccountRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetServiceAccountRequest.java index ecf213d4aaf8..2036b658b44e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetServiceAccountRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesSetServiceAccountRequest.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** Email address of the service account. */ public String getEmail() { return email; } + /** The list of scopes to be made available for this service account. */ public List getScopesList() { return scopes; } @@ -114,19 +116,23 @@ public Builder mergeFrom(InstancesSetServiceAccountRequest other) { this.scopes = source.scopes; } + /** Email address of the service account. */ public String getEmail() { return email; } + /** Email address of the service account. */ public Builder setEmail(String email) { this.email = email; return this; } + /** The list of scopes to be made available for this service account. */ public List getScopesList() { return scopes; } + /** The list of scopes to be made available for this service account. */ public Builder addAllScopes(List scopes) { if (this.scopes == null) { this.scopes = new LinkedList<>(); @@ -135,6 +141,7 @@ public Builder addAllScopes(List scopes) { return this; } + /** The list of scopes to be made available for this service account. */ public Builder addScopes(String scopes) { if (this.scopes == null) { this.scopes = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesStartWithEncryptionKeyRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesStartWithEncryptionKeyRequest.java index 5ef6a56602ba..073a84a114de 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesStartWithEncryptionKeyRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesStartWithEncryptionKeyRequest.java @@ -56,6 +56,15 @@ public List getFieldMask() { return null; } + /** + * Array of disks associated with this instance that are protected with a customer-supplied + * encryption key. + * + *

In order to start the instance, the disk url and its corresponding key must be provided. + * + *

If the disk is not protected with a customer-supplied encryption key it should not be + * specified. + */ public List getDisksList() { return disks; } @@ -99,10 +108,28 @@ public Builder mergeFrom(InstancesStartWithEncryptionKeyRequest other) { this.disks = source.disks; } + /** + * Array of disks associated with this instance that are protected with a customer-supplied + * encryption key. + * + *

In order to start the instance, the disk url and its corresponding key must be provided. + * + *

If the disk is not protected with a customer-supplied encryption key it should not be + * specified. + */ public List getDisksList() { return disks; } + /** + * Array of disks associated with this instance that are protected with a customer-supplied + * encryption key. + * + *

In order to start the instance, the disk url and its corresponding key must be provided. + * + *

If the disk is not protected with a customer-supplied encryption key it should not be + * specified. + */ public Builder addAllDisks(List disks) { if (this.disks == null) { this.disks = new LinkedList<>(); @@ -111,6 +138,15 @@ public Builder addAllDisks(List disks) { return this; } + /** + * Array of disks associated with this instance that are protected with a customer-supplied + * encryption key. + * + *

In order to start the instance, the disk url and its corresponding key must be provided. + * + *

If the disk is not protected with a customer-supplied encryption key it should not be + * specified. + */ public Builder addDisks(CustomerEncryptionKeyProtectedDisk disks) { if (this.disks == null) { this.disks = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Interconnect.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Interconnect.java index 4850a426151c..dddd46327f04 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Interconnect.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Interconnect.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents an Interconnects resource. The Interconnects resource is a dedicated connection + * between Google's network and your on-premises network. For more information, see the Dedicated + * overview page. (== resource_for v1.interconnects ==) (== resource_for beta.interconnects ==) + */ public final class Interconnect implements ApiMessage { private final Boolean adminEnabled; private final List circuitInfos; @@ -204,90 +209,154 @@ public List getFieldMask() { return null; } + /** + * Administrative status of the interconnect. When this is set to true, the Interconnect is + * functional and can carry traffic. When set to false, no packets can be carried over the + * interconnect and no BGP routes are exchanged over it. By default, the status is set to true. + */ public Boolean getAdminEnabled() { return adminEnabled; } + /** + * [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG. + */ public List getCircuitInfosList() { return circuitInfos; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * Customer name, to put in the Letter of Authorization as the party authorized to request a + * crossconnect. + */ public String getCustomerName() { return customerName; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** [Output Only] A list of outages expected for this Interconnect. */ public List getExpectedOutagesList() { return expectedOutages; } + /** + * [Output Only] IP address configured on the Google side of the Interconnect link. This can be + * used only for ping tests. + */ public String getGoogleIpAddress() { return googleIpAddress; } + /** + * [Output Only] Google reference ID; to be used when raising support tickets with Google or + * otherwise to debug backend connectivity issues. + */ public String getGoogleReferenceId() { return googleReferenceId; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * [Output Only] A list of the URLs of all InterconnectAttachments configured to use this + * Interconnect. + */ public List getInterconnectAttachmentsList() { return interconnectAttachments; } + /** Type of interconnect. Note that "IT_PRIVATE" has been deprecated in favor of "DEDICATED" */ public String getInterconnectType() { return interconnectType; } + /** [Output Only] Type of the resource. Always compute#interconnect for interconnects. */ public String getKind() { return kind; } + /** + * Type of link requested. This field indicates speed of each of the links in the bundle, not the + * entire bundle. + */ public String getLinkType() { return linkType; } + /** + * URL of the InterconnectLocation object that represents where this connection is to be + * provisioned. + */ public String getLocation() { return location; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Email address to contact the customer NOC for operations and maintenance notifications + * regarding this Interconnect. If specified, this will be used for notifications in addition to + * all other forms described, such as Stackdriver logs alerting and Cloud Notifications. + */ public String getNocContactEmail() { return nocContactEmail; } + /** [Output Only] The current status of whether or not this Interconnect is functional. */ public String getOperationalStatus() { return operationalStatus; } + /** + * [Output Only] IP address configured on the customer side of the Interconnect link. The customer + * should configure this IP address during turnup when prompted by Google NOC. This can be used + * only for ping tests. + */ public String getPeerIpAddress() { return peerIpAddress; } + /** [Output Only] Number of links actually provisioned in this interconnect. */ public Integer getProvisionedLinkCount() { return provisionedLinkCount; } + /** Target number of physical links in the link bundle, as requested by the customer. */ public Integer getRequestedLinkCount() { return requestedLinkCount; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The current state of whether or not this Interconnect is functional. */ public String getState() { return state; } @@ -436,19 +505,37 @@ public Builder mergeFrom(Interconnect other) { this.state = source.state; } + /** + * Administrative status of the interconnect. When this is set to true, the Interconnect is + * functional and can carry traffic. When set to false, no packets can be carried over the + * interconnect and no BGP routes are exchanged over it. By default, the status is set to true. + */ public Boolean getAdminEnabled() { return adminEnabled; } + /** + * Administrative status of the interconnect. When this is set to true, the Interconnect is + * functional and can carry traffic. When set to false, no packets can be carried over the + * interconnect and no BGP routes are exchanged over it. By default, the status is set to true. + */ public Builder setAdminEnabled(Boolean adminEnabled) { this.adminEnabled = adminEnabled; return this; } + /** + * [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this + * LAG. + */ public List getCircuitInfosList() { return circuitInfos; } + /** + * [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this + * LAG. + */ public Builder addAllCircuitInfos(List circuitInfos) { if (this.circuitInfos == null) { this.circuitInfos = new LinkedList<>(); @@ -457,6 +544,10 @@ public Builder addAllCircuitInfos(List circuitInfos) { return this; } + /** + * [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this + * LAG. + */ public Builder addCircuitInfos(InterconnectCircuitInfo circuitInfos) { if (this.circuitInfos == null) { this.circuitInfos = new LinkedList<>(); @@ -465,37 +556,55 @@ public Builder addCircuitInfos(InterconnectCircuitInfo circuitInfos) { return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * Customer name, to put in the Letter of Authorization as the party authorized to request a + * crossconnect. + */ public String getCustomerName() { return customerName; } + /** + * Customer name, to put in the Letter of Authorization as the party authorized to request a + * crossconnect. + */ public Builder setCustomerName(String customerName) { this.customerName = customerName; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** [Output Only] A list of outages expected for this Interconnect. */ public List getExpectedOutagesList() { return expectedOutages; } + /** [Output Only] A list of outages expected for this Interconnect. */ public Builder addAllExpectedOutages(List expectedOutages) { if (this.expectedOutages == null) { this.expectedOutages = new LinkedList<>(); @@ -504,6 +613,7 @@ public Builder addAllExpectedOutages(List expect return this; } + /** [Output Only] A list of outages expected for this Interconnect. */ public Builder addExpectedOutages(InterconnectOutageNotification expectedOutages) { if (this.expectedOutages == null) { this.expectedOutages = new LinkedList<>(); @@ -512,37 +622,69 @@ public Builder addExpectedOutages(InterconnectOutageNotification expectedOutages return this; } + /** + * [Output Only] IP address configured on the Google side of the Interconnect link. This can be + * used only for ping tests. + */ public String getGoogleIpAddress() { return googleIpAddress; } + /** + * [Output Only] IP address configured on the Google side of the Interconnect link. This can be + * used only for ping tests. + */ public Builder setGoogleIpAddress(String googleIpAddress) { this.googleIpAddress = googleIpAddress; return this; } + /** + * [Output Only] Google reference ID; to be used when raising support tickets with Google or + * otherwise to debug backend connectivity issues. + */ public String getGoogleReferenceId() { return googleReferenceId; } + /** + * [Output Only] Google reference ID; to be used when raising support tickets with Google or + * otherwise to debug backend connectivity issues. + */ public Builder setGoogleReferenceId(String googleReferenceId) { this.googleReferenceId = googleReferenceId; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] A list of the URLs of all InterconnectAttachments configured to use this + * Interconnect. + */ public List getInterconnectAttachmentsList() { return interconnectAttachments; } + /** + * [Output Only] A list of the URLs of all InterconnectAttachments configured to use this + * Interconnect. + */ public Builder addAllInterconnectAttachments(List interconnectAttachments) { if (this.interconnectAttachments == null) { this.interconnectAttachments = new LinkedList<>(); @@ -551,6 +693,10 @@ public Builder addAllInterconnectAttachments(List interconnectAttachment return this; } + /** + * [Output Only] A list of the URLs of all InterconnectAttachments configured to use this + * Interconnect. + */ public Builder addInterconnectAttachments(String interconnectAttachments) { if (this.interconnectAttachments == null) { this.interconnectAttachments = new LinkedList<>(); @@ -559,109 +705,173 @@ public Builder addInterconnectAttachments(String interconnectAttachments) { return this; } + /** Type of interconnect. Note that "IT_PRIVATE" has been deprecated in favor of "DEDICATED" */ public String getInterconnectType() { return interconnectType; } + /** Type of interconnect. Note that "IT_PRIVATE" has been deprecated in favor of "DEDICATED" */ public Builder setInterconnectType(String interconnectType) { this.interconnectType = interconnectType; return this; } + /** [Output Only] Type of the resource. Always compute#interconnect for interconnects. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#interconnect for interconnects. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Type of link requested. This field indicates speed of each of the links in the bundle, not + * the entire bundle. + */ public String getLinkType() { return linkType; } + /** + * Type of link requested. This field indicates speed of each of the links in the bundle, not + * the entire bundle. + */ public Builder setLinkType(String linkType) { this.linkType = linkType; return this; } + /** + * URL of the InterconnectLocation object that represents where this connection is to be + * provisioned. + */ public String getLocation() { return location; } + /** + * URL of the InterconnectLocation object that represents where this connection is to be + * provisioned. + */ public Builder setLocation(String location) { this.location = location; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * Email address to contact the customer NOC for operations and maintenance notifications + * regarding this Interconnect. If specified, this will be used for notifications in addition to + * all other forms described, such as Stackdriver logs alerting and Cloud Notifications. + */ public String getNocContactEmail() { return nocContactEmail; } + /** + * Email address to contact the customer NOC for operations and maintenance notifications + * regarding this Interconnect. If specified, this will be used for notifications in addition to + * all other forms described, such as Stackdriver logs alerting and Cloud Notifications. + */ public Builder setNocContactEmail(String nocContactEmail) { this.nocContactEmail = nocContactEmail; return this; } + /** [Output Only] The current status of whether or not this Interconnect is functional. */ public String getOperationalStatus() { return operationalStatus; } + /** [Output Only] The current status of whether or not this Interconnect is functional. */ public Builder setOperationalStatus(String operationalStatus) { this.operationalStatus = operationalStatus; return this; } + /** + * [Output Only] IP address configured on the customer side of the Interconnect link. The + * customer should configure this IP address during turnup when prompted by Google NOC. This can + * be used only for ping tests. + */ public String getPeerIpAddress() { return peerIpAddress; } + /** + * [Output Only] IP address configured on the customer side of the Interconnect link. The + * customer should configure this IP address during turnup when prompted by Google NOC. This can + * be used only for ping tests. + */ public Builder setPeerIpAddress(String peerIpAddress) { this.peerIpAddress = peerIpAddress; return this; } + /** [Output Only] Number of links actually provisioned in this interconnect. */ public Integer getProvisionedLinkCount() { return provisionedLinkCount; } + /** [Output Only] Number of links actually provisioned in this interconnect. */ public Builder setProvisionedLinkCount(Integer provisionedLinkCount) { this.provisionedLinkCount = provisionedLinkCount; return this; } + /** Target number of physical links in the link bundle, as requested by the customer. */ public Integer getRequestedLinkCount() { return requestedLinkCount; } + /** Target number of physical links in the link bundle, as requested by the customer. */ public Builder setRequestedLinkCount(Integer requestedLinkCount) { this.requestedLinkCount = requestedLinkCount; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] The current state of whether or not this Interconnect is functional. */ public String getState() { return state; } + /** [Output Only] The current state of whether or not this Interconnect is functional. */ public Builder setState(String state) { this.state = state; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachment.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachment.java index 48e7de60cbe8..b6f7078dddcf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachment.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachment.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents an InterconnectAttachment (VLAN attachment) resource. For more information, see + * Creating VLAN Attachments. (== resource_for beta.interconnectAttachments ==) (== resource_for + * v1.interconnectAttachments ==) + */ public final class InterconnectAttachment implements ApiMessage { private final Boolean adminEnabled; private final String bandwidth; @@ -218,90 +223,175 @@ public List getFieldMask() { return null; } + /** Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER. */ public Boolean getAdminEnabled() { return adminEnabled; } + /** + * Provisioned bandwidth capacity for the interconnectAttachment. Can be set by the partner to + * update the customer's provisioned bandwidth. Output only for PARTNER type, mutable for + * PARTNER_PROVIDER and DEDICATED. + */ public String getBandwidth() { return bandwidth; } + /** + * Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress + * and customerRouterIpAddress for this attachment. All prefixes must be within link-local address + * space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to + * select an unused /29 from the supplied candidate prefix(es). The request will fail if all + * possible /29s are in use on Google?s edge. If not supplied, Google will randomly select an + * unused /29 from all of link-local space. + */ public List getCandidateSubnetsList() { return candidateSubnets; } + /** + * [Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for this + * interconnect attachment. + */ public String getCloudRouterIpAddress() { return cloudRouterIpAddress; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * [Output Only] IPv4 address + prefix length to be configured on the customer router subinterface + * for this interconnect attachment. + */ public String getCustomerRouterIpAddress() { return customerRouterIpAddress; } + /** An optional description of this resource. */ public String getDescription() { return description; } + /** + * Desired availability domain for the attachment. Only available for type PARTNER, at creation + * time. For improved reliability, customers should configure a pair of attachments with one per + * availability domain. The selected availability domain will be provided to the Partner via the + * pairing key so that the provisioned circuit will lie in the specified domain. If not specified, + * the value will default to AVAILABILITY_DOMAIN_ANY. + */ public String getEdgeAvailabilityDomain() { return edgeAvailabilityDomain; } + /** + * [Output Only] Google reference ID, to be used when raising support tickets with Google or + * otherwise to debug backend connectivity issues. + */ public String getGoogleReferenceId() { return googleReferenceId; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * URL of the underlying Interconnect object that this attachment's traffic will traverse through. + */ public String getInterconnect() { return interconnect; } + /** + * [Output Only] Type of the resource. Always compute#interconnectAttachment for interconnect + * attachments. + */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * [Output Only] The current status of whether or not this interconnect attachment is functional. + */ public String getOperationalStatus() { return operationalStatus; } + /** + * [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. The + * opaque identifier of an PARTNER attachment used to initiate provisioning with a selected + * partner. Of the form "XXXXX/region/domain" + */ public String getPairingKey() { return pairingKey; } + /** + * Optional BGP ASN for the router that should be supplied by a layer 3 Partner if they configured + * BGP on behalf of the customer. Output only for PARTNER type, input only for PARTNER_PROVIDER, + * not available for DEDICATED. + */ public String getPartnerAsn() { return partnerAsn; } + /** + * Informational metadata about Partner attachments from Partners to display to customers. Output + * only for for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED. + */ public InterconnectAttachmentPartnerMetadata getPartnerMetadata() { return partnerMetadata; } + /** + * [Output Only] Information specific to an InterconnectAttachment. This property is populated if + * the interconnect that this is attached to is of type DEDICATED. + */ public InterconnectAttachmentPrivateInfo getPrivateInterconnectInfo() { return privateInterconnectInfo; } + /** + * [Output Only] URL of the region where the regional interconnect attachment resides. You must + * specify this field as part of the HTTP request URL. It is not settable as a field in the + * request body. + */ public String getRegion() { return region; } + /** + * URL of the Cloud Router to be used for dynamic routing. This router must be in the same region + * as this InterconnectAttachment. The InterconnectAttachment will automatically connect the + * Interconnect to the network & region within which the Cloud Router is configured. + */ public String getRouter() { return router; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The current state of this attachment's functionality. */ public String getState() { return state; } @@ -310,6 +400,10 @@ public String getType() { return type; } + /** + * The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. Only specified at creation + * time. + */ public Integer getVlanTag8021q() { return vlanTag8021q; } @@ -468,28 +562,56 @@ public Builder mergeFrom(InterconnectAttachment other) { this.vlanTag8021q = source.vlanTag8021q; } + /** Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER. */ public Boolean getAdminEnabled() { return adminEnabled; } + /** Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER. */ public Builder setAdminEnabled(Boolean adminEnabled) { this.adminEnabled = adminEnabled; return this; } + /** + * Provisioned bandwidth capacity for the interconnectAttachment. Can be set by the partner to + * update the customer's provisioned bandwidth. Output only for PARTNER type, mutable for + * PARTNER_PROVIDER and DEDICATED. + */ public String getBandwidth() { return bandwidth; } + /** + * Provisioned bandwidth capacity for the interconnectAttachment. Can be set by the partner to + * update the customer's provisioned bandwidth. Output only for PARTNER type, mutable for + * PARTNER_PROVIDER and DEDICATED. + */ public Builder setBandwidth(String bandwidth) { this.bandwidth = bandwidth; return this; } + /** + * Up to 16 candidate prefixes that can be used to restrict the allocation of + * cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be + * within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). + * Google will attempt to select an unused /29 from the supplied candidate prefix(es). The + * request will fail if all possible /29s are in use on Google?s edge. If not supplied, Google + * will randomly select an unused /29 from all of link-local space. + */ public List getCandidateSubnetsList() { return candidateSubnets; } + /** + * Up to 16 candidate prefixes that can be used to restrict the allocation of + * cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be + * within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). + * Google will attempt to select an unused /29 from the supplied candidate prefix(es). The + * request will fail if all possible /29s are in use on Google?s edge. If not supplied, Google + * will randomly select an unused /29 from all of link-local space. + */ public Builder addAllCandidateSubnets(List candidateSubnets) { if (this.candidateSubnets == null) { this.candidateSubnets = new LinkedList<>(); @@ -498,6 +620,14 @@ public Builder addAllCandidateSubnets(List candidateSubnets) { return this; } + /** + * Up to 16 candidate prefixes that can be used to restrict the allocation of + * cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be + * within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). + * Google will attempt to select an unused /29 from the supplied candidate prefix(es). The + * request will fail if all possible /29s are in use on Google?s edge. If not supplied, Google + * will randomly select an unused /29 from all of link-local space. + */ public Builder addCandidateSubnets(String candidateSubnets) { if (this.candidateSubnets == null) { this.candidateSubnets = new LinkedList<>(); @@ -506,173 +636,321 @@ public Builder addCandidateSubnets(String candidateSubnets) { return this; } + /** + * [Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for + * this interconnect attachment. + */ public String getCloudRouterIpAddress() { return cloudRouterIpAddress; } + /** + * [Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for + * this interconnect attachment. + */ public Builder setCloudRouterIpAddress(String cloudRouterIpAddress) { this.cloudRouterIpAddress = cloudRouterIpAddress; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * [Output Only] IPv4 address + prefix length to be configured on the customer router + * subinterface for this interconnect attachment. + */ public String getCustomerRouterIpAddress() { return customerRouterIpAddress; } + /** + * [Output Only] IPv4 address + prefix length to be configured on the customer router + * subinterface for this interconnect attachment. + */ public Builder setCustomerRouterIpAddress(String customerRouterIpAddress) { this.customerRouterIpAddress = customerRouterIpAddress; return this; } + /** An optional description of this resource. */ public String getDescription() { return description; } + /** An optional description of this resource. */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * Desired availability domain for the attachment. Only available for type PARTNER, at creation + * time. For improved reliability, customers should configure a pair of attachments with one per + * availability domain. The selected availability domain will be provided to the Partner via the + * pairing key so that the provisioned circuit will lie in the specified domain. If not + * specified, the value will default to AVAILABILITY_DOMAIN_ANY. + */ public String getEdgeAvailabilityDomain() { return edgeAvailabilityDomain; } + /** + * Desired availability domain for the attachment. Only available for type PARTNER, at creation + * time. For improved reliability, customers should configure a pair of attachments with one per + * availability domain. The selected availability domain will be provided to the Partner via the + * pairing key so that the provisioned circuit will lie in the specified domain. If not + * specified, the value will default to AVAILABILITY_DOMAIN_ANY. + */ public Builder setEdgeAvailabilityDomain(String edgeAvailabilityDomain) { this.edgeAvailabilityDomain = edgeAvailabilityDomain; return this; } + /** + * [Output Only] Google reference ID, to be used when raising support tickets with Google or + * otherwise to debug backend connectivity issues. + */ public String getGoogleReferenceId() { return googleReferenceId; } + /** + * [Output Only] Google reference ID, to be used when raising support tickets with Google or + * otherwise to debug backend connectivity issues. + */ public Builder setGoogleReferenceId(String googleReferenceId) { this.googleReferenceId = googleReferenceId; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * URL of the underlying Interconnect object that this attachment's traffic will traverse + * through. + */ public String getInterconnect() { return interconnect; } + /** + * URL of the underlying Interconnect object that this attachment's traffic will traverse + * through. + */ public Builder setInterconnect(String interconnect) { this.interconnect = interconnect; return this; } + /** + * [Output Only] Type of the resource. Always compute#interconnectAttachment for interconnect + * attachments. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of the resource. Always compute#interconnectAttachment for interconnect + * attachments. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * [Output Only] The current status of whether or not this interconnect attachment is + * functional. + */ public String getOperationalStatus() { return operationalStatus; } + /** + * [Output Only] The current status of whether or not this interconnect attachment is + * functional. + */ public Builder setOperationalStatus(String operationalStatus) { this.operationalStatus = operationalStatus; return this; } + /** + * [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. + * The opaque identifier of an PARTNER attachment used to initiate provisioning with a selected + * partner. Of the form "XXXXX/region/domain" + */ public String getPairingKey() { return pairingKey; } + /** + * [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. + * The opaque identifier of an PARTNER attachment used to initiate provisioning with a selected + * partner. Of the form "XXXXX/region/domain" + */ public Builder setPairingKey(String pairingKey) { this.pairingKey = pairingKey; return this; } + /** + * Optional BGP ASN for the router that should be supplied by a layer 3 Partner if they + * configured BGP on behalf of the customer. Output only for PARTNER type, input only for + * PARTNER_PROVIDER, not available for DEDICATED. + */ public String getPartnerAsn() { return partnerAsn; } + /** + * Optional BGP ASN for the router that should be supplied by a layer 3 Partner if they + * configured BGP on behalf of the customer. Output only for PARTNER type, input only for + * PARTNER_PROVIDER, not available for DEDICATED. + */ public Builder setPartnerAsn(String partnerAsn) { this.partnerAsn = partnerAsn; return this; } + /** + * Informational metadata about Partner attachments from Partners to display to customers. + * Output only for for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED. + */ public InterconnectAttachmentPartnerMetadata getPartnerMetadata() { return partnerMetadata; } + /** + * Informational metadata about Partner attachments from Partners to display to customers. + * Output only for for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED. + */ public Builder setPartnerMetadata(InterconnectAttachmentPartnerMetadata partnerMetadata) { this.partnerMetadata = partnerMetadata; return this; } + /** + * [Output Only] Information specific to an InterconnectAttachment. This property is populated + * if the interconnect that this is attached to is of type DEDICATED. + */ public InterconnectAttachmentPrivateInfo getPrivateInterconnectInfo() { return privateInterconnectInfo; } + /** + * [Output Only] Information specific to an InterconnectAttachment. This property is populated + * if the interconnect that this is attached to is of type DEDICATED. + */ public Builder setPrivateInterconnectInfo( InterconnectAttachmentPrivateInfo privateInterconnectInfo) { this.privateInterconnectInfo = privateInterconnectInfo; return this; } + /** + * [Output Only] URL of the region where the regional interconnect attachment resides. You must + * specify this field as part of the HTTP request URL. It is not settable as a field in the + * request body. + */ public String getRegion() { return region; } + /** + * [Output Only] URL of the region where the regional interconnect attachment resides. You must + * specify this field as part of the HTTP request URL. It is not settable as a field in the + * request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * URL of the Cloud Router to be used for dynamic routing. This router must be in the same + * region as this InterconnectAttachment. The InterconnectAttachment will automatically connect + * the Interconnect to the network & region within which the Cloud Router is configured. + */ public String getRouter() { return router; } + /** + * URL of the Cloud Router to be used for dynamic routing. This router must be in the same + * region as this InterconnectAttachment. The InterconnectAttachment will automatically connect + * the Interconnect to the network & region within which the Cloud Router is configured. + */ public Builder setRouter(String router) { this.router = router; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] The current state of this attachment's functionality. */ public String getState() { return state; } + /** [Output Only] The current state of this attachment's functionality. */ public Builder setState(String state) { this.state = state; return this; @@ -687,10 +965,18 @@ public Builder setType(String type) { return this; } + /** + * The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. Only specified at creation + * time. + */ public Integer getVlanTag8021q() { return vlanTag8021q; } + /** + * The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. Only specified at creation + * time. + */ public Builder setVlanTag8021q(Integer vlanTag8021q) { this.vlanTag8021q = vlanTag8021q; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentAggregatedList.java index 0df5a875efe6..1d49a604095c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of InterconnectAttachmentsScopedList resources. The key for the map is: Name of the + * scope containing this set of interconnect attachments. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#interconnectAttachmentAggregatedList for + * aggregated lists of interconnect attachments. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(InterconnectAttachmentAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of InterconnectAttachmentsScopedList resources. The key for the map is: Name of the + * scope containing this set of interconnect attachments. + */ public Map getItemsMap() { return items; } + /** + * A list of InterconnectAttachmentsScopedList resources. The key for the map is: Name of the + * scope containing this set of interconnect attachments. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#interconnectAttachmentAggregatedList for + * aggregated lists of interconnect attachments. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#interconnectAttachmentAggregatedList for + * aggregated lists of interconnect attachments. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentList.java index 82905d3681d2..f507d61d264a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Response to the list request, and contains a list of interconnect attachments. */ public final class InterconnectAttachmentList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of InterconnectAttachment resources. */ public List getItemsList() { return items; } + /** + * [Output Only] Type of resource. Always compute#interconnectAttachmentList for lists of + * interconnect attachments. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +195,23 @@ public Builder mergeFrom(InterconnectAttachmentList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of InterconnectAttachment resources. */ public List getItemsList() { return items; } + /** A list of InterconnectAttachment resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +220,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of InterconnectAttachment resources. */ public Builder addItems(InterconnectAttachment items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +229,61 @@ public Builder addItems(InterconnectAttachment items) { return this; } + /** + * [Output Only] Type of resource. Always compute#interconnectAttachmentList for lists of + * interconnect attachments. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#interconnectAttachmentList for lists of + * interconnect attachments. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentPartnerMetadata.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentPartnerMetadata.java index 2e73fcce9db8..144b2185c780 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentPartnerMetadata.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentPartnerMetadata.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Informational metadata about Partner attachments from Partners to display to customers. These + * fields are propagated from PARTNER_PROVIDER attachments to their corresponding PARTNER + * attachments. + */ public final class InterconnectAttachmentPartnerMetadata implements ApiMessage { private final String interconnectName; private final String partnerName; @@ -68,14 +73,28 @@ public List getFieldMask() { return null; } + /** + * Plain text name of the Interconnect this attachment is connected to, as displayed in the + * Partner?s portal. For instance "Chicago 1". This value may be validated to match approved + * Partner values. + */ public String getInterconnectName() { return interconnectName; } + /** + * Plain text name of the Partner providing this attachment. This value may be validated to match + * approved Partner values. + */ public String getPartnerName() { return partnerName; } + /** + * URL of the Partner?s portal for this Attachment. Partners may customise this to be a deep-link + * to the specific resource on the Partner portal. This value may be validated to match approved + * Partner values. + */ public String getPortalUrl() { return portalUrl; } @@ -129,28 +148,56 @@ public Builder mergeFrom(InterconnectAttachmentPartnerMetadata other) { this.portalUrl = source.portalUrl; } + /** + * Plain text name of the Interconnect this attachment is connected to, as displayed in the + * Partner?s portal. For instance "Chicago 1". This value may be validated to match approved + * Partner values. + */ public String getInterconnectName() { return interconnectName; } + /** + * Plain text name of the Interconnect this attachment is connected to, as displayed in the + * Partner?s portal. For instance "Chicago 1". This value may be validated to match approved + * Partner values. + */ public Builder setInterconnectName(String interconnectName) { this.interconnectName = interconnectName; return this; } + /** + * Plain text name of the Partner providing this attachment. This value may be validated to + * match approved Partner values. + */ public String getPartnerName() { return partnerName; } + /** + * Plain text name of the Partner providing this attachment. This value may be validated to + * match approved Partner values. + */ public Builder setPartnerName(String partnerName) { this.partnerName = partnerName; return this; } + /** + * URL of the Partner?s portal for this Attachment. Partners may customise this to be a + * deep-link to the specific resource on the Partner portal. This value may be validated to + * match approved Partner values. + */ public String getPortalUrl() { return portalUrl; } + /** + * URL of the Partner?s portal for this Attachment. Partners may customise this to be a + * deep-link to the specific resource on the Partner portal. This value may be validated to + * match approved Partner values. + */ public Builder setPortalUrl(String portalUrl) { this.portalUrl = portalUrl; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentPrivateInfo.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentPrivateInfo.java index af5cb3b42248..f8df21e6736b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentPrivateInfo.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentPrivateInfo.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Information for an interconnect attachment when this belongs to an interconnect of type + * DEDICATED. + */ public final class InterconnectAttachmentPrivateInfo implements ApiMessage { private final Integer tag8021q; @@ -55,6 +59,10 @@ public List getFieldMask() { return null; } + /** + * [Output Only] 802.1q encapsulation tag to be used for traffic between Google and the customer, + * going to and from this network and region. + */ public Integer getTag8021q() { return tag8021q; } @@ -98,10 +106,18 @@ public Builder mergeFrom(InterconnectAttachmentPrivateInfo other) { this.tag8021q = source.tag8021q; } + /** + * [Output Only] 802.1q encapsulation tag to be used for traffic between Google and the + * customer, going to and from this network and region. + */ public Integer getTag8021q() { return tag8021q; } + /** + * [Output Only] 802.1q encapsulation tag to be used for traffic between Google and the + * customer, going to and from this network and region. + */ public Builder setTag8021q(Integer tag8021q) { this.tag8021q = tag8021q; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentsScopedList.java index 0317dc0c8203..4399284368be 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentsScopedList.java @@ -63,10 +63,12 @@ public List getFieldMask() { return null; } + /** A list of interconnect attachments contained in this scope. */ public List getInterconnectAttachmentsList() { return interconnectAttachments; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Warning getWarning() { return warning; } @@ -115,10 +117,12 @@ public Builder mergeFrom(InterconnectAttachmentsScopedList other) { this.warning = source.warning; } + /** A list of interconnect attachments contained in this scope. */ public List getInterconnectAttachmentsList() { return interconnectAttachments; } + /** A list of interconnect attachments contained in this scope. */ public Builder addAllInterconnectAttachments( List interconnectAttachments) { if (this.interconnectAttachments == null) { @@ -128,6 +132,7 @@ public Builder addAllInterconnectAttachments( return this; } + /** A list of interconnect attachments contained in this scope. */ public Builder addInterconnectAttachments(InterconnectAttachment interconnectAttachments) { if (this.interconnectAttachments == null) { this.interconnectAttachments = new LinkedList<>(); @@ -136,10 +141,12 @@ public Builder addInterconnectAttachments(InterconnectAttachment interconnectAtt return this; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Warning getWarning() { return warning; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectCircuitInfo.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectCircuitInfo.java index e8915d07df40..8a71d21ce8ba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectCircuitInfo.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectCircuitInfo.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Describes a single physical circuit between the Customer and Google. CircuitInfo objects are + * created by Google, so all fields are output only. Next id: 4 + */ public final class InterconnectCircuitInfo implements ApiMessage { private final String customerDemarcId; private final String googleCircuitId; @@ -68,14 +72,20 @@ public List getFieldMask() { return null; } + /** Customer-side demarc ID for this circuit. */ public String getCustomerDemarcId() { return customerDemarcId; } + /** Google-assigned unique ID for this circuit. Assigned at circuit turn-up. */ public String getGoogleCircuitId() { return googleCircuitId; } + /** + * Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to + * the customer in the LOA. + */ public String getGoogleDemarcId() { return googleDemarcId; } @@ -129,28 +139,40 @@ public Builder mergeFrom(InterconnectCircuitInfo other) { this.googleDemarcId = source.googleDemarcId; } + /** Customer-side demarc ID for this circuit. */ public String getCustomerDemarcId() { return customerDemarcId; } + /** Customer-side demarc ID for this circuit. */ public Builder setCustomerDemarcId(String customerDemarcId) { this.customerDemarcId = customerDemarcId; return this; } + /** Google-assigned unique ID for this circuit. Assigned at circuit turn-up. */ public String getGoogleCircuitId() { return googleCircuitId; } + /** Google-assigned unique ID for this circuit. Assigned at circuit turn-up. */ public Builder setGoogleCircuitId(String googleCircuitId) { this.googleCircuitId = googleCircuitId; return this; } + /** + * Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to + * the customer in the LOA. + */ public String getGoogleDemarcId() { return googleDemarcId; } + /** + * Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to + * the customer in the LOA. + */ public Builder setGoogleDemarcId(String googleDemarcId) { this.googleDemarcId = googleDemarcId; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnostics.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnostics.java index 8cde38834512..c68a5372b76b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnostics.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnostics.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Diagnostics information about interconnect, contains detailed and current technical information + * about Google?s side of the connection. + */ public final class InterconnectDiagnostics implements ApiMessage { private final List arpCaches; private final List links; @@ -71,14 +75,24 @@ public List getFieldMask() { return null; } + /** + * A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently + * seen by the Google router in the ARP cache for the Interconnect. This will be empty when the + * Interconnect is not bundled. + */ public List getArpCachesList() { return arpCaches; } + /** + * A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on + * the Interconnect. + */ public List getLinksList() { return links; } + /** The MAC address of the Interconnect's bundle interface. */ public String getMacAddress() { return macAddress; } @@ -132,10 +146,20 @@ public Builder mergeFrom(InterconnectDiagnostics other) { this.macAddress = source.macAddress; } + /** + * A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently + * seen by the Google router in the ARP cache for the Interconnect. This will be empty when the + * Interconnect is not bundled. + */ public List getArpCachesList() { return arpCaches; } + /** + * A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently + * seen by the Google router in the ARP cache for the Interconnect. This will be empty when the + * Interconnect is not bundled. + */ public Builder addAllArpCaches(List arpCaches) { if (this.arpCaches == null) { this.arpCaches = new LinkedList<>(); @@ -144,6 +168,11 @@ public Builder addAllArpCaches(List arpCaches) return this; } + /** + * A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently + * seen by the Google router in the ARP cache for the Interconnect. This will be empty when the + * Interconnect is not bundled. + */ public Builder addArpCaches(InterconnectDiagnosticsARPEntry arpCaches) { if (this.arpCaches == null) { this.arpCaches = new LinkedList<>(); @@ -152,10 +181,18 @@ public Builder addArpCaches(InterconnectDiagnosticsARPEntry arpCaches) { return this; } + /** + * A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on + * the Interconnect. + */ public List getLinksList() { return links; } + /** + * A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on + * the Interconnect. + */ public Builder addAllLinks(List links) { if (this.links == null) { this.links = new LinkedList<>(); @@ -164,6 +201,10 @@ public Builder addAllLinks(List links) { return this; } + /** + * A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on + * the Interconnect. + */ public Builder addLinks(InterconnectDiagnosticsLinkStatus links) { if (this.links == null) { this.links = new LinkedList<>(); @@ -172,10 +213,12 @@ public Builder addLinks(InterconnectDiagnosticsLinkStatus links) { return this; } + /** The MAC address of the Interconnect's bundle interface. */ public String getMacAddress() { return macAddress; } + /** The MAC address of the Interconnect's bundle interface. */ public Builder setMacAddress(String macAddress) { this.macAddress = macAddress; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsARPEntry.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsARPEntry.java index 39c04a2fbcb3..d5ed96141f0d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsARPEntry.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsARPEntry.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Describing the ARP neighbor entries seen on this link */ public final class InterconnectDiagnosticsARPEntry implements ApiMessage { private final String ipAddress; private final String macAddress; @@ -61,10 +62,12 @@ public List getFieldMask() { return null; } + /** The IP address of this ARP neighbor. */ public String getIpAddress() { return ipAddress; } + /** The MAC address of this ARP neighbor. */ public String getMacAddress() { return macAddress; } @@ -113,19 +116,23 @@ public Builder mergeFrom(InterconnectDiagnosticsARPEntry other) { this.macAddress = source.macAddress; } + /** The IP address of this ARP neighbor. */ public String getIpAddress() { return ipAddress; } + /** The IP address of this ARP neighbor. */ public Builder setIpAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } + /** The MAC address of this ARP neighbor. */ public String getMacAddress() { return macAddress; } + /** The MAC address of this ARP neighbor. */ public Builder setMacAddress(String macAddress) { this.macAddress = macAddress; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkLACPStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkLACPStatus.java index 6c5585672604..af3ea43ce861 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkLACPStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkLACPStatus.java @@ -68,10 +68,12 @@ public List getFieldMask() { return null; } + /** System ID of the port on Google?s side of the LACP exchange. */ public String getGoogleSystemId() { return googleSystemId; } + /** System ID of the port on the neighbor?s side of the LACP exchange. */ public String getNeighborSystemId() { return neighborSystemId; } @@ -129,19 +131,23 @@ public Builder mergeFrom(InterconnectDiagnosticsLinkLACPStatus other) { this.state = source.state; } + /** System ID of the port on Google?s side of the LACP exchange. */ public String getGoogleSystemId() { return googleSystemId; } + /** System ID of the port on Google?s side of the LACP exchange. */ public Builder setGoogleSystemId(String googleSystemId) { this.googleSystemId = googleSystemId; return this; } + /** System ID of the port on the neighbor?s side of the LACP exchange. */ public String getNeighborSystemId() { return neighborSystemId; } + /** System ID of the port on the neighbor?s side of the LACP exchange. */ public Builder setNeighborSystemId(String neighborSystemId) { this.neighborSystemId = neighborSystemId; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkOpticalPower.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkOpticalPower.java index 66354cc690d0..91265b064ffc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkOpticalPower.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkOpticalPower.java @@ -65,6 +65,11 @@ public String getState() { return state; } + /** + * Value of the current optical power, read in dBm. Take a known good optical value, give it a 10% + * margin and trigger warnings relative to that value. In general, a -7dBm warning and a -11dBm + * alarm are good optical value estimates for most links. + */ public Float getValue() { return value; } @@ -122,10 +127,20 @@ public Builder setState(String state) { return this; } + /** + * Value of the current optical power, read in dBm. Take a known good optical value, give it a + * 10% margin and trigger warnings relative to that value. In general, a -7dBm warning and a + * -11dBm alarm are good optical value estimates for most links. + */ public Float getValue() { return value; } + /** + * Value of the current optical power, read in dBm. Take a known good optical value, give it a + * 10% margin and trigger warnings relative to that value. In general, a -7dBm warning and a + * -11dBm alarm are good optical value estimates for most links. + */ public Builder setValue(Float value) { this.value = value; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkStatus.java index 95b250e5041d..1f63d00908f9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectDiagnosticsLinkStatus.java @@ -92,14 +92,20 @@ public List getFieldMask() { return null; } + /** + * A list of InterconnectDiagnostics.ARPEntry objects, describing the ARP neighbor entries seen on + * this link. This will be empty if the link is bundled + */ public List getArpCachesList() { return arpCaches; } + /** The unique ID for this link assigned during turn up by Google. */ public String getCircuitId() { return circuitId; } + /** The Demarc address assigned by Google and provided in the LoA. */ public String getGoogleDemarc() { return googleDemarc; } @@ -180,10 +186,18 @@ public Builder mergeFrom(InterconnectDiagnosticsLinkStatus other) { this.transmittingOpticalPower = source.transmittingOpticalPower; } + /** + * A list of InterconnectDiagnostics.ARPEntry objects, describing the ARP neighbor entries seen + * on this link. This will be empty if the link is bundled + */ public List getArpCachesList() { return arpCaches; } + /** + * A list of InterconnectDiagnostics.ARPEntry objects, describing the ARP neighbor entries seen + * on this link. This will be empty if the link is bundled + */ public Builder addAllArpCaches(List arpCaches) { if (this.arpCaches == null) { this.arpCaches = new LinkedList<>(); @@ -192,6 +206,10 @@ public Builder addAllArpCaches(List arpCaches) return this; } + /** + * A list of InterconnectDiagnostics.ARPEntry objects, describing the ARP neighbor entries seen + * on this link. This will be empty if the link is bundled + */ public Builder addArpCaches(InterconnectDiagnosticsARPEntry arpCaches) { if (this.arpCaches == null) { this.arpCaches = new LinkedList<>(); @@ -200,19 +218,23 @@ public Builder addArpCaches(InterconnectDiagnosticsARPEntry arpCaches) { return this; } + /** The unique ID for this link assigned during turn up by Google. */ public String getCircuitId() { return circuitId; } + /** The unique ID for this link assigned during turn up by Google. */ public Builder setCircuitId(String circuitId) { this.circuitId = circuitId; return this; } + /** The Demarc address assigned by Google and provided in the LoA. */ public String getGoogleDemarc() { return googleDemarc; } + /** The Demarc address assigned by Google and provided in the LoA. */ public Builder setGoogleDemarc(String googleDemarc) { this.googleDemarc = googleDemarc; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectList.java index e44f5200e034..58762f64c3da 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Response to the list request, and contains a list of interconnects. */ public final class InterconnectList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Interconnect resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#interconnectList for lists of interconnects. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(InterconnectList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Interconnect resources. */ public List getItemsList() { return items; } + /** A list of Interconnect resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Interconnect resources. */ public Builder addItems(Interconnect items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,59 @@ public Builder addItems(Interconnect items) { return this; } + /** + * [Output Only] Type of resource. Always compute#interconnectList for lists of interconnects. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#interconnectList for lists of interconnects. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocation.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocation.java index 257b38d8c392..a9226a89b833 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocation.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocation.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents an InterconnectLocations resource. The InterconnectLocations resource describes the + * locations where you can connect to Google's networks. For more information, see Colocation + * Facilities. + */ public final class InterconnectLocation implements ApiMessage { private final String address; private final String availabilityZone; @@ -155,62 +160,102 @@ public List getFieldMask() { return null; } + /** + * [Output Only] The postal address of the Point of Presence, each line in the address is + * separated by a newline character. + */ public String getAddress() { return address; } + /** + * [Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area + * (metro), maintenance will not be simultaneously scheduled in more than one availability zone. + * Example: "zone1" or "zone2". + */ public String getAvailabilityZone() { return availabilityZone; } + /** + * [Output Only] Metropolitan area designator that indicates which city an interconnect is + * located. For example: "Chicago, IL", "Amsterdam, Netherlands". + */ public String getCity() { return city; } + /** [Output Only] Continent for this location. */ public String getContinent() { return continent; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] An optional description of the resource. */ public String getDescription() { return description; } + /** [Output Only] The name of the provider for this facility (e.g., EQUINIX). */ public String getFacilityProvider() { return facilityProvider; } + /** [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1). */ public String getFacilityProviderFacilityId() { return facilityProviderFacilityId; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * [Output Only] Type of the resource. Always compute#interconnectLocation for interconnect + * locations. + */ public String getKind() { return kind; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** + * [Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in + * peeringdb). + */ public String getPeeringdbFacilityId() { return peeringdbFacilityId; } + /** + * [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters + * pertaining to the relation between this InterconnectLocation and various Google Cloud regions. + */ public List getRegionInfosList() { return regionInfos; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * [Output Only] The status of this InterconnectLocation. If the status is AVAILABLE, new + * Interconnects may be provisioned in this InterconnectLocation. Otherwise, no new Interconnects + * may be provisioned. + */ public String getStatus() { return status; } @@ -324,118 +369,190 @@ public Builder mergeFrom(InterconnectLocation other) { this.status = source.status; } + /** + * [Output Only] The postal address of the Point of Presence, each line in the address is + * separated by a newline character. + */ public String getAddress() { return address; } + /** + * [Output Only] The postal address of the Point of Presence, each line in the address is + * separated by a newline character. + */ public Builder setAddress(String address) { this.address = address; return this; } + /** + * [Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area + * (metro), maintenance will not be simultaneously scheduled in more than one availability zone. + * Example: "zone1" or "zone2". + */ public String getAvailabilityZone() { return availabilityZone; } + /** + * [Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area + * (metro), maintenance will not be simultaneously scheduled in more than one availability zone. + * Example: "zone1" or "zone2". + */ public Builder setAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; return this; } + /** + * [Output Only] Metropolitan area designator that indicates which city an interconnect is + * located. For example: "Chicago, IL", "Amsterdam, Netherlands". + */ public String getCity() { return city; } + /** + * [Output Only] Metropolitan area designator that indicates which city an interconnect is + * located. For example: "Chicago, IL", "Amsterdam, Netherlands". + */ public Builder setCity(String city) { this.city = city; return this; } + /** [Output Only] Continent for this location. */ public String getContinent() { return continent; } + /** [Output Only] Continent for this location. */ public Builder setContinent(String continent) { this.continent = continent; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** [Output Only] An optional description of the resource. */ public String getDescription() { return description; } + /** [Output Only] An optional description of the resource. */ public Builder setDescription(String description) { this.description = description; return this; } + /** [Output Only] The name of the provider for this facility (e.g., EQUINIX). */ public String getFacilityProvider() { return facilityProvider; } + /** [Output Only] The name of the provider for this facility (e.g., EQUINIX). */ public Builder setFacilityProvider(String facilityProvider) { this.facilityProvider = facilityProvider; return this; } + /** [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1). */ public String getFacilityProviderFacilityId() { return facilityProviderFacilityId; } + /** [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1). */ public Builder setFacilityProviderFacilityId(String facilityProviderFacilityId) { this.facilityProviderFacilityId = facilityProviderFacilityId; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] Type of the resource. Always compute#interconnectLocation for interconnect + * locations. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of the resource. Always compute#interconnectLocation for interconnect + * locations. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Name of the resource. */ public Builder setName(String name) { this.name = name; return this; } + /** + * [Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in + * peeringdb). + */ public String getPeeringdbFacilityId() { return peeringdbFacilityId; } + /** + * [Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in + * peeringdb). + */ public Builder setPeeringdbFacilityId(String peeringdbFacilityId) { this.peeringdbFacilityId = peeringdbFacilityId; return this; } + /** + * [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters + * pertaining to the relation between this InterconnectLocation and various Google Cloud + * regions. + */ public List getRegionInfosList() { return regionInfos; } + /** + * [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters + * pertaining to the relation between this InterconnectLocation and various Google Cloud + * regions. + */ public Builder addAllRegionInfos(List regionInfos) { if (this.regionInfos == null) { this.regionInfos = new LinkedList<>(); @@ -444,6 +561,11 @@ public Builder addAllRegionInfos(List regionInfo return this; } + /** + * [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters + * pertaining to the relation between this InterconnectLocation and various Google Cloud + * regions. + */ public Builder addRegionInfos(InterconnectLocationRegionInfo regionInfos) { if (this.regionInfos == null) { this.regionInfos = new LinkedList<>(); @@ -452,19 +574,31 @@ public Builder addRegionInfos(InterconnectLocationRegionInfo regionInfos) { return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * [Output Only] The status of this InterconnectLocation. If the status is AVAILABLE, new + * Interconnects may be provisioned in this InterconnectLocation. Otherwise, no new + * Interconnects may be provisioned. + */ public String getStatus() { return status; } + /** + * [Output Only] The status of this InterconnectLocation. If the status is AVAILABLE, new + * Interconnects may be provisioned in this InterconnectLocation. Otherwise, no new + * Interconnects may be provisioned. + */ public Builder setStatus(String status) { this.status = status; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationList.java index 2fa59e8f1f08..8b9a9d8e5875 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Response to the list request, and contains a list of interconnect locations. */ public final class InterconnectLocationList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of InterconnectLocation resources. */ public List getItemsList() { return items; } + /** + * [Output Only] Type of resource. Always compute#interconnectLocationList for lists of + * interconnect locations. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +195,23 @@ public Builder mergeFrom(InterconnectLocationList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of InterconnectLocation resources. */ public List getItemsList() { return items; } + /** A list of InterconnectLocation resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +220,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of InterconnectLocation resources. */ public Builder addItems(InterconnectLocation items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +229,61 @@ public Builder addItems(InterconnectLocation items) { return this; } + /** + * [Output Only] Type of resource. Always compute#interconnectLocationList for lists of + * interconnect locations. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#interconnectLocationList for lists of + * interconnect locations. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationRegionInfo.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationRegionInfo.java index 1d0afb22f46d..81df7b5865b6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationRegionInfo.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationRegionInfo.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Information about any potential InterconnectAttachments between an Interconnect at a specific + * InterconnectLocation, and a specific Cloud Region. + */ public final class InterconnectLocationRegionInfo implements ApiMessage { private final String expectedRttMs; private final String locationPresence; @@ -68,14 +72,20 @@ public List getFieldMask() { return null; } + /** + * Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this + * region. + */ public String getExpectedRttMs() { return expectedRttMs; } + /** Identifies the network presence of this location. */ public String getLocationPresence() { return locationPresence; } + /** URL for the region of this location. */ public String getRegion() { return region; } @@ -129,28 +139,40 @@ public Builder mergeFrom(InterconnectLocationRegionInfo other) { this.region = source.region; } + /** + * Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this + * region. + */ public String getExpectedRttMs() { return expectedRttMs; } + /** + * Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this + * region. + */ public Builder setExpectedRttMs(String expectedRttMs) { this.expectedRttMs = expectedRttMs; return this; } + /** Identifies the network presence of this location. */ public String getLocationPresence() { return locationPresence; } + /** Identifies the network presence of this location. */ public Builder setLocationPresence(String locationPresence) { this.locationPresence = locationPresence; return this; } + /** URL for the region of this location. */ public String getRegion() { return region; } + /** URL for the region of this location. */ public Builder setRegion(String region) { this.region = region; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectOutageNotification.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectOutageNotification.java index 99b870ecb849..8da31df2c3f5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectOutageNotification.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectOutageNotification.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Description of a planned outage on this Interconnect. Next id: 9 */ public final class InterconnectOutageNotification implements ApiMessage { private final List affectedCircuits; private final String description; @@ -106,34 +107,54 @@ public List getFieldMask() { return null; } + /** + * If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be + * affected. + */ public List getAffectedCircuitsList() { return affectedCircuits; } + /** A description about the purpose of the outage. */ public String getDescription() { return description; } + /** Scheduled end time for the outage (milliseconds since Unix epoch). */ public String getEndTime() { return endTime; } + /** + * Form this outage is expected to take. Note that the "IT_" versions of this enum have been + * deprecated in favor of the unprefixed values. + */ public String getIssueType() { return issueType; } + /** Unique identifier for this outage notification. */ public String getName() { return name; } + /** + * The party that generated this notification. Note that "NSRC_GOOGLE" has been deprecated in + * favor of "GOOGLE" + */ public String getSource() { return source; } + /** Scheduled start time for the outage (milliseconds since Unix epoch). */ public String getStartTime() { return startTime; } + /** + * State of this notification. Note that the "NS_" versions of this enum have been deprecated in + * favor of the unprefixed values. + */ public String getState() { return state; } @@ -212,10 +233,18 @@ public Builder mergeFrom(InterconnectOutageNotification other) { this.state = source.state; } + /** + * If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be + * affected. + */ public List getAffectedCircuitsList() { return affectedCircuits; } + /** + * If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be + * affected. + */ public Builder addAllAffectedCircuits(List affectedCircuits) { if (this.affectedCircuits == null) { this.affectedCircuits = new LinkedList<>(); @@ -224,6 +253,10 @@ public Builder addAllAffectedCircuits(List affectedCircuits) { return this; } + /** + * If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be + * affected. + */ public Builder addAffectedCircuits(String affectedCircuits) { if (this.affectedCircuits == null) { this.affectedCircuits = new LinkedList<>(); @@ -232,64 +265,96 @@ public Builder addAffectedCircuits(String affectedCircuits) { return this; } + /** A description about the purpose of the outage. */ public String getDescription() { return description; } + /** A description about the purpose of the outage. */ public Builder setDescription(String description) { this.description = description; return this; } + /** Scheduled end time for the outage (milliseconds since Unix epoch). */ public String getEndTime() { return endTime; } + /** Scheduled end time for the outage (milliseconds since Unix epoch). */ public Builder setEndTime(String endTime) { this.endTime = endTime; return this; } + /** + * Form this outage is expected to take. Note that the "IT_" versions of this enum have been + * deprecated in favor of the unprefixed values. + */ public String getIssueType() { return issueType; } + /** + * Form this outage is expected to take. Note that the "IT_" versions of this enum have been + * deprecated in favor of the unprefixed values. + */ public Builder setIssueType(String issueType) { this.issueType = issueType; return this; } + /** Unique identifier for this outage notification. */ public String getName() { return name; } + /** Unique identifier for this outage notification. */ public Builder setName(String name) { this.name = name; return this; } + /** + * The party that generated this notification. Note that "NSRC_GOOGLE" has been deprecated in + * favor of "GOOGLE" + */ public String getSource() { return source; } + /** + * The party that generated this notification. Note that "NSRC_GOOGLE" has been deprecated in + * favor of "GOOGLE" + */ public Builder setSource(String source) { this.source = source; return this; } + /** Scheduled start time for the outage (milliseconds since Unix epoch). */ public String getStartTime() { return startTime; } + /** Scheduled start time for the outage (milliseconds since Unix epoch). */ public Builder setStartTime(String startTime) { this.startTime = startTime; return this; } + /** + * State of this notification. Note that the "NS_" versions of this enum have been deprecated in + * favor of the unprefixed values. + */ public String getState() { return state; } + /** + * State of this notification. Note that the "NS_" versions of this enum have been deprecated in + * favor of the unprefixed values. + */ public Builder setState(String state) { this.state = state; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectsGetDiagnosticsResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectsGetDiagnosticsResponse.java index f1f321decd99..e831e63739e1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectsGetDiagnosticsResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectsGetDiagnosticsResponse.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Response for the InterconnectsGetDiagnosticsRequest. */ public final class InterconnectsGetDiagnosticsResponse implements ApiMessage { private final InterconnectDiagnostics result; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InvalidateCacheUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InvalidateCacheUrlMapHttpRequest.java index d66056287e2f..bdbf74c63c38 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InvalidateCacheUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InvalidateCacheUrlMapHttpRequest.java @@ -123,6 +123,7 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } @@ -131,34 +132,60 @@ public CacheInvalidationRule getCacheInvalidationRuleResource() { return cacheInvalidationRuleResource; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the UrlMap scoping this request. It must have the format + * `{project}/global/urlMaps/{urlMap}/invalidateCache`. \`{urlMap}\` 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 getUrlMap() { return urlMap; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,10 +274,12 @@ public Builder mergeFrom(InvalidateCacheUrlMapHttpRequest other) { 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; @@ -266,73 +295,127 @@ public Builder setCacheInvalidationRuleResource( 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the UrlMap scoping this request. It must have the format + * `{project}/global/urlMaps/{urlMap}/invalidateCache`. \`{urlMap}\` 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 getUrlMap() { return urlMap; } + /** + * Name of the UrlMap scoping this request. It must have the format + * `{project}/global/urlMaps/{urlMap}/invalidateCache`. \`{urlMap}\` 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 setUrlMap(String urlMap) { this.urlMap = urlMap; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Items.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Items.java index 209c2c3531a8..ad58b941adfb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Items.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Items.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Array of key/value pairs. The total size of all keys and values must be less than 512 KB. */ public final class Items implements ApiMessage { private final String key; private final String value; @@ -61,10 +62,21 @@ public List getFieldMask() { return null; } + /** + * Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be + * less than 128 bytes in length. This is reflected as part of a URL in the metadata server. + * Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the + * project. + */ public String getKey() { return key; } + /** + * Value for the metadata entry. These are free-form strings, and only have meaning as interpreted + * by the image running in the instance. The only restriction placed on values is that their size + * must be less than or equal to 262144 bytes (256 KiB). + */ public String getValue() { return value; } @@ -113,19 +125,41 @@ public Builder mergeFrom(Items other) { this.value = source.value; } + /** + * Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be + * less than 128 bytes in length. This is reflected as part of a URL in the metadata server. + * Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the + * project. + */ public String getKey() { return key; } + /** + * Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be + * less than 128 bytes in length. This is reflected as part of a URL in the metadata server. + * Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the + * project. + */ public Builder setKey(String key) { this.key = key; return this; } + /** + * Value for the metadata entry. These are free-form strings, and only have meaning as + * interpreted by the image running in the instance. The only restriction placed on values is + * that their size must be less than or equal to 262144 bytes (256 KiB). + */ public String getValue() { return value; } + /** + * Value for the metadata entry. These are free-form strings, and only have meaning as + * interpreted by the image running in the instance. The only restriction placed on values is + * that their size must be less than or equal to 262144 bytes (256 KiB). + */ public Builder setValue(String value) { this.value = value; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/License.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/License.java index 4d55dfe26347..4f3c1623ec19 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/License.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/License.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** A license resource. */ public final class License implements ApiMessage { private final Boolean chargesUseFee; private final String creationTimestamp; @@ -119,30 +120,44 @@ public List getFieldMask() { return null; } + /** + * [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee. + */ public Boolean getChargesUseFee() { return chargesUseFee; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional textual description of the resource; provided by the client when the resource is + * created. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of resource. Always compute#license for licenses. */ public String getKind() { return kind; } + /** [Output Only] The unique code used to attach this license to images, snapshots, and disks. */ public String getLicenseCode() { return licenseCode; } + /** Name of the resource. The name must be 1-63 characters long and comply with RFC1035. */ public String getName() { return name; } @@ -151,10 +166,15 @@ public LicenseResourceRequirements getResourceRequirements() { return resourceRequirements; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * If false, licenses will not be copied from the source resource when creating an image from a + * disk, disk from snapshot, or snapshot from disk. + */ public Boolean getTransferable() { return transferable; } @@ -243,64 +263,100 @@ public Builder mergeFrom(License other) { this.transferable = source.transferable; } + /** + * [Output Only] Deprecated. This field no longer reflects whether a license charges a usage + * fee. + */ public Boolean getChargesUseFee() { return chargesUseFee; } + /** + * [Output Only] Deprecated. This field no longer reflects whether a license charges a usage + * fee. + */ public Builder setChargesUseFee(Boolean chargesUseFee) { this.chargesUseFee = chargesUseFee; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional textual description of the resource; provided by the client when the resource is + * created. + */ public String getDescription() { return description; } + /** + * An optional textual description of the resource; provided by the client when the resource is + * created. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of resource. Always compute#license for licenses. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#license for licenses. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] The unique code used to attach this license to images, snapshots, and disks. + */ public String getLicenseCode() { return licenseCode; } + /** + * [Output Only] The unique code used to attach this license to images, snapshots, and disks. + */ public Builder setLicenseCode(String licenseCode) { this.licenseCode = licenseCode; return this; } + /** Name of the resource. The name must be 1-63 characters long and comply with RFC1035. */ public String getName() { return name; } + /** Name of the resource. The name must be 1-63 characters long and comply with RFC1035. */ public Builder setName(String name) { this.name = name; return this; @@ -315,19 +371,29 @@ public Builder setResourceRequirements(LicenseResourceRequirements resourceRequi return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * If false, licenses will not be copied from the source resource when creating an image from a + * disk, disk from snapshot, or snapshot from disk. + */ public Boolean getTransferable() { return transferable; } + /** + * If false, licenses will not be copied from the source resource when creating an image from a + * disk, disk from snapshot, or snapshot from disk. + */ public Builder setTransferable(Boolean transferable) { this.transferable = transferable; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseCode.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseCode.java index 9a33da499c55..f2cceb1215ae 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseCode.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseCode.java @@ -113,38 +113,55 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Description of this License Code. */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of resource. Always compute#licenseCode for licenses. */ public String getKind() { return kind; } + /** [Output Only] URL and description aliases of Licenses with the same License Code. */ public List getLicenseAliasList() { return licenseAlias; } + /** + * [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit + * integer. + */ public String getName() { return name; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Current state of this License Code. */ public String getState() { return state; } + /** + * [Output Only] If true, the license will remain attached when creating images or snapshots from + * disks. Otherwise, the license is not transferred. + */ public Boolean getTransferable() { return transferable; } @@ -228,46 +245,62 @@ public Builder mergeFrom(LicenseCode other) { this.transferable = source.transferable; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** [Output Only] Description of this License Code. */ public String getDescription() { return description; } + /** [Output Only] Description of this License Code. */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of resource. Always compute#licenseCode for licenses. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#licenseCode for licenses. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] URL and description aliases of Licenses with the same License Code. */ public List getLicenseAliasList() { return licenseAlias; } + /** [Output Only] URL and description aliases of Licenses with the same License Code. */ public Builder addAllLicenseAlias(List licenseAlias) { if (this.licenseAlias == null) { this.licenseAlias = new LinkedList<>(); @@ -276,6 +309,7 @@ public Builder addAllLicenseAlias(List licenseAlias) { return this; } + /** [Output Only] URL and description aliases of Licenses with the same License Code. */ public Builder addLicenseAlias(LicenseCodeLicenseAlias licenseAlias) { if (this.licenseAlias == null) { this.licenseAlias = new LinkedList<>(); @@ -284,37 +318,57 @@ public Builder addLicenseAlias(LicenseCodeLicenseAlias licenseAlias) { return this; } + /** + * [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 + * bit integer. + */ public String getName() { return name; } + /** + * [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 + * bit integer. + */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Current state of this License Code. */ public String getState() { return state; } + /** [Output Only] Current state of this License Code. */ public Builder setState(String state) { this.state = state; return this; } + /** + * [Output Only] If true, the license will remain attached when creating images or snapshots + * from disks. Otherwise, the license is not transferred. + */ public Boolean getTransferable() { return transferable; } + /** + * [Output Only] If true, the license will remain attached when creating images or snapshots + * from disks. Otherwise, the license is not transferred. + */ public Builder setTransferable(Boolean transferable) { this.transferable = transferable; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseCodeLicenseAlias.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseCodeLicenseAlias.java index 0dd81103c7c9..65fd0ae1a9a4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseCodeLicenseAlias.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseCodeLicenseAlias.java @@ -61,10 +61,12 @@ public List getFieldMask() { return null; } + /** [Output Only] Description of this License Code. */ public String getDescription() { return description; } + /** [Output Only] URL of license corresponding to this License Code. */ public String getSelfLink() { return selfLink; } @@ -113,19 +115,23 @@ public Builder mergeFrom(LicenseCodeLicenseAlias other) { this.selfLink = source.selfLink; } + /** [Output Only] Description of this License Code. */ public String getDescription() { return description; } + /** [Output Only] Description of this License Code. */ public Builder setDescription(String description) { this.description = description; return this; } + /** [Output Only] URL of license corresponding to this License Code. */ public String getSelfLink() { return selfLink; } + /** [Output Only] URL of license corresponding to this License Code. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseResourceRequirements.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseResourceRequirements.java index f7cd6b900168..2e11ded886d5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseResourceRequirements.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseResourceRequirements.java @@ -61,10 +61,17 @@ public List getFieldMask() { return null; } + /** + * Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and + * Instance start. + */ public Integer getMinGuestCpuCount() { return minGuestCpuCount; } + /** + * Minimum memory required to use the Instance. Enforced at Instance creation and Instance start. + */ public Integer getMinMemoryMb() { return minMemoryMb; } @@ -113,19 +120,35 @@ public Builder mergeFrom(LicenseResourceRequirements other) { this.minMemoryMb = source.minMemoryMb; } + /** + * Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and + * Instance start. + */ public Integer getMinGuestCpuCount() { return minGuestCpuCount; } + /** + * Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and + * Instance start. + */ public Builder setMinGuestCpuCount(Integer minGuestCpuCount) { this.minGuestCpuCount = minGuestCpuCount; return this; } + /** + * Minimum memory required to use the Instance. Enforced at Instance creation and Instance + * start. + */ public Integer getMinMemoryMb() { return minMemoryMb; } + /** + * Minimum memory required to use the Instance. Enforced at Instance creation and Instance + * start. + */ public Builder setMinMemoryMb(Integer minMemoryMb) { this.minMemoryMb = minMemoryMb; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicensesListResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicensesListResponse.java index 9b2552b8d6de..8ba5ebb4ebed 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicensesListResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicensesListResponse.java @@ -81,22 +81,32 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of License resources. */ public List getItemsList() { return items; } + /** + * [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] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -160,19 +170,23 @@ public Builder mergeFrom(LicensesListResponse other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of License resources. */ public List getItemsList() { return items; } + /** A list of License resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -181,6 +195,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of License resources. */ public Builder addItems(License items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -189,28 +204,44 @@ public Builder addItems(License items) { 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAcceleratorTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAcceleratorTypesHttpRequest.java index b56b714a1633..f86e833f5389 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAcceleratorTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAcceleratorTypesHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** 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; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/acceleratorTypes`. \`{zone}\` 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 getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListAcceleratorTypesHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** 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; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/acceleratorTypes`. \`{zone}\` 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 getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/acceleratorTypes`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAddressesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAddressesHttpRequest.java index f1c6e576b9ff..f05d46fbf8fe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAddressesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAddressesHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/addresses`. \`{region}\` 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 getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListAddressesHttpRequest other) { 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/addresses`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/addresses`. \`{region}\` 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 setRegion(String region) { this.region = region; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAutoscalersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAutoscalersHttpRequest.java index 42c7c5edc111..ab7b449be37d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAutoscalersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAutoscalersHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** 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; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` 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 getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListAutoscalersHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** 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; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` 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 getZone() { return zone; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAvailableFeaturesSslPoliciesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAvailableFeaturesSslPoliciesHttpRequest.java index bfd26660c907..1cbc8df4c596 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAvailableFeaturesSslPoliciesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListAvailableFeaturesSslPoliciesHttpRequest.java @@ -137,50 +137,104 @@ 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/sslPolicies/listAvailableFeatures`. \`{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; } @@ -279,109 +333,221 @@ public Builder mergeFrom(ListAvailableFeaturesSslPoliciesHttpRequest other) { 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/sslPolicies/listAvailableFeatures`. \`{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/sslPolicies/listAvailableFeatures`. \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendBucketsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendBucketsHttpRequest.java index d9258bd41024..947ffcdb40cd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendBucketsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendBucketsHttpRequest.java @@ -137,50 +137,104 @@ 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/backendBuckets`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListBackendBucketsHttpRequest other) { 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/backendBuckets`. + * \`{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/backendBuckets`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendServicesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendServicesHttpRequest.java index 60b3d29b4c31..08f0f2ef1473 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendServicesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListBackendServicesHttpRequest.java @@ -137,50 +137,104 @@ 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/backendServices`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListBackendServicesHttpRequest other) { 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/backendServices`. + * \`{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/backendServices`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDiskTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDiskTypesHttpRequest.java index c5fe5454c941..cb245f1af3de 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDiskTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDiskTypesHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** 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; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/diskTypes`. \`{zone}\` 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 getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListDiskTypesHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** 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; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/diskTypes`. \`{zone}\` 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 getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/diskTypes`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDisksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDisksHttpRequest.java index b7d56982fd2d..bf049c2475af 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDisksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListDisksHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** 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; } + /** + * The name of the zone for this request. It must have the format `{project}/zones/{zone}/disks`. + * \`{zone}\` 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 getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListDisksHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** 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; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/disks`. \`{zone}\` 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 getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/disks`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListFirewallsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListFirewallsHttpRequest.java index bacaf8cddc4f..58c50b2fc8a5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListFirewallsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListFirewallsHttpRequest.java @@ -137,50 +137,104 @@ 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/firewalls`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListFirewallsHttpRequest other) { 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/firewalls`. + * \`{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/firewalls`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListForwardingRulesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListForwardingRulesHttpRequest.java index ee107e2dfc70..6abb1b3a9ba7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListForwardingRulesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListForwardingRulesHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/forwardingRules`. \`{region}\` 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 getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListForwardingRulesHttpRequest other) { 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/forwardingRules`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/forwardingRules`. \`{region}\` 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 setRegion(String region) { this.region = region; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalAddressesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalAddressesHttpRequest.java index 09487640441c..3ac03e40536e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalAddressesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalAddressesHttpRequest.java @@ -134,50 +134,104 @@ 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/addresses`. + * \`{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; } @@ -276,109 +330,219 @@ public Builder mergeFrom(ListGlobalAddressesHttpRequest other) { 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/addresses`. + * \`{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/addresses`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalForwardingRulesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalForwardingRulesHttpRequest.java index 49a586bbf039..109ea86707f7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalForwardingRulesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalForwardingRulesHttpRequest.java @@ -137,50 +137,104 @@ 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/forwardingRules`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListGlobalForwardingRulesHttpRequest other) { 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/forwardingRules`. + * \`{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/forwardingRules`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalOperationsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalOperationsHttpRequest.java index 6704ac58a9da..16bbfe6e8198 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalOperationsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListGlobalOperationsHttpRequest.java @@ -137,50 +137,104 @@ 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/operations`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListGlobalOperationsHttpRequest other) { 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/operations`. + * \`{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/operations`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHealthChecksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHealthChecksHttpRequest.java index b25b8a8389be..73ca800503d8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHealthChecksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHealthChecksHttpRequest.java @@ -137,50 +137,104 @@ 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/healthChecks`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListHealthChecksHttpRequest other) { 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/healthChecks`. + * \`{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/healthChecks`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpHealthChecksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpHealthChecksHttpRequest.java index 70706b6763ed..a6e2ad54e347 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpHealthChecksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpHealthChecksHttpRequest.java @@ -137,50 +137,104 @@ 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/httpHealthChecks`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListHttpHealthChecksHttpRequest other) { 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/httpHealthChecks`. + * \`{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/httpHealthChecks`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpsHealthChecksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpsHealthChecksHttpRequest.java index 2a9b053fff04..438e94c0ee7a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpsHealthChecksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListHttpsHealthChecksHttpRequest.java @@ -137,50 +137,104 @@ 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/httpsHealthChecks`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListHttpsHealthChecksHttpRequest other) { 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/httpsHealthChecks`. + * \`{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/httpsHealthChecks`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListImagesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListImagesHttpRequest.java index cb169b2ebd81..faad236a3719 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListImagesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListImagesHttpRequest.java @@ -140,50 +140,104 @@ 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/images`. \`{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; } @@ -282,109 +336,219 @@ public Builder mergeFrom(ListImagesHttpRequest other) { 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/images`. \`{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/images`. \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagersHttpRequest.java index a38a4b8807bd..711800d2d92b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagersHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** 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; } + /** + * The name of the zone where the managed instance group is located. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers`. \`{zone}\` 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 getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListInstanceGroupManagersHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** 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; } + /** + * The name of the zone where the managed instance group is located. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers`. \`{zone}\` 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 getZone() { return zone; } + /** + * The name of the zone where the managed instance group is located. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupsHttpRequest.java index 427572002881..d28eac2bb69c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupsHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** 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; } + /** + * The name of the zone where the instance group is located. It must have the format + * `{project}/zones/{zone}/instanceGroups`. \`{zone}\` 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 getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListInstanceGroupsHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** 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; } + /** + * The name of the zone where the instance group is located. It must have the format + * `{project}/zones/{zone}/instanceGroups`. \`{zone}\` 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 getZone() { return zone; } + /** + * The name of the zone where the instance group is located. It must have the format + * `{project}/zones/{zone}/instanceGroups`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceTemplatesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceTemplatesHttpRequest.java index 29cb5b61de76..7d1bfe2416f6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceTemplatesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstanceTemplatesHttpRequest.java @@ -137,50 +137,104 @@ 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/instanceTemplates`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListInstanceTemplatesHttpRequest other) { 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/instanceTemplates`. + * \`{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/instanceTemplates`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesHttpRequest.java index 5eedfd77b595..eb6873a10a54 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** 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; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/instances`. \`{zone}\` 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 getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListInstancesHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** 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; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/instances`. \`{zone}\` 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 getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/instances`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesInstanceGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesInstanceGroupsHttpRequest.java index b3dc4a186a11..d3dac8b75a3a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesInstanceGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesInstanceGroupsHttpRequest.java @@ -144,22 +144,52 @@ 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; } + /** + * The name of the instance group from which you want to generate a list of included instances. It + * must have the format `{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances`. + * \`{instanceGroup}\` 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 getInstanceGroup() { return instanceGroup; } @@ -168,30 +198,55 @@ public InstanceGroupsListInstancesRequest getInstanceGroupsListInstancesRequestR return instanceGroupsListInstancesRequestResource; } + /** 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; } + /** 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; } @@ -297,46 +352,110 @@ public Builder mergeFrom(ListInstancesInstanceGroupsHttpRequest other) { 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; } + /** + * The name of the instance group from which you want to generate a list of included instances. + * It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances`. \`{instanceGroup}\` + * 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 getInstanceGroup() { return instanceGroup; } + /** + * The name of the instance group from which you want to generate a list of included instances. + * It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances`. \`{instanceGroup}\` + * 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 setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; return this; @@ -352,64 +471,114 @@ public Builder setInstanceGroupsListInstancesRequestResource( 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesRegionInstanceGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesRegionInstanceGroupsHttpRequest.java index ebdaa54e544b..8bc27bc50e2b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesRegionInstanceGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInstancesRegionInstanceGroupsHttpRequest.java @@ -147,46 +147,100 @@ 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; } + /** + * Name of the regional instance group for which we want to list the instances. It must have the + * format `{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances`. + * \`{instanceGroup}\` 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 getInstanceGroup() { return instanceGroup; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -196,6 +250,7 @@ public String getQuotaUser() { return regionInstanceGroupsListInstancesRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -302,100 +357,210 @@ public Builder mergeFrom(ListInstancesRegionInstanceGroupsHttpRequest other) { 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; } + /** + * Name of the regional instance group for which we want to list the instances. It must have the + * format `{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances`. + * \`{instanceGroup}\` 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 getInstanceGroup() { return instanceGroup; } + /** + * Name of the regional instance group for which we want to list the instances. It must have the + * format `{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances`. + * \`{instanceGroup}\` 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 setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -413,10 +578,12 @@ public Builder setRegionInstanceGroupsListInstancesRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectAttachmentsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectAttachmentsHttpRequest.java index aa23c9eac909..9860635308d3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectAttachmentsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectAttachmentsHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/interconnectAttachments`. \`{region}\` 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 getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,221 @@ public Builder mergeFrom(ListInterconnectAttachmentsHttpRequest other) { 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/interconnectAttachments`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/interconnectAttachments`. \`{region}\` 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 setRegion(String region) { this.region = region; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectLocationsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectLocationsHttpRequest.java index ed5d42e41ff4..bc2c47c8246f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectLocationsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectLocationsHttpRequest.java @@ -137,50 +137,104 @@ 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/interconnectLocations`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListInterconnectLocationsHttpRequest other) { 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/interconnectLocations`. \`{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/interconnectLocations`. \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectsHttpRequest.java index 94dd7fc2fe99..d31532ea615f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListInterconnectsHttpRequest.java @@ -137,50 +137,104 @@ 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/interconnects`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListInterconnectsHttpRequest other) { 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/interconnects`. + * \`{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/interconnects`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListLicensesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListLicensesHttpRequest.java index 8df955ad34dc..30586f5ae7c1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListLicensesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListLicensesHttpRequest.java @@ -140,50 +140,104 @@ 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/licenses`. \`{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; } @@ -282,109 +336,219 @@ public Builder mergeFrom(ListLicensesHttpRequest other) { 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/licenses`. + * \`{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/licenses`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListMachineTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListMachineTypesHttpRequest.java index 65cae5edf9ec..8cccf41681b2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListMachineTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListMachineTypesHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** 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; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/machineTypes`. \`{zone}\` 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 getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListMachineTypesHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** 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; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/machineTypes`. \`{zone}\` 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 getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/machineTypes`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesInstanceGroupManagersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesInstanceGroupManagersHttpRequest.java index 081150476a5e..5f4f61bb0d3e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesInstanceGroupManagersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesInstanceGroupManagersHttpRequest.java @@ -140,50 +140,105 @@ 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** 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; } + /** 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; } @@ -283,109 +338,221 @@ public Builder mergeFrom(ListManagedInstancesInstanceGroupManagersHttpRequest ot 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesRegionInstanceGroupManagersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesRegionInstanceGroupManagersHttpRequest.java index a9be54f0cf1b..400e3d2282d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesRegionInstanceGroupManagersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListManagedInstancesRegionInstanceGroupManagersHttpRequest.java @@ -139,50 +139,105 @@ 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** 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; } + /** 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; } @@ -283,109 +338,221 @@ public Builder mergeFrom(ListManagedInstancesRegionInstanceGroupManagersHttpRequ 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNetworksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNetworksHttpRequest.java index 7b6ce593c2e2..249bca7db19b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNetworksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNetworksHttpRequest.java @@ -137,50 +137,104 @@ 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/networks`. \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListNetworksHttpRequest other) { 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/networks`. + * \`{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/networks`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeGroupsHttpRequest.java index 848a9f712462..628ae3779a23 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeGroupsHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** 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; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups`. \`{zone}\` 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 getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListNodeGroupsHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** 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; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups`. \`{zone}\` 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 getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTemplatesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTemplatesHttpRequest.java index 63cb37aaed69..e90c0b649bb2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTemplatesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTemplatesHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * The name of the region for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates`. \`{region}\` 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 getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListNodeTemplatesHttpRequest other) { 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * The name of the region for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates`. \`{region}\` 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 getRegion() { return region; } + /** + * The name of the region for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates`. \`{region}\` 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 setRegion(String region) { this.region = region; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTypesHttpRequest.java index 094f29c3138b..d586c25395ec 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodeTypesHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** 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; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/nodeTypes`. \`{zone}\` 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 getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListNodeTypesHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** 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; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/nodeTypes`. \`{zone}\` 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 getZone() { return zone; } + /** + * The name of the zone for this request. It must have the format + * `{project}/zones/{zone}/nodeTypes`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodesNodeGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodesNodeGroupsHttpRequest.java index aeeeb0fba945..3fd7c0186304 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodesNodeGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListNodesNodeGroupsHttpRequest.java @@ -134,50 +134,105 @@ 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; } + /** + * Name of the NodeGroup resource whose nodes you want to list. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes`. \`{nodeGroup}\` 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 getNodeGroup() { return nodeGroup; } + /** + * 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; } + /** 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; } @@ -276,109 +331,221 @@ public Builder mergeFrom(ListNodesNodeGroupsHttpRequest other) { 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; } + /** + * Name of the NodeGroup resource whose nodes you want to list. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes`. \`{nodeGroup}\` 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 getNodeGroup() { return nodeGroup; } + /** + * Name of the NodeGroup resource whose nodes you want to list. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes`. \`{nodeGroup}\` 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 setNodeGroup(String nodeGroup) { this.nodeGroup = nodeGroup; 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListReferrersInstancesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListReferrersInstancesHttpRequest.java index c1070107d252..d0847317aff1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListReferrersInstancesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListReferrersInstancesHttpRequest.java @@ -138,50 +138,106 @@ 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; } + /** + * Name of the target instance scoping this request, or '-' if the request should span over all + * instances in the container. It must have the format + * `{project}/zones/{zone}/instances/{instance}/referrers`. \`{instance}\` 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 getInstance() { return instance; } + /** 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; } + /** 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; } @@ -280,109 +336,223 @@ public Builder mergeFrom(ListReferrersInstancesHttpRequest other) { 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; } + /** + * Name of the target instance scoping this request, or '-' if the request should span over all + * instances in the container. It must have the format + * `{project}/zones/{zone}/instances/{instance}/referrers`. \`{instance}\` 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 getInstance() { return instance; } + /** + * Name of the target instance scoping this request, or '-' if the request should span over all + * instances in the container. It must have the format + * `{project}/zones/{zone}/instances/{instance}/referrers`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionAutoscalersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionAutoscalersHttpRequest.java index ff379f5d4558..4e36f7d62714 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionAutoscalersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionAutoscalersHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` 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 getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRegionAutoscalersHttpRequest other) { 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` 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 setRegion(String region) { this.region = region; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionBackendServicesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionBackendServicesHttpRequest.java index 02ae11353f2e..3631fa023be3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionBackendServicesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionBackendServicesHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/backendServices`. \`{region}\` 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 getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRegionBackendServicesHttpRequest other) { 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/backendServices`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/backendServices`. \`{region}\` 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 setRegion(String region) { this.region = region; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionCommitmentsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionCommitmentsHttpRequest.java index 895cd686f051..9304bcdcbe47 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionCommitmentsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionCommitmentsHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/commitments`. \`{region}\` 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 getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRegionCommitmentsHttpRequest other) { 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/commitments`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/commitments`. \`{region}\` 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 setRegion(String region) { this.region = region; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDiskTypesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDiskTypesHttpRequest.java index 6dbb8c8b3087..51c5ba9bc481 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDiskTypesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDiskTypesHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * The name of the region for this request. It must have the format + * `{project}/regions/{region}/diskTypes`. \`{region}\` 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 getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRegionDiskTypesHttpRequest other) { 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * The name of the region for this request. It must have the format + * `{project}/regions/{region}/diskTypes`. \`{region}\` 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 getRegion() { return region; } + /** + * The name of the region for this request. It must have the format + * `{project}/regions/{region}/diskTypes`. \`{region}\` 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 setRegion(String region) { this.region = region; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDisksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDisksHttpRequest.java index 15291887109a..9680f51f3365 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDisksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionDisksHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/disks`. \`{region}\` 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 getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRegionDisksHttpRequest other) { 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/disks`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/disks`. \`{region}\` 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 setRegion(String region) { this.region = region; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupManagersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupManagersHttpRequest.java index ae41e3edbe7e..348e5f5626be 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupManagersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupManagersHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/instanceGroupManagers`. \`{region}\` 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 getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,221 @@ public Builder mergeFrom(ListRegionInstanceGroupManagersHttpRequest other) { 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/instanceGroupManagers`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/instanceGroupManagers`. \`{region}\` 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 setRegion(String region) { this.region = region; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupsHttpRequest.java index 9e0d20ae82a1..1b9313ae7f4f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionInstanceGroupsHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/instanceGroups`. \`{region}\` 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 getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRegionInstanceGroupsHttpRequest other) { 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/instanceGroups`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/instanceGroups`. \`{region}\` 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 setRegion(String region) { this.region = region; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionOperationsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionOperationsHttpRequest.java index ea3c117e7c11..748c7331467a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionOperationsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionOperationsHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/operations`. \`{region}\` 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 getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRegionOperationsHttpRequest other) { 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/operations`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/operations`. \`{region}\` 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 setRegion(String region) { this.region = region; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionsHttpRequest.java index 4a3e8f5b946c..0b99247a5d3f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRegionsHttpRequest.java @@ -137,50 +137,104 @@ 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}/regions`. \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRegionsHttpRequest other) { 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}/regions`. \`{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}/regions`. \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutersHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutersHttpRequest.java index 3fcd7fd3aa77..6c386498f37e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutersHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutersHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/routers`. \`{region}\` 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 getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRoutersHttpRequest other) { 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/routers`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/routers`. \`{region}\` 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 setRegion(String region) { this.region = region; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutesHttpRequest.java index d8811d0f85b7..258cff28d29e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListRoutesHttpRequest.java @@ -137,50 +137,104 @@ 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/routes`. \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListRoutesHttpRequest other) { 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/routes`. \`{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/routes`. \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSecurityPoliciesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSecurityPoliciesHttpRequest.java index 145a5e90d3b3..8706f0ff3e35 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSecurityPoliciesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSecurityPoliciesHttpRequest.java @@ -137,50 +137,104 @@ 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`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListSecurityPoliciesHttpRequest other) { 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`. + * \`{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`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSnapshotsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSnapshotsHttpRequest.java index 9e4b0bb9bc39..746c52f4cf3e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSnapshotsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSnapshotsHttpRequest.java @@ -137,50 +137,104 @@ 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/snapshots`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListSnapshotsHttpRequest other) { 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/snapshots`. + * \`{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/snapshots`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslCertificatesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslCertificatesHttpRequest.java index abb59269f89e..c507f0612ec0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslCertificatesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslCertificatesHttpRequest.java @@ -137,50 +137,104 @@ 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/sslCertificates`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListSslCertificatesHttpRequest other) { 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/sslCertificates`. + * \`{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/sslCertificates`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslPoliciesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslPoliciesHttpRequest.java index c47f52d1fb6e..46da8fbede82 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslPoliciesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSslPoliciesHttpRequest.java @@ -137,50 +137,104 @@ 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/sslPolicies`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListSslPoliciesHttpRequest other) { 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/sslPolicies`. + * \`{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/sslPolicies`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSubnetworksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSubnetworksHttpRequest.java index f925ee238f08..fb5ba8887002 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSubnetworksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListSubnetworksHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/subnetworks`. \`{region}\` 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 getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListSubnetworksHttpRequest other) { 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/subnetworks`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/subnetworks`. \`{region}\` 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 setRegion(String region) { this.region = region; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpProxiesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpProxiesHttpRequest.java index c380d2b91eff..ddf42e9fca56 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpProxiesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpProxiesHttpRequest.java @@ -137,50 +137,104 @@ 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/targetHttpProxies`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListTargetHttpProxiesHttpRequest other) { 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/targetHttpProxies`. + * \`{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/targetHttpProxies`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpsProxiesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpsProxiesHttpRequest.java index f908babf7cd1..9427e5fd8236 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpsProxiesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetHttpsProxiesHttpRequest.java @@ -137,50 +137,104 @@ 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/targetHttpsProxies`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListTargetHttpsProxiesHttpRequest other) { 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/targetHttpsProxies`. + * \`{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/targetHttpsProxies`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetInstancesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetInstancesHttpRequest.java index 8a52860e2b48..8f6bee669fcd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetInstancesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetInstancesHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** 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; } + /** + * Name of the zone scoping this request. It must have the format + * `{project}/zones/{zone}/targetInstances`. \`{zone}\` 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 getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListTargetInstancesHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** 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; } + /** + * Name of the zone scoping this request. It must have the format + * `{project}/zones/{zone}/targetInstances`. \`{zone}\` 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 getZone() { return zone; } + /** + * Name of the zone scoping this request. It must have the format + * `{project}/zones/{zone}/targetInstances`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetPoolsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetPoolsHttpRequest.java index d157b6dea9f0..ff3868a326ea 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetPoolsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetPoolsHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/targetPools`. \`{region}\` 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 getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListTargetPoolsHttpRequest other) { 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/targetPools`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/targetPools`. \`{region}\` 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 setRegion(String region) { this.region = region; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetSslProxiesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetSslProxiesHttpRequest.java index 3be909a5c568..ecb03649f7f2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetSslProxiesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetSslProxiesHttpRequest.java @@ -137,50 +137,104 @@ 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/targetSslProxies`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListTargetSslProxiesHttpRequest other) { 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/targetSslProxies`. + * \`{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/targetSslProxies`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetTcpProxiesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetTcpProxiesHttpRequest.java index 2bf81c72b473..bef7bad13c2e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetTcpProxiesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetTcpProxiesHttpRequest.java @@ -137,50 +137,104 @@ 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/targetTcpProxies`. + * \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListTargetTcpProxiesHttpRequest other) { 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/targetTcpProxies`. + * \`{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/targetTcpProxies`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetVpnGatewaysHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetVpnGatewaysHttpRequest.java index 84593cb99562..131e9ba83abc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetVpnGatewaysHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListTargetVpnGatewaysHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/targetVpnGateways`. \`{region}\` 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 getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListTargetVpnGatewaysHttpRequest other) { 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/targetVpnGateways`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/targetVpnGateways`. \`{region}\` 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 setRegion(String region) { this.region = region; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUrlMapsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUrlMapsHttpRequest.java index 9a5785bc27f1..35983ccf286b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUrlMapsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUrlMapsHttpRequest.java @@ -137,50 +137,104 @@ 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/urlMaps`. \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListUrlMapsHttpRequest other) { 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/urlMaps`. + * \`{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/urlMaps`. + * \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUsableSubnetworksHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUsableSubnetworksHttpRequest.java index e9c26c93580f..3067ab151a30 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUsableSubnetworksHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListUsableSubnetworksHttpRequest.java @@ -137,50 +137,104 @@ 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}/aggregated/subnetworks/listUsable`. \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListUsableSubnetworksHttpRequest other) { 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}/aggregated/subnetworks/listUsable`. \`{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}/aggregated/subnetworks/listUsable`. \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListVpnTunnelsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListVpnTunnelsHttpRequest.java index ebd68176083e..88acd87880e3 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListVpnTunnelsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListVpnTunnelsHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/vpnTunnels`. \`{region}\` 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 getRegion() { return region; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListVpnTunnelsHttpRequest other) { 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/vpnTunnels`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region for this request. It must have the format + * `{project}/regions/{region}/vpnTunnels`. \`{region}\` 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 setRegion(String region) { this.region = region; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListXpnHostsProjectsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListXpnHostsProjectsHttpRequest.java index 073568154310..1a232c22a435 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListXpnHostsProjectsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListXpnHostsProjectsHttpRequest.java @@ -144,42 +144,94 @@ 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}/listXpnHosts`. \`{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; } @@ -188,10 +240,12 @@ public ProjectsListXpnHostsRequest getProjectsListXpnHostsRequestResource() { return projectsListXpnHostsRequestResource; } + /** 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; } @@ -295,91 +349,197 @@ public Builder mergeFrom(ListXpnHostsProjectsHttpRequest other) { 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}/listXpnHosts`. \`{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}/listXpnHosts`. \`{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; @@ -395,19 +555,23 @@ public Builder setProjectsListXpnHostsRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZoneOperationsHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZoneOperationsHttpRequest.java index 8547ad66ca72..eb9ca20331ef 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZoneOperationsHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZoneOperationsHttpRequest.java @@ -137,50 +137,104 @@ 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; } + /** 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; } + /** + * Name of the zone for request. It must have the format `{project}/zones/{zone}/operations`. + * \`{zone}\` 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 getZone() { return zone; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListZoneOperationsHttpRequest other) { this.zone = source.zone; } + /** 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; } + /** 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; } + /** + * Name of the zone for request. It must have the format `{project}/zones/{zone}/operations`. + * \`{zone}\` 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 getZone() { return zone; } + /** + * Name of the zone for request. It must have the format `{project}/zones/{zone}/operations`. + * \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZonesHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZonesHttpRequest.java index 17ac6f0a7e2b..e6376d26e09e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZonesHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ListZonesHttpRequest.java @@ -137,50 +137,104 @@ 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}/zones`. \`{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; } @@ -279,109 +333,219 @@ public Builder mergeFrom(ListZonesHttpRequest other) { 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}/zones`. \`{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}/zones`. \`{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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfig.java index c454e7ffae80..afeb813c7aba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfig.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Specifies what kind of log the caller must write */ public final class LogConfig implements ApiMessage { private final LogConfigCloudAuditOptions cloudAudit; private final LogConfigCounterOptions counter; @@ -70,14 +71,17 @@ public List getFieldMask() { return null; } + /** Cloud audit options. */ public LogConfigCloudAuditOptions getCloudAudit() { return cloudAudit; } + /** Counter options. */ public LogConfigCounterOptions getCounter() { return counter; } + /** Data access options. */ public LogConfigDataAccessOptions getDataAccess() { return dataAccess; } @@ -131,28 +135,34 @@ public Builder mergeFrom(LogConfig other) { this.dataAccess = source.dataAccess; } + /** Cloud audit options. */ public LogConfigCloudAuditOptions getCloudAudit() { return cloudAudit; } + /** Cloud audit options. */ public Builder setCloudAudit(LogConfigCloudAuditOptions cloudAudit) { this.cloudAudit = cloudAudit; return this; } + /** Counter options. */ public LogConfigCounterOptions getCounter() { return counter; } + /** Counter options. */ public Builder setCounter(LogConfigCounterOptions counter) { this.counter = counter; return this; } + /** Data access options. */ public LogConfigDataAccessOptions getDataAccess() { return dataAccess; } + /** Data access options. */ public Builder setDataAccess(LogConfigDataAccessOptions dataAccess) { this.dataAccess = dataAccess; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigCloudAuditOptions.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigCloudAuditOptions.java index aa472bdc542e..9df51cdee947 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigCloudAuditOptions.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigCloudAuditOptions.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Write a Cloud Audit log */ public final class LogConfigCloudAuditOptions implements ApiMessage { private final AuthorizationLoggingOptions authorizationLoggingOptions; private final String logName; @@ -62,10 +63,12 @@ public List getFieldMask() { return null; } + /** Information used by the Cloud Audit Logging pipeline. */ public AuthorizationLoggingOptions getAuthorizationLoggingOptions() { return authorizationLoggingOptions; } + /** The log_name to populate in the Cloud Audit Record. */ public String getLogName() { return logName; } @@ -114,20 +117,24 @@ public Builder mergeFrom(LogConfigCloudAuditOptions other) { this.logName = source.logName; } + /** Information used by the Cloud Audit Logging pipeline. */ public AuthorizationLoggingOptions getAuthorizationLoggingOptions() { return authorizationLoggingOptions; } + /** Information used by the Cloud Audit Logging pipeline. */ public Builder setAuthorizationLoggingOptions( AuthorizationLoggingOptions authorizationLoggingOptions) { this.authorizationLoggingOptions = authorizationLoggingOptions; return this; } + /** The log_name to populate in the Cloud Audit Record. */ public String getLogName() { return logName; } + /** The log_name to populate in the Cloud Audit Record. */ public Builder setLogName(String logName) { this.logName = logName; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigCounterOptions.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigCounterOptions.java index 848fcdb6395a..281ff9dcb005 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigCounterOptions.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigCounterOptions.java @@ -24,6 +24,27 @@ @Generated("by GAPIC") @BetaApi +/** + * Increment a streamz counter with the specified metric and field names. + * + *

Metric names should start with a '/', generally be lowercase-only, and end in "_count". Field + * names should not contain an initial slash. The actual exported metric names will have + * "/iam/policy" prepended. + * + *

Field names correspond to IAM request parameters and field values are their respective values. + * + *

Supported field names: - "authority", which is "[token]" if IAMContext.token is present, + * otherwise the value of IAMContext.authority_selector if present, and otherwise a representation + * of IAMContext.principal; or - "iam_principal", a representation of IAMContext.principal even if a + * token or authority selector is present; or - "" (empty string), resulting in a counter with no + * fields. + * + *

Examples: counter { metric: "/debug_access_count" field: "iam_principal" } ==> increment + * counter /iam/policy/backend_debug_access_count {iam_principal=[value of IAMContext.principal]} + * + *

At this time we do not support multiple field names (though this may be supported in the + * future). + */ public final class LogConfigCounterOptions implements ApiMessage { private final String field; private final String metric; @@ -61,10 +82,12 @@ public List getFieldMask() { return null; } + /** The field value to attribute. */ public String getField() { return field; } + /** The metric to update. */ public String getMetric() { return metric; } @@ -113,19 +136,23 @@ public Builder mergeFrom(LogConfigCounterOptions other) { this.metric = source.metric; } + /** The field value to attribute. */ public String getField() { return field; } + /** The field value to attribute. */ public Builder setField(String field) { this.field = field; return this; } + /** The metric to update. */ public String getMetric() { return metric; } + /** The metric to update. */ public Builder setMetric(String metric) { this.metric = metric; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigDataAccessOptions.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigDataAccessOptions.java index 0626b27f432d..ee0f1de69237 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigDataAccessOptions.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LogConfigDataAccessOptions.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Write a Data Access (Gin) log */ public final class LogConfigDataAccessOptions implements ApiMessage { private final String logMode; @@ -55,6 +56,15 @@ public List getFieldMask() { return null; } + /** + * Whether Gin logging should happen in a fail-closed manner at the caller. This is relevant only + * in the LocalIAM implementation, for now. + * + *

NOTE: Logging to Gin in a fail-closed manner is currently unsupported while work is being + * done to satisfy the requirements of go/345. Currently, setting LOG_FAIL_CLOSED mode will have + * no effect, but still exists because there is active work being done to support it + * (b/115874152). + */ public String getLogMode() { return logMode; } @@ -98,10 +108,28 @@ public Builder mergeFrom(LogConfigDataAccessOptions other) { this.logMode = source.logMode; } + /** + * Whether Gin logging should happen in a fail-closed manner at the caller. This is relevant + * only in the LocalIAM implementation, for now. + * + *

NOTE: Logging to Gin in a fail-closed manner is currently unsupported while work is being + * done to satisfy the requirements of go/345. Currently, setting LOG_FAIL_CLOSED mode will have + * no effect, but still exists because there is active work being done to support it + * (b/115874152). + */ public String getLogMode() { return logMode; } + /** + * Whether Gin logging should happen in a fail-closed manner at the caller. This is relevant + * only in the LocalIAM implementation, for now. + * + *

NOTE: Logging to Gin in a fail-closed manner is currently unsupported while work is being + * done to satisfy the requirements of go/345. Currently, setting LOG_FAIL_CLOSED mode will have + * no effect, but still exists because there is active work being done to support it + * (b/115874152). + */ public Builder setLogMode(String logMode) { this.logMode = logMode; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineType.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineType.java index 581b43f64f1c..1cbad3237c22 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineType.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineType.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A Machine Type resource. (== resource_for v1.machineTypes ==) (== resource_for beta.machineTypes + * ==) + */ public final class MachineType implements ApiMessage { private final String creationTimestamp; private final DeprecationStatus deprecated; @@ -155,62 +159,84 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] The deprecation status associated with this machine type. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] An optional textual description of the resource. */ public String getDescription() { return description; } + /** [Output Only] The number of virtual CPUs that are available to the instance. */ public Integer getGuestCpus() { return guestCpus; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * [Deprecated] This property is deprecated and will never be populated with any relevant values. + */ public Integer getImageSpaceGb() { return imageSpaceGb; } + /** + * [Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for + * more information. + */ public Boolean getIsSharedCpu() { return isSharedCpu; } + /** [Output Only] The type of the resource. Always compute#machineType for machine types. */ public String getKind() { return kind; } + /** [Output Only] Maximum persistent disks allowed. */ public Integer getMaximumPersistentDisks() { return maximumPersistentDisks; } + /** [Output Only] Maximum total persistent disks size (GB) allowed. */ public String getMaximumPersistentDisksSizeGb() { return maximumPersistentDisksSizeGb; } + /** [Output Only] The amount of physical memory available to the instance, defined in MB. */ public Integer getMemoryMb() { return memoryMb; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] A list of extended scratch disks assigned to the instance. */ public List getScratchDisksList() { return scratchDisks; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The name of the zone where the machine type resides, such as us-central1-a. */ public String getZone() { return zone; } @@ -324,118 +350,162 @@ public Builder mergeFrom(MachineType other) { this.zone = source.zone; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** [Output Only] The deprecation status associated with this machine type. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] The deprecation status associated with this machine type. */ public Builder setDeprecated(DeprecationStatus deprecated) { this.deprecated = deprecated; return this; } + /** [Output Only] An optional textual description of the resource. */ public String getDescription() { return description; } + /** [Output Only] An optional textual description of the resource. */ public Builder setDescription(String description) { this.description = description; return this; } + /** [Output Only] The number of virtual CPUs that are available to the instance. */ public Integer getGuestCpus() { return guestCpus; } + /** [Output Only] The number of virtual CPUs that are available to the instance. */ public Builder setGuestCpus(Integer guestCpus) { this.guestCpus = guestCpus; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Deprecated] This property is deprecated and will never be populated with any relevant + * values. + */ public Integer getImageSpaceGb() { return imageSpaceGb; } + /** + * [Deprecated] This property is deprecated and will never be populated with any relevant + * values. + */ public Builder setImageSpaceGb(Integer imageSpaceGb) { this.imageSpaceGb = imageSpaceGb; return this; } + /** + * [Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for + * more information. + */ public Boolean getIsSharedCpu() { return isSharedCpu; } + /** + * [Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for + * more information. + */ public Builder setIsSharedCpu(Boolean isSharedCpu) { this.isSharedCpu = isSharedCpu; return this; } + /** [Output Only] The type of the resource. Always compute#machineType for machine types. */ public String getKind() { return kind; } + /** [Output Only] The type of the resource. Always compute#machineType for machine types. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] Maximum persistent disks allowed. */ public Integer getMaximumPersistentDisks() { return maximumPersistentDisks; } + /** [Output Only] Maximum persistent disks allowed. */ public Builder setMaximumPersistentDisks(Integer maximumPersistentDisks) { this.maximumPersistentDisks = maximumPersistentDisks; return this; } + /** [Output Only] Maximum total persistent disks size (GB) allowed. */ public String getMaximumPersistentDisksSizeGb() { return maximumPersistentDisksSizeGb; } + /** [Output Only] Maximum total persistent disks size (GB) allowed. */ public Builder setMaximumPersistentDisksSizeGb(String maximumPersistentDisksSizeGb) { this.maximumPersistentDisksSizeGb = maximumPersistentDisksSizeGb; return this; } + /** [Output Only] The amount of physical memory available to the instance, defined in MB. */ public Integer getMemoryMb() { return memoryMb; } + /** [Output Only] The amount of physical memory available to the instance, defined in MB. */ public Builder setMemoryMb(Integer memoryMb) { this.memoryMb = memoryMb; return this; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Name of the resource. */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] A list of extended scratch disks assigned to the instance. */ public List getScratchDisksList() { return scratchDisks; } + /** [Output Only] A list of extended scratch disks assigned to the instance. */ public Builder addAllScratchDisks(List scratchDisks) { if (this.scratchDisks == null) { this.scratchDisks = new LinkedList<>(); @@ -444,6 +514,7 @@ public Builder addAllScratchDisks(List scratchDisks) { return this; } + /** [Output Only] A list of extended scratch disks assigned to the instance. */ public Builder addScratchDisks(ScratchDisks scratchDisks) { if (this.scratchDisks == null) { this.scratchDisks = new LinkedList<>(); @@ -452,19 +523,23 @@ public Builder addScratchDisks(ScratchDisks scratchDisks) { return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] The name of the zone where the machine type resides, such as us-central1-a. */ public String getZone() { return zone; } + /** [Output Only] The name of the zone where the machine type resides, such as us-central1-a. */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeAggregatedList.java index 26a7403069f1..27e56f9745cd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of MachineTypesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of machine types. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#machineTypeAggregatedList for aggregated lists + * of machine types. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(MachineTypeAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of MachineTypesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of machine types. + */ public Map getItemsMap() { return items; } + /** + * A list of MachineTypesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of machine types. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#machineTypeAggregatedList for aggregated lists + * of machine types. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#machineTypeAggregatedList for aggregated lists + * of machine types. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeList.java index 5bd13afe0955..7870abd07061 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of machine types. */ public final class MachineTypeList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of MachineType resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#machineTypeList for lists of machine types. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(MachineTypeList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of MachineType resources. */ public List getItemsList() { return items; } + /** A list of MachineType resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of MachineType resources. */ public Builder addItems(MachineType items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,59 @@ public Builder addItems(MachineType items) { return this; } + /** + * [Output Only] Type of resource. Always compute#machineTypeList for lists of machine types. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#machineTypeList for lists of machine types. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypesScopedList.java index d96f69bbe7af..f8e17bfd6152 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypesScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of machine types contained in this scope. */ public List getMachineTypesList() { return machineTypes; } + /** [Output Only] An informational warning that appears when the machine types list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(MachineTypesScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of machine types contained in this scope. */ public List getMachineTypesList() { return machineTypes; } + /** [Output Only] A list of machine types contained in this scope. */ public Builder addAllMachineTypes(List machineTypes) { if (this.machineTypes == null) { this.machineTypes = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllMachineTypes(List machineTypes) { return this; } + /** [Output Only] A list of machine types contained in this scope. */ public Builder addMachineTypes(MachineType machineTypes) { if (this.machineTypes == null) { this.machineTypes = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addMachineTypes(MachineType machineTypes) { return this; } + /** [Output Only] An informational warning that appears when the machine types list is empty. */ public Warning getWarning() { return warning; } + /** [Output Only] An informational warning that appears when the machine types list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java index 46762286bc35..9e33ece61a7d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** A Managed Instance resource. */ public final class ManagedInstance implements ApiMessage { private final String currentAction; private final String id; @@ -84,22 +85,51 @@ public List getFieldMask() { return null; } + /** + * [Output Only] The current action that the managed instance group has scheduled for the + * instance. Possible values: - NONE The instance is running, and the managed instance group does + * not have any scheduled actions for this instance. - CREATING The managed instance group is + * creating this instance. If the group fails to create this instance, it will try again until it + * is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create + * this instance only once. If the group fails to create this instance, it does not try again and + * the group's targetSize value is decreased instead. - RECREATING The managed instance group is + * recreating this instance. - DELETING The managed instance group is permanently deleting this + * instance. - ABANDONING The managed instance group is abandoning this instance. The instance + * will be removed from the instance group and from any target pools that are associated with this + * group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The + * managed instance group is applying configuration changes to the instance without stopping it. + * For example, the group can update the target pool list for an instance without stopping that + * instance. - VERIFYING The managed instance group has created the instance and it is in the + * process of being verified. + */ public String getCurrentAction() { return currentAction; } + /** + * [Output only] The unique identifier for this resource. This field is empty when instance does + * not exist. + */ public String getId() { return id; } + /** + * [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been + * created. + */ public String getInstance() { return instance; } + /** + * [Output Only] The status of the instance. This field is empty when the instance does not exist. + */ public String getInstanceStatus() { return instanceStatus; } + /** [Output Only] Information about the last attempt to create or delete the instance. */ public ManagedInstanceLastAttempt getLastAttempt() { return lastAttempt; } @@ -163,46 +193,106 @@ public Builder mergeFrom(ManagedInstance other) { this.lastAttempt = source.lastAttempt; } + /** + * [Output Only] The current action that the managed instance group has scheduled for the + * instance. Possible values: - NONE The instance is running, and the managed instance group + * does not have any scheduled actions for this instance. - CREATING The managed instance group + * is creating this instance. If the group fails to create this instance, it will try again + * until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting + * to create this instance only once. If the group fails to create this instance, it does not + * try again and the group's targetSize value is decreased instead. - RECREATING The managed + * instance group is recreating this instance. - DELETING The managed instance group is + * permanently deleting this instance. - ABANDONING The managed instance group is abandoning + * this instance. The instance will be removed from the instance group and from any target pools + * that are associated with this group. - RESTARTING The managed instance group is restarting + * the instance. - REFRESHING The managed instance group is applying configuration changes to + * the instance without stopping it. For example, the group can update the target pool list for + * an instance without stopping that instance. - VERIFYING The managed instance group has + * created the instance and it is in the process of being verified. + */ public String getCurrentAction() { return currentAction; } + /** + * [Output Only] The current action that the managed instance group has scheduled for the + * instance. Possible values: - NONE The instance is running, and the managed instance group + * does not have any scheduled actions for this instance. - CREATING The managed instance group + * is creating this instance. If the group fails to create this instance, it will try again + * until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting + * to create this instance only once. If the group fails to create this instance, it does not + * try again and the group's targetSize value is decreased instead. - RECREATING The managed + * instance group is recreating this instance. - DELETING The managed instance group is + * permanently deleting this instance. - ABANDONING The managed instance group is abandoning + * this instance. The instance will be removed from the instance group and from any target pools + * that are associated with this group. - RESTARTING The managed instance group is restarting + * the instance. - REFRESHING The managed instance group is applying configuration changes to + * the instance without stopping it. For example, the group can update the target pool list for + * an instance without stopping that instance. - VERIFYING The managed instance group has + * created the instance and it is in the process of being verified. + */ public Builder setCurrentAction(String currentAction) { this.currentAction = currentAction; return this; } + /** + * [Output only] The unique identifier for this resource. This field is empty when instance does + * not exist. + */ public String getId() { return id; } + /** + * [Output only] The unique identifier for this resource. This field is empty when instance does + * not exist. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] The URL of the instance. The URL can exist even if the instance has not yet + * been created. + */ public String getInstance() { return instance; } + /** + * [Output Only] The URL of the instance. The URL can exist even if the instance has not yet + * been created. + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** + * [Output Only] The status of the instance. This field is empty when the instance does not + * exist. + */ public String getInstanceStatus() { return instanceStatus; } + /** + * [Output Only] The status of the instance. This field is empty when the instance does not + * exist. + */ public Builder setInstanceStatus(String instanceStatus) { this.instanceStatus = instanceStatus; return this; } + /** [Output Only] Information about the last attempt to create or delete the instance. */ public ManagedInstanceLastAttempt getLastAttempt() { return lastAttempt; } + /** [Output Only] Information about the last attempt to create or delete the instance. */ public Builder setLastAttempt(ManagedInstanceLastAttempt lastAttempt) { this.lastAttempt = lastAttempt; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstanceLastAttempt.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstanceLastAttempt.java index 9d5af52adf39..3a927e7263ae 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstanceLastAttempt.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ManagedInstanceLastAttempt.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** [Output Only] Encountered errors during the last attempt to create or delete the instance. */ public Errors getErrors() { return errors; } @@ -98,10 +99,16 @@ public Builder mergeFrom(ManagedInstanceLastAttempt other) { this.errors = source.errors; } + /** + * [Output Only] Encountered errors during the last attempt to create or delete the instance. + */ public Errors getErrors() { return errors; } + /** + * [Output Only] Encountered errors during the last attempt to create or delete the instance. + */ public Builder setErrors(Errors errors) { this.errors = errors; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Metadata.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Metadata.java index 8b62e9b8a4a4..06fd9748cc16 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Metadata.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Metadata.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A metadata key/value entry. */ public final class Metadata implements ApiMessage { private final String fingerprint; private final List items; @@ -68,14 +69,25 @@ public List getFieldMask() { return null; } + /** + * Specifies a fingerprint for this request, which is essentially a hash of the metadata's + * contents and used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update metadata. You must always provide an + * up-to-date fingerprint hash in order to update or change metadata, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve the resource. + */ public String getFingerprint() { return fingerprint; } + /** Array of key/value pairs. The total size of all keys and values must be less than 512 KB. */ public List getItemsList() { return items; } + /** [Output Only] Type of the resource. Always compute#metadata for metadata. */ public String getKind() { return kind; } @@ -129,19 +141,39 @@ public Builder mergeFrom(Metadata other) { this.kind = source.kind; } + /** + * Specifies a fingerprint for this request, which is essentially a hash of the metadata's + * contents and used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update metadata. You must always provide + * an up-to-date fingerprint hash in order to update or change metadata, otherwise the request + * will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve the resource. + */ public String getFingerprint() { return fingerprint; } + /** + * Specifies a fingerprint for this request, which is essentially a hash of the metadata's + * contents and used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update metadata. You must always provide + * an up-to-date fingerprint hash in order to update or change metadata, otherwise the request + * will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve the resource. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** Array of key/value pairs. The total size of all keys and values must be less than 512 KB. */ public List getItemsList() { return items; } + /** Array of key/value pairs. The total size of all keys and values must be less than 512 KB. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -150,6 +182,7 @@ public Builder addAllItems(List items) { return this; } + /** Array of key/value pairs. The total size of all keys and values must be less than 512 KB. */ public Builder addItems(Items items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -158,10 +191,12 @@ public Builder addItems(Items items) { return this; } + /** [Output Only] Type of the resource. Always compute#metadata for metadata. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#metadata for metadata. */ public Builder setKind(String kind) { this.kind = kind; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveDiskProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveDiskProjectHttpRequest.java index 9830089aff94..d9ec68157362 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveDiskProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveDiskProjectHttpRequest.java @@ -123,10 +123,12 @@ 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; } @@ -135,30 +137,55 @@ public DiskMoveRequest getDiskMoveRequestResource() { return diskMoveRequestResource; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/moveDisk`. \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,19 +274,23 @@ public Builder mergeFrom(MoveDiskProjectHttpRequest other) { 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; @@ -274,64 +305,114 @@ public Builder setDiskMoveRequestResource(DiskMoveRequest diskMoveRequestResourc 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; } + /** 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; } + /** 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}/moveDisk`. \`{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}/moveDisk`. \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveInstanceProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveInstanceProjectHttpRequest.java index 8a1019cf2604..7cb06bca0fdd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveInstanceProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MoveInstanceProjectHttpRequest.java @@ -123,14 +123,17 @@ 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; } @@ -139,26 +142,50 @@ public InstanceMoveRequest getInstanceMoveRequestResource() { return instanceMoveRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/moveInstance`. \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,28 +274,34 @@ public Builder mergeFrom(MoveInstanceProjectHttpRequest other) { 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; @@ -283,55 +316,103 @@ public Builder setInstanceMoveRequestResource(InstanceMoveRequest instanceMoveRe 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; } + /** 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}/moveInstance`. \`{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}/moveInstance`. \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NamedPort.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NamedPort.java index 1d1dcec1a9dd..002a5d1c6d34 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NamedPort.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NamedPort.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** The named port. For example: . */ public final class NamedPort implements ApiMessage { private final String name; private final Integer port; @@ -61,10 +62,14 @@ public List getFieldMask() { return null; } + /** + * The name for this named port. The name must be 1-63 characters long, and comply with RFC1035. + */ public String getName() { return name; } + /** The port number, which can be a value between 1 and 65535. */ public Integer getPort() { return port; } @@ -113,19 +118,27 @@ public Builder mergeFrom(NamedPort other) { this.port = source.port; } + /** + * The name for this named port. The name must be 1-63 characters long, and comply with RFC1035. + */ public String getName() { return name; } + /** + * The name for this named port. The name must be 1-63 characters long, and comply with RFC1035. + */ public Builder setName(String name) { this.name = name; return this; } + /** The port number, which can be a value between 1 and 65535. */ public Integer getPort() { return port; } + /** The port number, which can be a value between 1 and 65535. */ public Builder setPort(Integer port) { this.port = port; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Network.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Network.java index a315c8d78154..c66adc6cad2d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Network.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Network.java @@ -26,6 +26,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents a Network resource. Read Virtual Private Cloud (VPC) Network Overview for more + * information. (== resource_for v1.networks ==) (== resource_for beta.networks ==) + */ public final class Network implements ApiMessage { private final Boolean autoCreateSubnetworks; private final String creationTimestamp; @@ -138,50 +142,87 @@ public List getFieldMask() { return null; } + /** + * When set to true, the VPC network is created in "auto" mode. When set to false, the VPC network + * is created in "custom" mode. + * + *

An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined + * range as described in Auto mode VPC network IP ranges. + */ public Boolean getAutoCreateSubnetworks() { return autoCreateSubnetworks; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The gateway address for default routing out of the network. This value is read + * only and is selected by GCP. + */ public String getGatewayIPv4() { return gatewayIPv4; } + /** + * The range of internal addresses that are legal on this network. This range is a CIDR + * specification, for example: 192.168.0.0/16. Provided by the client when the network is created. + */ public String getIPv4Range() { return iPv4Range; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#network for networks. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** [Output Only] A list of network peerings for the resource. */ public List getPeeringsList() { return peerings; } + /** + * The network-level routing configuration for this network. Used by Cloud Router to determine + * what type of network-wide routing behavior to enforce. + */ public NetworkRoutingConfig getRoutingConfig() { return routingConfig; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network. */ public List getSubnetworksList() { return subnetworks; } @@ -280,82 +321,148 @@ public Builder mergeFrom(Network other) { this.subnetworks = source.subnetworks; } + /** + * When set to true, the VPC network is created in "auto" mode. When set to false, the VPC + * network is created in "custom" mode. + * + *

An auto mode VPC network starts with one subnet per region. Each subnet has a + * predetermined range as described in Auto mode VPC network IP ranges. + */ public Boolean getAutoCreateSubnetworks() { return autoCreateSubnetworks; } + /** + * When set to true, the VPC network is created in "auto" mode. When set to false, the VPC + * network is created in "custom" mode. + * + *

An auto mode VPC network starts with one subnet per region. Each subnet has a + * predetermined range as described in Auto mode VPC network IP ranges. + */ public Builder setAutoCreateSubnetworks(Boolean autoCreateSubnetworks) { this.autoCreateSubnetworks = autoCreateSubnetworks; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The gateway address for default routing out of the network. This value is read + * only and is selected by GCP. + */ public String getGatewayIPv4() { return gatewayIPv4; } + /** + * [Output Only] The gateway address for default routing out of the network. This value is read + * only and is selected by GCP. + */ public Builder setGatewayIPv4(String gatewayIPv4) { this.gatewayIPv4 = gatewayIPv4; return this; } + /** + * The range of internal addresses that are legal on this network. This range is a CIDR + * specification, for example: 192.168.0.0/16. Provided by the client when the network is + * created. + */ public String getIPv4Range() { return iPv4Range; } + /** + * The range of internal addresses that are legal on this network. This range is a CIDR + * specification, for example: 192.168.0.0/16. Provided by the client when the network is + * created. + */ public Builder setIPv4Range(String iPv4Range) { this.iPv4Range = iPv4Range; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#network for networks. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#network for networks. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] A list of network peerings for the resource. */ public List getPeeringsList() { return peerings; } + /** [Output Only] A list of network peerings for the resource. */ public Builder addAllPeerings(List peerings) { if (this.peerings == null) { this.peerings = new LinkedList<>(); @@ -364,6 +471,7 @@ public Builder addAllPeerings(List peerings) { return this; } + /** [Output Only] A list of network peerings for the resource. */ public Builder addPeerings(NetworkPeering peerings) { if (this.peerings == null) { this.peerings = new LinkedList<>(); @@ -372,28 +480,44 @@ public Builder addPeerings(NetworkPeering peerings) { return this; } + /** + * The network-level routing configuration for this network. Used by Cloud Router to determine + * what type of network-wide routing behavior to enforce. + */ public NetworkRoutingConfig getRoutingConfig() { return routingConfig; } + /** + * The network-level routing configuration for this network. Used by Cloud Router to determine + * what type of network-wide routing behavior to enforce. + */ public Builder setRoutingConfig(NetworkRoutingConfig routingConfig) { this.routingConfig = routingConfig; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network. + */ public List getSubnetworksList() { return subnetworks; } + /** + * [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network. + */ public Builder addAllSubnetworks(List subnetworks) { if (this.subnetworks == null) { this.subnetworks = new LinkedList<>(); @@ -402,6 +526,9 @@ public Builder addAllSubnetworks(List subnetworks) { return this; } + /** + * [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network. + */ public Builder addSubnetworks(String subnetworks) { if (this.subnetworks == null) { this.subnetworks = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkInterface.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkInterface.java index caae20606c22..15e631f801e5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkInterface.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkInterface.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A network interface resource attached to an instance. */ public final class NetworkInterface implements ApiMessage { private final List accessConfigs; private final List aliasIpRanges; @@ -106,34 +107,80 @@ public List getFieldMask() { return null; } + /** + * An array of configurations for this interface. Currently, only one access config, + * ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will + * have no external internet access. + */ public List getAccessConfigsList() { return accessConfigs; } + /** + * An array of alias IP ranges for this network interface. Can only be specified for network + * interfaces on subnet-mode networks. + */ public List getAliasIpRangesList() { return aliasIpRanges; } + /** + * Fingerprint hash of contents stored in this network interface. This field will be ignored when + * inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided + * in order to update the NetworkInterface, otherwise the request will fail with error 412 + * conditionNotMet. + */ public String getFingerprint() { return fingerprint; } + /** [Output Only] Type of the resource. Always compute#networkInterface for network interfaces. */ public String getKind() { return kind; } + /** + * [Output Only] The name of the network interface, generated by the server. For network devices, + * these are eth0, eth1, etc. + */ public String getName() { return name; } + /** + * URL of the network resource for this instance. When creating an instance, if neither the + * network nor the subnetwork is specified, the default network global/networks/default is used; + * if the network is not specified but the subnetwork is specified, the network is inferred. + * + *

This field is optional when creating a firewall rule. If not specified when creating a + * firewall rule, the default network global/networks/default is used. + * + *

If you specify this property, you can specify the network as a full or partial URL. For + * example, the following are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project/global/networks/network - + * projects/project/global/networks/network - global/networks/default + */ public String getNetwork() { return network; } + /** + * An IPv4 internal network address to assign to the instance for this network interface. If not + * specified by the user, an unused internal IP is assigned by the system. + */ public String getNetworkIP() { return networkIP; } + /** + * The URL of the Subnetwork resource for this instance. If the network resource is in legacy + * mode, do not provide this property. If the network is in auto subnet mode, providing the + * subnetwork is optional. If the network is in custom subnet mode, then this field should be + * specified. If you specify this property, you can specify the subnetwork as a full or partial + * URL. For example, the following are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project/regions/region/subnetworks/subnetwork - + * regions/region/subnetworks/subnetwork + */ public String getSubnetwork() { return subnetwork; } @@ -212,10 +259,20 @@ public Builder mergeFrom(NetworkInterface other) { this.subnetwork = source.subnetwork; } + /** + * An array of configurations for this interface. Currently, only one access config, + * ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance + * will have no external internet access. + */ public List getAccessConfigsList() { return accessConfigs; } + /** + * An array of configurations for this interface. Currently, only one access config, + * ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance + * will have no external internet access. + */ public Builder addAllAccessConfigs(List accessConfigs) { if (this.accessConfigs == null) { this.accessConfigs = new LinkedList<>(); @@ -224,6 +281,11 @@ public Builder addAllAccessConfigs(List accessConfigs) { return this; } + /** + * An array of configurations for this interface. Currently, only one access config, + * ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance + * will have no external internet access. + */ public Builder addAccessConfigs(AccessConfig accessConfigs) { if (this.accessConfigs == null) { this.accessConfigs = new LinkedList<>(); @@ -232,10 +294,18 @@ public Builder addAccessConfigs(AccessConfig accessConfigs) { return this; } + /** + * An array of alias IP ranges for this network interface. Can only be specified for network + * interfaces on subnet-mode networks. + */ public List getAliasIpRangesList() { return aliasIpRanges; } + /** + * An array of alias IP ranges for this network interface. Can only be specified for network + * interfaces on subnet-mode networks. + */ public Builder addAllAliasIpRanges(List aliasIpRanges) { if (this.aliasIpRanges == null) { this.aliasIpRanges = new LinkedList<>(); @@ -244,6 +314,10 @@ public Builder addAllAliasIpRanges(List aliasIpRanges) { return this; } + /** + * An array of alias IP ranges for this network interface. Can only be specified for network + * interfaces on subnet-mode networks. + */ public Builder addAliasIpRanges(AliasIpRange aliasIpRanges) { if (this.aliasIpRanges == null) { this.aliasIpRanges = new LinkedList<>(); @@ -252,55 +326,133 @@ public Builder addAliasIpRanges(AliasIpRange aliasIpRanges) { return this; } + /** + * Fingerprint hash of contents stored in this network interface. This field will be ignored + * when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be + * provided in order to update the NetworkInterface, otherwise the request will fail with error + * 412 conditionNotMet. + */ public String getFingerprint() { return fingerprint; } + /** + * Fingerprint hash of contents stored in this network interface. This field will be ignored + * when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be + * provided in order to update the NetworkInterface, otherwise the request will fail with error + * 412 conditionNotMet. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** + * [Output Only] Type of the resource. Always compute#networkInterface for network interfaces. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of the resource. Always compute#networkInterface for network interfaces. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] The name of the network interface, generated by the server. For network + * devices, these are eth0, eth1, etc. + */ public String getName() { return name; } + /** + * [Output Only] The name of the network interface, generated by the server. For network + * devices, these are eth0, eth1, etc. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * URL of the network resource for this instance. When creating an instance, if neither the + * network nor the subnetwork is specified, the default network global/networks/default is used; + * if the network is not specified but the subnetwork is specified, the network is inferred. + * + *

This field is optional when creating a firewall rule. If not specified when creating a + * firewall rule, the default network global/networks/default is used. + * + *

If you specify this property, you can specify the network as a full or partial URL. For + * example, the following are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project/global/networks/network - + * projects/project/global/networks/network - global/networks/default + */ public String getNetwork() { return network; } + /** + * URL of the network resource for this instance. When creating an instance, if neither the + * network nor the subnetwork is specified, the default network global/networks/default is used; + * if the network is not specified but the subnetwork is specified, the network is inferred. + * + *

This field is optional when creating a firewall rule. If not specified when creating a + * firewall rule, the default network global/networks/default is used. + * + *

If you specify this property, you can specify the network as a full or partial URL. For + * example, the following are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project/global/networks/network - + * projects/project/global/networks/network - global/networks/default + */ public Builder setNetwork(String network) { this.network = network; return this; } + /** + * An IPv4 internal network address to assign to the instance for this network interface. If not + * specified by the user, an unused internal IP is assigned by the system. + */ public String getNetworkIP() { return networkIP; } + /** + * An IPv4 internal network address to assign to the instance for this network interface. If not + * specified by the user, an unused internal IP is assigned by the system. + */ public Builder setNetworkIP(String networkIP) { this.networkIP = networkIP; return this; } + /** + * The URL of the Subnetwork resource for this instance. If the network resource is in legacy + * mode, do not provide this property. If the network is in auto subnet mode, providing the + * subnetwork is optional. If the network is in custom subnet mode, then this field should be + * specified. If you specify this property, you can specify the subnetwork as a full or partial + * URL. For example, the following are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project/regions/region/subnetworks/subnetwork + * - regions/region/subnetworks/subnetwork + */ public String getSubnetwork() { return subnetwork; } + /** + * The URL of the Subnetwork resource for this instance. If the network resource is in legacy + * mode, do not provide this property. If the network is in auto subnet mode, providing the + * subnetwork is optional. If the network is in custom subnet mode, then this field should be + * specified. If you specify this property, you can specify the subnetwork as a full or partial + * URL. For example, the following are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project/regions/region/subnetworks/subnetwork + * - regions/region/subnetworks/subnetwork + */ public Builder setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkList.java index 8695b18db360..57fca289efce 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of networks. */ public final class NetworkList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Network resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#networkList for lists of networks. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(NetworkList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Network resources. */ public List getItemsList() { return items; } + /** A list of Network resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Network resources. */ public Builder addItems(Network items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Network items) { return this; } + /** [Output Only] Type of resource. Always compute#networkList for lists of networks. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#networkList for lists of networks. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkPeering.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkPeering.java index 326c77b22d4f..8ef6fb210c5e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkPeering.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkPeering.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * A network peering attached to a network resource. The message includes the peering name, peer + * network, peering state, and a flag indicating whether Google Compute Engine should automatically + * create routes for the peering. + */ public final class NetworkPeering implements ApiMessage { private final Boolean autoCreateRoutes; private final String name; @@ -80,22 +85,42 @@ public List getFieldMask() { return null; } + /** + * Indicates whether full mesh connectivity is created and managed automatically. When it is set + * to true, Google Compute Engine will automatically create and manage the routes between two + * networks when the state is ACTIVE. Otherwise, user needs to create routes manually to route + * packets to peer network. + */ public Boolean getAutoCreateRoutes() { return autoCreateRoutes; } + /** + * Name of this peering. Provided by the client when the peering is created. The name must comply + * with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all the following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public String getName() { return name; } + /** + * The URL of the peer network. It can be either full URL or partial URL. The peer network may + * belong to a different project. If the partial URL does not contain project, it is assumed that + * the peer network is in the same project as the current network. + */ public String getNetwork() { return network; } + /** [Output Only] State for the peering. */ public String getState() { return state; } + /** [Output Only] Details about the current state of the peering. */ public String getStateDetails() { return stateDetails; } @@ -159,46 +184,86 @@ public Builder mergeFrom(NetworkPeering other) { this.stateDetails = source.stateDetails; } + /** + * Indicates whether full mesh connectivity is created and managed automatically. When it is set + * to true, Google Compute Engine will automatically create and manage the routes between two + * networks when the state is ACTIVE. Otherwise, user needs to create routes manually to route + * packets to peer network. + */ public Boolean getAutoCreateRoutes() { return autoCreateRoutes; } + /** + * Indicates whether full mesh connectivity is created and managed automatically. When it is set + * to true, Google Compute Engine will automatically create and manage the routes between two + * networks when the state is ACTIVE. Otherwise, user needs to create routes manually to route + * packets to peer network. + */ public Builder setAutoCreateRoutes(Boolean autoCreateRoutes) { this.autoCreateRoutes = autoCreateRoutes; return this; } + /** + * Name of this peering. Provided by the client when the peering is created. The name must + * comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular + * expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a + * lowercase letter, and all the following characters must be a dash, lowercase letter, or + * digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of this peering. Provided by the client when the peering is created. The name must + * comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular + * expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a + * lowercase letter, and all the following characters must be a dash, lowercase letter, or + * digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * The URL of the peer network. It can be either full URL or partial URL. The peer network may + * belong to a different project. If the partial URL does not contain project, it is assumed + * that the peer network is in the same project as the current network. + */ public String getNetwork() { return network; } + /** + * The URL of the peer network. It can be either full URL or partial URL. The peer network may + * belong to a different project. If the partial URL does not contain project, it is assumed + * that the peer network is in the same project as the current network. + */ public Builder setNetwork(String network) { this.network = network; return this; } + /** [Output Only] State for the peering. */ public String getState() { return state; } + /** [Output Only] State for the peering. */ public Builder setState(String state) { this.state = state; return this; } + /** [Output Only] Details about the current state of the peering. */ public String getStateDetails() { return stateDetails; } + /** [Output Only] Details about the current state of the peering. */ public Builder setStateDetails(String stateDetails) { this.stateDetails = stateDetails; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkRoutingConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkRoutingConfig.java index 13dd96235d34..6346166ae713 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkRoutingConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkRoutingConfig.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * A routing configuration attached to a network resource. The message includes the list of routers + * associated with the network, and a flag indicating the type of routing behavior to enforce + * network-wide. + */ public final class NetworkRoutingConfig implements ApiMessage { private final String routingMode; @@ -55,6 +60,12 @@ public List getFieldMask() { return null; } + /** + * The network-wide routing mode to use. If set to REGIONAL, this network's cloud routers will + * only advertise routes with subnets of this network in the same region as the router. If set to + * GLOBAL, this network's cloud routers will advertise routes with all subnets of this network, + * across regions. + */ public String getRoutingMode() { return routingMode; } @@ -98,10 +109,22 @@ public Builder mergeFrom(NetworkRoutingConfig other) { this.routingMode = source.routingMode; } + /** + * The network-wide routing mode to use. If set to REGIONAL, this network's cloud routers will + * only advertise routes with subnets of this network in the same region as the router. If set + * to GLOBAL, this network's cloud routers will advertise routes with all subnets of this + * network, across regions. + */ public String getRoutingMode() { return routingMode; } + /** + * The network-wide routing mode to use. If set to REGIONAL, this network's cloud routers will + * only advertise routes with subnets of this network in the same region as the router. If set + * to GLOBAL, this network's cloud routers will advertise routes with all subnets of this + * network, across regions. + */ public Builder setRoutingMode(String routingMode) { this.routingMode = routingMode; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksAddPeeringRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksAddPeeringRequest.java index af7b8d70fdff..705dad00b6fe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksAddPeeringRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksAddPeeringRequest.java @@ -67,14 +67,21 @@ public List getFieldMask() { return null; } + /** Whether Google Compute Engine manages the routes automatically. */ public Boolean getAutoCreateRoutes() { return autoCreateRoutes; } + /** Name of the peering, which should conform to RFC1035. */ public String getName() { return name; } + /** + * URL of the peer network. It can be either full URL or partial URL. The peer network may belong + * to a different project. If the partial URL does not contain project, it is assumed that the + * peer network is in the same project as the current network. + */ public String getPeerNetwork() { return peerNetwork; } @@ -128,28 +135,42 @@ public Builder mergeFrom(NetworksAddPeeringRequest other) { this.peerNetwork = source.peerNetwork; } + /** Whether Google Compute Engine manages the routes automatically. */ public Boolean getAutoCreateRoutes() { return autoCreateRoutes; } + /** Whether Google Compute Engine manages the routes automatically. */ public Builder setAutoCreateRoutes(Boolean autoCreateRoutes) { this.autoCreateRoutes = autoCreateRoutes; return this; } + /** Name of the peering, which should conform to RFC1035. */ public String getName() { return name; } + /** Name of the peering, which should conform to RFC1035. */ public Builder setName(String name) { this.name = name; return this; } + /** + * URL of the peer network. It can be either full URL or partial URL. The peer network may + * belong to a different project. If the partial URL does not contain project, it is assumed + * that the peer network is in the same project as the current network. + */ public String getPeerNetwork() { return peerNetwork; } + /** + * URL of the peer network. It can be either full URL or partial URL. The peer network may + * belong to a different project. If the partial URL does not contain project, it is assumed + * that the peer network is in the same project as the current network. + */ public Builder setPeerNetwork(String peerNetwork) { this.peerNetwork = peerNetwork; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksRemovePeeringRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksRemovePeeringRequest.java index 34166d7caccc..3073baccde6e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksRemovePeeringRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworksRemovePeeringRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** Name of the peering, which should conform to RFC1035. */ public String getName() { return name; } @@ -98,10 +99,12 @@ public Builder mergeFrom(NetworksRemovePeeringRequest other) { this.name = source.name; } + /** Name of the peering, which should conform to RFC1035. */ public String getName() { return name; } + /** Name of the peering, which should conform to RFC1035. */ public Builder setName(String name) { this.name = name; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroup.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroup.java index be9f0040a8e2..989a78cbe4e7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroup.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroup.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** A NodeGroup resource. */ public final class NodeGroup implements ApiMessage { private final String creationTimestamp; private final String description; @@ -119,34 +120,52 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] The type of the resource. Always compute#nodeGroup for node group. */ public String getKind() { return kind; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name + * must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` + * which means the first character must be a lowercase letter, and all following characters must + * be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** The URL of the node template to which this node group belongs. */ public String getNodeTemplate() { return nodeTemplate; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The total number of nodes in the node group. */ public Integer getSize() { return size; } @@ -155,6 +174,7 @@ public String getStatus() { return status; } + /** [Output Only] The name of the zone where the node group resides, such as us-central1-a. */ public String getZone() { return zone; } @@ -243,73 +263,113 @@ public Builder mergeFrom(NodeGroup other) { this.zone = source.zone; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] The type of the resource. Always compute#nodeGroup for node group. */ public String getKind() { return kind; } + /** [Output Only] The type of the resource. Always compute#nodeGroup for node group. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name + * must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public String getName() { return name; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name + * must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** The URL of the node template to which this node group belongs. */ public String getNodeTemplate() { return nodeTemplate; } + /** The URL of the node template to which this node group belongs. */ public Builder setNodeTemplate(String nodeTemplate) { this.nodeTemplate = nodeTemplate; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] The total number of nodes in the node group. */ public Integer getSize() { return size; } + /** [Output Only] The total number of nodes in the node group. */ public Builder setSize(Integer size) { this.size = size; return this; @@ -324,10 +384,12 @@ public Builder setStatus(String status) { return this; } + /** [Output Only] The name of the zone where the node group resides, such as us-central1-a. */ public String getZone() { return zone; } + /** [Output Only] The name of the zone where the node group resides, such as us-central1-a. */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupAggregatedList.java index c5cb249f1d55..1995d351b12a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of NodeGroupsScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of node groups. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource.Always compute#nodeGroupAggregatedList for aggregated lists of + * node groups. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(NodeGroupAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of NodeGroupsScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of node groups. + */ public Map getItemsMap() { return items; } + /** + * A list of NodeGroupsScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of node groups. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource.Always compute#nodeGroupAggregatedList for aggregated lists of + * node groups. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource.Always compute#nodeGroupAggregatedList for aggregated lists of + * node groups. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupList.java index 450296e37a0d..8c90abb7e1d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of nodeGroups. */ public final class NodeGroupList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of NodeGroup resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource.Always compute#nodeGroupList for lists of node groups. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(NodeGroupList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of NodeGroup resources. */ public List getItemsList() { return items; } + /** A list of NodeGroup resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of NodeGroup resources. */ public Builder addItems(NodeGroup items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(NodeGroup items) { return this; } + /** [Output Only] Type of resource.Always compute#nodeGroupList for lists of node groups. */ public String getKind() { return kind; } + /** [Output Only] Type of resource.Always compute#nodeGroupList for lists of node groups. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupNode.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupNode.java index f981664668a4..74c698a163fa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupNode.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupNode.java @@ -74,14 +74,17 @@ public List getFieldMask() { return null; } + /** Instances scheduled on this node. */ public List getInstancesList() { return instances; } + /** The name of the node. */ public String getName() { return name; } + /** The type of this node. */ public String getNodeType() { return nodeType; } @@ -144,10 +147,12 @@ public Builder mergeFrom(NodeGroupNode other) { this.status = source.status; } + /** Instances scheduled on this node. */ public List getInstancesList() { return instances; } + /** Instances scheduled on this node. */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -156,6 +161,7 @@ public Builder addAllInstances(List instances) { return this; } + /** Instances scheduled on this node. */ public Builder addInstances(String instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -164,19 +170,23 @@ public Builder addInstances(String instances) { return this; } + /** The name of the node. */ public String getName() { return name; } + /** The name of the node. */ public Builder setName(String name) { this.name = name; return this; } + /** The type of this node. */ public String getNodeType() { return nodeType; } + /** The type of this node. */ public Builder setNodeType(String nodeType) { this.nodeType = nodeType; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsAddNodesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsAddNodesRequest.java index f48042182445..599dfef6ba78 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsAddNodesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsAddNodesRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** Count of additional nodes to be added to the node group. */ public Integer getAdditionalNodeCount() { return additionalNodeCount; } @@ -98,10 +99,12 @@ public Builder mergeFrom(NodeGroupsAddNodesRequest other) { this.additionalNodeCount = source.additionalNodeCount; } + /** Count of additional nodes to be added to the node group. */ public Integer getAdditionalNodeCount() { return additionalNodeCount; } + /** Count of additional nodes to be added to the node group. */ public Builder setAdditionalNodeCount(Integer additionalNodeCount) { this.additionalNodeCount = additionalNodeCount; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsListNodes.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsListNodes.java index 7db8a93459eb..7545a96e0939 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsListNodes.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsListNodes.java @@ -92,26 +92,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Node resources. */ public List getItemsList() { return items; } + /** + * [Output Only] The resource type, which is always compute.nodeGroupsListNodes for the list of + * nodes in the specified node group. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +194,23 @@ public Builder mergeFrom(NodeGroupsListNodes other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Node resources. */ public List getItemsList() { return items; } + /** A list of Node resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +219,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Node resources. */ public Builder addItems(NodeGroupNode items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +228,61 @@ public Builder addItems(NodeGroupNode items) { return this; } + /** + * [Output Only] The resource type, which is always compute.nodeGroupsListNodes for the list of + * nodes in the specified node group. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute.nodeGroupsListNodes for the list of + * nodes in the specified node group. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsScopedList.java index e0607488ad1c..4a07ac02e4c5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of node groups contained in this scope. */ public List getNodeGroupsList() { return nodeGroups; } + /** [Output Only] An informational warning that appears when the nodeGroup list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(NodeGroupsScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of node groups contained in this scope. */ public List getNodeGroupsList() { return nodeGroups; } + /** [Output Only] A list of node groups contained in this scope. */ public Builder addAllNodeGroups(List nodeGroups) { if (this.nodeGroups == null) { this.nodeGroups = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllNodeGroups(List nodeGroups) { return this; } + /** [Output Only] A list of node groups contained in this scope. */ public Builder addNodeGroups(NodeGroup nodeGroups) { if (this.nodeGroups == null) { this.nodeGroups = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addNodeGroups(NodeGroup nodeGroups) { return this; } + /** [Output Only] An informational warning that appears when the nodeGroup list is empty. */ public Warning getWarning() { return warning; } + /** [Output Only] An informational warning that appears when the nodeGroup list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsSetNodeTemplateRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsSetNodeTemplateRequest.java index b640b9faa027..97c44d0217b4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsSetNodeTemplateRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsSetNodeTemplateRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** Full or partial URL of the node template resource to be updated for this node group. */ public String getNodeTemplate() { return nodeTemplate; } @@ -98,10 +99,12 @@ public Builder mergeFrom(NodeGroupsSetNodeTemplateRequest other) { this.nodeTemplate = source.nodeTemplate; } + /** Full or partial URL of the node template resource to be updated for this node group. */ public String getNodeTemplate() { return nodeTemplate; } + /** Full or partial URL of the node template resource to be updated for this node group. */ public Builder setNodeTemplate(String nodeTemplate) { this.nodeTemplate = nodeTemplate; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplate.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplate.java index dcc1c3d00277..270107899f8a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplate.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplate.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A Node Template resource. */ public final class NodeTemplate implements ApiMessage { private final String creationTimestamp; private final String description; @@ -134,50 +135,81 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] The type of the resource. Always compute#nodeTemplate for node templates. */ public String getKind() { return kind; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name + * must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` + * which means the first character must be a lowercase letter, and all following characters must + * be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** Labels to use for node affinity, which will be used in instance scheduling. */ public Map getNodeAffinityLabelsMap() { return nodeAffinityLabels; } + /** The node type to use for nodes group that are created from this template. */ public String getNodeType() { return nodeType; } + /** + * The flexible properties of the desired node type. Node groups that use this node template will + * create nodes of a type that matches these properties. + * + *

This field is mutually exclusive with the node_type property; you can only define one or the + * other, but not both. + */ public NodeTemplateNodeTypeFlexibility getNodeTypeFlexibility() { return nodeTypeFlexibility; } + /** [Output Only] The name of the region where the node template resides, such as us-central1. */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * [Output Only] The status of the node template. One of the following values: CREATING, READY, + * and DELETING. + */ public String getStatus() { return status; } + /** [Output Only] An optional, human-readable explanation of the status. */ public String getStatusMessage() { return statusMessage; } @@ -276,109 +308,179 @@ public Builder mergeFrom(NodeTemplate other) { this.statusMessage = source.statusMessage; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] The type of the resource. Always compute#nodeTemplate for node templates. */ public String getKind() { return kind; } + /** [Output Only] The type of the resource. Always compute#nodeTemplate for node templates. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name + * must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public String getName() { return name; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name + * must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** Labels to use for node affinity, which will be used in instance scheduling. */ public Map getNodeAffinityLabelsMap() { return nodeAffinityLabels; } + /** Labels to use for node affinity, which will be used in instance scheduling. */ public Builder putAllNodeAffinityLabels(Map nodeAffinityLabels) { this.nodeAffinityLabels = nodeAffinityLabels; return this; } + /** The node type to use for nodes group that are created from this template. */ public String getNodeType() { return nodeType; } + /** The node type to use for nodes group that are created from this template. */ public Builder setNodeType(String nodeType) { this.nodeType = nodeType; return this; } + /** + * The flexible properties of the desired node type. Node groups that use this node template + * will create nodes of a type that matches these properties. + * + *

This field is mutually exclusive with the node_type property; you can only define one or + * the other, but not both. + */ public NodeTemplateNodeTypeFlexibility getNodeTypeFlexibility() { return nodeTypeFlexibility; } + /** + * The flexible properties of the desired node type. Node groups that use this node template + * will create nodes of a type that matches these properties. + * + *

This field is mutually exclusive with the node_type property; you can only define one or + * the other, but not both. + */ public Builder setNodeTypeFlexibility(NodeTemplateNodeTypeFlexibility nodeTypeFlexibility) { this.nodeTypeFlexibility = nodeTypeFlexibility; return this; } + /** + * [Output Only] The name of the region where the node template resides, such as us-central1. + */ public String getRegion() { return region; } + /** + * [Output Only] The name of the region where the node template resides, such as us-central1. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * [Output Only] The status of the node template. One of the following values: CREATING, READY, + * and DELETING. + */ public String getStatus() { return status; } + /** + * [Output Only] The status of the node template. One of the following values: CREATING, READY, + * and DELETING. + */ public Builder setStatus(String status) { this.status = status; return this; } + /** [Output Only] An optional, human-readable explanation of the status. */ public String getStatusMessage() { return statusMessage; } + /** [Output Only] An optional, human-readable explanation of the status. */ public Builder setStatusMessage(String statusMessage) { this.statusMessage = statusMessage; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateAggregatedList.java index f115d2e75a32..eae2372588ec 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of NodeTemplatesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of node templates. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource.Always compute#nodeTemplateAggregatedList for aggregated lists + * of node templates. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(NodeTemplateAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of NodeTemplatesScopedList resources. The key for the map is: [Output Only] Name of + * the scope containing this set of node templates. + */ public Map getItemsMap() { return items; } + /** + * A list of NodeTemplatesScopedList resources. The key for the map is: [Output Only] Name of + * the scope containing this set of node templates. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource.Always compute#nodeTemplateAggregatedList for aggregated lists + * of node templates. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource.Always compute#nodeTemplateAggregatedList for aggregated lists + * of node templates. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateList.java index 64e8b3c32f73..e971130f05aa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of node templates. */ public final class NodeTemplateList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of NodeTemplate resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource.Always compute#nodeTemplateList for lists of node templates. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(NodeTemplateList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of NodeTemplate resources. */ public List getItemsList() { return items; } + /** A list of NodeTemplate resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of NodeTemplate resources. */ public Builder addItems(NodeTemplate items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,59 @@ public Builder addItems(NodeTemplate items) { return this; } + /** + * [Output Only] Type of resource.Always compute#nodeTemplateList for lists of node templates. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource.Always compute#nodeTemplateList for lists of node templates. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplatesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplatesScopedList.java index 72bebcfb70a3..fc79bacaeeba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplatesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplatesScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of node templates contained in this scope. */ public List getNodeTemplatesList() { return nodeTemplates; } + /** [Output Only] An informational warning that appears when the node templates list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(NodeTemplatesScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of node templates contained in this scope. */ public List getNodeTemplatesList() { return nodeTemplates; } + /** [Output Only] A list of node templates contained in this scope. */ public Builder addAllNodeTemplates(List nodeTemplates) { if (this.nodeTemplates == null) { this.nodeTemplates = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllNodeTemplates(List nodeTemplates) { return this; } + /** [Output Only] A list of node templates contained in this scope. */ public Builder addNodeTemplates(NodeTemplate nodeTemplates) { if (this.nodeTemplates == null) { this.nodeTemplates = new LinkedList<>(); @@ -134,10 +139,16 @@ public Builder addNodeTemplates(NodeTemplate nodeTemplates) { return this; } + /** + * [Output Only] An informational warning that appears when the node templates list is empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] An informational warning that appears when the node templates list is empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeType.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeType.java index 6373cf7e5b62..34e612d0987c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeType.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeType.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** A Node Type resource. */ public final class NodeType implements ApiMessage { private final String cpuPlatform; private final String creationTimestamp; @@ -133,50 +134,64 @@ public List getFieldMask() { return null; } + /** [Output Only] The CPU platform used by this node type. */ public String getCpuPlatform() { return cpuPlatform; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] The deprecation status associated with this node type. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] An optional textual description of the resource. */ public String getDescription() { return description; } + /** [Output Only] The number of virtual CPUs that are available to the node type. */ public Integer getGuestCpus() { return guestCpus; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] The type of the resource. Always compute#nodeType for node types. */ public String getKind() { return kind; } + /** [Output Only] Local SSD available to the node type, defined in GB. */ public Integer getLocalSsdGb() { return localSsdGb; } + /** [Output Only] The amount of physical memory available to the node type, defined in MB. */ public Integer getMemoryMb() { return memoryMb; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The name of the zone where the node type resides, such as us-central1-a. */ public String getZone() { return zone; } @@ -275,109 +290,139 @@ public Builder mergeFrom(NodeType other) { this.zone = source.zone; } + /** [Output Only] The CPU platform used by this node type. */ public String getCpuPlatform() { return cpuPlatform; } + /** [Output Only] The CPU platform used by this node type. */ public Builder setCpuPlatform(String cpuPlatform) { this.cpuPlatform = cpuPlatform; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** [Output Only] The deprecation status associated with this node type. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] The deprecation status associated with this node type. */ public Builder setDeprecated(DeprecationStatus deprecated) { this.deprecated = deprecated; return this; } + /** [Output Only] An optional textual description of the resource. */ public String getDescription() { return description; } + /** [Output Only] An optional textual description of the resource. */ public Builder setDescription(String description) { this.description = description; return this; } + /** [Output Only] The number of virtual CPUs that are available to the node type. */ public Integer getGuestCpus() { return guestCpus; } + /** [Output Only] The number of virtual CPUs that are available to the node type. */ public Builder setGuestCpus(Integer guestCpus) { this.guestCpus = guestCpus; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] The type of the resource. Always compute#nodeType for node types. */ public String getKind() { return kind; } + /** [Output Only] The type of the resource. Always compute#nodeType for node types. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] Local SSD available to the node type, defined in GB. */ public Integer getLocalSsdGb() { return localSsdGb; } + /** [Output Only] Local SSD available to the node type, defined in GB. */ public Builder setLocalSsdGb(Integer localSsdGb) { this.localSsdGb = localSsdGb; return this; } + /** [Output Only] The amount of physical memory available to the node type, defined in MB. */ public Integer getMemoryMb() { return memoryMb; } + /** [Output Only] The amount of physical memory available to the node type, defined in MB. */ public Builder setMemoryMb(Integer memoryMb) { this.memoryMb = memoryMb; return this; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Name of the resource. */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] The name of the zone where the node type resides, such as us-central1-a. */ public String getZone() { return zone; } + /** [Output Only] The name of the zone where the node type resides, such as us-central1-a. */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeAggregatedList.java index 3eb1e2a4ce98..9706a53bcedd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of NodeTypesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of node types. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource.Always compute#nodeTypeAggregatedList for aggregated lists of + * node types. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(NodeTypeAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of NodeTypesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of node types. + */ public Map getItemsMap() { return items; } + /** + * A list of NodeTypesScopedList resources. The key for the map is: [Output Only] Name of the + * scope containing this set of node types. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource.Always compute#nodeTypeAggregatedList for aggregated lists of + * node types. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource.Always compute#nodeTypeAggregatedList for aggregated lists of + * node types. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeList.java index 8c9729b75c6f..945d2142a9f4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of node types. */ public final class NodeTypeList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of NodeType resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource.Always compute#nodeTypeList for lists of node types. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(NodeTypeList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of NodeType resources. */ public List getItemsList() { return items; } + /** A list of NodeType resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of NodeType resources. */ public Builder addItems(NodeType items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(NodeType items) { return this; } + /** [Output Only] Type of resource.Always compute#nodeTypeList for lists of node types. */ public String getKind() { return kind; } + /** [Output Only] Type of resource.Always compute#nodeTypeList for lists of node types. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypesScopedList.java index c1409a525602..cd22586a121e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypesScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of node types contained in this scope. */ public List getNodeTypesList() { return nodeTypes; } + /** [Output Only] An informational warning that appears when the node types list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(NodeTypesScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of node types contained in this scope. */ public List getNodeTypesList() { return nodeTypes; } + /** [Output Only] A list of node types contained in this scope. */ public Builder addAllNodeTypes(List nodeTypes) { if (this.nodeTypes == null) { this.nodeTypes = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllNodeTypes(List nodeTypes) { return this; } + /** [Output Only] A list of node types contained in this scope. */ public Builder addNodeTypes(NodeType nodeTypes) { if (this.nodeTypes == null) { this.nodeTypes = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addNodeTypes(NodeType nodeTypes) { return this; } + /** [Output Only] An informational warning that appears when the node types list is empty. */ public Warning getWarning() { return warning; } + /** [Output Only] An informational warning that appears when the node types list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Operation.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Operation.java index 1ade2d0ec825..cab308e8f792 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Operation.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Operation.java @@ -25,6 +25,12 @@ @Generated("by GAPIC") @BetaApi +/** + * An Operation resource, used to manage asynchronous API requests. (== resource_for + * v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for + * v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for + * v1.zoneOperations ==) (== resource_for beta.zoneOperations ==) + */ public final class Operation implements ApiMessage { private final String clientOperationId; private final String creationTimestamp; @@ -211,94 +217,166 @@ public List getFieldMask() { return null; } + /** + * [Output Only] The value of `requestId` if you provided it in the request. Not present + * otherwise. + */ public String getClientOperationId() { return clientOperationId; } + /** [Deprecated] This field is deprecated. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * [Output Only] A textual description of the operation, which is set when the operation is + * created. + */ public String getDescription() { return description; } + /** + * [Output Only] The time that this operation was completed. This value is in RFC3339 text format. + */ public String getEndTime() { return endTime; } + /** + * [Output Only] If errors are generated during processing of the operation, this field will be + * populated. + */ public Error getError() { return error; } + /** + * [Output Only] If the operation fails, this field contains the HTTP error message that was + * returned, such as NOT FOUND. + */ public String getHttpErrorMessage() { return 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. + */ public Integer getHttpErrorStatusCode() { return httpErrorStatusCode; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * [Output Only] The time that this operation was requested. This value is in RFC3339 text format. + */ public String getInsertTime() { return insertTime; } + /** [Output Only] Type of the resource. Always compute#operation for Operation resources. */ public String getKind() { return kind; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] The type of operation, such as insert, update, or delete, and so on. */ public String getOperationType() { return operationType; } + /** + * [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement + * that this be linear or support any granularity of operations. This should not be used to guess + * when the operation will be complete. This number should monotonically increase as the operation + * progresses. + */ public Integer getProgress() { return progress; } + /** + * [Output Only] The URL of the region where the operation resides. Only available when performing + * regional operations. You must specify this field as part of the HTTP request URL. It is not + * settable as a field in the request body. + */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * [Output Only] The time that this operation was started by the server. This value is in RFC3339 + * text format. + */ public String getStartTime() { return startTime; } + /** + * [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] An optional textual description of the current status of the operation. */ public String getStatusMessage() { return statusMessage; } + /** + * [Output Only] The unique target ID, which identifies a specific incarnation of the target + * resource. + */ public String getTargetId() { return targetId; } + /** + * [Output Only] The URL of the resource that the operation modifies. For operations related to + * creating a snapshot, this points to the persistent disk that the snapshot was created from. + */ public String getTargetLink() { return targetLink; } + /** [Output Only] User who requested the operation, for example: user{@literal @}example.com. */ public String getUser() { return user; } + /** + * [Output Only] If warning messages are generated during processing of the operation, this field + * will be populated. + */ public List getWarningsList() { return warnings; } + /** + * [Output Only] The URL of the zone where the operation resides. Only available when performing + * per-zone operations. You must specify this field as part of the HTTP request URL. It is not + * settable as a field in the request body. + */ public String getZone() { return zone; } @@ -452,199 +530,339 @@ public Builder mergeFrom(Operation other) { this.zone = source.zone; } + /** + * [Output Only] The value of `requestId` if you provided it in the request. Not present + * otherwise. + */ public String getClientOperationId() { return clientOperationId; } + /** + * [Output Only] The value of `requestId` if you provided it in the request. Not present + * otherwise. + */ public Builder setClientOperationId(String clientOperationId) { this.clientOperationId = clientOperationId; return this; } + /** [Deprecated] This field is deprecated. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Deprecated] This field is deprecated. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * [Output Only] A textual description of the operation, which is set when the operation is + * created. + */ public String getDescription() { return description; } + /** + * [Output Only] A textual description of the operation, which is set when the operation is + * created. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The time that this operation was completed. This value is in RFC3339 text + * format. + */ public String getEndTime() { return endTime; } + /** + * [Output Only] The time that this operation was completed. This value is in RFC3339 text + * format. + */ public Builder setEndTime(String endTime) { this.endTime = endTime; return this; } + /** + * [Output Only] If errors are generated during processing of the operation, this field will be + * populated. + */ public Error getError() { return error; } + /** + * [Output Only] If errors are generated during processing of the operation, this field will be + * populated. + */ public Builder setError(Error error) { this.error = error; return this; } + /** + * [Output Only] If the operation fails, this field contains the HTTP error message that was + * returned, such as NOT FOUND. + */ public String getHttpErrorMessage() { return httpErrorMessage; } + /** + * [Output Only] If the operation fails, this field contains the HTTP error message that was + * returned, such as NOT FOUND. + */ public Builder setHttpErrorMessage(String httpErrorMessage) { this.httpErrorMessage = httpErrorMessage; return this; } + /** + * [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. + */ public Integer getHttpErrorStatusCode() { return httpErrorStatusCode; } + /** + * [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. + */ public Builder setHttpErrorStatusCode(Integer httpErrorStatusCode) { this.httpErrorStatusCode = httpErrorStatusCode; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] The time that this operation was requested. This value is in RFC3339 text + * format. + */ public String getInsertTime() { return insertTime; } + /** + * [Output Only] The time that this operation was requested. This value is in RFC3339 text + * format. + */ public Builder setInsertTime(String insertTime) { this.insertTime = insertTime; return this; } + /** [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. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Name of the resource. */ public Builder setName(String name) { this.name = name; return this; } + /** [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. */ public Builder setOperationType(String operationType) { this.operationType = operationType; return this; } + /** + * [Output Only] An optional progress indicator that ranges from 0 to 100. There is no + * requirement that this be linear or support any granularity of operations. This should not be + * used to guess when the operation will be complete. This number should monotonically increase + * as the operation progresses. + */ public Integer getProgress() { return progress; } + /** + * [Output Only] An optional progress indicator that ranges from 0 to 100. There is no + * requirement that this be linear or support any granularity of operations. This should not be + * used to guess when the operation will be complete. This number should monotonically increase + * as the operation progresses. + */ public Builder setProgress(Integer progress) { this.progress = progress; return this; } + /** + * [Output Only] The URL of the region where the operation resides. Only available when + * performing regional operations. You must specify this field as part of the HTTP request URL. + * It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] The URL of the region where the operation resides. Only available when + * performing regional operations. You must specify this field as part of the HTTP request URL. + * It is not settable as a field in the request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * [Output Only] The time that this operation was started by the server. This value is in + * RFC3339 text format. + */ public String getStartTime() { return startTime; } + /** + * [Output Only] The time that this operation was started by the server. This value is in + * RFC3339 text format. + */ public Builder setStartTime(String startTime) { this.startTime = startTime; return this; } + /** + * [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. + */ public Builder setStatus(String status) { this.status = status; return this; } + /** [Output Only] An optional textual description of the current status of the operation. */ public String getStatusMessage() { return statusMessage; } + /** [Output Only] An optional textual description of the current status of the operation. */ public Builder setStatusMessage(String statusMessage) { this.statusMessage = statusMessage; return this; } + /** + * [Output Only] The unique target ID, which identifies a specific incarnation of the target + * resource. + */ public String getTargetId() { return targetId; } + /** + * [Output Only] The unique target ID, which identifies a specific incarnation of the target + * resource. + */ public Builder setTargetId(String targetId) { this.targetId = targetId; return this; } + /** + * [Output Only] The URL of the resource that the operation modifies. For operations related to + * creating a snapshot, this points to the persistent disk that the snapshot was created from. + */ public String getTargetLink() { return targetLink; } + /** + * [Output Only] The URL of the resource that the operation modifies. For operations related to + * creating a snapshot, this points to the persistent disk that the snapshot was created from. + */ public Builder setTargetLink(String targetLink) { this.targetLink = targetLink; return this; } + /** [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. */ public Builder setUser(String user) { this.user = user; return this; } + /** + * [Output Only] If warning messages are generated during processing of the operation, this + * field will be populated. + */ public List getWarningsList() { return warnings; } + /** + * [Output Only] If warning messages are generated during processing of the operation, this + * field will be populated. + */ public Builder addAllWarnings(List warnings) { if (this.warnings == null) { this.warnings = new LinkedList<>(); @@ -653,6 +871,10 @@ public Builder addAllWarnings(List warnings) { return this; } + /** + * [Output Only] If warning messages are generated during processing of the operation, this + * field will be populated. + */ public Builder addWarnings(Warnings warnings) { if (this.warnings == null) { this.warnings = new LinkedList<>(); @@ -661,10 +883,20 @@ public Builder addWarnings(Warnings warnings) { return this; } + /** + * [Output Only] The URL of the zone where the operation resides. Only available when performing + * per-zone operations. You must specify this field as part of the HTTP request URL. It is not + * settable as a field in the request body. + */ public String getZone() { return zone; } + /** + * [Output Only] The URL of the zone where the operation resides. Only available when performing + * per-zone operations. You must specify this field as part of the HTTP request URL. It is not + * settable as a field in the request body. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationAggregatedList.java index f992f3f88e54..95909cb5efc9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationAggregatedList.java @@ -92,26 +92,45 @@ public List getFieldMask() { return null; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * [Output Only] A map of scoped operation lists. The key for the map is: [Output Only] Name of + * the scope containing this set of operations. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#operationAggregatedList for aggregated lists of + * operations. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +199,95 @@ public Builder mergeFrom(OperationAggregatedList other) { this.warning = source.warning; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] A map of scoped operation lists. The key for the map is: [Output Only] Name of + * the scope containing this set of operations. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] A map of scoped operation lists. The key for the map is: [Output Only] Name of + * the scope containing this set of operations. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#operationAggregatedList for aggregated lists + * of operations. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#operationAggregatedList for aggregated lists + * of operations. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationList.java index ca87ac0063af..5df8346a4c24 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of Operation resources. */ public final class OperationList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,39 @@ public List getFieldMask() { return null; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] A list of Operation resources. */ public List getItemsList() { return items; } + /** [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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +194,29 @@ public Builder mergeFrom(OperationList other) { this.warning = source.warning; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] A list of Operation resources. */ public List getItemsList() { return items; } + /** [Output Only] A list of Operation resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +225,7 @@ public Builder addAllItems(List items) { return this; } + /** [Output Only] A list of Operation resources. */ public Builder addItems(Operation items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +234,55 @@ public Builder addItems(Operation items) { return this; } + /** [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. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationsScopedList.java index e60eaa2b00e8..fb42890ac2ba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/OperationsScopedList.java @@ -62,10 +62,15 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of operations contained in this scope. */ public List getOperationsList() { return operations; } + /** + * [Output Only] Informational warning which replaces the list of operations when the list is + * empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +119,12 @@ public Builder mergeFrom(OperationsScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of operations contained in this scope. */ public List getOperationsList() { return operations; } + /** [Output Only] A list of operations contained in this scope. */ public Builder addAllOperations(List operations) { if (this.operations == null) { this.operations = new LinkedList<>(); @@ -126,6 +133,7 @@ public Builder addAllOperations(List operations) { return this; } + /** [Output Only] A list of operations contained in this scope. */ public Builder addOperations(Operation operations) { if (this.operations == null) { this.operations = new LinkedList<>(); @@ -134,10 +142,18 @@ public Builder addOperations(Operation operations) { return this; } + /** + * [Output Only] Informational warning which replaces the list of operations when the list is + * empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] Informational warning which replaces the list of operations when the list is + * empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchAutoscalerHttpRequest.java index eefaf6902d24..b60c456a02b9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchAutoscalerHttpRequest.java @@ -133,18 +133,28 @@ public Autoscaler getApiMessageRequestBody() { return autoscalerResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the autoscaler to patch. */ public String getAutoscaler() { return autoscaler; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual machine + * instances in managed instance groups according to an autoscaling policy that you define. For + * more information, read Autoscaling Groups of Instances. (== resource_for beta.autoscalers ==) + * (== resource_for v1.autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== + * resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -153,30 +163,55 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` 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 getZone() { return zone; } @@ -275,37 +310,57 @@ public Builder mergeFrom(PatchAutoscalerHttpRequest other) { this.zone = source.zone; } + /** 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 autoscaler to patch. */ public String getAutoscaler() { return autoscaler; } + /** Name of the autoscaler to patch. */ public Builder setAutoscaler(String autoscaler) { this.autoscaler = autoscaler; return this; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Builder setAutoscalerResource(Autoscaler autoscalerResource) { this.autoscalerResource = autoscalerResource; 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; @@ -331,64 +386,114 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` 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 getZone() { return zone; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendBucketHttpRequest.java index c23f101141a4..810892d02b3d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendBucketHttpRequest.java @@ -126,18 +126,29 @@ public BackendBucket getApiMessageRequestBody() { return backendBucketResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendBucket resource to patch. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` 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 getBackendBucket() { return backendBucket; } + /** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public BackendBucket getBackendBucketResource() { return backendBucketResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -146,26 +157,44 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,37 +288,59 @@ public Builder mergeFrom(PatchBackendBucketHttpRequest other) { 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 BackendBucket resource to patch. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` 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 getBackendBucket() { return backendBucket; } + /** + * Name of the BackendBucket resource to patch. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` 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 setBackendBucket(String backendBucket) { this.backendBucket = backendBucket; return this; } + /** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public BackendBucket getBackendBucketResource() { return backendBucketResource; } + /** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public Builder setBackendBucketResource(BackendBucket backendBucketResource) { this.backendBucketResource = backendBucketResource; 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; @@ -315,55 +366,91 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendServiceHttpRequest.java index d333e0ff07bb..007e870e59e2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchBackendServiceHttpRequest.java @@ -128,18 +128,33 @@ public BackendService getApiMessageRequestBody() { return backendServiceResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to patch. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` 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 getBackendService() { return backendService; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and their + * serving capacity. (== resource_for v1.backendService ==) (== resource_for beta.backendService + * ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -148,26 +163,44 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -261,37 +294,67 @@ public Builder mergeFrom(PatchBackendServiceHttpRequest other) { 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 BackendService resource to patch. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` 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 getBackendService() { return backendService; } + /** + * Name of the BackendService resource to patch. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` 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 setBackendService(String backendService) { this.backendService = backendService; return this; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public Builder setBackendServiceResource(BackendService backendServiceResource) { this.backendServiceResource = backendServiceResource; 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; @@ -317,55 +380,91 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchFirewallHttpRequest.java index 864493a1116b..39bf8dc7791e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchFirewallHttpRequest.java @@ -126,10 +126,12 @@ public Firewall getApiMessageRequestBody() { return firewallResource; } + /** 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; } @@ -138,34 +140,60 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the firewall rule to patch. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` 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 getFirewall() { return firewall; } + /** Represents a Firewall resource. */ public Firewall getFirewallResource() { return firewallResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,19 +287,23 @@ public Builder mergeFrom(PatchFirewallHttpRequest other) { 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; @@ -297,73 +329,125 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** + * Name of the firewall rule to patch. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` 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 getFirewall() { return firewall; } + /** + * Name of the firewall rule to patch. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` 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 setFirewall(String firewall) { this.firewall = firewall; return this; } + /** Represents a Firewall resource. */ public Firewall getFirewallResource() { return firewallResource; } + /** Represents a Firewall resource. */ public Builder setFirewallResource(Firewall firewallResource) { this.firewallResource = firewallResource; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHealthCheckHttpRequest.java index d13357696846..11094d6c4aab 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHealthCheckHttpRequest.java @@ -126,10 +126,12 @@ public HealthCheck getApiMessageRequestBody() { return healthCheckResource; } + /** 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; } @@ -138,34 +140,63 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the HealthCheck resource to patch. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` 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 getHealthCheck() { return healthCheck; } + /** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public HealthCheck getHealthCheckResource() { return healthCheckResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,19 +290,23 @@ public Builder mergeFrom(PatchHealthCheckHttpRequest other) { 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; @@ -297,73 +332,133 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** + * Name of the HealthCheck resource to patch. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` 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 getHealthCheck() { return healthCheck; } + /** + * Name of the HealthCheck resource to patch. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` 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 setHealthCheck(String healthCheck) { this.healthCheck = healthCheck; return this; } + /** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public HealthCheck getHealthCheckResource() { return healthCheckResource; } + /** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public Builder setHealthCheckResource(HealthCheck healthCheckResource) { this.healthCheckResource = healthCheckResource; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpHealthCheckHttpRequest.java index a62374c01e7e..a6d292a30205 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpHealthCheckHttpRequest.java @@ -126,10 +126,12 @@ public HttpHealthCheck2 getApiMessageRequestBody() { return httpHealthCheckResource; } + /** 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; } @@ -138,34 +140,64 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the HttpHealthCheck resource to patch. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` 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 getHttpHealthCheck() { return httpHealthCheck; } + /** + * An HttpHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTP. + */ public HttpHealthCheck2 getHttpHealthCheckResource() { return httpHealthCheckResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,19 +291,23 @@ public Builder mergeFrom(PatchHttpHealthCheckHttpRequest other) { 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; @@ -297,73 +333,133 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** + * Name of the HttpHealthCheck resource to patch. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` 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 getHttpHealthCheck() { return httpHealthCheck; } + /** + * Name of the HttpHealthCheck resource to patch. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` 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 setHttpHealthCheck(String httpHealthCheck) { this.httpHealthCheck = httpHealthCheck; return this; } + /** + * An HttpHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTP. + */ public HttpHealthCheck2 getHttpHealthCheckResource() { return httpHealthCheckResource; } + /** + * An HttpHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTP. + */ public Builder setHttpHealthCheckResource(HttpHealthCheck2 httpHealthCheckResource) { this.httpHealthCheckResource = httpHealthCheckResource; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpsHealthCheckHttpRequest.java index 821c62fbb74d..14f4dc5a5140 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchHttpsHealthCheckHttpRequest.java @@ -126,10 +126,12 @@ public HttpsHealthCheck2 getApiMessageRequestBody() { return httpsHealthCheckResource; } + /** 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; } @@ -138,34 +140,64 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the HttpsHealthCheck resource to patch. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` 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 getHttpsHealthCheck() { return httpsHealthCheck; } + /** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public HttpsHealthCheck2 getHttpsHealthCheckResource() { return httpsHealthCheckResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,19 +291,23 @@ public Builder mergeFrom(PatchHttpsHealthCheckHttpRequest other) { 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; @@ -297,73 +333,133 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** + * Name of the HttpsHealthCheck resource to patch. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` 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 getHttpsHealthCheck() { return httpsHealthCheck; } + /** + * Name of the HttpsHealthCheck resource to patch. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` 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 setHttpsHealthCheck(String httpsHealthCheck) { this.httpsHealthCheck = httpsHealthCheck; return this; } + /** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public HttpsHealthCheck2 getHttpsHealthCheckResource() { return httpsHealthCheckResource; } + /** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public Builder setHttpsHealthCheckResource(HttpsHealthCheck2 httpsHealthCheckResource) { this.httpsHealthCheckResource = httpsHealthCheckResource; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInstanceGroupManagerHttpRequest.java index 93dd9fb8a8e2..197d34d5c407 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInstanceGroupManagerHttpRequest.java @@ -129,10 +129,12 @@ public InstanceGroupManager getApiMessageRequestBody() { return instanceGroupManagerResource; } + /** 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; } @@ -141,34 +143,65 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the instance group manager. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers ==) + * (== resource_for v1.regionInstanceGroupManagers ==) + */ public InstanceGroupManager getInstanceGroupManagerResource() { return instanceGroupManagerResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -262,19 +295,23 @@ public Builder mergeFrom(PatchInstanceGroupManagerHttpRequest other) { 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; @@ -300,74 +337,136 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** + * The name of the instance group manager. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the instance group manager. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers + * ==) (== resource_for v1.regionInstanceGroupManagers ==) + */ public InstanceGroupManager getInstanceGroupManagerResource() { return instanceGroupManagerResource; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers + * ==) (== resource_for v1.regionInstanceGroupManagers ==) + */ public Builder setInstanceGroupManagerResource( InstanceGroupManager instanceGroupManagerResource) { this.instanceGroupManagerResource = instanceGroupManagerResource; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectAttachmentHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectAttachmentHttpRequest.java index aacd15969f0e..2e16d93bb65f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectAttachmentHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectAttachmentHttpRequest.java @@ -126,10 +126,12 @@ public InterconnectAttachment getApiMessageRequestBody() { return interconnectAttachmentResource; } + /** 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; } @@ -138,34 +140,65 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the interconnect attachment to patch. It must have the format + * `{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}`. + * \`{interconnectAttachment}\` 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 getInterconnectAttachment() { return interconnectAttachment; } + /** + * Represents an InterconnectAttachment (VLAN attachment) resource. For more information, see + * Creating VLAN Attachments. (== resource_for beta.interconnectAttachments ==) (== resource_for + * v1.interconnectAttachments ==) + */ public InterconnectAttachment getInterconnectAttachmentResource() { return interconnectAttachmentResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,19 +292,23 @@ public Builder mergeFrom(PatchInterconnectAttachmentHttpRequest other) { 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; @@ -297,74 +334,136 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** + * Name of the interconnect attachment to patch. It must have the format + * `{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}`. + * \`{interconnectAttachment}\` 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 getInterconnectAttachment() { return interconnectAttachment; } + /** + * Name of the interconnect attachment to patch. It must have the format + * `{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}`. + * \`{interconnectAttachment}\` 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 setInterconnectAttachment(String interconnectAttachment) { this.interconnectAttachment = interconnectAttachment; return this; } + /** + * Represents an InterconnectAttachment (VLAN attachment) resource. For more information, see + * Creating VLAN Attachments. (== resource_for beta.interconnectAttachments ==) (== resource_for + * v1.interconnectAttachments ==) + */ public InterconnectAttachment getInterconnectAttachmentResource() { return interconnectAttachmentResource; } + /** + * Represents an InterconnectAttachment (VLAN attachment) resource. For more information, see + * Creating VLAN Attachments. (== resource_for beta.interconnectAttachments ==) (== resource_for + * v1.interconnectAttachments ==) + */ public Builder setInterconnectAttachmentResource( InterconnectAttachment interconnectAttachmentResource) { this.interconnectAttachmentResource = interconnectAttachmentResource; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectHttpRequest.java index c45f072a105b..afba5436ce7e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchInterconnectHttpRequest.java @@ -126,10 +126,12 @@ public Interconnect getApiMessageRequestBody() { return interconnectResource; } + /** 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; } @@ -138,34 +140,64 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the interconnect to update. It must have the format + * `{project}/global/interconnects/{interconnect}`. \`{interconnect}\` 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 getInterconnect() { return interconnect; } + /** + * Represents an Interconnects resource. The Interconnects resource is a dedicated connection + * between Google's network and your on-premises network. For more information, see the Dedicated + * overview page. (== resource_for v1.interconnects ==) (== resource_for beta.interconnects ==) + */ public Interconnect getInterconnectResource() { return interconnectResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,19 +291,23 @@ public Builder mergeFrom(PatchInterconnectHttpRequest other) { 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; @@ -297,73 +333,137 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** + * Name of the interconnect to update. It must have the format + * `{project}/global/interconnects/{interconnect}`. \`{interconnect}\` 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 getInterconnect() { return interconnect; } + /** + * Name of the interconnect to update. It must have the format + * `{project}/global/interconnects/{interconnect}`. \`{interconnect}\` 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 setInterconnect(String interconnect) { this.interconnect = interconnect; return this; } + /** + * Represents an Interconnects resource. The Interconnects resource is a dedicated connection + * between Google's network and your on-premises network. For more information, see the + * Dedicated overview page. (== resource_for v1.interconnects ==) (== resource_for + * beta.interconnects ==) + */ public Interconnect getInterconnectResource() { return interconnectResource; } + /** + * Represents an Interconnects resource. The Interconnects resource is a dedicated connection + * between Google's network and your on-premises network. For more information, see the + * Dedicated overview page. (== resource_for v1.interconnects ==) (== resource_for + * beta.interconnects ==) + */ public Builder setInterconnectResource(Interconnect interconnectResource) { this.interconnectResource = interconnectResource; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchNetworkHttpRequest.java index 426ae1dee514..e9fac96994f0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchNetworkHttpRequest.java @@ -125,10 +125,12 @@ public Network getApiMessageRequestBody() { return networkResource; } + /** 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; } @@ -137,34 +139,63 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the network to update. It must have the format `{project}/global/networks/{network}`. + * \`{network}\` 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 getNetwork() { return network; } + /** + * Represents a Network resource. Read Virtual Private Cloud (VPC) Network Overview for more + * information. (== resource_for v1.networks ==) (== resource_for beta.networks ==) + */ public Network getNetworkResource() { return networkResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -258,19 +289,23 @@ public Builder mergeFrom(PatchNetworkHttpRequest other) { 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; @@ -296,73 +331,131 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** 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; } + /** + * Name of the network to update. It must have the format `{project}/global/networks/{network}`. + * \`{network}\` 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 getNetwork() { return network; } + /** + * Name of the network to update. It must have the format `{project}/global/networks/{network}`. + * \`{network}\` 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 setNetwork(String network) { this.network = network; return this; } + /** + * Represents a Network resource. Read Virtual Private Cloud (VPC) Network Overview for more + * information. (== resource_for v1.networks ==) (== resource_for beta.networks ==) + */ public Network getNetworkResource() { return networkResource; } + /** + * Represents a Network resource. Read Virtual Private Cloud (VPC) Network Overview for more + * information. (== resource_for v1.networks ==) (== resource_for beta.networks ==) + */ public Builder setNetworkResource(Network networkResource) { this.networkResource = networkResource; 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionAutoscalerHttpRequest.java index 14893b8e3947..fac9131f79a4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionAutoscalerHttpRequest.java @@ -133,18 +133,28 @@ public Autoscaler getApiMessageRequestBody() { return autoscalerResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the autoscaler to patch. */ public String getAutoscaler() { return autoscaler; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual machine + * instances in managed instance groups according to an autoscaling policy that you define. For + * more information, read Autoscaling Groups of Instances. (== resource_for beta.autoscalers ==) + * (== resource_for v1.autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== + * resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -153,30 +163,55 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` 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 getRegion() { return region; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -275,37 +310,57 @@ public Builder mergeFrom(PatchRegionAutoscalerHttpRequest other) { 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 autoscaler to patch. */ public String getAutoscaler() { return autoscaler; } + /** Name of the autoscaler to patch. */ public Builder setAutoscaler(String autoscaler) { this.autoscaler = autoscaler; return this; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Builder setAutoscalerResource(Autoscaler autoscalerResource) { this.autoscalerResource = autoscalerResource; 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; @@ -331,64 +386,114 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` 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 setRegion(String region) { this.region = region; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionBackendServiceHttpRequest.java index fe8abff3d087..7f76063d469e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionBackendServiceHttpRequest.java @@ -128,18 +128,33 @@ public BackendService getApiMessageRequestBody() { return backendServiceResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to patch. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` 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 getBackendService() { return backendService; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and their + * serving capacity. (== resource_for v1.backendService ==) (== resource_for beta.backendService + * ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -148,26 +163,44 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -261,37 +294,67 @@ public Builder mergeFrom(PatchRegionBackendServiceHttpRequest other) { 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 BackendService resource to patch. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` 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 getBackendService() { return backendService; } + /** + * Name of the BackendService resource to patch. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` 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 setBackendService(String backendService) { this.backendService = backendService; return this; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public Builder setBackendServiceResource(BackendService backendServiceResource) { this.backendServiceResource = backendServiceResource; 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; @@ -317,55 +380,91 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionInstanceGroupManagerHttpRequest.java index bdade87a5ad2..66aedd8bc680 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRegionInstanceGroupManagerHttpRequest.java @@ -129,10 +129,12 @@ public InstanceGroupManager getApiMessageRequestBody() { return instanceGroupManagerResource; } + /** 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; } @@ -141,34 +143,65 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The name of the instance group manager. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers ==) + * (== resource_for v1.regionInstanceGroupManagers ==) + */ public InstanceGroupManager getInstanceGroupManagerResource() { return instanceGroupManagerResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -262,19 +295,23 @@ public Builder mergeFrom(PatchRegionInstanceGroupManagerHttpRequest other) { 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; @@ -300,74 +337,136 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** + * The name of the instance group manager. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the instance group manager. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers + * ==) (== resource_for v1.regionInstanceGroupManagers ==) + */ public InstanceGroupManager getInstanceGroupManagerResource() { return instanceGroupManagerResource; } + /** + * An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== + * resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers + * ==) (== resource_for v1.regionInstanceGroupManagers ==) + */ public Builder setInstanceGroupManagerResource( InstanceGroupManager instanceGroupManagerResource) { this.instanceGroupManagerResource = instanceGroupManagerResource; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRouterHttpRequest.java index 2f8a755aae33..653c19814ae7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRouterHttpRequest.java @@ -126,10 +126,12 @@ public Router getApiMessageRequestBody() { return routerResource; } + /** 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; } @@ -138,34 +140,60 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the Router resource to patch. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` 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 getRouter() { return router; } + /** Router resource. */ public Router getRouterResource() { return routerResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,19 +287,23 @@ public Builder mergeFrom(PatchRouterHttpRequest other) { 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; @@ -297,73 +329,125 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the Router resource to patch. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` 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 getRouter() { return router; } + /** + * Name of the Router resource to patch. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` 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 setRouter(String router) { this.router = router; return this; } + /** Router resource. */ public Router getRouterResource() { return routerResource; } + /** Router resource. */ public Builder setRouterResource(Router routerResource) { this.routerResource = routerResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRuleSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRuleSecurityPolicyHttpRequest.java index 4a41bf75bac7..491b4bd9e57f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRuleSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchRuleSecurityPolicyHttpRequest.java @@ -123,42 +123,62 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** The priority of the rule to patch. */ public Integer getPriority() { return priority; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/patchRule`. \`{securityPolicy}\` 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 getSecurityPolicy() { return securityPolicy; } + /** + * Represents a rule that describes one or more match conditions along with the action to be taken + * when traffic matches this condition (allow or deny). + */ public SecurityPolicyRule getSecurityPolicyRuleResource() { return securityPolicyRuleResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +267,131 @@ public Builder mergeFrom(PatchRuleSecurityPolicyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** The priority of the rule to patch. */ public Integer getPriority() { return priority; } + /** The priority of the rule to patch. */ public Builder setPriority(Integer priority) { this.priority = priority; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/patchRule`. \`{securityPolicy}\` 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 getSecurityPolicy() { return securityPolicy; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/patchRule`. \`{securityPolicy}\` 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 setSecurityPolicy(String securityPolicy) { this.securityPolicy = securityPolicy; return this; } + /** + * Represents a rule that describes one or more match conditions along with the action to be + * taken when traffic matches this condition (allow or deny). + */ public SecurityPolicyRule getSecurityPolicyRuleResource() { return securityPolicyRuleResource; } + /** + * Represents a rule that describes one or more match conditions along with the action to be + * taken when traffic matches this condition (allow or deny). + */ public Builder setSecurityPolicyRuleResource(SecurityPolicyRule securityPolicyRuleResource) { this.securityPolicyRuleResource = securityPolicyRuleResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSecurityPolicyHttpRequest.java index 3458421c20e5..505eaa2b5530 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSecurityPolicyHttpRequest.java @@ -125,10 +125,12 @@ public SecurityPolicy getApiMessageRequestBody() { return securityPolicyResource; } + /** 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; } @@ -137,34 +139,64 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}`. \`{securityPolicy}\` 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 getSecurityPolicy() { return securityPolicy; } + /** + * A security policy is comprised of one or more rules. It can also be associated with one or more + * 'targets'. (== resource_for v1.securityPolicies ==) (== resource_for beta.securityPolicies ==) + */ public SecurityPolicy getSecurityPolicyResource() { return securityPolicyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -258,19 +290,23 @@ public Builder mergeFrom(PatchSecurityPolicyHttpRequest other) { 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; @@ -296,73 +332,135 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}`. \`{securityPolicy}\` 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 getSecurityPolicy() { return securityPolicy; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}`. \`{securityPolicy}\` 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 setSecurityPolicy(String securityPolicy) { this.securityPolicy = securityPolicy; return this; } + /** + * A security policy is comprised of one or more rules. It can also be associated with one or + * more 'targets'. (== resource_for v1.securityPolicies ==) (== resource_for + * beta.securityPolicies ==) + */ public SecurityPolicy getSecurityPolicyResource() { return securityPolicyResource; } + /** + * A security policy is comprised of one or more rules. It can also be associated with one or + * more 'targets'. (== resource_for v1.securityPolicies ==) (== resource_for + * beta.securityPolicies ==) + */ public Builder setSecurityPolicyResource(SecurityPolicy securityPolicyResource) { this.securityPolicyResource = securityPolicyResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSslPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSslPolicyHttpRequest.java index 3bd32129a714..77683a2d669e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSslPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSslPolicyHttpRequest.java @@ -125,10 +125,12 @@ public SslPolicy getApiMessageRequestBody() { return sslPolicyResource; } + /** 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; } @@ -137,34 +139,66 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the SSL policy to update. The name must be 1-63 characters long, and comply with + * RFC1035. It must have the format `{project}/global/sslPolicies/{sslPolicy}`. \`{sslPolicy}\` + * 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 getSslPolicy() { return sslPolicy; } + /** + * A SSL policy specifies the server-side support for SSL features. This can be attached to a + * TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS or + * SSL proxy load balancer. They do not affect the connection between the load balancers and the + * backends. + */ public SslPolicy getSslPolicyResource() { return sslPolicyResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -258,19 +292,23 @@ public Builder mergeFrom(PatchSslPolicyHttpRequest other) { 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; @@ -296,73 +334,137 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the SSL policy to update. The name must be 1-63 characters long, and comply with + * RFC1035. It must have the format `{project}/global/sslPolicies/{sslPolicy}`. \`{sslPolicy}\` + * 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 getSslPolicy() { return sslPolicy; } + /** + * Name of the SSL policy to update. The name must be 1-63 characters long, and comply with + * RFC1035. It must have the format `{project}/global/sslPolicies/{sslPolicy}`. \`{sslPolicy}\` + * 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 setSslPolicy(String sslPolicy) { this.sslPolicy = sslPolicy; return this; } + /** + * A SSL policy specifies the server-side support for SSL features. This can be attached to a + * TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS + * or SSL proxy load balancer. They do not affect the connection between the load balancers and + * the backends. + */ public SslPolicy getSslPolicyResource() { return sslPolicyResource; } + /** + * A SSL policy specifies the server-side support for SSL features. This can be attached to a + * TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS + * or SSL proxy load balancer. They do not affect the connection between the load balancers and + * the backends. + */ public Builder setSslPolicyResource(SslPolicy sslPolicyResource) { this.sslPolicyResource = sslPolicyResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java index 40eb539e986e..27df277521f8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchSubnetworkHttpRequest.java @@ -127,10 +127,12 @@ public Subnetwork getApiMessageRequestBody() { return subnetworkResource; } + /** 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; } @@ -139,34 +141,64 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the Subnetwork resource to patch. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}`. \`{subnetwork}\` 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 getSubnetwork() { return subnetwork; } + /** + * A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for v1.subnetworks + * ==) + */ public Subnetwork getSubnetworkResource() { return subnetworkResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -260,19 +292,23 @@ public Builder mergeFrom(PatchSubnetworkHttpRequest other) { 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; @@ -298,73 +334,133 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the Subnetwork resource to patch. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}`. \`{subnetwork}\` 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 getSubnetwork() { return subnetwork; } + /** + * Name of the Subnetwork resource to patch. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}`. \`{subnetwork}\` 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 setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; return this; } + /** + * A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for v1.subnetworks + * ==) + */ public Subnetwork getSubnetworkResource() { return subnetworkResource; } + /** + * A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for v1.subnetworks + * ==) + */ public Builder setSubnetworkResource(Subnetwork subnetworkResource) { this.subnetworkResource = subnetworkResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchUrlMapHttpRequest.java index 1fad01a27fb6..f563ed9019c2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PatchUrlMapHttpRequest.java @@ -126,10 +126,12 @@ public UrlMap getApiMessageRequestBody() { return urlMapResource; } + /** 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; } @@ -138,34 +140,63 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the UrlMap resource to patch. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` 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 getUrlMap() { return urlMap; } + /** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public UrlMap getUrlMapResource() { return urlMapResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,19 +290,23 @@ public Builder mergeFrom(PatchUrlMapHttpRequest other) { 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; @@ -297,73 +332,131 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the UrlMap resource to patch. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` 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 getUrlMap() { return urlMap; } + /** + * Name of the UrlMap resource to patch. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` 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 setUrlMap(String urlMap) { this.urlMap = urlMap; return this; } + /** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public UrlMap getUrlMapResource() { return urlMapResource; } + /** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public Builder setUrlMapResource(UrlMap urlMapResource) { this.urlMapResource = urlMapResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathMatcher.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathMatcher.java index c6682587bacf..ab04b9a89e73 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathMatcher.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathMatcher.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A matcher for the path portion of the URL. The BackendService from the longest-matched rule will + * serve the URL. If no rule was matched, the default service will be used. + */ public final class PathMatcher implements ApiMessage { private final String defaultService; private final String description; @@ -75,18 +79,44 @@ public List getFieldMask() { return null; } + /** + * The full or partial URL to the BackendService resource. This will be used if none of the + * pathRules or routeRules defined by this PathMatcher are matched. For example, the following are + * all valid URLs to a BackendService resource: - + * https://www.googleapis.com/compute/v1/projects/project/global/backendServices/backendService - + * compute/v1/projects/project/global/backendServices/backendService - + * global/backendServices/backendService If defaultRouteAction is additionally specified, advanced + * routing actions like URL Rewrites, etc. take effect prior to sending the request to the + * backend. However, if defaultService is specified, defaultRouteAction cannot contain any + * weightedBackendServices. Conversely, if defaultRouteAction specifies any + * weightedBackendServices, defaultService must not be specified. Only one of defaultService, + * defaultUrlRedirect or defaultRouteAction.weightedBackendService must be set. Authorization + * requires one or more of the following Google IAM permissions on the specified resource + * default_service: - compute.backendBuckets.use - compute.backendServices.use + */ public String getDefaultService() { return defaultService; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** The name to which this PathMatcher is referred by the HostRule. */ public String getName() { return name; } + /** + * The list of path rules. Use this list instead of routeRules when routing based on simple path + * matching is all that's required. The order by which path rules are specified does not matter. + * Matches are always done on the longest-path-first basis. For example: a pathRule with a path + * /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear + * in this list. Only one of pathRules or routeRules must be set. + */ public List getPathRulesList() { return pathRules; } @@ -145,37 +175,89 @@ public Builder mergeFrom(PathMatcher other) { this.pathRules = source.pathRules; } + /** + * The full or partial URL to the BackendService resource. This will be used if none of the + * pathRules or routeRules defined by this PathMatcher are matched. For example, the following + * are all valid URLs to a BackendService resource: - + * https://www.googleapis.com/compute/v1/projects/project/global/backendServices/backendService + * - compute/v1/projects/project/global/backendServices/backendService - + * global/backendServices/backendService If defaultRouteAction is additionally specified, + * advanced routing actions like URL Rewrites, etc. take effect prior to sending the request to + * the backend. However, if defaultService is specified, defaultRouteAction cannot contain any + * weightedBackendServices. Conversely, if defaultRouteAction specifies any + * weightedBackendServices, defaultService must not be specified. Only one of defaultService, + * defaultUrlRedirect or defaultRouteAction.weightedBackendService must be set. Authorization + * requires one or more of the following Google IAM permissions on the specified resource + * default_service: - compute.backendBuckets.use - compute.backendServices.use + */ public String getDefaultService() { return defaultService; } + /** + * The full or partial URL to the BackendService resource. This will be used if none of the + * pathRules or routeRules defined by this PathMatcher are matched. For example, the following + * are all valid URLs to a BackendService resource: - + * https://www.googleapis.com/compute/v1/projects/project/global/backendServices/backendService + * - compute/v1/projects/project/global/backendServices/backendService - + * global/backendServices/backendService If defaultRouteAction is additionally specified, + * advanced routing actions like URL Rewrites, etc. take effect prior to sending the request to + * the backend. However, if defaultService is specified, defaultRouteAction cannot contain any + * weightedBackendServices. Conversely, if defaultRouteAction specifies any + * weightedBackendServices, defaultService must not be specified. Only one of defaultService, + * defaultUrlRedirect or defaultRouteAction.weightedBackendService must be set. Authorization + * requires one or more of the following Google IAM permissions on the specified resource + * default_service: - compute.backendBuckets.use - compute.backendServices.use + */ public Builder setDefaultService(String defaultService) { this.defaultService = defaultService; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** The name to which this PathMatcher is referred by the HostRule. */ public String getName() { return name; } + /** The name to which this PathMatcher is referred by the HostRule. */ public Builder setName(String name) { this.name = name; return this; } + /** + * The list of path rules. Use this list instead of routeRules when routing based on simple path + * matching is all that's required. The order by which path rules are specified does not matter. + * Matches are always done on the longest-path-first basis. For example: a pathRule with a path + * /a/b/c/* will match before /a/b/* irrespective of the order in which those paths + * appear in this list. Only one of pathRules or routeRules must be set. + */ public List getPathRulesList() { return pathRules; } + /** + * The list of path rules. Use this list instead of routeRules when routing based on simple path + * matching is all that's required. The order by which path rules are specified does not matter. + * Matches are always done on the longest-path-first basis. For example: a pathRule with a path + * /a/b/c/* will match before /a/b/* irrespective of the order in which those paths + * appear in this list. Only one of pathRules or routeRules must be set. + */ public Builder addAllPathRules(List pathRules) { if (this.pathRules == null) { this.pathRules = new LinkedList<>(); @@ -184,6 +266,13 @@ public Builder addAllPathRules(List pathRules) { return this; } + /** + * The list of path rules. Use this list instead of routeRules when routing based on simple path + * matching is all that's required. The order by which path rules are specified does not matter. + * Matches are always done on the longest-path-first basis. For example: a pathRule with a path + * /a/b/c/* will match before /a/b/* irrespective of the order in which those paths + * appear in this list. Only one of pathRules or routeRules must be set. + */ public Builder addPathRules(PathRule pathRules) { if (this.pathRules == null) { this.pathRules = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathRule.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathRule.java index d9894f25c888..ad43bb9be8e7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathRule.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PathRule.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A path-matching rule for a URL. If matched, will use the specified BackendService to handle the + * traffic arriving at this URL. + */ public final class PathRule implements ApiMessage { private final List paths; private final String service; @@ -62,10 +66,23 @@ public List getFieldMask() { return null; } + /** + * The list of path patterns to match. Each must start with / and the only place a * is + * allowed is at the end following a /. The string fed to the path matcher does not include any + * text after the first ? or #, and those chars are not allowed here. + */ public List getPathsList() { return paths; } + /** + * The full or partial URL of the backend service resource to which traffic is directed if this + * rule is matched. If routeAction is additionally specified, advanced routing actions like URL + * Rewrites, etc. take effect prior to sending the request to the backend. However, if service is + * specified, routeAction cannot contain any weightedBackendService s. Conversely, if routeAction + * specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, + * service or routeAction.weightedBackendService must be set. + */ public String getService() { return service; } @@ -114,10 +131,20 @@ public Builder mergeFrom(PathRule other) { this.service = source.service; } + /** + * The list of path patterns to match. Each must start with / and the only place a * is + * allowed is at the end following a /. The string fed to the path matcher does not include any + * text after the first ? or #, and those chars are not allowed here. + */ public List getPathsList() { return paths; } + /** + * The list of path patterns to match. Each must start with / and the only place a * is + * allowed is at the end following a /. The string fed to the path matcher does not include any + * text after the first ? or #, and those chars are not allowed here. + */ public Builder addAllPaths(List paths) { if (this.paths == null) { this.paths = new LinkedList<>(); @@ -126,6 +153,11 @@ public Builder addAllPaths(List paths) { return this; } + /** + * The list of path patterns to match. Each must start with / and the only place a * is + * allowed is at the end following a /. The string fed to the path matcher does not include any + * text after the first ? or #, and those chars are not allowed here. + */ public Builder addPaths(String paths) { if (this.paths == null) { this.paths = new LinkedList<>(); @@ -134,10 +166,26 @@ public Builder addPaths(String paths) { return this; } + /** + * The full or partial URL of the backend service resource to which traffic is directed if this + * rule is matched. If routeAction is additionally specified, advanced routing actions like URL + * Rewrites, etc. take effect prior to sending the request to the backend. However, if service + * is specified, routeAction cannot contain any weightedBackendService s. Conversely, if + * routeAction specifies any weightedBackendServices, service must not be specified. Only one of + * urlRedirect, service or routeAction.weightedBackendService must be set. + */ public String getService() { return service; } + /** + * The full or partial URL of the backend service resource to which traffic is directed if this + * rule is matched. If routeAction is additionally specified, advanced routing actions like URL + * Rewrites, etc. take effect prior to sending the request to the backend. However, if service + * is specified, routeAction cannot contain any weightedBackendService s. Conversely, if + * routeAction specifies any weightedBackendServices, service must not be specified. Only one of + * urlRedirect, service or routeAction.weightedBackendService must be set. + */ public Builder setService(String service) { this.service = service; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Policy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Policy.java index 9acbe4331782..88dca1e5e8c0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Policy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Policy.java @@ -25,6 +25,30 @@ @Generated("by GAPIC") @BetaApi +/** + * Defines an Identity and Access Management (IAM) policy. It is used to specify access control + * policies for Cloud Platform resources. + * + *

A `Policy` consists of a list of `bindings`. A `binding` binds a list of `members` to a + * `role`, where the members can be user accounts, Google groups, Google domains, and service + * accounts. A `role` is a named list of permissions defined by IAM. + * + *

**JSON Example** + * + *

{ "bindings": [ { "role": "roles/owner", "members": [ "user:mike{@literal @}example.com", + * "group:admins{@literal @}example.com", "domain:google.com", + * "serviceAccount:my-other-app{@literal @}appspot.gserviceaccount.com" ] }, { "role": + * "roles/viewer", "members": ["user:sean{@literal @}example.com"] } ] } + * + *

**YAML Example** + * + *

bindings: - members: - user:mike{@literal @}example.com - group:admins{@literal @}example.com + * - domain:google.com - serviceAccount:my-other-app{@literal @}appspot.gserviceaccount.com role: + * roles/owner - members: - user:sean{@literal @}example.com role: roles/viewer + * + *

For a description of IAM and its features, see the [IAM developer's + * guide](https://cloud.google.com/iam/docs). + */ public final class Policy implements ApiMessage { private final List auditConfigs; private final List bindings; @@ -92,14 +116,29 @@ public List getFieldMask() { return null; } + /** Specifies cloud audit logging configuration for this policy. */ public List getAuditConfigsList() { return auditConfigs; } + /** + * Associates a list of `members` to a `role`. `bindings` with no members will result in an error. + */ public List getBindingsList() { return bindings; } + /** + * `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates + * of a policy from overwriting each other. It is strongly suggested that systems make use of the + * `etag` in the read-modify-write cycle to perform policy updates in order to avoid race + * conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected + * to put that etag in the request to `setIamPolicy` to ensure that their change will be applied + * to the same version of the policy. + * + *

If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is + * overwritten blindly. + */ public String getEtag() { return etag; } @@ -108,10 +147,18 @@ public Boolean getIamOwned() { return iamOwned; } + /** + * If more than one rule is specified, the rules are applied in the following manner: - All + * matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission is + * denied. Logging will be applied if one or more matching rule requires logging. - Otherwise, if + * any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if one or + * more matching rule requires logging. - Otherwise, if no rule applies, permission is denied. + */ public List getRulesList() { return rules; } + /** Deprecated. */ public Integer getVersion() { return version; } @@ -180,10 +227,12 @@ public Builder mergeFrom(Policy other) { this.version = source.version; } + /** Specifies cloud audit logging configuration for this policy. */ public List getAuditConfigsList() { return auditConfigs; } + /** Specifies cloud audit logging configuration for this policy. */ public Builder addAllAuditConfigs(List auditConfigs) { if (this.auditConfigs == null) { this.auditConfigs = new LinkedList<>(); @@ -192,6 +241,7 @@ public Builder addAllAuditConfigs(List auditConfigs) { return this; } + /** Specifies cloud audit logging configuration for this policy. */ public Builder addAuditConfigs(AuditConfig auditConfigs) { if (this.auditConfigs == null) { this.auditConfigs = new LinkedList<>(); @@ -200,10 +250,18 @@ public Builder addAuditConfigs(AuditConfig auditConfigs) { return this; } + /** + * Associates a list of `members` to a `role`. `bindings` with no members will result in an + * error. + */ public List getBindingsList() { return bindings; } + /** + * Associates a list of `members` to a `role`. `bindings` with no members will result in an + * error. + */ public Builder addAllBindings(List bindings) { if (this.bindings == null) { this.bindings = new LinkedList<>(); @@ -212,6 +270,10 @@ public Builder addAllBindings(List bindings) { return this; } + /** + * Associates a list of `members` to a `role`. `bindings` with no members will result in an + * error. + */ public Builder addBindings(Binding bindings) { if (this.bindings == null) { this.bindings = new LinkedList<>(); @@ -220,10 +282,32 @@ public Builder addBindings(Binding bindings) { return this; } + /** + * `etag` is used for optimistic concurrency control as a way to help prevent simultaneous + * updates of a policy from overwriting each other. It is strongly suggested that systems make + * use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid + * race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are + * expected to put that etag in the request to `setIamPolicy` to ensure that their change will + * be applied to the same version of the policy. + * + *

If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is + * overwritten blindly. + */ public String getEtag() { return etag; } + /** + * `etag` is used for optimistic concurrency control as a way to help prevent simultaneous + * updates of a policy from overwriting each other. It is strongly suggested that systems make + * use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid + * race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are + * expected to put that etag in the request to `setIamPolicy` to ensure that their change will + * be applied to the same version of the policy. + * + *

If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is + * overwritten blindly. + */ public Builder setEtag(String etag) { this.etag = etag; return this; @@ -238,10 +322,26 @@ public Builder setIamOwned(Boolean iamOwned) { return this; } + /** + * If more than one rule is specified, the rules are applied in the following manner: - All + * matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission + * is denied. Logging will be applied if one or more matching rule requires logging. - + * Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be + * applied if one or more matching rule requires logging. - Otherwise, if no rule applies, + * permission is denied. + */ public List getRulesList() { return rules; } + /** + * If more than one rule is specified, the rules are applied in the following manner: - All + * matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission + * is denied. Logging will be applied if one or more matching rule requires logging. - + * Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be + * applied if one or more matching rule requires logging. - Otherwise, if no rule applies, + * permission is denied. + */ public Builder addAllRules(List rules) { if (this.rules == null) { this.rules = new LinkedList<>(); @@ -250,6 +350,14 @@ public Builder addAllRules(List rules) { return this; } + /** + * If more than one rule is specified, the rules are applied in the following manner: - All + * matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission + * is denied. Logging will be applied if one or more matching rule requires logging. - + * Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be + * applied if one or more matching rule requires logging. - Otherwise, if no rule applies, + * permission is denied. + */ public Builder addRules(Rule rules) { if (this.rules == null) { this.rules = new LinkedList<>(); @@ -258,10 +366,12 @@ public Builder addRules(Rule rules) { return this; } + /** Deprecated. */ public Integer getVersion() { return version; } + /** Deprecated. */ public Builder setVersion(Integer version) { this.version = version; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PreviewRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PreviewRouterHttpRequest.java index 33071629675e..f802fac990c7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PreviewRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/PreviewRouterHttpRequest.java @@ -116,38 +116,53 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the Router resource to query. It must have the format + * `{project}/regions/{region}/routers/{router}/preview`. \`{router}\` 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 getRouter() { return router; } + /** Router resource. */ public Router getRouterResource() { return routerResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +246,114 @@ public Builder mergeFrom(PreviewRouterHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the Router resource to query. It must have the format + * `{project}/regions/{region}/routers/{router}/preview`. \`{router}\` 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 getRouter() { return router; } + /** + * Name of the Router resource to query. It must have the format + * `{project}/regions/{region}/routers/{router}/preview`. \`{router}\` 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 setRouter(String router) { this.router = router; return this; } + /** Router resource. */ public Router getRouterResource() { return routerResource; } + /** Router resource. */ public Builder setRouterResource(Router routerResource) { this.routerResource = routerResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Project.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Project.java index 19a5fccd47b4..cce141100e11 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Project.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Project.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A Project resource. For an overview of projects, see Cloud Platform Resource Hierarchy. (== + * resource_for v1.projects ==) (== resource_for beta.projects ==) + */ public final class Project implements ApiMessage { private final Metadata commonInstanceMetadata; private final String creationTimestamp; @@ -141,54 +145,87 @@ public List getFieldMask() { return null; } + /** + * Metadata key/value pairs available to all instances contained in this project. See Custom + * metadata for more information. + */ public Metadata getCommonInstanceMetadata() { return commonInstanceMetadata; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * This signifies the default network tier used for configuring resources of the project and can + * only take the following values: PREMIUM, STANDARD. Initially the default network tier is + * PREMIUM. + */ public String getDefaultNetworkTier() { return defaultNetworkTier; } + /** [Output Only] Default service account used by VMs running in this project. */ public String getDefaultServiceAccount() { return defaultServiceAccount; } + /** An optional textual description of the resource. */ public String getDescription() { return description; } + /** Restricted features enabled for use on this project. */ public List getEnabledFeaturesList() { return enabledFeatures; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + * This is not the project ID, and is just a unique ID used by Compute Engine to identify + * resources. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#project for projects. */ public String getKind() { return kind; } + /** + * The project ID. For example: my-example-project. Use the project ID to make requests to Compute + * Engine. + */ public String getName() { return name; } + /** [Output Only] Quotas assigned to this project. */ public List getQuotasList() { return quotas; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are + * stored. + */ public UsageExportLocation getUsageExportLocation() { return usageExportLocation; } + /** + * [Output Only] The role this project has in a shared VPC configuration. Currently only HOST + * projects are differentiated. + */ public String getXpnProjectStatus() { return xpnProjectStatus; } @@ -292,55 +329,81 @@ public Builder mergeFrom(Project other) { this.xpnProjectStatus = source.xpnProjectStatus; } + /** + * Metadata key/value pairs available to all instances contained in this project. See Custom + * metadata for more information. + */ public Metadata getCommonInstanceMetadata() { return commonInstanceMetadata; } + /** + * Metadata key/value pairs available to all instances contained in this project. See Custom + * metadata for more information. + */ public Builder setCommonInstanceMetadata(Metadata commonInstanceMetadata) { this.commonInstanceMetadata = commonInstanceMetadata; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * This signifies the default network tier used for configuring resources of the project and can + * only take the following values: PREMIUM, STANDARD. Initially the default network tier is + * PREMIUM. + */ public String getDefaultNetworkTier() { return defaultNetworkTier; } + /** + * This signifies the default network tier used for configuring resources of the project and can + * only take the following values: PREMIUM, STANDARD. Initially the default network tier is + * PREMIUM. + */ public Builder setDefaultNetworkTier(String defaultNetworkTier) { this.defaultNetworkTier = defaultNetworkTier; return this; } + /** [Output Only] Default service account used by VMs running in this project. */ public String getDefaultServiceAccount() { return defaultServiceAccount; } + /** [Output Only] Default service account used by VMs running in this project. */ public Builder setDefaultServiceAccount(String defaultServiceAccount) { this.defaultServiceAccount = defaultServiceAccount; return this; } + /** An optional textual description of the resource. */ public String getDescription() { return description; } + /** An optional textual description of the resource. */ public Builder setDescription(String description) { this.description = description; return this; } + /** Restricted features enabled for use on this project. */ public List getEnabledFeaturesList() { return enabledFeatures; } + /** Restricted features enabled for use on this project. */ public Builder addAllEnabledFeatures(List enabledFeatures) { if (this.enabledFeatures == null) { this.enabledFeatures = new LinkedList<>(); @@ -349,6 +412,7 @@ public Builder addAllEnabledFeatures(List enabledFeatures) { return this; } + /** Restricted features enabled for use on this project. */ public Builder addEnabledFeatures(String enabledFeatures) { if (this.enabledFeatures == null) { this.enabledFeatures = new LinkedList<>(); @@ -357,37 +421,59 @@ public Builder addEnabledFeatures(String enabledFeatures) { return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. This is not the project ID, and is just a unique ID used by Compute Engine to + * identify resources. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. This is not the project ID, and is just a unique ID used by Compute Engine to + * identify resources. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#project for projects. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#project for projects. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * The project ID. For example: my-example-project. Use the project ID to make requests to + * Compute Engine. + */ public String getName() { return name; } + /** + * The project ID. For example: my-example-project. Use the project ID to make requests to + * Compute Engine. + */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Quotas assigned to this project. */ public List getQuotasList() { return quotas; } + /** [Output Only] Quotas assigned to this project. */ public Builder addAllQuotas(List quotas) { if (this.quotas == null) { this.quotas = new LinkedList<>(); @@ -396,6 +482,7 @@ public Builder addAllQuotas(List quotas) { return this; } + /** [Output Only] Quotas assigned to this project. */ public Builder addQuotas(Quota quotas) { if (this.quotas == null) { this.quotas = new LinkedList<>(); @@ -404,28 +491,46 @@ public Builder addQuotas(Quota quotas) { return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are + * stored. + */ public UsageExportLocation getUsageExportLocation() { return usageExportLocation; } + /** + * The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are + * stored. + */ public Builder setUsageExportLocation(UsageExportLocation usageExportLocation) { this.usageExportLocation = usageExportLocation; return this; } + /** + * [Output Only] The role this project has in a shared VPC configuration. Currently only HOST + * projects are differentiated. + */ public String getXpnProjectStatus() { return xpnProjectStatus; } + /** + * [Output Only] The role this project has in a shared VPC configuration. Currently only HOST + * projects are differentiated. + */ public Builder setXpnProjectStatus(String xpnProjectStatus) { this.xpnProjectStatus = xpnProjectStatus; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsDisableXpnResourceRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsDisableXpnResourceRequest.java index 243510452ca6..bd16f4f0eb52 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsDisableXpnResourceRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsDisableXpnResourceRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** Service resource (a.k.a service project) ID. */ public XpnResourceId getXpnResource() { return xpnResource; } @@ -98,10 +99,12 @@ public Builder mergeFrom(ProjectsDisableXpnResourceRequest other) { this.xpnResource = source.xpnResource; } + /** Service resource (a.k.a service project) ID. */ public XpnResourceId getXpnResource() { return xpnResource; } + /** Service resource (a.k.a service project) ID. */ public Builder setXpnResource(XpnResourceId xpnResource) { this.xpnResource = xpnResource; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsEnableXpnResourceRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsEnableXpnResourceRequest.java index 11afd5d75be4..12dca1129cd6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsEnableXpnResourceRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsEnableXpnResourceRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** Service resource (a.k.a service project) ID. */ public XpnResourceId getXpnResource() { return xpnResource; } @@ -98,10 +99,12 @@ public Builder mergeFrom(ProjectsEnableXpnResourceRequest other) { this.xpnResource = source.xpnResource; } + /** Service resource (a.k.a service project) ID. */ public XpnResourceId getXpnResource() { return xpnResource; } + /** Service resource (a.k.a service project) ID. */ public Builder setXpnResource(XpnResourceId xpnResource) { this.xpnResource = xpnResource; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsGetXpnResources.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsGetXpnResources.java index e51fd622537d..938814c1383a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsGetXpnResources.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsGetXpnResources.java @@ -69,14 +69,27 @@ public List getFieldMask() { return null; } + /** + * [Output Only] Type of resource. Always compute#projectsGetXpnResources for lists of service + * resources (a.k.a service projects) + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** + * Service resources (a.k.a service projects) attached to this project as their shared VPC host. + */ public List getResourcesList() { return resources; } @@ -130,28 +143,54 @@ public Builder mergeFrom(ProjectsGetXpnResources other) { this.resources = source.resources; } + /** + * [Output Only] Type of resource. Always compute#projectsGetXpnResources for lists of service + * resources (a.k.a service projects) + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#projectsGetXpnResources for lists of service + * resources (a.k.a service projects) + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** + * Service resources (a.k.a service projects) attached to this project as their shared VPC host. + */ public List getResourcesList() { return resources; } + /** + * Service resources (a.k.a service projects) attached to this project as their shared VPC host. + */ public Builder addAllResources(List resources) { if (this.resources == null) { this.resources = new LinkedList<>(); @@ -160,6 +199,9 @@ public Builder addAllResources(List resources) { return this; } + /** + * Service resources (a.k.a service projects) attached to this project as their shared VPC host. + */ public Builder addResources(XpnResourceId resources) { if (this.resources == null) { this.resources = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsListXpnHostsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsListXpnHostsRequest.java index f8a06b3a90f2..70c042323e6f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsListXpnHostsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsListXpnHostsRequest.java @@ -55,6 +55,10 @@ public List getFieldMask() { return null; } + /** + * Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host + * projects. If not specified, the organization will be inferred from the project. + */ public String getOrganization() { return organization; } @@ -98,10 +102,18 @@ public Builder mergeFrom(ProjectsListXpnHostsRequest other) { this.organization = source.organization; } + /** + * Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host + * projects. If not specified, the organization will be inferred from the project. + */ public String getOrganization() { return organization; } + /** + * Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host + * projects. If not specified, the organization will be inferred from the project. + */ public Builder setOrganization(String organization) { this.organization = organization; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsSetDefaultNetworkTierRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsSetDefaultNetworkTierRequest.java index bac42a90b02b..7dc6dff05054 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsSetDefaultNetworkTierRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsSetDefaultNetworkTierRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** Default network tier to be set. */ public String getNetworkTier() { return networkTier; } @@ -98,10 +99,12 @@ public Builder mergeFrom(ProjectsSetDefaultNetworkTierRequest other) { this.networkTier = source.networkTier; } + /** Default network tier to be set. */ public String getNetworkTier() { return networkTier; } + /** Default network tier to be set. */ public Builder setNetworkTier(String networkTier) { this.networkTier = networkTier; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Quota.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Quota.java index 7f8521e2f1fe..1d05e21749c6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Quota.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Quota.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** A quotas entry. */ public final class Quota implements ApiMessage { private final Double limit; private final String metric; @@ -73,18 +74,22 @@ public List getFieldMask() { return null; } + /** [Output Only] Quota limit for this metric. */ public Double getLimit() { return limit; } + /** [Output Only] Name of the quota metric. */ public String getMetric() { return metric; } + /** [Output Only] Owning resource. This is the resource on which this quota is applied. */ public String getOwner() { return owner; } + /** [Output Only] Current usage of this metric. */ public Double getUsage() { return usage; } @@ -143,37 +148,45 @@ public Builder mergeFrom(Quota other) { this.usage = source.usage; } + /** [Output Only] Quota limit for this metric. */ public Double getLimit() { return limit; } + /** [Output Only] Quota limit for this metric. */ public Builder setLimit(Double limit) { this.limit = limit; return this; } + /** [Output Only] Name of the quota metric. */ public String getMetric() { return metric; } + /** [Output Only] Name of the quota metric. */ public Builder setMetric(String metric) { this.metric = metric; return this; } + /** [Output Only] Owning resource. This is the resource on which this quota is applied. */ public String getOwner() { return owner; } + /** [Output Only] Owning resource. This is the resource on which this quota is applied. */ public Builder setOwner(String owner) { this.owner = owner; return this; } + /** [Output Only] Current usage of this metric. */ public Double getUsage() { return usage; } + /** [Output Only] Current usage of this metric. */ public Builder setUsage(Double usage) { this.usage = usage; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RawDisk.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RawDisk.java index f55e6eee8fca..d66260b27e8d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RawDisk.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RawDisk.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** The parameters of the raw disk image. */ public final class RawDisk implements ApiMessage { private final String containerType; private final String sha1Checksum; @@ -67,14 +68,27 @@ public List getFieldMask() { return null; } + /** + * The format used to encode and transmit the block device, which should be TAR. This is just a + * container and transmission format and not a runtime format. Provided by the client when the + * disk image is created. + */ public String getContainerType() { return containerType; } + /** + * An optional SHA1 checksum of the disk image before unpackaging; provided by the client when the + * disk image is created. + */ public String getSha1Checksum() { return sha1Checksum; } + /** + * The full Google Cloud Storage URL where the disk image is stored. You must provide either this + * property or the sourceDisk property but not both. + */ public String getSource() { return source; } @@ -128,28 +142,54 @@ public Builder mergeFrom(RawDisk other) { this.source = source.source; } + /** + * The format used to encode and transmit the block device, which should be TAR. This is just a + * container and transmission format and not a runtime format. Provided by the client when the + * disk image is created. + */ public String getContainerType() { return containerType; } + /** + * The format used to encode and transmit the block device, which should be TAR. This is just a + * container and transmission format and not a runtime format. Provided by the client when the + * disk image is created. + */ public Builder setContainerType(String containerType) { this.containerType = containerType; return this; } + /** + * An optional SHA1 checksum of the disk image before unpackaging; provided by the client when + * the disk image is created. + */ public String getSha1Checksum() { return sha1Checksum; } + /** + * An optional SHA1 checksum of the disk image before unpackaging; provided by the client when + * the disk image is created. + */ public Builder setSha1Checksum(String sha1Checksum) { this.sha1Checksum = sha1Checksum; return this; } + /** + * The full Google Cloud Storage URL where the disk image is stored. You must provide either + * this property or the sourceDisk property but not both. + */ public String getSource() { return source; } + /** + * The full Google Cloud Storage URL where the disk image is stored. You must provide either + * this property or the sourceDisk property but not both. + */ public Builder setSource(String source) { this.source = source; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesInstanceGroupManagerHttpRequest.java index 5784a9e39884..c1a8c98b8507 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesInstanceGroupManagerHttpRequest.java @@ -135,18 +135,29 @@ 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } @@ -156,22 +167,39 @@ public String getInstanceGroupManager() { return instanceGroupManagersRecreateInstancesRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -264,37 +292,59 @@ public Builder mergeFrom(RecreateInstancesInstanceGroupManagerHttpRequest other) 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; @@ -313,46 +363,80 @@ public Builder setInstanceGroupManagersRecreateInstancesRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesRegionInstanceGroupManagerHttpRequest.java index 0032157ba538..9af1e13999d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RecreateInstancesRegionInstanceGroupManagerHttpRequest.java @@ -135,30 +135,44 @@ 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; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -168,10 +182,24 @@ public String getQuotaUser() { return regionInstanceGroupManagersRecreateRequestResource; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -265,64 +293,92 @@ public Builder mergeFrom(RecreateInstancesRegionInstanceGroupManagerHttpRequest 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; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -341,19 +397,47 @@ public Builder setRegionInstanceGroupManagersRecreateRequestResource( return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Reference.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Reference.java index 3b5f0bd6643e..634dacd1a5a6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Reference.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Reference.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Represents a reference to a resource. */ public final class Reference implements ApiMessage { private final String kind; private final String referenceType; @@ -73,18 +74,25 @@ public List getFieldMask() { return null; } + /** [Output Only] Type of the resource. Always compute#reference for references. */ public String getKind() { return kind; } + /** + * A description of the reference type with no implied semantics. Possible values include: - + * MEMBER_OF + */ public String getReferenceType() { return referenceType; } + /** URL of the resource which refers to the target. */ public String getReferrer() { return referrer; } + /** URL of the resource to which this reference points. */ public String getTarget() { return target; } @@ -143,37 +151,51 @@ public Builder mergeFrom(Reference other) { this.target = source.target; } + /** [Output Only] Type of the resource. Always compute#reference for references. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#reference for references. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * A description of the reference type with no implied semantics. Possible values include: - + * MEMBER_OF + */ public String getReferenceType() { return referenceType; } + /** + * A description of the reference type with no implied semantics. Possible values include: - + * MEMBER_OF + */ public Builder setReferenceType(String referenceType) { this.referenceType = referenceType; return this; } + /** URL of the resource which refers to the target. */ public String getReferrer() { return referrer; } + /** URL of the resource which refers to the target. */ public Builder setReferrer(String referrer) { this.referrer = referrer; return this; } + /** URL of the resource to which this reference points. */ public String getTarget() { return target; } + /** URL of the resource to which this reference points. */ public Builder setTarget(String target) { this.target = target; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Region.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Region.java index 207ed7a361e2..2638d58bd7ad 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Region.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Region.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Region resource. (== resource_for beta.regions ==) (== resource_for v1.regions ==) */ public final class Region implements ApiMessage { private final String creationTimestamp; private final DeprecationStatus deprecated; @@ -120,42 +121,54 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] The deprecation status associated with this region. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] Textual description of the resource. */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#region for regions. */ public String getKind() { return kind; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Quotas assigned to this region. */ public List getQuotasList() { return quotas; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Status of the region, either UP or DOWN. */ public String getStatus() { return status; } + /** [Output Only] A list of zones available in this region, in the form of resource URLs. */ public List getZonesList() { return zones; } @@ -244,64 +257,84 @@ public Builder mergeFrom(Region other) { this.zones = source.zones; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** [Output Only] The deprecation status associated with this region. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] The deprecation status associated with this region. */ public Builder setDeprecated(DeprecationStatus deprecated) { this.deprecated = deprecated; return this; } + /** [Output Only] Textual description of the resource. */ public String getDescription() { return description; } + /** [Output Only] Textual description of the resource. */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#region for regions. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#region for regions. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Name of the resource. */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Quotas assigned to this region. */ public List getQuotasList() { return quotas; } + /** [Output Only] Quotas assigned to this region. */ public Builder addAllQuotas(List quotas) { if (this.quotas == null) { this.quotas = new LinkedList<>(); @@ -310,6 +343,7 @@ public Builder addAllQuotas(List quotas) { return this; } + /** [Output Only] Quotas assigned to this region. */ public Builder addQuotas(Quota quotas) { if (this.quotas == null) { this.quotas = new LinkedList<>(); @@ -318,28 +352,34 @@ public Builder addQuotas(Quota quotas) { return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Status of the region, either UP or DOWN. */ public String getStatus() { return status; } + /** [Output Only] Status of the region, either UP or DOWN. */ public Builder setStatus(String status) { this.status = status; return this; } + /** [Output Only] A list of zones available in this region, in the form of resource URLs. */ public List getZonesList() { return zones; } + /** [Output Only] A list of zones available in this region, in the form of resource URLs. */ public Builder addAllZones(List zones) { if (this.zones == null) { this.zones = new LinkedList<>(); @@ -348,6 +388,7 @@ public Builder addAllZones(List zones) { return this; } + /** [Output Only] A list of zones available in this region, in the form of resource URLs. */ public Builder addZones(String zones) { if (this.zones == null) { this.zones = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerList.java index 9aaeb8f29654..ccd75a1314e6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of autoscalers. */ public final class RegionAutoscalerList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Autoscaler resources. */ public List getItemsList() { return items; } + /** Type of 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(RegionAutoscalerList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Autoscaler resources. */ public List getItemsList() { return items; } + /** A list of Autoscaler resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Autoscaler resources. */ public Builder addItems(Autoscaler items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Autoscaler items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeList.java index 5b98c1e8ecf9..0b77b6c85d00 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeList.java @@ -92,26 +92,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of DiskType resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#regionDiskTypeList for region disk types. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +191,23 @@ public Builder mergeFrom(RegionDiskTypeList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of DiskType resources. */ public List getItemsList() { return items; } + /** A list of DiskType resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +216,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of DiskType resources. */ public Builder addItems(DiskType items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +225,55 @@ public Builder addItems(DiskType items) { return this; } + /** [Output Only] Type of resource. Always compute#regionDiskTypeList for region disk types. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#regionDiskTypeList for region disk types. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDisksResizeRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDisksResizeRequest.java index afc3b88f778c..e5268fbf7ede 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDisksResizeRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDisksResizeRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** The new size of the regional persistent disk, which is specified in GB. */ public String getSizeGb() { return sizeGb; } @@ -98,10 +99,12 @@ public Builder mergeFrom(RegionDisksResizeRequest other) { this.sizeGb = source.sizeGb; } + /** The new size of the regional persistent disk, which is specified in GB. */ public String getSizeGb() { return sizeGb; } + /** The new size of the regional persistent disk, which is specified in GB. */ public Builder setSizeGb(String sizeGb) { this.sizeGb = sizeGb; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupList.java index 0c0bd2304fe6..75ec51c78c3f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of InstanceGroup resources. */ public final class RegionInstanceGroupList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of InstanceGroup resources. */ public List getItemsList() { return items; } + /** The resource type. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(RegionInstanceGroupList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of InstanceGroup resources. */ public List getItemsList() { return items; } + /** A list of InstanceGroup resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of InstanceGroup resources. */ public Builder addItems(InstanceGroup items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(InstanceGroup items) { return this; } + /** The resource type. */ public String getKind() { return kind; } + /** The resource type. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerList.java index b2b132d90ecc..4b697bf5148d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of managed instance groups. */ public final class RegionInstanceGroupManagerList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of InstanceGroupManager resources. */ public List getItemsList() { return items; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManagerList for a list of + * managed instance groups that exist in th regional scope. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +195,23 @@ public Builder mergeFrom(RegionInstanceGroupManagerList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of InstanceGroupManager resources. */ public List getItemsList() { return items; } + /** A list of InstanceGroupManager resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +220,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of InstanceGroupManager resources. */ public Builder addItems(InstanceGroupManager items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +229,61 @@ public Builder addItems(InstanceGroupManager items) { return this; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManagerList for a list + * of managed instance groups that exist in th regional scope. + */ public String getKind() { return kind; } + /** + * [Output Only] The resource type, which is always compute#instanceGroupManagerList for a list + * of managed instance groups that exist in th regional scope. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersAbandonInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersAbandonInstancesRequest.java index 5c0d8a06189b..37e9bc000bfc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersAbandonInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersAbandonInstancesRequest.java @@ -56,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } @@ -100,10 +104,18 @@ public Builder mergeFrom(RegionInstanceGroupManagersAbandonInstancesRequest othe this.instances = source.instances; } + /** + * The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } + /** + * The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -112,6 +124,10 @@ public Builder addAllInstances(List instances) { return this; } + /** + * The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addInstances(String instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersDeleteInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersDeleteInstancesRequest.java index 91f8ef8f911f..5b43d18bb0cc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersDeleteInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersDeleteInstancesRequest.java @@ -56,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } @@ -100,10 +104,18 @@ public Builder mergeFrom(RegionInstanceGroupManagersDeleteInstancesRequest other this.instances = source.instances; } + /** + * The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } + /** + * The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -112,6 +124,10 @@ public Builder addAllInstances(List instances) { return this; } + /** + * The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addInstances(String instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersListInstancesResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersListInstancesResponse.java index bbfef5e280b8..ef4d02f5492a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersListInstancesResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersListInstancesResponse.java @@ -56,6 +56,7 @@ public List getFieldMask() { return null; } + /** A list of managed instances. */ public List getManagedInstancesList() { return managedInstances; } @@ -100,10 +101,12 @@ public Builder mergeFrom(RegionInstanceGroupManagersListInstancesResponse other) this.managedInstances = source.managedInstances; } + /** A list of managed instances. */ public List getManagedInstancesList() { return managedInstances; } + /** A list of managed instances. */ public Builder addAllManagedInstances(List managedInstances) { if (this.managedInstances == null) { this.managedInstances = new LinkedList<>(); @@ -112,6 +115,7 @@ public Builder addAllManagedInstances(List managedInstances) { return this; } + /** A list of managed instances. */ public Builder addManagedInstances(ManagedInstance managedInstances) { if (this.managedInstances == null) { this.managedInstances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersRecreateRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersRecreateRequest.java index a7ffd013869a..a7fff8529a15 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersRecreateRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersRecreateRequest.java @@ -56,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such as + * zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } @@ -99,10 +103,18 @@ public Builder mergeFrom(RegionInstanceGroupManagersRecreateRequest other) { this.instances = source.instances; } + /** + * The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public List getInstancesList() { return instances; } + /** + * The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -111,6 +123,10 @@ public Builder addAllInstances(List instances) { return this; } + /** + * The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such + * as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ public Builder addInstances(String instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTargetPoolsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTargetPoolsRequest.java index 23b4e81f0ea6..c284b34fdd33 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTargetPoolsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTargetPoolsRequest.java @@ -63,10 +63,18 @@ public List getFieldMask() { return null; } + /** + * Fingerprint of the target pools information, which is a hash of the contents. This field is + * used for optimistic locking when you update the target pool entries. This field is optional. + */ public String getFingerprint() { return fingerprint; } + /** + * The URL of all TargetPool resources to which instances in the instanceGroup field are added. + * The target pools automatically apply to all of the instances in the managed instance group. + */ public List getTargetPoolsList() { return targetPools; } @@ -116,19 +124,35 @@ public Builder mergeFrom(RegionInstanceGroupManagersSetTargetPoolsRequest other) this.targetPools = source.targetPools; } + /** + * Fingerprint of the target pools information, which is a hash of the contents. This field is + * used for optimistic locking when you update the target pool entries. This field is optional. + */ public String getFingerprint() { return fingerprint; } + /** + * Fingerprint of the target pools information, which is a hash of the contents. This field is + * used for optimistic locking when you update the target pool entries. This field is optional. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** + * The URL of all TargetPool resources to which instances in the instanceGroup field are added. + * The target pools automatically apply to all of the instances in the managed instance group. + */ public List getTargetPoolsList() { return targetPools; } + /** + * The URL of all TargetPool resources to which instances in the instanceGroup field are added. + * The target pools automatically apply to all of the instances in the managed instance group. + */ public Builder addAllTargetPools(List targetPools) { if (this.targetPools == null) { this.targetPools = new LinkedList<>(); @@ -137,6 +161,10 @@ public Builder addAllTargetPools(List targetPools) { return this; } + /** + * The URL of all TargetPool resources to which instances in the instanceGroup field are added. + * The target pools automatically apply to all of the instances in the managed instance group. + */ public Builder addTargetPools(String targetPools) { if (this.targetPools == null) { this.targetPools = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTemplateRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTemplateRequest.java index 39b2de127d4f..f7a6075719a7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTemplateRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersSetTemplateRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** URL of the InstanceTemplate resource from which all new instances will be created. */ public String getInstanceTemplate() { return instanceTemplate; } @@ -98,10 +99,12 @@ public Builder mergeFrom(RegionInstanceGroupManagersSetTemplateRequest other) { this.instanceTemplate = source.instanceTemplate; } + /** URL of the InstanceTemplate resource from which all new instances will be created. */ public String getInstanceTemplate() { return instanceTemplate; } + /** URL of the InstanceTemplate resource from which all new instances will be created. */ public Builder setInstanceTemplate(String instanceTemplate) { this.instanceTemplate = instanceTemplate; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstances.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstances.java index 39b347049d00..eeb2907e6793 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstances.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstances.java @@ -92,26 +92,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of InstanceWithNamedPorts resources. */ public List getItemsList() { return items; } + /** The resource type. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +191,23 @@ public Builder mergeFrom(RegionInstanceGroupsListInstances other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of InstanceWithNamedPorts resources. */ public List getItemsList() { return items; } + /** A list of InstanceWithNamedPorts resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +216,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of InstanceWithNamedPorts resources. */ public Builder addItems(InstanceWithNamedPorts items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +225,55 @@ public Builder addItems(InstanceWithNamedPorts items) { return this; } + /** The resource type. */ public String getKind() { return kind; } + /** The resource type. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstancesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstancesRequest.java index cafe134fdcd0..cccd9d9d8fe4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstancesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsListInstancesRequest.java @@ -61,10 +61,19 @@ public List getFieldMask() { return null; } + /** + * Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, + * it lists all instances. + */ public String getInstanceState() { return instanceState; } + /** + * Name of port user is interested in. It is optional. If it is set, only information about this + * ports will be returned. If it is not set, all the named ports will be returned. Always lists + * all instances. + */ public String getPortName() { return portName; } @@ -113,19 +122,37 @@ public Builder mergeFrom(RegionInstanceGroupsListInstancesRequest other) { this.portName = source.portName; } + /** + * Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, + * it lists all instances. + */ public String getInstanceState() { return instanceState; } + /** + * Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, + * it lists all instances. + */ public Builder setInstanceState(String instanceState) { this.instanceState = instanceState; return this; } + /** + * Name of port user is interested in. It is optional. If it is set, only information about this + * ports will be returned. If it is not set, all the named ports will be returned. Always lists + * all instances. + */ public String getPortName() { return portName; } + /** + * Name of port user is interested in. It is optional. If it is set, only information about this + * ports will be returned. If it is not set, all the named ports will be returned. Always lists + * all instances. + */ public Builder setPortName(String portName) { this.portName = portName; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsSetNamedPortsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsSetNamedPortsRequest.java index bb39c9d5321b..4f5281572901 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsSetNamedPortsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupsSetNamedPortsRequest.java @@ -62,10 +62,18 @@ public List getFieldMask() { return null; } + /** + * The fingerprint of the named ports information for this instance group. Use this optional + * property to prevent conflicts when multiple users change the named ports settings concurrently. + * Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in + * your request to ensure that you do not overwrite changes that were applied from another + * concurrent request. + */ public String getFingerprint() { return fingerprint; } + /** The list of named ports to set for this instance group. */ public List getNamedPortsList() { return namedPorts; } @@ -114,19 +122,35 @@ public Builder mergeFrom(RegionInstanceGroupsSetNamedPortsRequest other) { this.namedPorts = source.namedPorts; } + /** + * The fingerprint of the named ports information for this instance group. Use this optional + * property to prevent conflicts when multiple users change the named ports settings + * concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the + * fingerprint in your request to ensure that you do not overwrite changes that were applied + * from another concurrent request. + */ public String getFingerprint() { return fingerprint; } + /** + * The fingerprint of the named ports information for this instance group. Use this optional + * property to prevent conflicts when multiple users change the named ports settings + * concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the + * fingerprint in your request to ensure that you do not overwrite changes that were applied + * from another concurrent request. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** The list of named ports to set for this instance group. */ public List getNamedPortsList() { return namedPorts; } + /** The list of named ports to set for this instance group. */ public Builder addAllNamedPorts(List namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); @@ -135,6 +159,7 @@ public Builder addAllNamedPorts(List namedPorts) { return this; } + /** The list of named ports to set for this instance group. */ public Builder addNamedPorts(NamedPort namedPorts) { if (this.namedPorts == null) { this.namedPorts = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionList.java index d22b06ec7331..38439fd9fb53 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of region resources. */ public final class RegionList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Region resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#regionList for lists of regions. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(RegionList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Region resources. */ public List getItemsList() { return items; } + /** A list of Region resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Region resources. */ public Builder addItems(Region items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Region items) { return this; } + /** [Output Only] Type of resource. Always compute#regionList for lists of regions. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#regionList for lists of regions. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetLabelsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetLabelsRequest.java index 7277d6d670e3..76bfa6cb446b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetLabelsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetLabelsRequest.java @@ -62,10 +62,17 @@ public List getFieldMask() { return null; } + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. The + * fingerprint is initially generated by Compute Engine and changes after every request to modify + * or update labels. You must always provide an up-to-date fingerprint hash in order to update or + * change labels. Make a get() request to the resource to get the latest fingerprint. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** The labels to set for this resource. */ public Map getLabelsMap() { return labels; } @@ -114,19 +121,33 @@ public Builder mergeFrom(RegionSetLabelsRequest other) { this.labels = source.labels; } + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. + * The fingerprint is initially generated by Compute Engine and changes after every request to + * modify or update labels. You must always provide an up-to-date fingerprint hash in order to + * update or change labels. Make a get() request to the resource to get the latest fingerprint. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. + * The fingerprint is initially generated by Compute Engine and changes after every request to + * modify or update labels. You must always provide an up-to-date fingerprint hash in order to + * update or change labels. Make a get() request to the resource to get the latest fingerprint. + */ public Builder setLabelFingerprint(String labelFingerprint) { this.labelFingerprint = labelFingerprint; return this; } + /** The labels to set for this resource. */ public Map getLabelsMap() { return labels; } + /** The labels to set for this resource. */ public Builder putAllLabels(Map labels) { this.labels = labels; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetPolicyRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetPolicyRequest.java index 7d77d6ed0d93..e862553ea3a6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetPolicyRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSetPolicyRequest.java @@ -68,14 +68,27 @@ public List getFieldMask() { return null; } + /** + * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify + * bindings. + */ public List getBindingsList() { return bindings; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify + * the etag. + */ public String getEtag() { return etag; } + /** + * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is + * limited to a few 10s of KB. An empty policy is in general a valid policy but certain services + * (like Projects) might reject them. + */ public Policy getPolicy() { return policy; } @@ -129,10 +142,18 @@ public Builder mergeFrom(RegionSetPolicyRequest other) { this.policy = source.policy; } + /** + * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to + * specify bindings. + */ public List getBindingsList() { return bindings; } + /** + * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to + * specify bindings. + */ public Builder addAllBindings(List bindings) { if (this.bindings == null) { this.bindings = new LinkedList<>(); @@ -141,6 +162,10 @@ public Builder addAllBindings(List bindings) { return this; } + /** + * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to + * specify bindings. + */ public Builder addBindings(Binding bindings) { if (this.bindings == null) { this.bindings = new LinkedList<>(); @@ -149,19 +174,37 @@ public Builder addBindings(Binding bindings) { return this; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to + * specify the etag. + */ public String getEtag() { return etag; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to + * specify the etag. + */ public Builder setEtag(String etag) { this.etag = etag; return this; } + /** + * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is + * limited to a few 10s of KB. An empty policy is in general a valid policy but certain services + * (like Projects) might reject them. + */ public Policy getPolicy() { return policy; } + /** + * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is + * limited to a few 10s of KB. An empty policy is in general a valid policy but certain services + * (like Projects) might reject them. + */ public Builder setPolicy(Policy policy) { this.policy = policy; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveHealthCheckTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveHealthCheckTargetPoolHttpRequest.java index 8690fbedd7f6..2fb055f705fc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveHealthCheckTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveHealthCheckTargetPoolHttpRequest.java @@ -123,34 +123,61 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the target pool to remove health checks from. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck`. \`{targetPool}\` 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 getTargetPool() { return targetPool; } @@ -159,6 +186,7 @@ public TargetPoolsRemoveHealthCheckRequest getTargetPoolsRemoveHealthCheckReques return targetPoolsRemoveHealthCheckRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,73 +277,127 @@ public Builder mergeFrom(RemoveHealthCheckTargetPoolHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the target pool to remove health checks from. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck`. \`{targetPool}\` + * 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 getTargetPool() { return targetPool; } + /** + * Name of the target pool to remove health checks from. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck`. \`{targetPool}\` + * 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 setTargetPool(String targetPool) { this.targetPool = targetPool; return this; @@ -332,10 +414,12 @@ public Builder setTargetPoolsRemoveHealthCheckRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstanceTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstanceTargetPoolHttpRequest.java index d8b455eb35a9..6d56fdd9c53b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstanceTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstanceTargetPoolHttpRequest.java @@ -123,34 +123,61 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetPool resource to remove instances from. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/removeInstance`. \`{targetPool}\` 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 getTargetPool() { return targetPool; } @@ -159,6 +186,7 @@ public TargetPoolsRemoveInstanceRequest getTargetPoolsRemoveInstanceRequestResou return targetPoolsRemoveInstanceRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,73 +277,127 @@ public Builder mergeFrom(RemoveInstanceTargetPoolHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetPool resource to remove instances from. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/removeInstance`. \`{targetPool}\` 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 getTargetPool() { return targetPool; } + /** + * Name of the TargetPool resource to remove instances from. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/removeInstance`. \`{targetPool}\` 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 setTargetPool(String targetPool) { this.targetPool = targetPool; return this; @@ -331,10 +413,12 @@ public Builder setTargetPoolsRemoveInstanceRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstancesInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstancesInstanceGroupHttpRequest.java index 5dd1e09ac90a..e55e473e951e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstancesInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveInstancesInstanceGroupHttpRequest.java @@ -128,18 +128,29 @@ 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; } + /** + * The name of the instance group where the specified instances will be removed. It must have the + * format `{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances`. + * \`{instanceGroup}\` 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 getInstanceGroup() { return instanceGroup; } @@ -148,22 +159,39 @@ public InstanceGroupsRemoveInstancesRequest getInstanceGroupsRemoveInstancesRequ return instanceGroupsRemoveInstancesRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -254,37 +282,59 @@ public Builder mergeFrom(RemoveInstancesInstanceGroupHttpRequest other) { 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; } + /** + * The name of the instance group where the specified instances will be removed. It must have + * the format `{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances`. + * \`{instanceGroup}\` 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 getInstanceGroup() { return instanceGroup; } + /** + * The name of the instance group where the specified instances will be removed. It must have + * the format `{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances`. + * \`{instanceGroup}\` 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 setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; return this; @@ -301,46 +351,80 @@ public Builder setInstanceGroupsRemoveInstancesRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemovePeeringNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemovePeeringNetworkHttpRequest.java index 45f43af540cd..f0203b854d8a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemovePeeringNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemovePeeringNetworkHttpRequest.java @@ -123,22 +123,33 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the network resource to remove peering from. It must have the format + * `{project}/global/networks/{network}/removePeering`. \`{network}\` 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 getNetwork() { return network; } @@ -147,18 +158,34 @@ public NetworksRemovePeeringRequest getNetworksRemovePeeringRequestResource() { return networksRemovePeeringRequestResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,46 +274,70 @@ public Builder mergeFrom(RemovePeeringNetworkHttpRequest other) { 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; } + /** 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; } + /** + * Name of the network resource to remove peering from. It must have the format + * `{project}/global/networks/{network}/removePeering`. \`{network}\` 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 getNetwork() { return network; } + /** + * Name of the network resource to remove peering from. It must have the format + * `{project}/global/networks/{network}/removePeering`. \`{network}\` 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 setNetwork(String network) { this.network = network; return this; @@ -302,37 +353,69 @@ public Builder setNetworksRemovePeeringRequestResource( 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveRuleSecurityPolicyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveRuleSecurityPolicyHttpRequest.java index 040e18ba577e..7ffaff31ed1e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveRuleSecurityPolicyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RemoveRuleSecurityPolicyHttpRequest.java @@ -116,38 +116,54 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** The priority of the rule to remove from the security policy. */ public Integer getPriority() { return priority; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/removeRule`. \`{securityPolicy}\` 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 getSecurityPolicy() { return securityPolicy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +247,114 @@ public Builder mergeFrom(RemoveRuleSecurityPolicyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** The priority of the rule to remove from the security policy. */ public Integer getPriority() { return priority; } + /** The priority of the rule to remove from the security policy. */ public Builder setPriority(Integer priority) { this.priority = priority; return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/removeRule`. \`{securityPolicy}\` 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 getSecurityPolicy() { return securityPolicy; } + /** + * Name of the security policy to update. It must have the format + * `{project}/global/securityPolicies/{securityPolicy}/removeRule`. \`{securityPolicy}\` 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 setSecurityPolicy(String securityPolicy) { this.securityPolicy = securityPolicy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResetInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResetInstanceHttpRequest.java index 0c10c912b8bf..99ce35fbbb54 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResetInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResetInstanceHttpRequest.java @@ -117,38 +117,65 @@ 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; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/reset`. \`{instance}\` 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 getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -232,82 +259,138 @@ public Builder mergeFrom(ResetInstanceHttpRequest other) { 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; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/reset`. \`{instance}\` 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 getInstance() { return instance; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/reset`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeDiskHttpRequest.java index 96fee2db3a94..fc5273aa1df5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeDiskHttpRequest.java @@ -123,14 +123,23 @@ 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; } + /** + * The name of the persistent disk. It must have the format + * `{project}/zones/{zone}/disks/{disk}/resize`. \`{disk}\` 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 getDisk() { return disk; } @@ -139,26 +148,44 @@ public DisksResizeRequest getDisksResizeRequestResource() { return disksResizeRequestResource; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,28 +274,46 @@ public Builder mergeFrom(ResizeDiskHttpRequest other) { 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; } + /** + * The name of the persistent disk. It must have the format + * `{project}/zones/{zone}/disks/{disk}/resize`. \`{disk}\` 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 getDisk() { return disk; } + /** + * The name of the persistent disk. It must have the format + * `{project}/zones/{zone}/disks/{disk}/resize`. \`{disk}\` 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 setDisk(String disk) { this.disk = disk; return this; @@ -283,55 +328,91 @@ public Builder setDisksResizeRequestResource(DisksResizeRequest disksResizeReque 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeInstanceGroupManagerHttpRequest.java index 7cd34757e185..5e79108dd732 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeInstanceGroupManagerHttpRequest.java @@ -140,42 +140,75 @@ 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * The number of running instances that the managed instance group should maintain at any given + * time. The group automatically adds or removes instances to maintain the number of instances + * specified by this parameter. + */ public Integer getSize() { return size; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -264,91 +297,157 @@ public Builder mergeFrom(ResizeInstanceGroupManagerHttpRequest other) { 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * The number of running instances that the managed instance group should maintain at any given + * time. The group automatically adds or removes instances to maintain the number of instances + * specified by this parameter. + */ public Integer getSize() { return size; } + /** + * The number of running instances that the managed instance group should maintain at any given + * time. The group automatically adds or removes instances to maintain the number of instances + * specified by this parameter. + */ public Builder setSize(Integer size) { this.size = size; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionDiskHttpRequest.java index d8d1f5184bb0..08b879c3b805 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionDiskHttpRequest.java @@ -123,30 +123,43 @@ 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; } + /** + * Name of the regional persistent disk. It must have the format + * `{project}/regions/{region}/disks/{disk}/resize`. \`{disk}\` 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 getDisk() { return disk; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -155,10 +168,24 @@ public RegionDisksResizeRequest getRegionDisksResizeRequestResource() { return regionDisksResizeRequestResource; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,64 +274,90 @@ public Builder mergeFrom(ResizeRegionDiskHttpRequest other) { 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; } + /** + * Name of the regional persistent disk. It must have the format + * `{project}/regions/{region}/disks/{disk}/resize`. \`{disk}\` 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 getDisk() { return disk; } + /** + * Name of the regional persistent disk. It must have the format + * `{project}/regions/{region}/disks/{disk}/resize`. \`{disk}\` 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 setDisk(String disk) { this.disk = disk; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -320,19 +373,47 @@ public Builder setRegionDisksResizeRequestResource( return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionInstanceGroupManagerHttpRequest.java index 45db6dcc6bdb..dd9fded1ebb8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResizeRegionInstanceGroupManagerHttpRequest.java @@ -132,42 +132,71 @@ 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; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** Number of instances that should exist in this instance group manager. */ public Integer getSize() { return size; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -256,91 +285,149 @@ public Builder mergeFrom(ResizeRegionInstanceGroupManagerHttpRequest other) { 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; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** Number of instances that should exist in this instance group manager. */ public Integer getSize() { return size; } + /** Number of instances that should exist in this instance group manager. */ public Builder setSize(Integer size) { this.size = size; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceCommitment.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceCommitment.java index 674fbb561d7a..7fed74d9d9b6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceCommitment.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceCommitment.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Commitment for a particular resource (a Commitment is composed of one or more of these). */ public final class ResourceCommitment implements ApiMessage { private final String amount; private final String type; @@ -61,10 +62,16 @@ public List getFieldMask() { return null; } + /** + * The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this + * can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of + * 256 MB, with up to 6.5GB of memory per every vCPU. + */ public String getAmount() { return amount; } + /** Type of resource for which this commitment applies. Possible values are VCPU and MEMORY */ public String getType() { return type; } @@ -113,19 +120,31 @@ public Builder mergeFrom(ResourceCommitment other) { this.type = source.type; } + /** + * The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, + * this can just be an integer. For memory, this must be provided in MB. Memory must be a + * multiple of 256 MB, with up to 6.5GB of memory per every vCPU. + */ public String getAmount() { return amount; } + /** + * The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, + * this can just be an integer. For memory, this must be provided in MB. Memory must be a + * multiple of 256 MB, with up to 6.5GB of memory per every vCPU. + */ public Builder setAmount(String amount) { this.amount = amount; return this; } + /** Type of resource for which this commitment applies. Possible values are VCPU and MEMORY */ public String getType() { return type; } + /** Type of resource for which this commitment applies. Possible values are VCPU and MEMORY */ public Builder setType(String type) { this.type = type; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceGroupReference.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceGroupReference.java index 2028923a81b1..f2ccbc311b74 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceGroupReference.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ResourceGroupReference.java @@ -55,6 +55,10 @@ public List getFieldMask() { return null; } + /** + * A URI referencing one of the instance groups or network endpoint groups listed in the backend + * service. + */ public String getGroup() { return group; } @@ -98,10 +102,18 @@ public Builder mergeFrom(ResourceGroupReference other) { this.group = source.group; } + /** + * A URI referencing one of the instance groups or network endpoint groups listed in the backend + * service. + */ public String getGroup() { return group; } + /** + * A URI referencing one of the instance groups or network endpoint groups listed in the backend + * service. + */ public Builder setGroup(String group) { this.group = group; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Route.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Route.java index 3331f466f218..b361bdfd39fa 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Route.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Route.java @@ -25,6 +25,22 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents a Route resource. A route specifies how certain packets should be handled by the + * network. Routes are associated with instances by tags and the set of routes for a particular + * instance is called its routing table. + * + *

For each packet leaving an instance, the system searches that instance's routing table for a + * single best matching route. Routes match packets by destination IP address, preferring smaller or + * more specific ranges over larger ones. If there is a tie, the system selects the route with the + * smallest priority value. If there is still a tie, it uses the layer three and four packet headers + * to select just one of the remaining matching routes. The packet is then forwarded as specified by + * the nextHop field of the winning route - either to another instance destination, an instance + * gateway, or a Google Compute Engine-operated gateway. + * + *

Packets that do not match any route in the sending instance's routing table are dropped. (== + * resource_for beta.routes ==) (== resource_for v1.routes ==) + */ public final class Route implements ApiMessage { private final String creationTimestamp; private final String description; @@ -169,70 +185,121 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * The destination range of outgoing packets that this route applies to. Only IPv4 is supported. + */ public String getDestRange() { return destRange; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of this resource. Always compute#routes for Route resources. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** Fully-qualified URL of the network that this route applies to. */ public String getNetwork() { return network; } + /** + * The URL to a gateway that should handle matching packets. You can only specify the internet + * gateway using a full or partial valid URL: + * projects/<project-id>/global/gateways/default-internet-gateway + */ public String getNextHopGateway() { return nextHopGateway; } + /** + * The URL to an instance that should handle matching packets. You can specify this as a full or + * partial URL. For example: + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/ + */ public String getNextHopInstance() { return nextHopInstance; } + /** + * The network IP address of an instance that should handle matching packets. Only IPv4 is + * supported. + */ public String getNextHopIp() { return nextHopIp; } + /** The URL of the local network if it should handle matching packets. */ public String getNextHopNetwork() { return nextHopNetwork; } + /** + * [Output Only] The network peering name that should handle matching packets, which should + * conform to RFC1035. + */ public String getNextHopPeering() { return nextHopPeering; } + /** The URL to a VpnTunnel that should handle matching packets. */ public String getNextHopVpnTunnel() { return nextHopVpnTunnel; } + /** + * The priority of this route. Priority is used to break ties in cases where there is more than + * one matching route of equal prefix length. In the case of two routes with equal prefix length, + * the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 + * through 65535. + */ public Integer getPriority() { return priority; } + /** [Output Only] Server-defined fully-qualified URL for this resource. */ public String getSelfLink() { return selfLink; } + /** A list of instance tags to which this route applies. */ public List getTagsList() { return tags; } + /** + * [Output Only] If potential misconfigurations are detected for this route, this field will be + * populated with warning messages. + */ public List getWarningsList() { return warnings; } @@ -356,145 +423,241 @@ public Builder mergeFrom(Route other) { this.warnings = source.warnings; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * The destination range of outgoing packets that this route applies to. Only IPv4 is supported. + */ public String getDestRange() { return destRange; } + /** + * The destination range of outgoing packets that this route applies to. Only IPv4 is supported. + */ public Builder setDestRange(String destRange) { this.destRange = destRange; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of this resource. Always compute#routes for Route resources. */ public String getKind() { return kind; } + /** [Output Only] Type of this resource. Always compute#routes for Route resources. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** Fully-qualified URL of the network that this route applies to. */ public String getNetwork() { return network; } + /** Fully-qualified URL of the network that this route applies to. */ public Builder setNetwork(String network) { this.network = network; return this; } + /** + * The URL to a gateway that should handle matching packets. You can only specify the internet + * gateway using a full or partial valid URL: + * projects/<project-id>/global/gateways/default-internet-gateway + */ public String getNextHopGateway() { return nextHopGateway; } + /** + * The URL to a gateway that should handle matching packets. You can only specify the internet + * gateway using a full or partial valid URL: + * projects/<project-id>/global/gateways/default-internet-gateway + */ public Builder setNextHopGateway(String nextHopGateway) { this.nextHopGateway = nextHopGateway; return this; } + /** + * The URL to an instance that should handle matching packets. You can specify this as a full or + * partial URL. For example: + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/ + */ public String getNextHopInstance() { return nextHopInstance; } + /** + * The URL to an instance that should handle matching packets. You can specify this as a full or + * partial URL. For example: + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/ + */ public Builder setNextHopInstance(String nextHopInstance) { this.nextHopInstance = nextHopInstance; return this; } + /** + * The network IP address of an instance that should handle matching packets. Only IPv4 is + * supported. + */ public String getNextHopIp() { return nextHopIp; } + /** + * The network IP address of an instance that should handle matching packets. Only IPv4 is + * supported. + */ public Builder setNextHopIp(String nextHopIp) { this.nextHopIp = nextHopIp; return this; } + /** The URL of the local network if it should handle matching packets. */ public String getNextHopNetwork() { return nextHopNetwork; } + /** The URL of the local network if it should handle matching packets. */ public Builder setNextHopNetwork(String nextHopNetwork) { this.nextHopNetwork = nextHopNetwork; return this; } + /** + * [Output Only] The network peering name that should handle matching packets, which should + * conform to RFC1035. + */ public String getNextHopPeering() { return nextHopPeering; } + /** + * [Output Only] The network peering name that should handle matching packets, which should + * conform to RFC1035. + */ public Builder setNextHopPeering(String nextHopPeering) { this.nextHopPeering = nextHopPeering; return this; } + /** The URL to a VpnTunnel that should handle matching packets. */ public String getNextHopVpnTunnel() { return nextHopVpnTunnel; } + /** The URL to a VpnTunnel that should handle matching packets. */ public Builder setNextHopVpnTunnel(String nextHopVpnTunnel) { this.nextHopVpnTunnel = nextHopVpnTunnel; return this; } + /** + * The priority of this route. Priority is used to break ties in cases where there is more than + * one matching route of equal prefix length. In the case of two routes with equal prefix + * length, the one with the lowest-numbered priority value wins. Default value is 1000. Valid + * range is 0 through 65535. + */ public Integer getPriority() { return priority; } + /** + * The priority of this route. Priority is used to break ties in cases where there is more than + * one matching route of equal prefix length. In the case of two routes with equal prefix + * length, the one with the lowest-numbered priority value wins. Default value is 1000. Valid + * range is 0 through 65535. + */ public Builder setPriority(Integer priority) { this.priority = priority; return this; } + /** [Output Only] Server-defined fully-qualified URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined fully-qualified URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** A list of instance tags to which this route applies. */ public List getTagsList() { return tags; } + /** A list of instance tags to which this route applies. */ public Builder addAllTags(List tags) { if (this.tags == null) { this.tags = new LinkedList<>(); @@ -503,6 +666,7 @@ public Builder addAllTags(List tags) { return this; } + /** A list of instance tags to which this route applies. */ public Builder addTags(String tags) { if (this.tags == null) { this.tags = new LinkedList<>(); @@ -511,10 +675,18 @@ public Builder addTags(String tags) { return this; } + /** + * [Output Only] If potential misconfigurations are detected for this route, this field will be + * populated with warning messages. + */ public List getWarningsList() { return warnings; } + /** + * [Output Only] If potential misconfigurations are detected for this route, this field will be + * populated with warning messages. + */ public Builder addAllWarnings(List warnings) { if (this.warnings == null) { this.warnings = new LinkedList<>(); @@ -523,6 +695,10 @@ public Builder addAllWarnings(List warnings) { return this; } + /** + * [Output Only] If potential misconfigurations are detected for this route, this field will be + * populated with warning messages. + */ public Builder addWarnings(Warnings warnings) { if (this.warnings == null) { this.warnings = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteList.java index c16da4c017f2..5b766567bca6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of Route resources. */ public final class RouteList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Route resources. */ public List getItemsList() { return items; } + /** Type of 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(RouteList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Route resources. */ public List getItemsList() { return items; } + /** A list of Route resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Route resources. */ public Builder addItems(Route items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Route items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Router.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Router.java index 04f52cc5986c..8685ee4ce338 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Router.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Router.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Router resource. */ public final class Router implements ApiMessage { private final RouterBgp bgp; private final List bgpPeers; @@ -134,50 +135,82 @@ public List getFieldMask() { return null; } + /** BGP information specific to this router. */ public RouterBgp getBgp() { return bgp; } + /** + * BGP information that needs to be configured into the routing stack to establish the BGP + * peering. It must specify peer ASN and either interface name, IP, or peer IP. Please refer to + * RFC4273. + */ public List getBgpPeersList() { return bgpPeers; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * Router interfaces. Each interface requires either one linked resource (e.g. linkedVpnTunnel), + * or IP address and IP address range (e.g. ipRange), or both. + */ public List getInterfacesList() { return interfaces; } + /** [Output Only] Type of resource. Always compute#router for routers. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** A list of Nat services created in this router. */ public List getNatsList() { return nats; } + /** URI of the network to which this router belongs. */ public String getNetwork() { return network; } + /** + * [Output Only] URI of the region where the router resides. You must specify this field as part + * of the HTTP request URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } @@ -276,19 +309,31 @@ public Builder mergeFrom(Router other) { this.selfLink = source.selfLink; } + /** BGP information specific to this router. */ public RouterBgp getBgp() { return bgp; } + /** BGP information specific to this router. */ public Builder setBgp(RouterBgp bgp) { this.bgp = bgp; return this; } + /** + * BGP information that needs to be configured into the routing stack to establish the BGP + * peering. It must specify peer ASN and either interface name, IP, or peer IP. Please refer to + * RFC4273. + */ public List getBgpPeersList() { return bgpPeers; } + /** + * BGP information that needs to be configured into the routing stack to establish the BGP + * peering. It must specify peer ASN and either interface name, IP, or peer IP. Please refer to + * RFC4273. + */ public Builder addAllBgpPeers(List bgpPeers) { if (this.bgpPeers == null) { this.bgpPeers = new LinkedList<>(); @@ -297,6 +342,11 @@ public Builder addAllBgpPeers(List bgpPeers) { return this; } + /** + * BGP information that needs to be configured into the routing stack to establish the BGP + * peering. It must specify peer ASN and either interface name, IP, or peer IP. Please refer to + * RFC4273. + */ public Builder addBgpPeers(RouterBgpPeer bgpPeers) { if (this.bgpPeers == null) { this.bgpPeers = new LinkedList<>(); @@ -305,37 +355,61 @@ public Builder addBgpPeers(RouterBgpPeer bgpPeers) { return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * Router interfaces. Each interface requires either one linked resource (e.g. linkedVpnTunnel), + * or IP address and IP address range (e.g. ipRange), or both. + */ public List getInterfacesList() { return interfaces; } + /** + * Router interfaces. Each interface requires either one linked resource (e.g. linkedVpnTunnel), + * or IP address and IP address range (e.g. ipRange), or both. + */ public Builder addAllInterfaces(List interfaces) { if (this.interfaces == null) { this.interfaces = new LinkedList<>(); @@ -344,6 +418,10 @@ public Builder addAllInterfaces(List interfaces) { return this; } + /** + * Router interfaces. Each interface requires either one linked resource (e.g. linkedVpnTunnel), + * or IP address and IP address range (e.g. ipRange), or both. + */ public Builder addInterfaces(RouterInterface interfaces) { if (this.interfaces == null) { this.interfaces = new LinkedList<>(); @@ -352,28 +430,46 @@ public Builder addInterfaces(RouterInterface interfaces) { return this; } + /** [Output Only] Type of resource. Always compute#router for routers. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#router for routers. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** A list of Nat services created in this router. */ public List getNatsList() { return nats; } + /** A list of Nat services created in this router. */ public Builder addAllNats(List nats) { if (this.nats == null) { this.nats = new LinkedList<>(); @@ -382,6 +478,7 @@ public Builder addAllNats(List nats) { return this; } + /** A list of Nat services created in this router. */ public Builder addNats(RouterNat nats) { if (this.nats == null) { this.nats = new LinkedList<>(); @@ -390,28 +487,40 @@ public Builder addNats(RouterNat nats) { return this; } + /** URI of the network to which this router belongs. */ public String getNetwork() { return network; } + /** URI of the network to which this router belongs. */ public Builder setNetwork(String network) { this.network = network; return this; } + /** + * [Output Only] URI of the region where the router resides. You must specify this field as part + * of the HTTP request URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] URI of the region where the router resides. You must specify this field as part + * of the HTTP request URL. It is not settable as a field in the request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAdvertisedIpRange.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAdvertisedIpRange.java index 1cdf3d3bf54b..e79e78dd8614 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAdvertisedIpRange.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAdvertisedIpRange.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Description-tagged IP ranges for the router to advertise. */ public final class RouterAdvertisedIpRange implements ApiMessage { private final String description; private final String range; @@ -61,10 +62,12 @@ public List getFieldMask() { return null; } + /** User-specified description for the IP range. */ public String getDescription() { return description; } + /** The IP range to advertise. The value must be a CIDR-formatted string. */ public String getRange() { return range; } @@ -113,19 +116,23 @@ public Builder mergeFrom(RouterAdvertisedIpRange other) { this.range = source.range; } + /** User-specified description for the IP range. */ public String getDescription() { return description; } + /** User-specified description for the IP range. */ public Builder setDescription(String description) { this.description = description; return this; } + /** The IP range to advertise. The value must be a CIDR-formatted string. */ public String getRange() { return range; } + /** The IP range to advertise. The value must be a CIDR-formatted string. */ public Builder setRange(String range) { this.range = range; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAggregatedList.java index 4f35d0de9adb..a124bda20b46 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterAggregatedList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of routers. */ public final class RouterAggregatedList implements ApiMessage { private final String id; private final Map items; @@ -92,26 +93,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of Router resources. The key for the map is: Name of the scope containing this set of + * routers. + */ public Map getItemsMap() { return items; } + /** Type of 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +195,83 @@ public Builder mergeFrom(RouterAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of Router resources. The key for the map is: Name of the scope containing this set of + * routers. + */ public Map getItemsMap() { return items; } + /** + * A list of Router resources. The key for the map is: Name of the scope containing this set of + * routers. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgp.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgp.java index 3da413d1872b..c46280540f77 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgp.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgp.java @@ -78,18 +78,36 @@ public List getFieldMask() { return null; } + /** User-specified flag to indicate which mode to use for advertisement. */ public String getAdvertiseMode() { return advertiseMode; } + /** + * User-specified list of prefix groups to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These + * groups will be advertised in addition to any specified prefixes. Leave this field blank to + * advertise no custom groups. + */ public List getAdvertisedGroupsList() { return advertisedGroups; } + /** + * User-specified list of individual IP ranges to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These IP + * ranges will be advertised in addition to any specified groups. Leave this field blank to + * advertise no custom IP ranges. + */ public List getAdvertisedIpRangesList() { return advertisedIpRanges; } + /** + * Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or + * 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this + * router will have the same local ASN. + */ public Integer getAsn() { return asn; } @@ -148,19 +166,33 @@ public Builder mergeFrom(RouterBgp other) { this.asn = source.asn; } + /** User-specified flag to indicate which mode to use for advertisement. */ public String getAdvertiseMode() { return advertiseMode; } + /** User-specified flag to indicate which mode to use for advertisement. */ public Builder setAdvertiseMode(String advertiseMode) { this.advertiseMode = advertiseMode; return this; } + /** + * User-specified list of prefix groups to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These + * groups will be advertised in addition to any specified prefixes. Leave this field blank to + * advertise no custom groups. + */ public List getAdvertisedGroupsList() { return advertisedGroups; } + /** + * User-specified list of prefix groups to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These + * groups will be advertised in addition to any specified prefixes. Leave this field blank to + * advertise no custom groups. + */ public Builder addAllAdvertisedGroups(List advertisedGroups) { if (this.advertisedGroups == null) { this.advertisedGroups = new LinkedList<>(); @@ -169,6 +201,12 @@ public Builder addAllAdvertisedGroups(List advertisedGroups) { return this; } + /** + * User-specified list of prefix groups to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These + * groups will be advertised in addition to any specified prefixes. Leave this field blank to + * advertise no custom groups. + */ public Builder addAdvertisedGroups(String advertisedGroups) { if (this.advertisedGroups == null) { this.advertisedGroups = new LinkedList<>(); @@ -177,10 +215,22 @@ public Builder addAdvertisedGroups(String advertisedGroups) { return this; } + /** + * User-specified list of individual IP ranges to advertise in custom mode. This field can only + * be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These + * IP ranges will be advertised in addition to any specified groups. Leave this field blank to + * advertise no custom IP ranges. + */ public List getAdvertisedIpRangesList() { return advertisedIpRanges; } + /** + * User-specified list of individual IP ranges to advertise in custom mode. This field can only + * be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These + * IP ranges will be advertised in addition to any specified groups. Leave this field blank to + * advertise no custom IP ranges. + */ public Builder addAllAdvertisedIpRanges(List advertisedIpRanges) { if (this.advertisedIpRanges == null) { this.advertisedIpRanges = new LinkedList<>(); @@ -189,6 +239,12 @@ public Builder addAllAdvertisedIpRanges(List advertised return this; } + /** + * User-specified list of individual IP ranges to advertise in custom mode. This field can only + * be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These + * IP ranges will be advertised in addition to any specified groups. Leave this field blank to + * advertise no custom IP ranges. + */ public Builder addAdvertisedIpRanges(RouterAdvertisedIpRange advertisedIpRanges) { if (this.advertisedIpRanges == null) { this.advertisedIpRanges = new LinkedList<>(); @@ -197,10 +253,20 @@ public Builder addAdvertisedIpRanges(RouterAdvertisedIpRange advertisedIpRanges) return this; } + /** + * Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or + * 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this + * router will have the same local ASN. + */ public Integer getAsn() { return asn; } + /** + * Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or + * 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this + * router will have the same local ASN. + */ public Builder setAsn(Integer asn) { this.asn = asn; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgpPeer.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgpPeer.java index 564c419b4a72..c61f1a1cb3fd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgpPeer.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterBgpPeer.java @@ -120,42 +120,74 @@ public List getFieldMask() { return null; } + /** User-specified flag to indicate which mode to use for advertisement. */ public String getAdvertiseMode() { return advertiseMode; } + /** + * User-specified list of prefix groups to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and overrides the list defined for the router (in Bgp + * message). These groups will be advertised in addition to any specified prefixes. Leave this + * field blank to advertise no custom groups. + */ public List getAdvertisedGroupsList() { return advertisedGroups; } + /** + * User-specified list of individual IP ranges to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and overrides the list defined for the router (in Bgp + * message). These IP ranges will be advertised in addition to any specified groups. Leave this + * field blank to advertise no custom IP ranges. + */ public List getAdvertisedIpRangesList() { return advertisedIpRanges; } + /** + * The priority of routes advertised to this BGP peer. In the case where there is more than one + * matching route of maximum length, the routes with lowest priority value win. + */ public Integer getAdvertisedRoutePriority() { return advertisedRoutePriority; } + /** Name of the interface the BGP peer is associated with. */ public String getInterfaceName() { return interfaceName; } + /** IP address of the interface inside Google Cloud Platform. Only IPv4 is supported. */ public String getIpAddress() { return ipAddress; } + /** + * [Output Only] The resource that configures and manages this BGP peer. MANAGED_BY_USER is the + * default value and can be managed by you or other users; MANAGED_BY_ATTACHMENT is a BGP peer + * that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment + * of type PARTNER. Google will automatically create, update, and delete this type of BGP peer + * when the PARTNER InterconnectAttachment is created, updated, or deleted. + */ public String getManagementType() { return managementType; } + /** Name of this BGP peer. The name must be 1-63 characters long and comply with RFC1035. */ public String getName() { return name; } + /** + * Peer BGP Autonomous System Number (ASN). For VPN use case, this value can be different for + * every tunnel. + */ public Integer getPeerAsn() { return peerAsn; } + /** IP address of the BGP interface outside Google cloud. Only IPv4 is supported. */ public String getPeerIpAddress() { return peerIpAddress; } @@ -244,19 +276,33 @@ public Builder mergeFrom(RouterBgpPeer other) { this.peerIpAddress = source.peerIpAddress; } + /** User-specified flag to indicate which mode to use for advertisement. */ public String getAdvertiseMode() { return advertiseMode; } + /** User-specified flag to indicate which mode to use for advertisement. */ public Builder setAdvertiseMode(String advertiseMode) { this.advertiseMode = advertiseMode; return this; } + /** + * User-specified list of prefix groups to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and overrides the list defined for the router (in Bgp + * message). These groups will be advertised in addition to any specified prefixes. Leave this + * field blank to advertise no custom groups. + */ public List getAdvertisedGroupsList() { return advertisedGroups; } + /** + * User-specified list of prefix groups to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and overrides the list defined for the router (in Bgp + * message). These groups will be advertised in addition to any specified prefixes. Leave this + * field blank to advertise no custom groups. + */ public Builder addAllAdvertisedGroups(List advertisedGroups) { if (this.advertisedGroups == null) { this.advertisedGroups = new LinkedList<>(); @@ -265,6 +311,12 @@ public Builder addAllAdvertisedGroups(List advertisedGroups) { return this; } + /** + * User-specified list of prefix groups to advertise in custom mode. This field can only be + * populated if advertise_mode is CUSTOM and overrides the list defined for the router (in Bgp + * message). These groups will be advertised in addition to any specified prefixes. Leave this + * field blank to advertise no custom groups. + */ public Builder addAdvertisedGroups(String advertisedGroups) { if (this.advertisedGroups == null) { this.advertisedGroups = new LinkedList<>(); @@ -273,10 +325,22 @@ public Builder addAdvertisedGroups(String advertisedGroups) { return this; } + /** + * User-specified list of individual IP ranges to advertise in custom mode. This field can only + * be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in + * Bgp message). These IP ranges will be advertised in addition to any specified groups. Leave + * this field blank to advertise no custom IP ranges. + */ public List getAdvertisedIpRangesList() { return advertisedIpRanges; } + /** + * User-specified list of individual IP ranges to advertise in custom mode. This field can only + * be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in + * Bgp message). These IP ranges will be advertised in addition to any specified groups. Leave + * this field blank to advertise no custom IP ranges. + */ public Builder addAllAdvertisedIpRanges(List advertisedIpRanges) { if (this.advertisedIpRanges == null) { this.advertisedIpRanges = new LinkedList<>(); @@ -285,6 +349,12 @@ public Builder addAllAdvertisedIpRanges(List advertised return this; } + /** + * User-specified list of individual IP ranges to advertise in custom mode. This field can only + * be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in + * Bgp message). These IP ranges will be advertised in addition to any specified groups. Leave + * this field blank to advertise no custom IP ranges. + */ public Builder addAdvertisedIpRanges(RouterAdvertisedIpRange advertisedIpRanges) { if (this.advertisedIpRanges == null) { this.advertisedIpRanges = new LinkedList<>(); @@ -293,64 +363,104 @@ public Builder addAdvertisedIpRanges(RouterAdvertisedIpRange advertisedIpRanges) return this; } + /** + * The priority of routes advertised to this BGP peer. In the case where there is more than one + * matching route of maximum length, the routes with lowest priority value win. + */ public Integer getAdvertisedRoutePriority() { return advertisedRoutePriority; } + /** + * The priority of routes advertised to this BGP peer. In the case where there is more than one + * matching route of maximum length, the routes with lowest priority value win. + */ public Builder setAdvertisedRoutePriority(Integer advertisedRoutePriority) { this.advertisedRoutePriority = advertisedRoutePriority; return this; } + /** Name of the interface the BGP peer is associated with. */ public String getInterfaceName() { return interfaceName; } + /** Name of the interface the BGP peer is associated with. */ public Builder setInterfaceName(String interfaceName) { this.interfaceName = interfaceName; return this; } + /** IP address of the interface inside Google Cloud Platform. Only IPv4 is supported. */ public String getIpAddress() { return ipAddress; } + /** IP address of the interface inside Google Cloud Platform. Only IPv4 is supported. */ public Builder setIpAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } + /** + * [Output Only] The resource that configures and manages this BGP peer. MANAGED_BY_USER is the + * default value and can be managed by you or other users; MANAGED_BY_ATTACHMENT is a BGP peer + * that is configured and managed by Cloud Interconnect, specifically by an + * InterconnectAttachment of type PARTNER. Google will automatically create, update, and delete + * this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or + * deleted. + */ public String getManagementType() { return managementType; } + /** + * [Output Only] The resource that configures and manages this BGP peer. MANAGED_BY_USER is the + * default value and can be managed by you or other users; MANAGED_BY_ATTACHMENT is a BGP peer + * that is configured and managed by Cloud Interconnect, specifically by an + * InterconnectAttachment of type PARTNER. Google will automatically create, update, and delete + * this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or + * deleted. + */ public Builder setManagementType(String managementType) { this.managementType = managementType; return this; } + /** Name of this BGP peer. The name must be 1-63 characters long and comply with RFC1035. */ public String getName() { return name; } + /** Name of this BGP peer. The name must be 1-63 characters long and comply with RFC1035. */ public Builder setName(String name) { this.name = name; return this; } + /** + * Peer BGP Autonomous System Number (ASN). For VPN use case, this value can be different for + * every tunnel. + */ public Integer getPeerAsn() { return peerAsn; } + /** + * Peer BGP Autonomous System Number (ASN). For VPN use case, this value can be different for + * every tunnel. + */ public Builder setPeerAsn(Integer peerAsn) { this.peerAsn = peerAsn; return this; } + /** IP address of the BGP interface outside Google cloud. Only IPv4 is supported. */ public String getPeerIpAddress() { return peerIpAddress; } + /** IP address of the BGP interface outside Google cloud. Only IPv4 is supported. */ public Builder setPeerIpAddress(String peerIpAddress) { this.peerIpAddress = peerIpAddress; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterInterface.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterInterface.java index df216cfc4f69..18b8d5080f63 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterInterface.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterInterface.java @@ -84,22 +84,47 @@ public List getFieldMask() { return null; } + /** + * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. + * The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate + * the address as it represents the IP address of the interface. + */ public String getIpRange() { return ipRange; } + /** + * URI of the linked interconnect attachment. It must be in the same region as the router. Each + * interface can have at most one linked resource and it could either be a VPN Tunnel or an + * interconnect attachment. + */ public String getLinkedInterconnectAttachment() { return linkedInterconnectAttachment; } + /** + * URI of the linked VPN tunnel. It must be in the same region as the router. Each interface can + * have at most one linked resource and it could either be a VPN Tunnel or an interconnect + * attachment. + */ public String getLinkedVpnTunnel() { return linkedVpnTunnel; } + /** + * [Output Only] The resource that configures and manages this interface. MANAGED_BY_USER is the + * default value and can be managed by you or other users; MANAGED_BY_ATTACHMENT is an interface + * that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment + * of type PARTNER. Google will automatically create, update, and delete this type of interface + * when the PARTNER InterconnectAttachment is created, updated, or deleted. + */ public String getManagementType() { return managementType; } + /** + * Name of this interface entry. The name must be 1-63 characters long and comply with RFC1035. + */ public String getName() { return name; } @@ -163,46 +188,98 @@ public Builder mergeFrom(RouterInterface other) { this.name = source.name; } + /** + * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP + * space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not + * truncate the address as it represents the IP address of the interface. + */ public String getIpRange() { return ipRange; } + /** + * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP + * space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not + * truncate the address as it represents the IP address of the interface. + */ public Builder setIpRange(String ipRange) { this.ipRange = ipRange; return this; } + /** + * URI of the linked interconnect attachment. It must be in the same region as the router. Each + * interface can have at most one linked resource and it could either be a VPN Tunnel or an + * interconnect attachment. + */ public String getLinkedInterconnectAttachment() { return linkedInterconnectAttachment; } + /** + * URI of the linked interconnect attachment. It must be in the same region as the router. Each + * interface can have at most one linked resource and it could either be a VPN Tunnel or an + * interconnect attachment. + */ public Builder setLinkedInterconnectAttachment(String linkedInterconnectAttachment) { this.linkedInterconnectAttachment = linkedInterconnectAttachment; return this; } + /** + * URI of the linked VPN tunnel. It must be in the same region as the router. Each interface can + * have at most one linked resource and it could either be a VPN Tunnel or an interconnect + * attachment. + */ public String getLinkedVpnTunnel() { return linkedVpnTunnel; } + /** + * URI of the linked VPN tunnel. It must be in the same region as the router. Each interface can + * have at most one linked resource and it could either be a VPN Tunnel or an interconnect + * attachment. + */ public Builder setLinkedVpnTunnel(String linkedVpnTunnel) { this.linkedVpnTunnel = linkedVpnTunnel; return this; } + /** + * [Output Only] The resource that configures and manages this interface. MANAGED_BY_USER is the + * default value and can be managed by you or other users; MANAGED_BY_ATTACHMENT is an interface + * that is configured and managed by Cloud Interconnect, specifically by an + * InterconnectAttachment of type PARTNER. Google will automatically create, update, and delete + * this type of interface when the PARTNER InterconnectAttachment is created, updated, or + * deleted. + */ public String getManagementType() { return managementType; } + /** + * [Output Only] The resource that configures and manages this interface. MANAGED_BY_USER is the + * default value and can be managed by you or other users; MANAGED_BY_ATTACHMENT is an interface + * that is configured and managed by Cloud Interconnect, specifically by an + * InterconnectAttachment of type PARTNER. Google will automatically create, update, and delete + * this type of interface when the PARTNER InterconnectAttachment is created, updated, or + * deleted. + */ public Builder setManagementType(String managementType) { this.managementType = managementType; return this; } + /** + * Name of this interface entry. The name must be 1-63 characters long and comply with RFC1035. + */ public String getName() { return name; } + /** + * Name of this interface entry. The name must be 1-63 characters long and comply with RFC1035. + */ public Builder setName(String name) { this.name = name; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterList.java index e3e0eaf822a4..eab2b49188da 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of Router resources. */ public final class RouterList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Router resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#router for routers. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(RouterList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Router resources. */ public List getItemsList() { return items; } + /** A list of Router resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Router resources. */ public Builder addItems(Router items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Router items) { return this; } + /** [Output Only] Type of resource. Always compute#router for routers. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#router for routers. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNat.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNat.java index c9266a5a947f..0394a04df217 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNat.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNat.java @@ -25,6 +25,12 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents a Nat resource. It enables the VMs within the specified subnetworks to access Internet + * without external IP addresses. It specifies a list of subnetworks (and the ranges within) that + * want to use NAT. Customers can also provide the external IPs that would be used for NAT. GCP + * would auto-allocate ephemeral IPs if no external IPs are provided. + */ public final class RouterNat implements ApiMessage { private final Integer icmpIdleTimeoutSec; private final Integer minPortsPerVm; @@ -120,42 +126,68 @@ public List getFieldMask() { return null; } + /** Timeout (in seconds) for ICMP connections. Defaults to 30s if not set. */ public Integer getIcmpIdleTimeoutSec() { return icmpIdleTimeoutSec; } + /** + * Minimum number of ports allocated to a VM from this NAT config. If not set, a default number of + * ports is allocated to a VM. This gets rounded up to the nearest power of 2. Eg. if the value of + * this field is 50, at least 64 ports will be allocated to a VM. + */ public Integer getMinPortsPerVm() { return minPortsPerVm; } + /** + * Unique name of this Nat service. The name must be 1-63 characters long and comply with RFC1035. + */ public String getName() { return name; } + /** Specify the NatIpAllocateOption. If it is AUTO_ONLY, then nat_ip should be empty. */ public String getNatIpAllocateOption() { return natIpAllocateOption; } + /** + * A list of URLs of the IP resources used for this Nat service. These IPs must be valid static + * external IP addresses assigned to the project. max_length is subject to change post alpha. + */ public List getNatIpsList() { return natIps; } + /** + * Specify the Nat option. If this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or + * ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section in + * any Router for this network in this region. + */ public String getSourceSubnetworkIpRangesToNat() { return sourceSubnetworkIpRangesToNat; } + /** + * A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used + * only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above. + */ public List getSubnetworksList() { return subnetworks; } + /** Timeout (in seconds) for TCP established connections. Defaults to 1200s if not set. */ public Integer getTcpEstablishedIdleTimeoutSec() { return tcpEstablishedIdleTimeoutSec; } + /** Timeout (in seconds) for TCP transitory connections. Defaults to 30s if not set. */ public Integer getTcpTransitoryIdleTimeoutSec() { return tcpTransitoryIdleTimeoutSec; } + /** Timeout (in seconds) for UDP connections. Defaults to 30s if not set. */ public Integer getUdpIdleTimeoutSec() { return udpIdleTimeoutSec; } @@ -244,46 +276,76 @@ public Builder mergeFrom(RouterNat other) { this.udpIdleTimeoutSec = source.udpIdleTimeoutSec; } + /** Timeout (in seconds) for ICMP connections. Defaults to 30s if not set. */ public Integer getIcmpIdleTimeoutSec() { return icmpIdleTimeoutSec; } + /** Timeout (in seconds) for ICMP connections. Defaults to 30s if not set. */ public Builder setIcmpIdleTimeoutSec(Integer icmpIdleTimeoutSec) { this.icmpIdleTimeoutSec = icmpIdleTimeoutSec; return this; } + /** + * Minimum number of ports allocated to a VM from this NAT config. If not set, a default number + * of ports is allocated to a VM. This gets rounded up to the nearest power of 2. Eg. if the + * value of this field is 50, at least 64 ports will be allocated to a VM. + */ public Integer getMinPortsPerVm() { return minPortsPerVm; } + /** + * Minimum number of ports allocated to a VM from this NAT config. If not set, a default number + * of ports is allocated to a VM. This gets rounded up to the nearest power of 2. Eg. if the + * value of this field is 50, at least 64 ports will be allocated to a VM. + */ public Builder setMinPortsPerVm(Integer minPortsPerVm) { this.minPortsPerVm = minPortsPerVm; return this; } + /** + * Unique name of this Nat service. The name must be 1-63 characters long and comply with + * RFC1035. + */ public String getName() { return name; } + /** + * Unique name of this Nat service. The name must be 1-63 characters long and comply with + * RFC1035. + */ public Builder setName(String name) { this.name = name; return this; } + /** Specify the NatIpAllocateOption. If it is AUTO_ONLY, then nat_ip should be empty. */ public String getNatIpAllocateOption() { return natIpAllocateOption; } + /** Specify the NatIpAllocateOption. If it is AUTO_ONLY, then nat_ip should be empty. */ public Builder setNatIpAllocateOption(String natIpAllocateOption) { this.natIpAllocateOption = natIpAllocateOption; return this; } + /** + * A list of URLs of the IP resources used for this Nat service. These IPs must be valid static + * external IP addresses assigned to the project. max_length is subject to change post alpha. + */ public List getNatIpsList() { return natIps; } + /** + * A list of URLs of the IP resources used for this Nat service. These IPs must be valid static + * external IP addresses assigned to the project. max_length is subject to change post alpha. + */ public Builder addAllNatIps(List natIps) { if (this.natIps == null) { this.natIps = new LinkedList<>(); @@ -292,6 +354,10 @@ public Builder addAllNatIps(List natIps) { return this; } + /** + * A list of URLs of the IP resources used for this Nat service. These IPs must be valid static + * external IP addresses assigned to the project. max_length is subject to change post alpha. + */ public Builder addNatIps(String natIps) { if (this.natIps == null) { this.natIps = new LinkedList<>(); @@ -300,19 +366,37 @@ public Builder addNatIps(String natIps) { return this; } + /** + * Specify the Nat option. If this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or + * ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section + * in any Router for this network in this region. + */ public String getSourceSubnetworkIpRangesToNat() { return sourceSubnetworkIpRangesToNat; } + /** + * Specify the Nat option. If this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or + * ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section + * in any Router for this network in this region. + */ public Builder setSourceSubnetworkIpRangesToNat(String sourceSubnetworkIpRangesToNat) { this.sourceSubnetworkIpRangesToNat = sourceSubnetworkIpRangesToNat; return this; } + /** + * A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used + * only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above. + */ public List getSubnetworksList() { return subnetworks; } + /** + * A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used + * only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above. + */ public Builder addAllSubnetworks(List subnetworks) { if (this.subnetworks == null) { this.subnetworks = new LinkedList<>(); @@ -321,6 +405,10 @@ public Builder addAllSubnetworks(List subnetworks) { return this; } + /** + * A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used + * only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above. + */ public Builder addSubnetworks(RouterNatSubnetworkToNat subnetworks) { if (this.subnetworks == null) { this.subnetworks = new LinkedList<>(); @@ -329,28 +417,34 @@ public Builder addSubnetworks(RouterNatSubnetworkToNat subnetworks) { return this; } + /** Timeout (in seconds) for TCP established connections. Defaults to 1200s if not set. */ public Integer getTcpEstablishedIdleTimeoutSec() { return tcpEstablishedIdleTimeoutSec; } + /** Timeout (in seconds) for TCP established connections. Defaults to 1200s if not set. */ public Builder setTcpEstablishedIdleTimeoutSec(Integer tcpEstablishedIdleTimeoutSec) { this.tcpEstablishedIdleTimeoutSec = tcpEstablishedIdleTimeoutSec; return this; } + /** Timeout (in seconds) for TCP transitory connections. Defaults to 30s if not set. */ public Integer getTcpTransitoryIdleTimeoutSec() { return tcpTransitoryIdleTimeoutSec; } + /** Timeout (in seconds) for TCP transitory connections. Defaults to 30s if not set. */ public Builder setTcpTransitoryIdleTimeoutSec(Integer tcpTransitoryIdleTimeoutSec) { this.tcpTransitoryIdleTimeoutSec = tcpTransitoryIdleTimeoutSec; return this; } + /** Timeout (in seconds) for UDP connections. Defaults to 30s if not set. */ public Integer getUdpIdleTimeoutSec() { return udpIdleTimeoutSec; } + /** Timeout (in seconds) for UDP connections. Defaults to 30s if not set. */ public Builder setUdpIdleTimeoutSec(Integer udpIdleTimeoutSec) { this.udpIdleTimeoutSec = udpIdleTimeoutSec; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNatSubnetworkToNat.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNatSubnetworkToNat.java index 3ff7f22a93b1..1f9178483c6c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNatSubnetworkToNat.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterNatSubnetworkToNat.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Defines the IP ranges that want to use NAT for a subnetwork. */ public final class RouterNatSubnetworkToNat implements ApiMessage { private final String name; private final List secondaryIpRangeNames; @@ -69,14 +70,25 @@ public List getFieldMask() { return null; } + /** URL for the subnetwork resource to use NAT. */ public String getName() { return name; } + /** + * A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be + * populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in + * source_ip_ranges_to_nat. + */ public List getSecondaryIpRangeNamesList() { return secondaryIpRangeNames; } + /** + * Specify the options for NAT ranges in the Subnetwork. All usages of single value are valid + * except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: + * ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] + */ public List getSourceIpRangesToNatList() { return sourceIpRangesToNat; } @@ -130,19 +142,31 @@ public Builder mergeFrom(RouterNatSubnetworkToNat other) { this.sourceIpRangesToNat = source.sourceIpRangesToNat; } + /** URL for the subnetwork resource to use NAT. */ public String getName() { return name; } + /** URL for the subnetwork resource to use NAT. */ public Builder setName(String name) { this.name = name; return this; } + /** + * A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be + * populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in + * source_ip_ranges_to_nat. + */ public List getSecondaryIpRangeNamesList() { return secondaryIpRangeNames; } + /** + * A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be + * populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in + * source_ip_ranges_to_nat. + */ public Builder addAllSecondaryIpRangeNames(List secondaryIpRangeNames) { if (this.secondaryIpRangeNames == null) { this.secondaryIpRangeNames = new LinkedList<>(); @@ -151,6 +175,11 @@ public Builder addAllSecondaryIpRangeNames(List secondaryIpRangeNames) { return this; } + /** + * A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be + * populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in + * source_ip_ranges_to_nat. + */ public Builder addSecondaryIpRangeNames(String secondaryIpRangeNames) { if (this.secondaryIpRangeNames == null) { this.secondaryIpRangeNames = new LinkedList<>(); @@ -159,10 +188,20 @@ public Builder addSecondaryIpRangeNames(String secondaryIpRangeNames) { return this; } + /** + * Specify the options for NAT ranges in the Subnetwork. All usages of single value are valid + * except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: + * ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] + */ public List getSourceIpRangesToNatList() { return sourceIpRangesToNat; } + /** + * Specify the options for NAT ranges in the Subnetwork. All usages of single value are valid + * except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: + * ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] + */ public Builder addAllSourceIpRangesToNat(List sourceIpRangesToNat) { if (this.sourceIpRangesToNat == null) { this.sourceIpRangesToNat = new LinkedList<>(); @@ -171,6 +210,11 @@ public Builder addAllSourceIpRangesToNat(List sourceIpRangesToNat) { return this; } + /** + * Specify the options for NAT ranges in the Subnetwork. All usages of single value are valid + * except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: + * ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES] + */ public Builder addSourceIpRangesToNat(String sourceIpRangesToNat) { if (this.sourceIpRangesToNat == null) { this.sourceIpRangesToNat = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatus.java index 0472249bf16d..172c0d5784b7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatus.java @@ -85,10 +85,12 @@ public List getFieldMask() { return null; } + /** Best routes for this router's network. */ public List getBestRoutesList() { return bestRoutes; } + /** Best routes learned by this router. */ public List getBestRoutesForRouterList() { return bestRoutesForRouter; } @@ -101,6 +103,7 @@ public List getNatStatusList() { return natStatus; } + /** URI of the network to which this router belongs. */ public String getNetwork() { return network; } @@ -164,10 +167,12 @@ public Builder mergeFrom(RouterStatus other) { this.network = source.network; } + /** Best routes for this router's network. */ public List getBestRoutesList() { return bestRoutes; } + /** Best routes for this router's network. */ public Builder addAllBestRoutes(List bestRoutes) { if (this.bestRoutes == null) { this.bestRoutes = new LinkedList<>(); @@ -176,6 +181,7 @@ public Builder addAllBestRoutes(List bestRoutes) { return this; } + /** Best routes for this router's network. */ public Builder addBestRoutes(Route bestRoutes) { if (this.bestRoutes == null) { this.bestRoutes = new LinkedList<>(); @@ -184,10 +190,12 @@ public Builder addBestRoutes(Route bestRoutes) { return this; } + /** Best routes learned by this router. */ public List getBestRoutesForRouterList() { return bestRoutesForRouter; } + /** Best routes learned by this router. */ public Builder addAllBestRoutesForRouter(List bestRoutesForRouter) { if (this.bestRoutesForRouter == null) { this.bestRoutesForRouter = new LinkedList<>(); @@ -196,6 +204,7 @@ public Builder addAllBestRoutesForRouter(List bestRoutesForRouter) { return this; } + /** Best routes learned by this router. */ public Builder addBestRoutesForRouter(Route bestRoutesForRouter) { if (this.bestRoutesForRouter == null) { this.bestRoutesForRouter = new LinkedList<>(); @@ -244,10 +253,12 @@ public Builder addNatStatus(RouterStatusNatStatus natStatus) { return this; } + /** URI of the network to which this router belongs. */ public String getNetwork() { return network; } + /** URI of the network to which this router belongs. */ public Builder setNetwork(String network) { this.network = network; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java index 3cb9ab1639e5..17e9cbb33c31 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java @@ -120,42 +120,55 @@ public List getFieldMask() { return null; } + /** Routes that were advertised to the remote BGP peer */ public List getAdvertisedRoutesList() { return advertisedRoutes; } + /** IP address of the local BGP interface. */ public String getIpAddress() { return ipAddress; } + /** URL of the VPN tunnel that this BGP peer controls. */ public String getLinkedVpnTunnel() { return linkedVpnTunnel; } + /** Name of this BGP peer. Unique within the Routers resource. */ public String getName() { return name; } + /** Number of routes learned from the remote BGP Peer. */ public Integer getNumLearnedRoutes() { return numLearnedRoutes; } + /** IP address of the remote BGP interface. */ public String getPeerIpAddress() { return peerIpAddress; } + /** BGP state as specified in RFC1771. */ public String getState() { return state; } + /** Status of the BGP peer: {UP, DOWN} */ public String getStatus() { return status; } + /** + * Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 + * seconds + */ public String getUptime() { return uptime; } + /** Time this session has been up, in seconds. Format: 145 */ public String getUptimeSeconds() { return uptimeSeconds; } @@ -244,10 +257,12 @@ public Builder mergeFrom(RouterStatusBgpPeerStatus other) { this.uptimeSeconds = source.uptimeSeconds; } + /** Routes that were advertised to the remote BGP peer */ public List getAdvertisedRoutesList() { return advertisedRoutes; } + /** Routes that were advertised to the remote BGP peer */ public Builder addAllAdvertisedRoutes(List advertisedRoutes) { if (this.advertisedRoutes == null) { this.advertisedRoutes = new LinkedList<>(); @@ -256,6 +271,7 @@ public Builder addAllAdvertisedRoutes(List advertisedRoutes) { return this; } + /** Routes that were advertised to the remote BGP peer */ public Builder addAdvertisedRoutes(Route advertisedRoutes) { if (this.advertisedRoutes == null) { this.advertisedRoutes = new LinkedList<>(); @@ -264,82 +280,106 @@ public Builder addAdvertisedRoutes(Route advertisedRoutes) { return this; } + /** IP address of the local BGP interface. */ public String getIpAddress() { return ipAddress; } + /** IP address of the local BGP interface. */ public Builder setIpAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } + /** URL of the VPN tunnel that this BGP peer controls. */ public String getLinkedVpnTunnel() { return linkedVpnTunnel; } + /** URL of the VPN tunnel that this BGP peer controls. */ public Builder setLinkedVpnTunnel(String linkedVpnTunnel) { this.linkedVpnTunnel = linkedVpnTunnel; return this; } + /** Name of this BGP peer. Unique within the Routers resource. */ public String getName() { return name; } + /** Name of this BGP peer. Unique within the Routers resource. */ public Builder setName(String name) { this.name = name; return this; } + /** Number of routes learned from the remote BGP Peer. */ public Integer getNumLearnedRoutes() { return numLearnedRoutes; } + /** Number of routes learned from the remote BGP Peer. */ public Builder setNumLearnedRoutes(Integer numLearnedRoutes) { this.numLearnedRoutes = numLearnedRoutes; return this; } + /** IP address of the remote BGP interface. */ public String getPeerIpAddress() { return peerIpAddress; } + /** IP address of the remote BGP interface. */ public Builder setPeerIpAddress(String peerIpAddress) { this.peerIpAddress = peerIpAddress; return this; } + /** BGP state as specified in RFC1771. */ public String getState() { return state; } + /** BGP state as specified in RFC1771. */ public Builder setState(String state) { this.state = state; return this; } + /** Status of the BGP peer: {UP, DOWN} */ public String getStatus() { return status; } + /** Status of the BGP peer: {UP, DOWN} */ public Builder setStatus(String status) { this.status = status; return this; } + /** + * Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 + * seconds + */ public String getUptime() { return uptime; } + /** + * Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 + * seconds + */ public Builder setUptime(String uptime) { this.uptime = uptime; return this; } + /** Time this session has been up, in seconds. Format: 145 */ public String getUptimeSeconds() { return uptimeSeconds; } + /** Time this session has been up, in seconds. Format: 145 */ public Builder setUptimeSeconds(String uptimeSeconds) { this.uptimeSeconds = uptimeSeconds; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusNatStatus.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusNatStatus.java index b595199b36ef..50a39751efc6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusNatStatus.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusNatStatus.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Status of a NAT contained in this router. */ public final class RouterStatusNatStatus implements ApiMessage { private final List autoAllocatedNatIps; private final Integer minExtraNatIpsNeeded; @@ -92,26 +93,36 @@ public List getFieldMask() { return null; } + /** A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] */ public List getAutoAllocatedNatIpsList() { return autoAllocatedNatIps; } + /** + * The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are + * NOT enough to allow all configured VMs to use NAT. This value is meaningful only when + * auto-allocation of NAT IPs is *not* used. + */ public Integer getMinExtraNatIpsNeeded() { return minExtraNatIpsNeeded; } + /** Unique name of this NAT. */ public String getName() { return name; } + /** Number of VM endpoints (i.e., Nics) that can use NAT. */ public Integer getNumVmEndpointsWithNatMappings() { return numVmEndpointsWithNatMappings; } + /** A list of fully qualified URLs of reserved IP address resources. */ public List getUserAllocatedNatIpResourcesList() { return userAllocatedNatIpResources; } + /** A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133". */ public List getUserAllocatedNatIpsList() { return userAllocatedNatIps; } @@ -180,10 +191,12 @@ public Builder mergeFrom(RouterStatusNatStatus other) { this.userAllocatedNatIps = source.userAllocatedNatIps; } + /** A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] */ public List getAutoAllocatedNatIpsList() { return autoAllocatedNatIps; } + /** A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] */ public Builder addAllAutoAllocatedNatIps(List autoAllocatedNatIps) { if (this.autoAllocatedNatIps == null) { this.autoAllocatedNatIps = new LinkedList<>(); @@ -192,6 +205,7 @@ public Builder addAllAutoAllocatedNatIps(List autoAllocatedNatIps) { return this; } + /** A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] */ public Builder addAutoAllocatedNatIps(String autoAllocatedNatIps) { if (this.autoAllocatedNatIps == null) { this.autoAllocatedNatIps = new LinkedList<>(); @@ -200,37 +214,53 @@ public Builder addAutoAllocatedNatIps(String autoAllocatedNatIps) { return this; } + /** + * The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs + * are NOT enough to allow all configured VMs to use NAT. This value is meaningful only when + * auto-allocation of NAT IPs is *not* used. + */ public Integer getMinExtraNatIpsNeeded() { return minExtraNatIpsNeeded; } + /** + * The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs + * are NOT enough to allow all configured VMs to use NAT. This value is meaningful only when + * auto-allocation of NAT IPs is *not* used. + */ public Builder setMinExtraNatIpsNeeded(Integer minExtraNatIpsNeeded) { this.minExtraNatIpsNeeded = minExtraNatIpsNeeded; return this; } + /** Unique name of this NAT. */ public String getName() { return name; } + /** Unique name of this NAT. */ public Builder setName(String name) { this.name = name; return this; } + /** Number of VM endpoints (i.e., Nics) that can use NAT. */ public Integer getNumVmEndpointsWithNatMappings() { return numVmEndpointsWithNatMappings; } + /** Number of VM endpoints (i.e., Nics) that can use NAT. */ public Builder setNumVmEndpointsWithNatMappings(Integer numVmEndpointsWithNatMappings) { this.numVmEndpointsWithNatMappings = numVmEndpointsWithNatMappings; return this; } + /** A list of fully qualified URLs of reserved IP address resources. */ public List getUserAllocatedNatIpResourcesList() { return userAllocatedNatIpResources; } + /** A list of fully qualified URLs of reserved IP address resources. */ public Builder addAllUserAllocatedNatIpResources(List userAllocatedNatIpResources) { if (this.userAllocatedNatIpResources == null) { this.userAllocatedNatIpResources = new LinkedList<>(); @@ -239,6 +269,7 @@ public Builder addAllUserAllocatedNatIpResources(List userAllocatedNatIp return this; } + /** A list of fully qualified URLs of reserved IP address resources. */ public Builder addUserAllocatedNatIpResources(String userAllocatedNatIpResources) { if (this.userAllocatedNatIpResources == null) { this.userAllocatedNatIpResources = new LinkedList<>(); @@ -247,10 +278,12 @@ public Builder addUserAllocatedNatIpResources(String userAllocatedNatIpResources return this; } + /** A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133". */ public List getUserAllocatedNatIpsList() { return userAllocatedNatIps; } + /** A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133". */ public Builder addAllUserAllocatedNatIps(List userAllocatedNatIps) { if (this.userAllocatedNatIps == null) { this.userAllocatedNatIps = new LinkedList<>(); @@ -259,6 +292,7 @@ public Builder addAllUserAllocatedNatIps(List userAllocatedNatIps) { return this; } + /** A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133". */ public Builder addUserAllocatedNatIps(String userAllocatedNatIps) { if (this.userAllocatedNatIps == null) { this.userAllocatedNatIps = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusResponse.java index 0b1fcb3438f3..e037e13624c7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterStatusResponse.java @@ -61,6 +61,7 @@ public List getFieldMask() { return null; } + /** Type of resource. */ public String getKind() { return kind; } @@ -113,10 +114,12 @@ public Builder mergeFrom(RouterStatusResponse other) { this.result = source.result; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersPreviewResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersPreviewResponse.java index 28c3274803d6..ea1153350a43 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersPreviewResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersPreviewResponse.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** Preview of given router. */ public Router getResource() { return resource; } @@ -98,10 +99,12 @@ public Builder mergeFrom(RoutersPreviewResponse other) { this.resource = source.resource; } + /** Preview of given router. */ public Router getResource() { return resource; } + /** Preview of given router. */ public Builder setResource(Router resource) { this.resource = resource; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersScopedList.java index 261da9c99efc..8200c21f23b2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RoutersScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** A list of routers contained in this scope. */ public List getRoutersList() { return routers; } + /** Informational warning which replaces the list of routers when the list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(RoutersScopedList other) { this.warning = source.warning; } + /** A list of routers contained in this scope. */ public List getRoutersList() { return routers; } + /** A list of routers contained in this scope. */ public Builder addAllRouters(List routers) { if (this.routers == null) { this.routers = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllRouters(List routers) { return this; } + /** A list of routers contained in this scope. */ public Builder addRouters(Router routers) { if (this.routers == null) { this.routers = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addRouters(Router routers) { return this; } + /** Informational warning which replaces the list of routers when the list is empty. */ public Warning getWarning() { return warning; } + /** Informational warning which replaces the list of routers when the list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Rule.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Rule.java index 17be94744aed..6db5cd8a9d2d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Rule.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Rule.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A rule to be applied in a Policy. */ public final class Rule implements ApiMessage { private final String action; private final List conditions; @@ -99,30 +100,50 @@ public List getFieldMask() { return null; } + /** Required */ public String getAction() { return action; } + /** Additional restrictions that must be met. All conditions must pass for the rule to match. */ public List getConditionsList() { return conditions; } + /** Human-readable description of the rule. */ public String getDescription() { return description; } + /** + * If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR + * is in at least one of these entries. + */ public List getInsList() { return ins; } + /** + * The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG + * action. + */ public List getLogConfigsList() { return logConfigs; } + /** + * If one or more 'not_in' clauses are specified, the rule matches if the + * PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. + */ public List getNotInsList() { return notIns; } + /** + * A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' + * matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all + * verbs. + */ public List getPermissionsList() { return permissions; } @@ -196,19 +217,23 @@ public Builder mergeFrom(Rule other) { this.permissions = source.permissions; } + /** Required */ public String getAction() { return action; } + /** Required */ public Builder setAction(String action) { this.action = action; return this; } + /** Additional restrictions that must be met. All conditions must pass for the rule to match. */ public List getConditionsList() { return conditions; } + /** Additional restrictions that must be met. All conditions must pass for the rule to match. */ public Builder addAllConditions(List conditions) { if (this.conditions == null) { this.conditions = new LinkedList<>(); @@ -217,6 +242,7 @@ public Builder addAllConditions(List conditions) { return this; } + /** Additional restrictions that must be met. All conditions must pass for the rule to match. */ public Builder addConditions(Condition conditions) { if (this.conditions == null) { this.conditions = new LinkedList<>(); @@ -225,19 +251,29 @@ public Builder addConditions(Condition conditions) { return this; } + /** Human-readable description of the rule. */ public String getDescription() { return description; } + /** Human-readable description of the rule. */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * If one or more 'in' clauses are specified, the rule matches if the + * PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. + */ public List getInsList() { return ins; } + /** + * If one or more 'in' clauses are specified, the rule matches if the + * PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. + */ public Builder addAllIns(List ins) { if (this.ins == null) { this.ins = new LinkedList<>(); @@ -246,6 +282,10 @@ public Builder addAllIns(List ins) { return this; } + /** + * If one or more 'in' clauses are specified, the rule matches if the + * PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. + */ public Builder addIns(String ins) { if (this.ins == null) { this.ins = new LinkedList<>(); @@ -254,10 +294,18 @@ public Builder addIns(String ins) { return this; } + /** + * The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG + * action. + */ public List getLogConfigsList() { return logConfigs; } + /** + * The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG + * action. + */ public Builder addAllLogConfigs(List logConfigs) { if (this.logConfigs == null) { this.logConfigs = new LinkedList<>(); @@ -266,6 +314,10 @@ public Builder addAllLogConfigs(List logConfigs) { return this; } + /** + * The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG + * action. + */ public Builder addLogConfigs(LogConfig logConfigs) { if (this.logConfigs == null) { this.logConfigs = new LinkedList<>(); @@ -274,10 +326,18 @@ public Builder addLogConfigs(LogConfig logConfigs) { return this; } + /** + * If one or more 'not_in' clauses are specified, the rule matches if the + * PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. + */ public List getNotInsList() { return notIns; } + /** + * If one or more 'not_in' clauses are specified, the rule matches if the + * PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. + */ public Builder addAllNotIns(List notIns) { if (this.notIns == null) { this.notIns = new LinkedList<>(); @@ -286,6 +346,10 @@ public Builder addAllNotIns(List notIns) { return this; } + /** + * If one or more 'not_in' clauses are specified, the rule matches if the + * PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. + */ public Builder addNotIns(String notIns) { if (this.notIns == null) { this.notIns = new LinkedList<>(); @@ -294,10 +358,20 @@ public Builder addNotIns(String notIns) { return this; } + /** + * A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' + * matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches + * all verbs. + */ public List getPermissionsList() { return permissions; } + /** + * A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' + * matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches + * all verbs. + */ public Builder addAllPermissions(List permissions) { if (this.permissions == null) { this.permissions = new LinkedList<>(); @@ -306,6 +380,11 @@ public Builder addAllPermissions(List permissions) { return this; } + /** + * A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' + * matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches + * all verbs. + */ public Builder addPermissions(String permissions) { if (this.permissions == null) { this.permissions = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SSLHealthCheck.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SSLHealthCheck.java index 2ca8180514e6..1a40c176f4d1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SSLHealthCheck.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SSLHealthCheck.java @@ -80,22 +80,43 @@ public List getFieldMask() { return null; } + /** + * The TCP port number for the health check request. The default value is 443. Valid values are 1 + * through 65535. + */ public Integer getPort() { return port; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public String getPortName() { return portName; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE or + * PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** + * The application data to send once the SSL connection has been established (default value is + * empty). If both request and response are empty, the connection establishment alone will + * indicate health. The request data can only be ASCII. + */ public String getRequest() { return request; } + /** + * The bytes to match against the beginning of the response data. If left empty (the default + * value), any response will indicate health. The response data can only be ASCII. + */ public String getResponse() { return response; } @@ -159,46 +180,88 @@ public Builder mergeFrom(SSLHealthCheck other) { this.response = source.response; } + /** + * The TCP port number for the health check request. The default value is 443. Valid values are + * 1 through 65535. + */ public Integer getPort() { return port; } + /** + * The TCP port number for the health check request. The default value is 443. Valid values are + * 1 through 65535. + */ public Builder setPort(Integer port) { this.port = port; return this; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public String getPortName() { return portName; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public Builder setPortName(String portName) { this.portName = portName; return this; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public Builder setProxyHeader(String proxyHeader) { this.proxyHeader = proxyHeader; return this; } + /** + * The application data to send once the SSL connection has been established (default value is + * empty). If both request and response are empty, the connection establishment alone will + * indicate health. The request data can only be ASCII. + */ public String getRequest() { return request; } + /** + * The application data to send once the SSL connection has been established (default value is + * empty). If both request and response are empty, the connection establishment alone will + * indicate health. The request data can only be ASCII. + */ public Builder setRequest(String request) { this.request = request; return this; } + /** + * The bytes to match against the beginning of the response data. If left empty (the default + * value), any response will indicate health. The response data can only be ASCII. + */ public String getResponse() { return response; } + /** + * The bytes to match against the beginning of the response data. If left empty (the default + * value), any response will indicate health. The response data can only be ASCII. + */ public Builder setResponse(String response) { this.response = response; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Scheduling.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Scheduling.java index 0809482b5942..5ce6438171a8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Scheduling.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Scheduling.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Sets the scheduling options for an Instance. */ public final class Scheduling implements ApiMessage { private final Boolean automaticRestart; private final List nodeAffinities; @@ -78,18 +79,36 @@ public List getFieldMask() { return null; } + /** + * Specifies whether the instance should be automatically restarted if it is terminated by Compute + * Engine (not terminated by a user). You can only set the automatic restart option for standard + * instances. Preemptible instances cannot be automatically restarted. + * + *

By default, this is set to true so an instance is automatically restarted if it is + * terminated by Compute Engine. + */ public Boolean getAutomaticRestart() { return automaticRestart; } + /** A set of node affinity and anti-affinity. */ public List getNodeAffinitiesList() { return nodeAffinities; } + /** + * Defines the maintenance behavior for this instance. For standard instances, the default + * behavior is MIGRATE. For preemptible instances, the default and only possible behavior is + * TERMINATE. For more information, see Setting Instance Scheduling Options. + */ public String getOnHostMaintenance() { return onHostMaintenance; } + /** + * Defines whether the instance is preemptible. This can only be set during instance creation, it + * cannot be set or changed after the instance has been created. + */ public Boolean getPreemptible() { return preemptible; } @@ -148,19 +167,37 @@ public Builder mergeFrom(Scheduling other) { this.preemptible = source.preemptible; } + /** + * Specifies whether the instance should be automatically restarted if it is terminated by + * Compute Engine (not terminated by a user). You can only set the automatic restart option for + * standard instances. Preemptible instances cannot be automatically restarted. + * + *

By default, this is set to true so an instance is automatically restarted if it is + * terminated by Compute Engine. + */ public Boolean getAutomaticRestart() { return automaticRestart; } + /** + * Specifies whether the instance should be automatically restarted if it is terminated by + * Compute Engine (not terminated by a user). You can only set the automatic restart option for + * standard instances. Preemptible instances cannot be automatically restarted. + * + *

By default, this is set to true so an instance is automatically restarted if it is + * terminated by Compute Engine. + */ public Builder setAutomaticRestart(Boolean automaticRestart) { this.automaticRestart = automaticRestart; return this; } + /** A set of node affinity and anti-affinity. */ public List getNodeAffinitiesList() { return nodeAffinities; } + /** A set of node affinity and anti-affinity. */ public Builder addAllNodeAffinities(List nodeAffinities) { if (this.nodeAffinities == null) { this.nodeAffinities = new LinkedList<>(); @@ -169,6 +206,7 @@ public Builder addAllNodeAffinities(List nodeAffinities) return this; } + /** A set of node affinity and anti-affinity. */ public Builder addNodeAffinities(SchedulingNodeAffinity nodeAffinities) { if (this.nodeAffinities == null) { this.nodeAffinities = new LinkedList<>(); @@ -177,19 +215,37 @@ public Builder addNodeAffinities(SchedulingNodeAffinity nodeAffinities) { return this; } + /** + * Defines the maintenance behavior for this instance. For standard instances, the default + * behavior is MIGRATE. For preemptible instances, the default and only possible behavior is + * TERMINATE. For more information, see Setting Instance Scheduling Options. + */ public String getOnHostMaintenance() { return onHostMaintenance; } + /** + * Defines the maintenance behavior for this instance. For standard instances, the default + * behavior is MIGRATE. For preemptible instances, the default and only possible behavior is + * TERMINATE. For more information, see Setting Instance Scheduling Options. + */ public Builder setOnHostMaintenance(String onHostMaintenance) { this.onHostMaintenance = onHostMaintenance; return this; } + /** + * Defines whether the instance is preemptible. This can only be set during instance creation, + * it cannot be set or changed after the instance has been created. + */ public Boolean getPreemptible() { return preemptible; } + /** + * Defines whether the instance is preemptible. This can only be set during instance creation, + * it cannot be set or changed after the instance has been created. + */ public Builder setPreemptible(Boolean preemptible) { this.preemptible = preemptible; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SchedulingNodeAffinity.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SchedulingNodeAffinity.java index 6d9c797560c2..2d5c388f33a4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SchedulingNodeAffinity.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SchedulingNodeAffinity.java @@ -25,6 +25,9 @@ @Generated("by GAPIC") @BetaApi +/** + * Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. + */ public final class SchedulingNodeAffinity implements ApiMessage { private final String key; private final String operator; @@ -68,14 +71,17 @@ public List getFieldMask() { return null; } + /** Corresponds to the label key of Node resource. */ public String getKey() { return key; } + /** Defines the operation of node selection. */ public String getOperator() { return operator; } + /** Corresponds to the label values of Node resource. */ public List getValuesList() { return values; } @@ -129,28 +135,34 @@ public Builder mergeFrom(SchedulingNodeAffinity other) { this.values = source.values; } + /** Corresponds to the label key of Node resource. */ public String getKey() { return key; } + /** Corresponds to the label key of Node resource. */ public Builder setKey(String key) { this.key = key; return this; } + /** Defines the operation of node selection. */ public String getOperator() { return operator; } + /** Defines the operation of node selection. */ public Builder setOperator(String operator) { this.operator = operator; return this; } + /** Corresponds to the label values of Node resource. */ public List getValuesList() { return values; } + /** Corresponds to the label values of Node resource. */ public Builder addAllValues(List values) { if (this.values == null) { this.values = new LinkedList<>(); @@ -159,6 +171,7 @@ public Builder addAllValues(List values) { return this; } + /** Corresponds to the label values of Node resource. */ public Builder addValues(String values) { if (this.values == null) { this.values = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ScratchDisks.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ScratchDisks.java index 6f8b4bbd4f98..dcb0d31cc74e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ScratchDisks.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ScratchDisks.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** [Output Only] A list of extended scratch disks assigned to the instance. */ public final class ScratchDisks implements ApiMessage { private final Integer diskGb; @@ -55,6 +56,7 @@ public List getFieldMask() { return null; } + /** Size of the scratch disk, defined in GB. */ public Integer getDiskGb() { return diskGb; } @@ -98,10 +100,12 @@ public Builder mergeFrom(ScratchDisks other) { this.diskGb = source.diskGb; } + /** Size of the scratch disk, defined in GB. */ public Integer getDiskGb() { return diskGb; } + /** Size of the scratch disk, defined in GB. */ public Builder setDiskGb(Integer diskGb) { this.diskGb = diskGb; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicy.java index 706358b9d814..429925c3f157 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicy.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A security policy is comprised of one or more rules. It can also be associated with one or more + * 'targets'. (== resource_for v1.securityPolicies ==) (== resource_for beta.securityPolicies ==) + */ public final class SecurityPolicy implements ApiMessage { private final String creationTimestamp; private final String description; @@ -106,34 +110,64 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * Specifies a fingerprint for this resource, which is essentially a hash of the metadata's + * contents and used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update metadata. You must always provide an + * up-to-date fingerprint hash in order to update or change metadata, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make get() request to the security policy. + */ public String getFingerprint() { return fingerprint; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output only] Type of the resource. Always compute#securityPolicyfor security policies */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * A list of rules that belong to this policy. There must always be a default rule (rule with + * priority 2147483647 and match "*"). If no rules are provided when creating a security + * policy, a default rule with action "allow" will be added. + */ public List getRulesList() { return rules; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } @@ -212,64 +246,124 @@ public Builder mergeFrom(SecurityPolicy other) { this.selfLink = source.selfLink; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * Specifies a fingerprint for this resource, which is essentially a hash of the metadata's + * contents and used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update metadata. You must always provide + * an up-to-date fingerprint hash in order to update or change metadata, otherwise the request + * will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make get() request to the security policy. + */ public String getFingerprint() { return fingerprint; } + /** + * Specifies a fingerprint for this resource, which is essentially a hash of the metadata's + * contents and used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update metadata. You must always provide + * an up-to-date fingerprint hash in order to update or change metadata, otherwise the request + * will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make get() request to the security policy. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output only] Type of the resource. Always compute#securityPolicyfor security policies */ public String getKind() { return kind; } + /** [Output only] Type of the resource. Always compute#securityPolicyfor security policies */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * A list of rules that belong to this policy. There must always be a default rule (rule with + * priority 2147483647 and match "*"). If no rules are provided when creating a security + * policy, a default rule with action "allow" will be added. + */ public List getRulesList() { return rules; } + /** + * A list of rules that belong to this policy. There must always be a default rule (rule with + * priority 2147483647 and match "*"). If no rules are provided when creating a security + * policy, a default rule with action "allow" will be added. + */ public Builder addAllRules(List rules) { if (this.rules == null) { this.rules = new LinkedList<>(); @@ -278,6 +372,11 @@ public Builder addAllRules(List rules) { return this; } + /** + * A list of rules that belong to this policy. There must always be a default rule (rule with + * priority 2147483647 and match "*"). If no rules are provided when creating a security + * policy, a default rule with action "allow" will be added. + */ public Builder addRules(SecurityPolicyRule rules) { if (this.rules == null) { this.rules = new LinkedList<>(); @@ -286,10 +385,12 @@ public Builder addRules(SecurityPolicyRule rules) { return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyList.java index cea23f52136c..31af83e9bcdb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyList.java @@ -81,22 +81,34 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of SecurityPolicy resources. */ public List getItemsList() { return items; } + /** + * [Output Only] Type of resource. Always compute#securityPolicyList for listsof securityPolicies + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -160,19 +172,23 @@ public Builder mergeFrom(SecurityPolicyList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of SecurityPolicy resources. */ public List getItemsList() { return items; } + /** A list of SecurityPolicy resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -181,6 +197,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of SecurityPolicy resources. */ public Builder addItems(SecurityPolicy items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -189,28 +206,50 @@ public Builder addItems(SecurityPolicy items) { return this; } + /** + * [Output Only] Type of resource. Always compute#securityPolicyList for listsof + * securityPolicies + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#securityPolicyList for listsof + * securityPolicies + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRule.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRule.java index 2939b7552702..81a9e1575c69 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRule.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRule.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents a rule that describes one or more match conditions along with the action to be taken + * when traffic matches this condition (allow or deny). + */ public final class SecurityPolicyRule implements ApiMessage { private final String action; private final String description; @@ -91,26 +95,46 @@ public List getFieldMask() { return null; } + /** + * The Action to preform when the client connection triggers the rule. Can currently be either + * "allow" or "deny()" where valid values for status are 403, 404, and 502. + */ public String getAction() { return action; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules + */ public String getKind() { return kind; } + /** + * A match condition that incoming traffic is evaluated against. If it evaluates to true, the + * corresponding ?action? is enforced. + */ public SecurityPolicyRuleMatcher getMatch() { return match; } + /** If set to true, the specified action is not enforced. */ public Boolean getPreview() { return preview; } + /** + * An integer indicating the priority of a rule in the list. The priority must be a positive value + * between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the + * highest priority and 2147483647 is the lowest prority. + */ public Integer getPriority() { return priority; } @@ -179,55 +203,97 @@ public Builder mergeFrom(SecurityPolicyRule other) { this.priority = source.priority; } + /** + * The Action to preform when the client connection triggers the rule. Can currently be either + * "allow" or "deny()" where valid values for status are 403, 404, and 502. + */ public String getAction() { return action; } + /** + * The Action to preform when the client connection triggers the rule. Can currently be either + * "allow" or "deny()" where valid values for status are 403, 404, and 502. + */ public Builder setAction(String action) { this.action = action; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output only] Type of the resource. Always compute#securityPolicyRule for security policy + * rules + */ public String getKind() { return kind; } + /** + * [Output only] Type of the resource. Always compute#securityPolicyRule for security policy + * rules + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * A match condition that incoming traffic is evaluated against. If it evaluates to true, the + * corresponding ?action? is enforced. + */ public SecurityPolicyRuleMatcher getMatch() { return match; } + /** + * A match condition that incoming traffic is evaluated against. If it evaluates to true, the + * corresponding ?action? is enforced. + */ public Builder setMatch(SecurityPolicyRuleMatcher match) { this.match = match; return this; } + /** If set to true, the specified action is not enforced. */ public Boolean getPreview() { return preview; } + /** If set to true, the specified action is not enforced. */ public Builder setPreview(Boolean preview) { this.preview = preview; return this; } + /** + * An integer indicating the priority of a rule in the list. The priority must be a positive + * value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 + * is the highest priority and 2147483647 is the lowest prority. + */ public Integer getPriority() { return priority; } + /** + * An integer indicating the priority of a rule in the list. The priority must be a positive + * value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 + * is the highest priority and 2147483647 is the lowest prority. + */ public Builder setPriority(Integer priority) { this.priority = priority; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcher.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcher.java index c3d8ad275cfa..7991e145db93 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcher.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcher.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents a match condition that incoming traffic is evaluated against. Exactly one field must + * be specified. + */ public final class SecurityPolicyRuleMatcher implements ApiMessage { private final SecurityPolicyRuleMatcherConfig config; private final String versionedExpr; @@ -61,10 +65,20 @@ public List getFieldMask() { return null; } + /** + * The configuration options available when specifying versioned_expr. This field must be + * specified if versioned_expr is specified and cannot be specified if versioned_expr is not + * specified. + */ public SecurityPolicyRuleMatcherConfig getConfig() { return config; } + /** + * Preconfigured versioned expression. If this field is specified, config must also be specified. + * Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must + * specify the corresponding src_ip_range field in config. + */ public String getVersionedExpr() { return versionedExpr; } @@ -113,19 +127,39 @@ public Builder mergeFrom(SecurityPolicyRuleMatcher other) { this.versionedExpr = source.versionedExpr; } + /** + * The configuration options available when specifying versioned_expr. This field must be + * specified if versioned_expr is specified and cannot be specified if versioned_expr is not + * specified. + */ public SecurityPolicyRuleMatcherConfig getConfig() { return config; } + /** + * The configuration options available when specifying versioned_expr. This field must be + * specified if versioned_expr is specified and cannot be specified if versioned_expr is not + * specified. + */ public Builder setConfig(SecurityPolicyRuleMatcherConfig config) { this.config = config; return this; } + /** + * Preconfigured versioned expression. If this field is specified, config must also be + * specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 + * - must specify the corresponding src_ip_range field in config. + */ public String getVersionedExpr() { return versionedExpr; } + /** + * Preconfigured versioned expression. If this field is specified, config must also be + * specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 + * - must specify the corresponding src_ip_range field in config. + */ public Builder setVersionedExpr(String versionedExpr) { this.versionedExpr = versionedExpr; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcherConfig.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcherConfig.java index 1c0818d036a0..581b7a00616d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcherConfig.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleMatcherConfig.java @@ -56,6 +56,7 @@ public List getFieldMask() { return null; } + /** CIDR IP address range. */ public List getSrcIpRangesList() { return srcIpRanges; } @@ -99,10 +100,12 @@ public Builder mergeFrom(SecurityPolicyRuleMatcherConfig other) { this.srcIpRanges = source.srcIpRanges; } + /** CIDR IP address range. */ public List getSrcIpRangesList() { return srcIpRanges; } + /** CIDR IP address range. */ public Builder addAllSrcIpRanges(List srcIpRanges) { if (this.srcIpRanges == null) { this.srcIpRanges = new LinkedList<>(); @@ -111,6 +114,7 @@ public Builder addAllSrcIpRanges(List srcIpRanges) { return this; } + /** CIDR IP address range. */ public Builder addSrcIpRanges(String srcIpRanges) { if (this.srcIpRanges == null) { this.srcIpRanges = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SerialPortOutput.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SerialPortOutput.java index 3ccda0acdb48..fd99b73e8d03 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SerialPortOutput.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SerialPortOutput.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** An instance's serial console output. */ public final class SerialPortOutput implements ApiMessage { private final String contents; private final String kind; @@ -80,22 +81,34 @@ public List getFieldMask() { return null; } + /** [Output Only] The contents of the console output. */ public String getContents() { return contents; } + /** [Output Only] Type of the resource. Always compute#serialPortOutput for serial port output. */ public String getKind() { return kind; } + /** + * [Output Only] The position of the next byte of content from the serial console output. Use this + * value in the next request as the start parameter. + */ public String getNext() { return next; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** + * The starting byte position of the output that was returned. This should match the start + * parameter sent with the request. If the serial console output exceeds the size of the buffer, + * older output will be overwritten by newer content and the start values will be mismatched. + */ public String getStart() { return start; } @@ -159,46 +172,74 @@ public Builder mergeFrom(SerialPortOutput other) { this.start = source.start; } + /** [Output Only] The contents of the console output. */ public String getContents() { return contents; } + /** [Output Only] The contents of the console output. */ public Builder setContents(String contents) { this.contents = contents; return this; } + /** + * [Output Only] Type of the resource. Always compute#serialPortOutput for serial port output. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of the resource. Always compute#serialPortOutput for serial port output. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * [Output Only] The position of the next byte of content from the serial console output. Use + * this value in the next request as the start parameter. + */ public String getNext() { return next; } + /** + * [Output Only] The position of the next byte of content from the serial console output. Use + * this value in the next request as the start parameter. + */ public Builder setNext(String next) { this.next = next; return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * The starting byte position of the output that was returned. This should match the start + * parameter sent with the request. If the serial console output exceeds the size of the buffer, + * older output will be overwritten by newer content and the start values will be mismatched. + */ public String getStart() { return start; } + /** + * The starting byte position of the output that was returned. This should match the start + * parameter sent with the request. If the serial console output exceeds the size of the buffer, + * older output will be overwritten by newer content and the start values will be mismatched. + */ public Builder setStart(String start) { this.start = start; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ServiceAccount.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ServiceAccount.java index 16328f484f67..0bc9124fdaf2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ServiceAccount.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ServiceAccount.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A service account. */ public final class ServiceAccount implements ApiMessage { private final String email; private final List scopes; @@ -62,10 +63,12 @@ public List getFieldMask() { return null; } + /** Email address of the service account. */ public String getEmail() { return email; } + /** The list of scopes to be made available for this service account. */ public List getScopesList() { return scopes; } @@ -114,19 +117,23 @@ public Builder mergeFrom(ServiceAccount other) { this.scopes = source.scopes; } + /** Email address of the service account. */ public String getEmail() { return email; } + /** Email address of the service account. */ public Builder setEmail(String email) { this.email = email; return this; } + /** The list of scopes to be made available for this service account. */ public List getScopesList() { return scopes; } + /** The list of scopes to be made available for this service account. */ public Builder addAllScopes(List scopes) { if (this.scopes == null) { this.scopes = new LinkedList<>(); @@ -135,6 +142,7 @@ public Builder addAllScopes(List scopes) { return this; } + /** The list of scopes to be made available for this service account. */ public Builder addScopes(String scopes) { if (this.scopes == null) { this.scopes = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetSslProxyHttpRequest.java index 0ce4316396fd..46e832a1fa65 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetSslProxyHttpRequest.java @@ -125,30 +125,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -158,10 +177,19 @@ public String getRequestId() { return targetSslProxiesSetBackendServiceRequestResource; } + /** + * Name of the TargetSslProxy resource whose BackendService resource is to be set. It must have + * the format `{project}/global/targetSslProxies/{targetSslProxy}/setBackendService`. + * \`{targetSslProxy}\` 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 getTargetSslProxy() { return targetSslProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -253,64 +281,102 @@ public Builder mergeFrom(SetBackendServiceTargetSslProxyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -328,19 +394,37 @@ public Builder setTargetSslProxiesSetBackendServiceRequestResource( return this; } + /** + * Name of the TargetSslProxy resource whose BackendService resource is to be set. It must have + * the format `{project}/global/targetSslProxies/{targetSslProxy}/setBackendService`. + * \`{targetSslProxy}\` 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 getTargetSslProxy() { return targetSslProxy; } + /** + * Name of the TargetSslProxy resource whose BackendService resource is to be set. It must have + * the format `{project}/global/targetSslProxies/{targetSslProxy}/setBackendService`. + * \`{targetSslProxy}\` 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 setTargetSslProxy(String targetSslProxy) { this.targetSslProxy = targetSslProxy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetTcpProxyHttpRequest.java index 85034ed7e6ca..2fbda86cf3e2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackendServiceTargetTcpProxyHttpRequest.java @@ -125,30 +125,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -158,10 +177,19 @@ public String getRequestId() { return targetTcpProxiesSetBackendServiceRequestResource; } + /** + * Name of the TargetTcpProxy resource whose BackendService resource is to be set. It must have + * the format `{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService`. + * \`{targetTcpProxy}\` 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 getTargetTcpProxy() { return targetTcpProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -253,64 +281,102 @@ public Builder mergeFrom(SetBackendServiceTargetTcpProxyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -328,19 +394,37 @@ public Builder setTargetTcpProxiesSetBackendServiceRequestResource( return this; } + /** + * Name of the TargetTcpProxy resource whose BackendService resource is to be set. It must have + * the format `{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService`. + * \`{targetTcpProxy}\` 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 getTargetTcpProxy() { return targetTcpProxy; } + /** + * Name of the TargetTcpProxy resource whose BackendService resource is to be set. It must have + * the format `{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService`. + * \`{targetTcpProxy}\` 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 setTargetTcpProxy(String targetTcpProxy) { this.targetTcpProxy = targetTcpProxy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackupTargetPoolHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackupTargetPoolHttpRequest.java index 4349094d696d..e70174a135de 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackupTargetPoolHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetBackupTargetPoolHttpRequest.java @@ -130,38 +130,66 @@ 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; } + /** New failoverRatio value for the target pool. */ public Float getFailoverRatio() { return failoverRatio; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetPool resource to set a backup pool for. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/setBackup`. \`{targetPool}\` 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 getTargetPool() { return targetPool; } @@ -170,6 +198,7 @@ public TargetReference getTargetReferenceResource() { return targetReferenceResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -263,82 +292,138 @@ public Builder mergeFrom(SetBackupTargetPoolHttpRequest other) { 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; } + /** New failoverRatio value for the target pool. */ public Float getFailoverRatio() { return failoverRatio; } + /** New failoverRatio value for the target pool. */ public Builder setFailoverRatio(Float failoverRatio) { this.failoverRatio = failoverRatio; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetPool resource to set a backup pool for. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/setBackup`. \`{targetPool}\` 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 getTargetPool() { return targetPool; } + /** + * Name of the TargetPool resource to set a backup pool for. It must have the format + * `{project}/regions/{region}/targetPools/{targetPool}/setBackup`. \`{targetPool}\` 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 setTargetPool(String targetPool) { this.targetPool = targetPool; return this; @@ -353,10 +438,12 @@ public Builder setTargetReferenceResource(TargetReference targetReferenceResourc 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetCommonInstanceMetadataProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetCommonInstanceMetadataProjectHttpRequest.java index 0f0b359ec7af..b5209b7e47b5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetCommonInstanceMetadataProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetCommonInstanceMetadataProjectHttpRequest.java @@ -123,42 +123,70 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** A metadata key/value entry. */ public Metadata getMetadataResource() { return metadataResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/setCommonInstanceMetadata`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +275,147 @@ public Builder mergeFrom(SetCommonInstanceMetadataProjectHttpRequest other) { 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; } + /** 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; } + /** A metadata key/value entry. */ public Metadata getMetadataResource() { return metadataResource; } + /** A metadata key/value entry. */ public Builder setMetadataResource(Metadata metadataResource) { this.metadataResource = metadataResource; 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}/setCommonInstanceMetadata`. + * \`{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}/setCommonInstanceMetadata`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDefaultNetworkTierProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDefaultNetworkTierProjectHttpRequest.java index ee5ffff9c3c8..18c912b769f9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDefaultNetworkTierProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDefaultNetworkTierProjectHttpRequest.java @@ -125,26 +125,38 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/setDefaultNetworkTier`. + * \`{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; } @@ -153,14 +165,29 @@ public ProjectsSetDefaultNetworkTierRequest getProjectsSetDefaultNetworkTierRequ return projectsSetDefaultNetworkTierRequestResource; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -251,55 +278,79 @@ public Builder mergeFrom(SetDefaultNetworkTierProjectHttpRequest other) { 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; } + /** 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; } + /** 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}/setDefaultNetworkTier`. + * \`{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}/setDefaultNetworkTier`. + * \`{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; @@ -316,28 +367,58 @@ public Builder setProjectsSetDefaultNetworkTierRequestResource( return this; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDeletionProtectionInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDeletionProtectionInstanceHttpRequest.java index 77adccebba48..fdaaaa9b92ba 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDeletionProtectionInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDeletionProtectionInstanceHttpRequest.java @@ -123,42 +123,71 @@ 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; } + /** Whether the resource should be protected against deletion. */ public Boolean getDeletionProtection() { return deletionProtection; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/setDeletionProtection`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +276,149 @@ public Builder mergeFrom(SetDeletionProtectionInstanceHttpRequest other) { 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; } + /** Whether the resource should be protected against deletion. */ public Boolean getDeletionProtection() { return deletionProtection; } + /** Whether the resource should be protected against deletion. */ public Builder setDeletionProtection(Boolean deletionProtection) { this.deletionProtection = deletionProtection; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/setDeletionProtection`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/setDeletionProtection`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDiskAutoDeleteInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDiskAutoDeleteInstanceHttpRequest.java index afeb47affa27..4fb9e5600e4a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDiskAutoDeleteInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetDiskAutoDeleteInstanceHttpRequest.java @@ -130,46 +130,79 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Whether to auto-delete the disk when the instance is deleted. */ public Boolean getAutoDelete() { return autoDelete; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } + /** + * The device name of the disk to modify. Make a get() request on the instance to view currently + * attached disks and device names. + */ public String getDeviceName() { return deviceName; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete`. \`{instance}\` 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 getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -263,100 +296,166 @@ public Builder mergeFrom(SetDiskAutoDeleteInstanceHttpRequest other) { 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; } + /** Whether to auto-delete the disk when the instance is deleted. */ public Boolean getAutoDelete() { return autoDelete; } + /** Whether to auto-delete the disk when the instance is deleted. */ public Builder setAutoDelete(Boolean autoDelete) { this.autoDelete = autoDelete; 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; } + /** + * The device name of the disk to modify. Make a get() request on the instance to view currently + * attached disks and device names. + */ public String getDeviceName() { return deviceName; } + /** + * The device name of the disk to modify. Make a get() request on the instance to view currently + * attached disks and device names. + */ public Builder setDeviceName(String deviceName) { this.deviceName = deviceName; 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; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete`. \`{instance}\` 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 getInstance() { return instance; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyDiskHttpRequest.java index fc6bec6f1513..1d29d8a8fe8e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyDiskHttpRequest.java @@ -116,34 +116,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/setIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,73 +246,103 @@ public Builder mergeFrom(SetIamPolicyDiskHttpRequest other) { this.zoneSetPolicyRequestResource = source.zoneSetPolicyRequestResource; } + /** 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/setIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/setIamPolicy`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyImageHttpRequest.java index 3ccbe9832390..da38b190b411 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyImageHttpRequest.java @@ -116,14 +116,17 @@ 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; } @@ -132,22 +135,33 @@ public GlobalSetPolicyRequest getGlobalSetPolicyRequestResource() { return globalSetPolicyRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/setIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,28 +245,34 @@ public Builder mergeFrom(SetIamPolicyImageHttpRequest other) { 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; @@ -268,46 +288,70 @@ public Builder setGlobalSetPolicyRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/setIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/setIamPolicy`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceHttpRequest.java index 8b1786f3e114..a80b1edbf15e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceHttpRequest.java @@ -116,34 +116,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/setIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,73 +246,103 @@ public Builder mergeFrom(SetIamPolicyInstanceHttpRequest other) { this.zoneSetPolicyRequestResource = source.zoneSetPolicyRequestResource; } + /** 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/setIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/setIamPolicy`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceTemplateHttpRequest.java index 4c72fb24abb3..f2219c36021a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyInstanceTemplateHttpRequest.java @@ -116,14 +116,17 @@ 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; } @@ -132,22 +135,34 @@ public GlobalSetPolicyRequest getGlobalSetPolicyRequestResource() { return globalSetPolicyRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/instanceTemplates/{resource}/setIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,28 +246,34 @@ public Builder mergeFrom(SetIamPolicyInstanceTemplateHttpRequest other) { 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; @@ -268,46 +289,70 @@ public Builder setGlobalSetPolicyRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/instanceTemplates/{resource}/setIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/instanceTemplates/{resource}/setIamPolicy`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyLicenseHttpRequest.java index 9d6ef101d6aa..2092e8bf9f17 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyLicenseHttpRequest.java @@ -116,14 +116,17 @@ 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; } @@ -132,22 +135,33 @@ public GlobalSetPolicyRequest getGlobalSetPolicyRequestResource() { return globalSetPolicyRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenses/{resource}/setIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,28 +245,34 @@ public Builder mergeFrom(SetIamPolicyLicenseHttpRequest other) { 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; @@ -268,46 +288,70 @@ public Builder setGlobalSetPolicyRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenses/{resource}/setIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenses/{resource}/setIamPolicy`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeGroupHttpRequest.java index 3c7245d7fc98..00d5389af568 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeGroupHttpRequest.java @@ -116,34 +116,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,73 +246,103 @@ public Builder mergeFrom(SetIamPolicyNodeGroupHttpRequest other) { this.zoneSetPolicyRequestResource = source.zoneSetPolicyRequestResource; } + /** 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeTemplateHttpRequest.java index 3aa770e48618..154fcb805d4f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNodeTemplateHttpRequest.java @@ -116,26 +116,32 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -144,10 +150,19 @@ public RegionSetPolicyRequest getRegionSetPolicyRequestResource() { return regionSetPolicyRequestResource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,55 +246,67 @@ public Builder mergeFrom(SetIamPolicyNodeTemplateHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -295,19 +322,37 @@ public Builder setRegionSetPolicyRequestResource( return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySnapshotHttpRequest.java index b0a9f9594ad0..3b2fd08e8c3f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySnapshotHttpRequest.java @@ -116,14 +116,17 @@ 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; } @@ -132,22 +135,33 @@ public GlobalSetPolicyRequest getGlobalSetPolicyRequestResource() { return globalSetPolicyRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/setIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,28 +245,34 @@ public Builder mergeFrom(SetIamPolicySnapshotHttpRequest other) { 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; @@ -268,46 +288,70 @@ public Builder setGlobalSetPolicyRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/setIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/setIamPolicy`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySubnetworkHttpRequest.java index 91ed0b363447..e7bf9339a76e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetIamPolicySubnetworkHttpRequest.java @@ -116,26 +116,32 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -144,10 +150,19 @@ public RegionSetPolicyRequest getRegionSetPolicyRequestResource() { return regionSetPolicyRequestResource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/subnetworks/{resource}/setIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,55 +246,67 @@ public Builder mergeFrom(SetIamPolicySubnetworkHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -295,19 +322,37 @@ public Builder setRegionSetPolicyRequestResource( return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/subnetworks/{resource}/setIamPolicy`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/subnetworks/{resource}/setIamPolicy`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateInstanceGroupManagerHttpRequest.java index 9a968b2074c3..bf8d0cae28dc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateInstanceGroupManagerHttpRequest.java @@ -127,18 +127,29 @@ 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } @@ -148,22 +159,39 @@ public String getInstanceGroupManager() { return instanceGroupManagersSetInstanceTemplateRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -256,37 +284,59 @@ public Builder mergeFrom(SetInstanceTemplateInstanceGroupManagerHttpRequest othe 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; @@ -305,46 +355,80 @@ public Builder setInstanceGroupManagersSetInstanceTemplateRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateRegionInstanceGroupManagerHttpRequest.java index 20091b1a5eeb..4b7fc1d59f51 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetInstanceTemplateRegionInstanceGroupManagerHttpRequest.java @@ -127,30 +127,44 @@ 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -160,10 +174,24 @@ public String getQuotaUser() { return regionInstanceGroupManagersSetTemplateRequestResource; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -257,64 +285,92 @@ public Builder mergeFrom(SetInstanceTemplateRegionInstanceGroupManagerHttpReques 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -333,19 +389,47 @@ public Builder setRegionInstanceGroupManagersSetTemplateRequestResource( return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsDiskHttpRequest.java index 91942152f345..236c3783ce85 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsDiskHttpRequest.java @@ -123,38 +123,65 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/setLabels`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,82 +274,138 @@ public Builder mergeFrom(SetLabelsDiskHttpRequest other) { this.zoneSetLabelsRequestResource = source.zoneSetLabelsRequestResource; } + /** 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/setLabels`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/setLabels`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsImageHttpRequest.java index cb70cf2ab498..7ea263b60162 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsImageHttpRequest.java @@ -116,14 +116,17 @@ 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; } @@ -132,22 +135,33 @@ public GlobalSetLabelsRequest getGlobalSetLabelsRequestResource() { return globalSetLabelsRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/setLabels`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,28 +245,34 @@ public Builder mergeFrom(SetLabelsImageHttpRequest other) { 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; @@ -268,46 +288,68 @@ public Builder setGlobalSetLabelsRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/setLabels`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/setLabels`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsInstanceHttpRequest.java index b5288192189c..0c346193d368 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsInstanceHttpRequest.java @@ -123,18 +123,29 @@ 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; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setLabels`. \`{instance}\` 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 getInstance() { return instance; } @@ -143,22 +154,39 @@ public InstancesSetLabelsRequest getInstancesSetLabelsRequestResource() { return instancesSetLabelsRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,37 +275,59 @@ public Builder mergeFrom(SetLabelsInstanceHttpRequest other) { 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; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setLabels`. \`{instance}\` 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 getInstance() { return instance; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setLabels`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; return this; @@ -293,46 +343,80 @@ public Builder setInstancesSetLabelsRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsRegionDiskHttpRequest.java index 9958d03e1165..45d2fbd35638 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsRegionDiskHttpRequest.java @@ -123,26 +123,32 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -151,14 +157,36 @@ public RegionSetLabelsRequest getRegionSetLabelsRequestResource() { return regionSetLabelsRequestResource; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/disks/{resource}/setLabels`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,55 +275,67 @@ public Builder mergeFrom(SetLabelsRegionDiskHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -311,28 +351,72 @@ public Builder setRegionSetLabelsRequestResource( return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/disks/{resource}/setLabels`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/disks/{resource}/setLabels`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsSnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsSnapshotHttpRequest.java index fd91cc000466..807f0d2884e9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsSnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetLabelsSnapshotHttpRequest.java @@ -116,14 +116,17 @@ 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; } @@ -132,22 +135,33 @@ public GlobalSetLabelsRequest getGlobalSetLabelsRequestResource() { return globalSetLabelsRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/setLabels`. \`{resource}\` 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 getResource() { return resource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,28 +245,34 @@ public Builder mergeFrom(SetLabelsSnapshotHttpRequest other) { 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; @@ -268,46 +288,70 @@ public Builder setGlobalSetLabelsRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/setLabels`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/setLabels`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineResourcesInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineResourcesInstanceHttpRequest.java index 411a4dee21cf..e8ae32020d01 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineResourcesInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineResourcesInstanceHttpRequest.java @@ -123,18 +123,29 @@ 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; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMachineResources`. \`{instance}\` 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 getInstance() { return instance; } @@ -143,22 +154,39 @@ public InstancesSetMachineResourcesRequest getInstancesSetMachineResourcesReques return instancesSetMachineResourcesRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,37 +277,59 @@ public Builder mergeFrom(SetMachineResourcesInstanceHttpRequest other) { 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; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMachineResources`. \`{instance}\` 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 getInstance() { return instance; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMachineResources`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; return this; @@ -296,46 +346,80 @@ public Builder setInstancesSetMachineResourcesRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineTypeInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineTypeInstanceHttpRequest.java index 38bb690a4fb6..a0a56488a7dd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineTypeInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMachineTypeInstanceHttpRequest.java @@ -123,18 +123,29 @@ 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; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMachineType`. \`{instance}\` 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 getInstance() { return instance; } @@ -143,22 +154,39 @@ public InstancesSetMachineTypeRequest getInstancesSetMachineTypeRequestResource( return instancesSetMachineTypeRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,37 +275,59 @@ public Builder mergeFrom(SetMachineTypeInstanceHttpRequest other) { 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; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMachineType`. \`{instance}\` 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 getInstance() { return instance; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMachineType`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; return this; @@ -293,46 +343,80 @@ public Builder setInstancesSetMachineTypeRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMetadataInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMetadataInstanceHttpRequest.java index 5e783ea277e6..ce38e5c2f380 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMetadataInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMetadataInstanceHttpRequest.java @@ -123,42 +123,71 @@ 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; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMetadata`. \`{instance}\` 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 getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** A metadata key/value entry. */ public Metadata getMetadataResource() { return metadataResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +276,149 @@ public Builder mergeFrom(SetMetadataInstanceHttpRequest other) { 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; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMetadata`. \`{instance}\` 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 getInstance() { return instance; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMetadata`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; 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; } + /** A metadata key/value entry. */ public Metadata getMetadataResource() { return metadataResource; } + /** A metadata key/value entry. */ public Builder setMetadataResource(Metadata metadataResource) { this.metadataResource = metadataResource; 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMinCpuPlatformInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMinCpuPlatformInstanceHttpRequest.java index defc35b6cc0d..39ecab98dfe7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMinCpuPlatformInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetMinCpuPlatformInstanceHttpRequest.java @@ -124,18 +124,29 @@ 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; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform`. \`{instance}\` 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 getInstance() { return instance; } @@ -144,22 +155,39 @@ public InstancesSetMinCpuPlatformRequest getInstancesSetMinCpuPlatformRequestRes return instancesSetMinCpuPlatformRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -250,37 +278,59 @@ public Builder mergeFrom(SetMinCpuPlatformInstanceHttpRequest other) { 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; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform`. \`{instance}\` 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 getInstance() { return instance; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; return this; @@ -296,46 +346,80 @@ public Builder setInstancesSetMinCpuPlatformRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsInstanceGroupHttpRequest.java index ecd8ae822738..975976de71f0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsInstanceGroupHttpRequest.java @@ -123,18 +123,29 @@ 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; } + /** + * The name of the instance group where the named ports are updated. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts`. \`{instanceGroup}\` 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 getInstanceGroup() { return instanceGroup; } @@ -143,22 +154,39 @@ public InstanceGroupsSetNamedPortsRequest getInstanceGroupsSetNamedPortsRequestR return instanceGroupsSetNamedPortsRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,37 +277,59 @@ public Builder mergeFrom(SetNamedPortsInstanceGroupHttpRequest other) { 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; } + /** + * The name of the instance group where the named ports are updated. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts`. \`{instanceGroup}\` + * 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 getInstanceGroup() { return instanceGroup; } + /** + * The name of the instance group where the named ports are updated. It must have the format + * `{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts`. \`{instanceGroup}\` + * 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 setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; return this; @@ -295,46 +345,80 @@ public Builder setInstanceGroupsSetNamedPortsRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsRegionInstanceGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsRegionInstanceGroupHttpRequest.java index 9e4ef13e52ed..6c2c69915dc0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsRegionInstanceGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNamedPortsRegionInstanceGroupHttpRequest.java @@ -125,30 +125,44 @@ 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; } + /** + * The name of the regional instance group where the named ports are updated. It must have the + * format `{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts`. + * \`{instanceGroup}\` 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 getInstanceGroup() { return instanceGroup; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -158,10 +172,24 @@ public String getQuotaUser() { return regionInstanceGroupsSetNamedPortsRequestResource; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -253,64 +281,92 @@ public Builder mergeFrom(SetNamedPortsRegionInstanceGroupHttpRequest other) { 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; } + /** + * The name of the regional instance group where the named ports are updated. It must have the + * format `{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts`. + * \`{instanceGroup}\` 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 getInstanceGroup() { return instanceGroup; } + /** + * The name of the regional instance group where the named ports are updated. It must have the + * format `{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts`. + * \`{instanceGroup}\` 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 setInstanceGroup(String instanceGroup) { this.instanceGroup = instanceGroup; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -328,19 +384,47 @@ public Builder setRegionInstanceGroupsSetNamedPortsRequestResource( return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNodeTemplateNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNodeTemplateNodeGroupHttpRequest.java index 06d408eac47e..5dd698ba7b73 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNodeTemplateNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetNodeTemplateNodeGroupHttpRequest.java @@ -123,22 +123,34 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the NodeGroup resource to update. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate`. \`{nodeGroup}\` 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 getNodeGroup() { return nodeGroup; } @@ -147,18 +159,34 @@ public NodeGroupsSetNodeTemplateRequest getNodeGroupsSetNodeTemplateRequestResou return nodeGroupsSetNodeTemplateRequestResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,46 +277,70 @@ public Builder mergeFrom(SetNodeTemplateNodeGroupHttpRequest other) { 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; } + /** 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; } + /** + * Name of the NodeGroup resource to update. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate`. \`{nodeGroup}\` 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 getNodeGroup() { return nodeGroup; } + /** + * Name of the NodeGroup resource to update. It must have the format + * `{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate`. \`{nodeGroup}\` 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 setNodeGroup(String nodeGroup) { this.nodeGroup = nodeGroup; return this; @@ -304,37 +356,69 @@ public Builder setNodeGroupsSetNodeTemplateRequestResource( 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetPrivateIpGoogleAccessSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetPrivateIpGoogleAccessSubnetworkHttpRequest.java index cf04d3fdc9b4..f8e8d6962b65 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetPrivateIpGoogleAccessSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetPrivateIpGoogleAccessSubnetworkHttpRequest.java @@ -126,34 +126,61 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the Subnetwork resource. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess`. + * \`{subnetwork}\` 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 getSubnetwork() { return subnetwork; } @@ -163,6 +190,7 @@ public String getSubnetwork() { return subnetworksSetPrivateIpGoogleAccessRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -254,73 +282,127 @@ public Builder mergeFrom(SetPrivateIpGoogleAccessSubnetworkHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the Subnetwork resource. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess`. + * \`{subnetwork}\` 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 getSubnetwork() { return subnetwork; } + /** + * Name of the Subnetwork resource. It must have the format + * `{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess`. + * \`{subnetwork}\` 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 setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; return this; @@ -339,10 +421,12 @@ public Builder setSubnetworksSetPrivateIpGoogleAccessRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetSslProxyHttpRequest.java index 961af60bb3dd..18a54f01b657 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetSslProxyHttpRequest.java @@ -124,30 +124,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -156,10 +175,19 @@ public TargetSslProxiesSetProxyHeaderRequest getTargetSslProxiesSetProxyHeaderRe return targetSslProxiesSetProxyHeaderRequestResource; } + /** + * Name of the TargetSslProxy resource whose ProxyHeader is to be set. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader`. \`{targetSslProxy}\` 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 getTargetSslProxy() { return targetSslProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -250,64 +278,102 @@ public Builder mergeFrom(SetProxyHeaderTargetSslProxyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -325,19 +391,37 @@ public Builder setTargetSslProxiesSetProxyHeaderRequestResource( return this; } + /** + * Name of the TargetSslProxy resource whose ProxyHeader is to be set. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader`. \`{targetSslProxy}\` + * 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 getTargetSslProxy() { return targetSslProxy; } + /** + * Name of the TargetSslProxy resource whose ProxyHeader is to be set. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader`. \`{targetSslProxy}\` + * 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 setTargetSslProxy(String targetSslProxy) { this.targetSslProxy = targetSslProxy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetTcpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetTcpProxyHttpRequest.java index cdd50efd7e88..e9d829f11e6d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetTcpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetProxyHeaderTargetTcpProxyHttpRequest.java @@ -124,30 +124,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -156,10 +175,19 @@ public TargetTcpProxiesSetProxyHeaderRequest getTargetTcpProxiesSetProxyHeaderRe return targetTcpProxiesSetProxyHeaderRequestResource; } + /** + * Name of the TargetTcpProxy resource whose ProxyHeader is to be set. It must have the format + * `{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader`. \`{targetTcpProxy}\` 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 getTargetTcpProxy() { return targetTcpProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -250,64 +278,102 @@ public Builder mergeFrom(SetProxyHeaderTargetTcpProxyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -325,19 +391,37 @@ public Builder setTargetTcpProxiesSetProxyHeaderRequestResource( return this; } + /** + * Name of the TargetTcpProxy resource whose ProxyHeader is to be set. It must have the format + * `{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader`. \`{targetTcpProxy}\` + * 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 getTargetTcpProxy() { return targetTcpProxy; } + /** + * Name of the TargetTcpProxy resource whose ProxyHeader is to be set. It must have the format + * `{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader`. \`{targetTcpProxy}\` + * 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 setTargetTcpProxy(String targetTcpProxy) { this.targetTcpProxy = targetTcpProxy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetQuicOverrideTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetQuicOverrideTargetHttpsProxyHttpRequest.java index d0a0ca5d7811..f12e74262e39 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetQuicOverrideTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetQuicOverrideTargetHttpsProxyHttpRequest.java @@ -125,30 +125,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -158,10 +177,20 @@ public String getRequestId() { return targetHttpsProxiesSetQuicOverrideRequestResource; } + /** + * Name of the TargetHttpsProxy resource to set the QUIC override policy for. The name should + * conform to RFC1035. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride`. + * \`{targetHttpsProxy}\` 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 getTargetHttpsProxy() { return targetHttpsProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -253,64 +282,102 @@ public Builder mergeFrom(SetQuicOverrideTargetHttpsProxyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -328,19 +395,39 @@ public Builder setTargetHttpsProxiesSetQuicOverrideRequestResource( return this; } + /** + * Name of the TargetHttpsProxy resource to set the QUIC override policy for. The name should + * conform to RFC1035. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride`. + * \`{targetHttpsProxy}\` 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 getTargetHttpsProxy() { return targetHttpsProxy; } + /** + * Name of the TargetHttpsProxy resource to set the QUIC override policy for. The name should + * conform to RFC1035. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride`. + * \`{targetHttpsProxy}\` 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 setTargetHttpsProxy(String targetHttpsProxy) { this.targetHttpsProxy = targetHttpsProxy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSchedulingInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSchedulingInstanceHttpRequest.java index 76b9c7f89338..2cb877ffdf65 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSchedulingInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSchedulingInstanceHttpRequest.java @@ -122,42 +122,71 @@ 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; } + /** + * Instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setScheduling`. \`{instance}\` 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 getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** Sets the scheduling options for an Instance. */ public Scheduling getSchedulingResource() { return schedulingResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -246,91 +275,149 @@ public Builder mergeFrom(SetSchedulingInstanceHttpRequest other) { 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; } + /** + * Instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setScheduling`. \`{instance}\` 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 getInstance() { return instance; } + /** + * Instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setScheduling`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** Sets the scheduling options for an Instance. */ public Scheduling getSchedulingResource() { return schedulingResource; } + /** Sets the scheduling options for an Instance. */ public Builder setSchedulingResource(Scheduling schedulingResource) { this.schedulingResource = schedulingResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSecurityPolicyBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSecurityPolicyBackendServiceHttpRequest.java index c006ba2cab42..296f4270c647 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSecurityPolicyBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSecurityPolicyBackendServiceHttpRequest.java @@ -123,34 +123,62 @@ public List getFieldMask() { return null; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to which the security policy should be set. The name should + * conform to RFC1035. It must have the format + * `{project}/global/backendServices/{backendService}/setSecurityPolicy`. \`{backendService}\` + * 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 getBackendService() { return backendService; } + /** 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -159,6 +187,7 @@ public SecurityPolicyReference getSecurityPolicyReferenceResource() { return securityPolicyReferenceResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,73 +276,129 @@ public Builder mergeFrom(SetSecurityPolicyBackendServiceHttpRequest other) { 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 BackendService resource to which the security policy should be set. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendServices/{backendService}/setSecurityPolicy`. \`{backendService}\` + * 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 getBackendService() { return backendService; } + /** + * Name of the BackendService resource to which the security policy should be set. The name + * should conform to RFC1035. It must have the format + * `{project}/global/backendServices/{backendService}/setSecurityPolicy`. \`{backendService}\` + * 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 setBackendService(String backendService) { this.backendService = backendService; 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -329,10 +414,12 @@ public Builder setSecurityPolicyReferenceResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetServiceAccountInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetServiceAccountInstanceHttpRequest.java index 18f942840e15..f4f886fd84e1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetServiceAccountInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetServiceAccountInstanceHttpRequest.java @@ -124,18 +124,29 @@ 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; } + /** + * Name of the instance resource to start. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setServiceAccount`. \`{instance}\` 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 getInstance() { return instance; } @@ -144,22 +155,39 @@ public InstancesSetServiceAccountRequest getInstancesSetServiceAccountRequestRes return instancesSetServiceAccountRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -250,37 +278,59 @@ public Builder mergeFrom(SetServiceAccountInstanceHttpRequest other) { 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; } + /** + * Name of the instance resource to start. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setServiceAccount`. \`{instance}\` 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 getInstance() { return instance; } + /** + * Name of the instance resource to start. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setServiceAccount`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; return this; @@ -296,46 +346,80 @@ public Builder setInstancesSetServiceAccountRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetHttpsProxyHttpRequest.java index 7132820584e2..fb928939e767 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetHttpsProxyHttpRequest.java @@ -126,30 +126,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -159,10 +178,19 @@ public String getRequestId() { return targetHttpsProxiesSetSslCertificatesRequestResource; } + /** + * Name of the TargetHttpsProxy resource to set an SslCertificates resource for. It must have the + * format `{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates`. + * \`{targetHttpsProxy}\` 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 getTargetHttpsProxy() { return targetHttpsProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -254,64 +282,102 @@ public Builder mergeFrom(SetSslCertificatesTargetHttpsProxyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -330,19 +396,37 @@ public Builder setTargetHttpsProxiesSetSslCertificatesRequestResource( return this; } + /** + * Name of the TargetHttpsProxy resource to set an SslCertificates resource for. It must have + * the format `{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates`. + * \`{targetHttpsProxy}\` 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 getTargetHttpsProxy() { return targetHttpsProxy; } + /** + * Name of the TargetHttpsProxy resource to set an SslCertificates resource for. It must have + * the format `{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates`. + * \`{targetHttpsProxy}\` 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 setTargetHttpsProxy(String targetHttpsProxy) { this.targetHttpsProxy = targetHttpsProxy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetSslProxyHttpRequest.java index fcfb14fa0f10..4b117fee9d27 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslCertificatesTargetSslProxyHttpRequest.java @@ -125,30 +125,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -158,10 +177,19 @@ public String getRequestId() { return targetSslProxiesSetSslCertificatesRequestResource; } + /** + * Name of the TargetSslProxy resource whose SslCertificate resource is to be set. It must have + * the format `{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates`. + * \`{targetSslProxy}\` 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 getTargetSslProxy() { return targetSslProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -253,64 +281,102 @@ public Builder mergeFrom(SetSslCertificatesTargetSslProxyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -329,19 +395,37 @@ public Builder setTargetSslProxiesSetSslCertificatesRequestResource( return this; } + /** + * Name of the TargetSslProxy resource whose SslCertificate resource is to be set. It must have + * the format `{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates`. + * \`{targetSslProxy}\` 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 getTargetSslProxy() { return targetSslProxy; } + /** + * Name of the TargetSslProxy resource whose SslCertificate resource is to be set. It must have + * the format `{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates`. + * \`{targetSslProxy}\` 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 setTargetSslProxy(String targetSslProxy) { this.targetSslProxy = targetSslProxy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetHttpsProxyHttpRequest.java index 060fa8575df3..f308a59749cf 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetHttpsProxyHttpRequest.java @@ -125,30 +125,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -157,10 +176,20 @@ public SslPolicyReference getSslPolicyReferenceResource() { return sslPolicyReferenceResource; } + /** + * Name of the TargetHttpsProxy resource whose SSL policy is to be set. The name must be 1-63 + * characters long, and comply with RFC1035. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy`. \`{targetHttpsProxy}\` + * 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 getTargetHttpsProxy() { return targetHttpsProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,64 +278,102 @@ public Builder mergeFrom(SetSslPolicyTargetHttpsProxyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -321,19 +388,39 @@ public Builder setSslPolicyReferenceResource(SslPolicyReference sslPolicyReferen return this; } + /** + * Name of the TargetHttpsProxy resource whose SSL policy is to be set. The name must be 1-63 + * characters long, and comply with RFC1035. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy`. \`{targetHttpsProxy}\` + * 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 getTargetHttpsProxy() { return targetHttpsProxy; } + /** + * Name of the TargetHttpsProxy resource whose SSL policy is to be set. The name must be 1-63 + * characters long, and comply with RFC1035. It must have the format + * `{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy`. \`{targetHttpsProxy}\` + * 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 setTargetHttpsProxy(String targetHttpsProxy) { this.targetHttpsProxy = targetHttpsProxy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetSslProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetSslProxyHttpRequest.java index bc9bc50f33f8..fcb8b7355a22 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetSslProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetSslPolicyTargetSslProxyHttpRequest.java @@ -125,30 +125,49 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -157,10 +176,20 @@ public SslPolicyReference getSslPolicyReferenceResource() { return sslPolicyReferenceResource; } + /** + * Name of the TargetSslProxy resource whose SSL policy is to be set. The name must be 1-63 + * characters long, and comply with RFC1035. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy`. \`{targetSslProxy}\` 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 getTargetSslProxy() { return targetSslProxy; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -249,64 +278,102 @@ public Builder mergeFrom(SetSslPolicyTargetSslProxyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -321,19 +388,39 @@ public Builder setSslPolicyReferenceResource(SslPolicyReference sslPolicyReferen return this; } + /** + * Name of the TargetSslProxy resource whose SSL policy is to be set. The name must be 1-63 + * characters long, and comply with RFC1035. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy`. \`{targetSslProxy}\` 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 getTargetSslProxy() { return targetSslProxy; } + /** + * Name of the TargetSslProxy resource whose SSL policy is to be set. The name must be 1-63 + * characters long, and comply with RFC1035. It must have the format + * `{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy`. \`{targetSslProxy}\` 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 setTargetSslProxy(String targetSslProxy) { this.targetSslProxy = targetSslProxy; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTagsInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTagsInstanceHttpRequest.java index 595dc10969e0..da6eb3f0a080 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTagsInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTagsInstanceHttpRequest.java @@ -123,42 +123,70 @@ 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; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setTags`. \`{instance}\` 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 getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** A set of instance tags. */ public Tags getTagsResource() { return tagsResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,91 +275,149 @@ public Builder mergeFrom(SetTagsInstanceHttpRequest other) { 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; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setTags`. \`{instance}\` 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 getInstance() { return instance; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/setTags`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** A set of instance tags. */ public Tags getTagsResource() { return tagsResource; } + /** A set of instance tags. */ public Builder setTagsResource(Tags tagsResource) { this.tagsResource = tagsResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetForwardingRuleHttpRequest.java index faf29660a5cc..8b51caab99ce 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetForwardingRuleHttpRequest.java @@ -123,34 +123,61 @@ 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; } + /** + * Name of the ForwardingRule resource in which target is to be set. It must have the format + * `{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget`. \`{forwardingRule}\` + * 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 getForwardingRule() { return forwardingRule; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -159,6 +186,7 @@ public TargetReference getTargetReferenceResource() { return targetReferenceResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,73 +275,127 @@ public Builder mergeFrom(SetTargetForwardingRuleHttpRequest other) { 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; } + /** + * Name of the ForwardingRule resource in which target is to be set. It must have the format + * `{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget`. \`{forwardingRule}\` + * 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 getForwardingRule() { return forwardingRule; } + /** + * Name of the ForwardingRule resource in which target is to be set. It must have the format + * `{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget`. \`{forwardingRule}\` + * 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 setForwardingRule(String forwardingRule) { this.forwardingRule = forwardingRule; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -328,10 +410,12 @@ public Builder setTargetReferenceResource(TargetReference targetReferenceResourc 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetGlobalForwardingRuleHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetGlobalForwardingRuleHttpRequest.java index 3b8d9a67b432..8d6fe9bd975c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetGlobalForwardingRuleHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetGlobalForwardingRuleHttpRequest.java @@ -123,34 +123,61 @@ 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; } + /** + * Name of the ForwardingRule resource in which target is to be set. It must have the format + * `{project}/global/forwardingRules/{forwardingRule}/setTarget`. \`{forwardingRule}\` 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 getForwardingRule() { return forwardingRule; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } @@ -159,6 +186,7 @@ public TargetReference getTargetReferenceResource() { return targetReferenceResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,73 +275,127 @@ public Builder mergeFrom(SetTargetGlobalForwardingRuleHttpRequest other) { 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; } + /** + * Name of the ForwardingRule resource in which target is to be set. It must have the format + * `{project}/global/forwardingRules/{forwardingRule}/setTarget`. \`{forwardingRule}\` 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 getForwardingRule() { return forwardingRule; } + /** + * Name of the ForwardingRule resource in which target is to be set. It must have the format + * `{project}/global/forwardingRules/{forwardingRule}/setTarget`. \`{forwardingRule}\` 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 setForwardingRule(String forwardingRule) { this.forwardingRule = forwardingRule; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; @@ -328,10 +410,12 @@ public Builder setTargetReferenceResource(TargetReference targetReferenceResourc 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsInstanceGroupManagerHttpRequest.java index 59ce338c558b..f2135f55f611 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsInstanceGroupManagerHttpRequest.java @@ -129,18 +129,29 @@ 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } @@ -150,22 +161,39 @@ public String getInstanceGroupManager() { return instanceGroupManagersSetTargetPoolsRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -257,37 +285,59 @@ public Builder mergeFrom(SetTargetPoolsInstanceGroupManagerHttpRequest other) { 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; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * The name of the managed instance group. It must have the format + * `{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; return this; @@ -306,46 +356,80 @@ public Builder setInstanceGroupManagersSetTargetPoolsRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsRegionInstanceGroupManagerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsRegionInstanceGroupManagerHttpRequest.java index 69b16dc13f5d..3c8ba772bcae 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsRegionInstanceGroupManagerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetTargetPoolsRegionInstanceGroupManagerHttpRequest.java @@ -127,30 +127,44 @@ 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; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } @@ -160,10 +174,24 @@ public String getQuotaUser() { return regionInstanceGroupManagersSetTargetPoolsRequestResource; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -256,64 +284,92 @@ public Builder mergeFrom(SetTargetPoolsRegionInstanceGroupManagerHttpRequest oth 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; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools`. + * \`{instanceGroupManager}\` 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 getInstanceGroupManager() { return instanceGroupManager; } + /** + * Name of the managed instance group. It must have the format + * `{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools`. + * \`{instanceGroupManager}\` 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 setInstanceGroupManager(String instanceGroupManager) { this.instanceGroupManager = instanceGroupManager; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; @@ -332,19 +388,47 @@ public Builder setRegionInstanceGroupManagersSetTargetPoolsRequestResource( return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpProxyHttpRequest.java index 971207fe1b1d..3a68c775b9d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpProxyHttpRequest.java @@ -123,34 +123,61 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetHttpProxy to set a URL map for. It must have the format + * `{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap`. \`{targetHttpProxy}\` 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 getTargetHttpProxy() { return targetHttpProxy; } @@ -159,6 +186,7 @@ public UrlMapReference getUrlMapReferenceResource() { return urlMapReferenceResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,73 +275,127 @@ public Builder mergeFrom(SetUrlMapTargetHttpProxyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetHttpProxy to set a URL map for. It must have the format + * `{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap`. \`{targetHttpProxy}\` 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 getTargetHttpProxy() { return targetHttpProxy; } + /** + * Name of the TargetHttpProxy to set a URL map for. It must have the format + * `{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap`. \`{targetHttpProxy}\` 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 setTargetHttpProxy(String targetHttpProxy) { this.targetHttpProxy = targetHttpProxy; return this; @@ -328,10 +410,12 @@ public Builder setUrlMapReferenceResource(UrlMapReference urlMapReferenceResourc 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpsProxyHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpsProxyHttpRequest.java index 5d3834a4423d..36da810c0143 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpsProxyHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUrlMapTargetHttpsProxyHttpRequest.java @@ -123,34 +123,61 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the TargetHttpsProxy resource whose URL map is to be set. It must have the format + * `{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap`. \`{targetHttpsProxy}\` 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 getTargetHttpsProxy() { return targetHttpsProxy; } @@ -159,6 +186,7 @@ public UrlMapReference getUrlMapReferenceResource() { return urlMapReferenceResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -247,73 +275,127 @@ public Builder mergeFrom(SetUrlMapTargetHttpsProxyHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the TargetHttpsProxy resource whose URL map is to be set. It must have the format + * `{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap`. \`{targetHttpsProxy}\` 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 getTargetHttpsProxy() { return targetHttpsProxy; } + /** + * Name of the TargetHttpsProxy resource whose URL map is to be set. It must have the format + * `{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap`. \`{targetHttpsProxy}\` 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 setTargetHttpsProxy(String targetHttpsProxy) { this.targetHttpsProxy = targetHttpsProxy; return this; @@ -328,10 +410,12 @@ public Builder setUrlMapReferenceResource(UrlMapReference urlMapReferenceResourc 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUsageExportBucketProjectHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUsageExportBucketProjectHttpRequest.java index 5cf6bd3bcde0..ee1f4785e0a2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUsageExportBucketProjectHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SetUsageExportBucketProjectHttpRequest.java @@ -124,42 +124,73 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** + * Project ID for this request. It must have the format `{project}/setUsageExportBucket`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * The location in Cloud Storage and naming method of the daily usage report. Contains bucket_name + * and report_name prefix. + */ public UsageExportLocation getUsageExportLocationResource() { return usageExportLocationResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -248,91 +279,153 @@ public Builder mergeFrom(SetUsageExportBucketProjectHttpRequest other) { 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; } + /** 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; } + /** 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}/setUsageExportBucket`. + * \`{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}/setUsageExportBucket`. + * \`{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; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * The location in Cloud Storage and naming method of the daily usage report. Contains + * bucket_name and report_name prefix. + */ public UsageExportLocation getUsageExportLocationResource() { return usageExportLocationResource; } + /** + * The location in Cloud Storage and naming method of the daily usage report. Contains + * bucket_name and report_name prefix. + */ public Builder setUsageExportLocationResource(UsageExportLocation usageExportLocationResource) { this.usageExportLocationResource = usageExportLocationResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SignedUrlKey.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SignedUrlKey.java index 21c07b195bf4..c8cff4f19d93 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SignedUrlKey.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SignedUrlKey.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs */ public final class SignedUrlKey implements ApiMessage { private final String keyName; private final String keyValue; @@ -61,10 +62,21 @@ public List getFieldMask() { return null; } + /** + * Name of the key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, + * the name must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public String getKeyName() { return keyName; } + /** + * 128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 + * base64url encoded string. + */ public String getKeyValue() { return keyValue; } @@ -113,19 +125,41 @@ public Builder mergeFrom(SignedUrlKey other) { this.keyValue = source.keyValue; } + /** + * Name of the key. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public String getKeyName() { return keyName; } + /** + * Name of the key. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public Builder setKeyName(String keyName) { this.keyName = keyName; return this; } + /** + * 128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 + * base64url encoded string. + */ public String getKeyValue() { return keyValue; } + /** + * 128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 + * base64url encoded string. + */ public Builder setKeyValue(String keyValue) { this.keyValue = keyValue; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SimulateMaintenanceEventInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SimulateMaintenanceEventInstanceHttpRequest.java index 82828f961102..1fea1cb71364 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SimulateMaintenanceEventInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SimulateMaintenanceEventInstanceHttpRequest.java @@ -109,34 +109,49 @@ 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; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent`. \`{instance}\` 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 getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** 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; } @@ -215,73 +230,103 @@ public Builder mergeFrom(SimulateMaintenanceEventInstanceHttpRequest other) { 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; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent`. \`{instance}\` 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 getInstance() { return instance; } + /** + * Name of the instance scoping this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; 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; } + /** 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; } + /** 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Snapshot.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Snapshot.java index 38e136280aa6..549b9e8bb2e0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Snapshot.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Snapshot.java @@ -26,6 +26,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (== resource_for + * v1.snapshots ==) + */ public final class Snapshot implements ApiMessage { private final String creationTimestamp; private final String description; @@ -177,74 +181,148 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** [Output Only] Size of the snapshot, specified in GB. */ public String getDiskSizeGb() { return diskSizeGb; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources. */ public String getKind() { return kind; } + /** + * A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the + * labels set used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update labels. You must always provide an + * up-to-date fingerprint hash in order to update or change labels, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a snapshot. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * Labels to apply to this snapshot. These can be later modified by the setLabels method. Label + * values may be empty. + */ public Map getLabelsMap() { return labels; } + /** + * [Output Only] Integer license codes indicating which licenses are attached to this snapshot. + */ public List getLicenseCodesList() { return licenseCodes; } + /** + * [Output Only] A list of public visible licenses that apply to this snapshot. This can be + * because the original image had licenses attached (such as a Windows image). + */ public List getLicensesList() { return licenses; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * Encrypts the snapshot using a customer-supplied encryption key. + * + *

After you encrypt a snapshot using a customer-supplied key, you must provide the same key if + * you use the image later For example, you must provide the encryption key when you create a disk + * from the encrypted snapshot in a future request. + * + *

Customer-supplied encryption keys do not protect access to metadata of the disk. + * + *

If you do not provide an encryption key when creating the snapshot, then the snapshot will + * be encrypted using an automatically generated key and you do not need to provide a key to use + * the snapshot later. + */ public CustomerEncryptionKey getSnapshotEncryptionKey() { return snapshotEncryptionKey; } + /** [Output Only] The source disk used to create this snapshot. */ public String getSourceDisk() { return sourceDisk; } + /** + * The customer-supplied encryption key of the source disk. Required if the source disk is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceDiskEncryptionKey() { return sourceDiskEncryptionKey; } + /** + * [Output Only] The ID value of the disk used to create this snapshot. This value may be used to + * determine whether the snapshot was taken from the current or a previous instance of a given + * disk name. + */ public String getSourceDiskId() { return sourceDiskId; } + /** + * [Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or + * UPLOADING. + */ public String getStatus() { return status; } + /** + * [Output Only] A size of the storage used by the snapshot. As snapshots share storage, this + * number is expected to change with snapshot creation/deletion. + */ public String getStorageBytes() { return storageBytes; } + /** + * [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as + * a result of shared storage reallocation. This status can either be UPDATING, meaning the size + * of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is + * up-to-date. + */ public String getStorageBytesStatus() { return storageBytesStatus; } @@ -373,73 +451,125 @@ public Builder mergeFrom(Snapshot other) { this.storageBytesStatus = source.storageBytesStatus; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** [Output Only] Size of the snapshot, specified in GB. */ public String getDiskSizeGb() { return diskSizeGb; } + /** [Output Only] Size of the snapshot, specified in GB. */ public Builder setDiskSizeGb(String diskSizeGb) { this.diskSizeGb = diskSizeGb; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * A fingerprint for the labels being applied to this snapshot, which is essentially a hash of + * the labels set used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update labels. You must always provide an + * up-to-date fingerprint hash in order to update or change labels, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a snapshot. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * A fingerprint for the labels being applied to this snapshot, which is essentially a hash of + * the labels set used for optimistic locking. The fingerprint is initially generated by Compute + * Engine and changes after every request to modify or update labels. You must always provide an + * up-to-date fingerprint hash in order to update or change labels, otherwise the request will + * fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a snapshot. + */ public Builder setLabelFingerprint(String labelFingerprint) { this.labelFingerprint = labelFingerprint; return this; } + /** + * Labels to apply to this snapshot. These can be later modified by the setLabels method. Label + * values may be empty. + */ public Map getLabelsMap() { return labels; } + /** + * Labels to apply to this snapshot. These can be later modified by the setLabels method. Label + * values may be empty. + */ public Builder putAllLabels(Map labels) { this.labels = labels; return this; } + /** + * [Output Only] Integer license codes indicating which licenses are attached to this snapshot. + */ public List getLicenseCodesList() { return licenseCodes; } + /** + * [Output Only] Integer license codes indicating which licenses are attached to this snapshot. + */ public Builder addAllLicenseCodes(List licenseCodes) { if (this.licenseCodes == null) { this.licenseCodes = new LinkedList<>(); @@ -448,6 +578,9 @@ public Builder addAllLicenseCodes(List licenseCodes) { return this; } + /** + * [Output Only] Integer license codes indicating which licenses are attached to this snapshot. + */ public Builder addLicenseCodes(String licenseCodes) { if (this.licenseCodes == null) { this.licenseCodes = new LinkedList<>(); @@ -456,10 +589,18 @@ public Builder addLicenseCodes(String licenseCodes) { return this; } + /** + * [Output Only] A list of public visible licenses that apply to this snapshot. This can be + * because the original image had licenses attached (such as a Windows image). + */ public List getLicensesList() { return licenses; } + /** + * [Output Only] A list of public visible licenses that apply to this snapshot. This can be + * because the original image had licenses attached (such as a Windows image). + */ public Builder addAllLicenses(List licenses) { if (this.licenses == null) { this.licenses = new LinkedList<>(); @@ -468,6 +609,10 @@ public Builder addAllLicenses(List licenses) { return this; } + /** + * [Output Only] A list of public visible licenses that apply to this snapshot. This can be + * because the original image had licenses attached (such as a Windows image). + */ public Builder addLicenses(String licenses) { if (this.licenses == null) { this.licenses = new LinkedList<>(); @@ -476,82 +621,172 @@ public Builder addLicenses(String licenses) { return this; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource; provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * Encrypts the snapshot using a customer-supplied encryption key. + * + *

After you encrypt a snapshot using a customer-supplied key, you must provide the same key + * if you use the image later For example, you must provide the encryption key when you create a + * disk from the encrypted snapshot in a future request. + * + *

Customer-supplied encryption keys do not protect access to metadata of the disk. + * + *

If you do not provide an encryption key when creating the snapshot, then the snapshot will + * be encrypted using an automatically generated key and you do not need to provide a key to use + * the snapshot later. + */ public CustomerEncryptionKey getSnapshotEncryptionKey() { return snapshotEncryptionKey; } + /** + * Encrypts the snapshot using a customer-supplied encryption key. + * + *

After you encrypt a snapshot using a customer-supplied key, you must provide the same key + * if you use the image later For example, you must provide the encryption key when you create a + * disk from the encrypted snapshot in a future request. + * + *

Customer-supplied encryption keys do not protect access to metadata of the disk. + * + *

If you do not provide an encryption key when creating the snapshot, then the snapshot will + * be encrypted using an automatically generated key and you do not need to provide a key to use + * the snapshot later. + */ public Builder setSnapshotEncryptionKey(CustomerEncryptionKey snapshotEncryptionKey) { this.snapshotEncryptionKey = snapshotEncryptionKey; return this; } + /** [Output Only] The source disk used to create this snapshot. */ public String getSourceDisk() { return sourceDisk; } + /** [Output Only] The source disk used to create this snapshot. */ public Builder setSourceDisk(String sourceDisk) { this.sourceDisk = sourceDisk; return this; } + /** + * The customer-supplied encryption key of the source disk. Required if the source disk is + * protected by a customer-supplied encryption key. + */ public CustomerEncryptionKey getSourceDiskEncryptionKey() { return sourceDiskEncryptionKey; } + /** + * The customer-supplied encryption key of the source disk. Required if the source disk is + * protected by a customer-supplied encryption key. + */ public Builder setSourceDiskEncryptionKey(CustomerEncryptionKey sourceDiskEncryptionKey) { this.sourceDiskEncryptionKey = sourceDiskEncryptionKey; return this; } + /** + * [Output Only] The ID value of the disk used to create this snapshot. This value may be used + * to determine whether the snapshot was taken from the current or a previous instance of a + * given disk name. + */ public String getSourceDiskId() { return sourceDiskId; } + /** + * [Output Only] The ID value of the disk used to create this snapshot. This value may be used + * to determine whether the snapshot was taken from the current or a previous instance of a + * given disk name. + */ public Builder setSourceDiskId(String sourceDiskId) { this.sourceDiskId = sourceDiskId; return this; } + /** + * [Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or + * UPLOADING. + */ public String getStatus() { return status; } + /** + * [Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or + * UPLOADING. + */ public Builder setStatus(String status) { this.status = status; return this; } + /** + * [Output Only] A size of the storage used by the snapshot. As snapshots share storage, this + * number is expected to change with snapshot creation/deletion. + */ public String getStorageBytes() { return storageBytes; } + /** + * [Output Only] A size of the storage used by the snapshot. As snapshots share storage, this + * number is expected to change with snapshot creation/deletion. + */ public Builder setStorageBytes(String storageBytes) { this.storageBytes = storageBytes; return this; } + /** + * [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted + * as a result of shared storage reallocation. This status can either be UPDATING, meaning the + * size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is + * up-to-date. + */ public String getStorageBytesStatus() { return storageBytesStatus; } + /** + * [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted + * as a result of shared storage reallocation. This status can either be UPDATING, meaning the + * size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is + * up-to-date. + */ public Builder setStorageBytesStatus(String storageBytesStatus) { this.storageBytesStatus = storageBytesStatus; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotList.java index 3523e66f2b14..a50f2be0f10f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of Snapshot resources. */ public final class SnapshotList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Snapshot resources. */ public List getItemsList() { return items; } + /** Type of 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(SnapshotList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Snapshot resources. */ public List getItemsList() { return items; } + /** A list of Snapshot resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Snapshot resources. */ public Builder addItems(Snapshot items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Snapshot items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SourceInstanceParams.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SourceInstanceParams.java index fe9d23596f28..156c7f88d2d0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SourceInstanceParams.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SourceInstanceParams.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A specification of the parameters to use when creating the instance template from a source + * instance. + */ public final class SourceInstanceParams implements ApiMessage { private final List diskConfigs; @@ -56,6 +60,11 @@ public List getFieldMask() { return null; } + /** + * Attached disks configuration. If not provided, defaults are applied: For boot disk and any + * other R/W disks, new custom images will be created from each disk. For read-only disks, they + * will be attached in read-only mode. Local SSD disks will be created as blank volumes. + */ public List getDiskConfigsList() { return diskConfigs; } @@ -99,10 +108,20 @@ public Builder mergeFrom(SourceInstanceParams other) { this.diskConfigs = source.diskConfigs; } + /** + * Attached disks configuration. If not provided, defaults are applied: For boot disk and any + * other R/W disks, new custom images will be created from each disk. For read-only disks, they + * will be attached in read-only mode. Local SSD disks will be created as blank volumes. + */ public List getDiskConfigsList() { return diskConfigs; } + /** + * Attached disks configuration. If not provided, defaults are applied: For boot disk and any + * other R/W disks, new custom images will be created from each disk. For read-only disks, they + * will be attached in read-only mode. Local SSD disks will be created as blank volumes. + */ public Builder addAllDiskConfigs(List diskConfigs) { if (this.diskConfigs == null) { this.diskConfigs = new LinkedList<>(); @@ -111,6 +130,11 @@ public Builder addAllDiskConfigs(List diskConfigs) { return this; } + /** + * Attached disks configuration. If not provided, defaults are applied: For boot disk and any + * other R/W disks, new custom images will be created from each disk. For read-only disks, they + * will be attached in read-only mode. Local SSD disks will be created as blank volumes. + */ public Builder addDiskConfigs(DiskInstantiationConfig diskConfigs) { if (this.diskConfigs == null) { this.diskConfigs = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificate.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificate.java index 9eb223041f76..8e81f108e837 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificate.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificate.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * An SslCertificate resource. This resource provides a mechanism to upload an SSL key and + * certificate to the load balancer to serve secure connections from the user. (== resource_for + * beta.sslCertificates ==) (== resource_for v1.sslCertificates ==) + */ public final class SslCertificate implements ApiMessage { private final String certificate; private final String creationTimestamp; @@ -105,34 +110,55 @@ public List getFieldMask() { return null; } + /** + * A local certificate file. The certificate must be in PEM format. The certificate chain must be + * no greater than 5 certs long. The chain must include at least one intermediate cert. + */ public String getCertificate() { return certificate; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** A write-only private key in PEM format. Only insert requests will include this field. */ public String getPrivateKey() { return privateKey; } + /** [Output only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } @@ -211,73 +237,117 @@ public Builder mergeFrom(SslCertificate other) { this.selfLink = source.selfLink; } + /** + * A local certificate file. The certificate must be in PEM format. The certificate chain must + * be no greater than 5 certs long. The chain must include at least one intermediate cert. + */ public String getCertificate() { return certificate; } + /** + * A local certificate file. The certificate must be in PEM format. The certificate chain must + * be no greater than 5 certs long. The chain must include at least one intermediate cert. + */ public Builder setCertificate(String certificate) { this.certificate = certificate; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** A write-only private key in PEM format. Only insert requests will include this field. */ public String getPrivateKey() { return privateKey; } + /** A write-only private key in PEM format. Only insert requests will include this field. */ public Builder setPrivateKey(String privateKey) { this.privateKey = privateKey; return this; } + /** [Output only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateList.java index 6283a40a63db..0d2e88b6218e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of SslCertificate resources. */ public final class SslCertificateList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of SslCertificate resources. */ public List getItemsList() { return items; } + /** Type of 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(SslCertificateList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of SslCertificate resources. */ public List getItemsList() { return items; } + /** A list of SslCertificate resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of SslCertificate resources. */ public Builder addItems(SslCertificate items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(SslCertificate items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPoliciesList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPoliciesList.java index 4848073275f0..266759eb2bd2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPoliciesList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPoliciesList.java @@ -92,26 +92,39 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of SslPolicy resources. */ public List getItemsList() { return items; } + /** + * [Output Only] Type of the resource. Always compute#sslPoliciesList for lists of sslPolicies. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +193,23 @@ public Builder mergeFrom(SslPoliciesList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of SslPolicy resources. */ public List getItemsList() { return items; } + /** A list of SslPolicy resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +218,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of SslPolicy resources. */ public Builder addItems(SslPolicy items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +227,59 @@ public Builder addItems(SslPolicy items) { return this; } + /** + * [Output Only] Type of the resource. Always compute#sslPoliciesList for lists of sslPolicies. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of the resource. Always compute#sslPoliciesList for lists of sslPolicies. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicy.java index 76f908da46cb..b0dd1e3af528 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicy.java @@ -25,6 +25,12 @@ @Generated("by GAPIC") @BetaApi +/** + * A SSL policy specifies the server-side support for SSL features. This can be attached to a + * TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS or + * SSL proxy load balancer. They do not affect the connection between the load balancers and the + * backends. + */ public final class SslPolicy implements ApiMessage { private final String creationTimestamp; private final List customFeatures; @@ -134,50 +140,93 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * A list of features enabled when the selected profile is CUSTOM. The - method returns the set of + * features that can be specified in this list. This field must be empty if the profile is not + * CUSTOM. + */ public List getCustomFeaturesList() { return customFeatures; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** [Output Only] The list of features enabled in the SSL policy. */ public List getEnabledFeaturesList() { return enabledFeatures; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is used + * in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date + * fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail + * with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve an SslPolicy. + */ public String getFingerprint() { return fingerprint; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies. */ public String getKind() { return kind; } + /** + * The minimum version of SSL protocol that can be used by the clients to establish a connection + * with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. + */ public String getMinTlsVersion() { return minTlsVersion; } + /** + * Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Profile specifies the set of SSL features that can be used by the load balancer when + * negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If + * using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field. + */ public String getProfile() { return profile; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * [Output Only] If potential misconfigurations are detected for this SSL policy, this field will + * be populated with warning messages. + */ public List getWarningsList() { return warnings; } @@ -276,19 +325,31 @@ public Builder mergeFrom(SslPolicy other) { this.warnings = source.warnings; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * A list of features enabled when the selected profile is CUSTOM. The - method returns the set + * of features that can be specified in this list. This field must be empty if the profile is + * not CUSTOM. + */ public List getCustomFeaturesList() { return customFeatures; } + /** + * A list of features enabled when the selected profile is CUSTOM. The - method returns the set + * of features that can be specified in this list. This field must be empty if the profile is + * not CUSTOM. + */ public Builder addAllCustomFeatures(List customFeatures) { if (this.customFeatures == null) { this.customFeatures = new LinkedList<>(); @@ -297,6 +358,11 @@ public Builder addAllCustomFeatures(List customFeatures) { return this; } + /** + * A list of features enabled when the selected profile is CUSTOM. The - method returns the set + * of features that can be specified in this list. This field must be empty if the profile is + * not CUSTOM. + */ public Builder addCustomFeatures(String customFeatures) { if (this.customFeatures == null) { this.customFeatures = new LinkedList<>(); @@ -305,19 +371,27 @@ public Builder addCustomFeatures(String customFeatures) { return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** [Output Only] The list of features enabled in the SSL policy. */ public List getEnabledFeaturesList() { return enabledFeatures; } + /** [Output Only] The list of features enabled in the SSL policy. */ public Builder addAllEnabledFeatures(List enabledFeatures) { if (this.enabledFeatures == null) { this.enabledFeatures = new LinkedList<>(); @@ -326,6 +400,7 @@ public Builder addAllEnabledFeatures(List enabledFeatures) { return this; } + /** [Output Only] The list of features enabled in the SSL policy. */ public Builder addEnabledFeatures(String enabledFeatures) { if (this.enabledFeatures == null) { this.enabledFeatures = new LinkedList<>(); @@ -334,73 +409,143 @@ public Builder addEnabledFeatures(String enabledFeatures) { return this; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is + * used in optimistic locking. This field will be ignored when inserting a SslPolicy. An + * up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the + * request will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve an SslPolicy. + */ public String getFingerprint() { return fingerprint; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is + * used in optimistic locking. This field will be ignored when inserting a SslPolicy. An + * up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the + * request will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve an SslPolicy. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies. */ public String getKind() { return kind; } + /** [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * The minimum version of SSL protocol that can be used by the clients to establish a connection + * with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. + */ public String getMinTlsVersion() { return minTlsVersion; } + /** + * The minimum version of SSL protocol that can be used by the clients to establish a connection + * with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. + */ public Builder setMinTlsVersion(String minTlsVersion) { this.minTlsVersion = minTlsVersion; return this; } + /** + * Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + * and all following characters must be a dash, lowercase letter, or digit, except the last + * character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * Profile specifies the set of SSL features that can be used by the load balancer when + * negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. + * If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures + * field. + */ public String getProfile() { return profile; } + /** + * Profile specifies the set of SSL features that can be used by the load balancer when + * negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. + * If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures + * field. + */ public Builder setProfile(String profile) { this.profile = profile; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * [Output Only] If potential misconfigurations are detected for this SSL policy, this field + * will be populated with warning messages. + */ public List getWarningsList() { return warnings; } + /** + * [Output Only] If potential misconfigurations are detected for this SSL policy, this field + * will be populated with warning messages. + */ public Builder addAllWarnings(List warnings) { if (this.warnings == null) { this.warnings = new LinkedList<>(); @@ -409,6 +554,10 @@ public Builder addAllWarnings(List warnings) { return this; } + /** + * [Output Only] If potential misconfigurations are detected for this SSL policy, this field + * will be populated with warning messages. + */ public Builder addWarnings(Warnings warnings) { if (this.warnings == null) { this.warnings = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyReference.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyReference.java index 688b26fa69bb..6715641012da 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyReference.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyReference.java @@ -55,6 +55,10 @@ public List getFieldMask() { return null; } + /** + * URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy + * associated with the target proxy resource. + */ public String getSslPolicy() { return sslPolicy; } @@ -98,10 +102,18 @@ public Builder mergeFrom(SslPolicyReference other) { this.sslPolicy = source.sslPolicy; } + /** + * URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy + * associated with the target proxy resource. + */ public String getSslPolicy() { return sslPolicy; } + /** + * URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy + * associated with the target proxy resource. + */ public Builder setSslPolicy(String sslPolicy) { this.sslPolicy = sslPolicy; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartInstanceHttpRequest.java index 6c94effd09f2..e1e927763652 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartInstanceHttpRequest.java @@ -116,38 +116,65 @@ 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; } + /** + * Name of the instance resource to start. It must have the format + * `{project}/zones/{zone}/instances/{instance}/start`. \`{instance}\` 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 getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +258,138 @@ public Builder mergeFrom(StartInstanceHttpRequest other) { 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; } + /** + * Name of the instance resource to start. It must have the format + * `{project}/zones/{zone}/instances/{instance}/start`. \`{instance}\` 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 getInstance() { return instance; } + /** + * Name of the instance resource to start. It must have the format + * `{project}/zones/{zone}/instances/{instance}/start`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartWithEncryptionKeyInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartWithEncryptionKeyInstanceHttpRequest.java index 9ba13efab1a8..e0a5778e9e8b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartWithEncryptionKeyInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StartWithEncryptionKeyInstanceHttpRequest.java @@ -125,18 +125,29 @@ 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; } + /** + * Name of the instance resource to start. It must have the format + * `{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey`. \`{instance}\` 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 getInstance() { return instance; } @@ -146,22 +157,39 @@ public String getInstance() { return instancesStartWithEncryptionKeyRequestResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -252,37 +280,59 @@ public Builder mergeFrom(StartWithEncryptionKeyInstanceHttpRequest other) { 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; } + /** + * Name of the instance resource to start. It must have the format + * `{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey`. \`{instance}\` 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 getInstance() { return instance; } + /** + * Name of the instance resource to start. It must have the format + * `{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; return this; @@ -300,46 +350,80 @@ public Builder setInstancesStartWithEncryptionKeyRequestResource( 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StopInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StopInstanceHttpRequest.java index 77598eafd8ad..4621f5447480 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StopInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StopInstanceHttpRequest.java @@ -119,38 +119,65 @@ 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; } + /** + * Name of the instance resource to stop. It must have the format + * `{project}/zones/{zone}/instances/{instance}/stop`. \`{instance}\` 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 getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -234,82 +261,138 @@ public Builder mergeFrom(StopInstanceHttpRequest other) { 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; } + /** + * Name of the instance resource to stop. It must have the format + * `{project}/zones/{zone}/instances/{instance}/stop`. \`{instance}\` 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 getInstance() { return instance; } + /** + * Name of the instance resource to stop. It must have the format + * `{project}/zones/{zone}/instances/{instance}/stop`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Subnetwork.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Subnetwork.java index 003609079253..6ac7fb7d7a4f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Subnetwork.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Subnetwork.java @@ -25,6 +25,9 @@ @Generated("by GAPIC") @BetaApi +/** + * A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for v1.subnetworks ==) + */ public final class Subnetwork implements ApiMessage { private final String creationTimestamp; private final String description; @@ -148,58 +151,117 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + * This field can be set only at resource creation time. + */ public String getDescription() { return description; } + /** + * Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it + * will not appear in get listings. If not set the default behavior is to disable flow logging. + */ public Boolean getEnableFlowLogs() { return enableFlowLogs; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is used + * in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date + * fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail + * with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a Subnetwork. + */ public String getFingerprint() { return fingerprint; } + /** + * [Output Only] The gateway address for default routes to reach destination addresses outside + * this subnetwork. + */ public String getGatewayAddress() { return gatewayAddress; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * The range of internal addresses that are owned by this subnetwork. Provide this property when + * you create the subnetwork. For example, 10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique and + * non-overlapping within a network. Only IPv4 is supported. This field can be set only at + * resource creation time. + */ public String getIpCidrRange() { return ipCidrRange; } + /** [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources. */ public String getKind() { return kind; } + /** + * The name of the resource, provided by the client when initially creating the resource. The name + * must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 + * characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means + * the first character must be a lowercase letter, and all following characters must be a dash, + * lowercase letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * The URL of the network to which this subnetwork belongs, provided by the client when initially + * creating the subnetwork. Only networks that are in the distributed mode can have subnetworks. + * This field can be set only at resource creation time. + */ public String getNetwork() { return network; } + /** + * Whether the VMs in this subnet can access Google services without assigned external IP + * addresses. This field can be both set at resource creation time and updated using + * setPrivateIpGoogleAccess. + */ public Boolean getPrivateIpGoogleAccess() { return privateIpGoogleAccess; } + /** + * URL of the region where the Subnetwork resides. This field can be set only at resource creation + * time. + */ public String getRegion() { return region; } + /** + * An array of configurations for secondary IP ranges for VM instances contained in this + * subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. + * The alias IPs may belong to either primary or secondary ranges. This field can be updated with + * a patch request. + */ public List getSecondaryIpRangesList() { return secondaryIpRanges; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } @@ -308,118 +370,236 @@ public Builder mergeFrom(Subnetwork other) { this.selfLink = source.selfLink; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + * This field can be set only at resource creation time. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + * This field can be set only at resource creation time. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it + * will not appear in get listings. If not set the default behavior is to disable flow logging. + */ public Boolean getEnableFlowLogs() { return enableFlowLogs; } + /** + * Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it + * will not appear in get listings. If not set the default behavior is to disable flow logging. + */ public Builder setEnableFlowLogs(Boolean enableFlowLogs) { this.enableFlowLogs = enableFlowLogs; return this; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is + * used in optimistic locking. This field will be ignored when inserting a Subnetwork. An + * up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the + * request will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a Subnetwork. + */ public String getFingerprint() { return fingerprint; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is + * used in optimistic locking. This field will be ignored when inserting a Subnetwork. An + * up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the + * request will fail with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a Subnetwork. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** + * [Output Only] The gateway address for default routes to reach destination addresses outside + * this subnetwork. + */ public String getGatewayAddress() { return gatewayAddress; } + /** + * [Output Only] The gateway address for default routes to reach destination addresses outside + * this subnetwork. + */ public Builder setGatewayAddress(String gatewayAddress) { this.gatewayAddress = gatewayAddress; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * The range of internal addresses that are owned by this subnetwork. Provide this property when + * you create the subnetwork. For example, 10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique + * and non-overlapping within a network. Only IPv4 is supported. This field can be set only at + * resource creation time. + */ public String getIpCidrRange() { return ipCidrRange; } + /** + * The range of internal addresses that are owned by this subnetwork. Provide this property when + * you create the subnetwork. For example, 10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique + * and non-overlapping within a network. Only IPv4 is supported. This field can be set only at + * resource creation time. + */ public Builder setIpCidrRange(String ipCidrRange) { this.ipCidrRange = ipCidrRange; return this; } + /** [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be + * 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which + * means the first character must be a lowercase letter, and all following characters must be a + * dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * The name of the resource, provided by the client when initially creating the resource. The + * name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be + * 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which + * means the first character must be a lowercase letter, and all following characters must be a + * dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * The URL of the network to which this subnetwork belongs, provided by the client when + * initially creating the subnetwork. Only networks that are in the distributed mode can have + * subnetworks. This field can be set only at resource creation time. + */ public String getNetwork() { return network; } + /** + * The URL of the network to which this subnetwork belongs, provided by the client when + * initially creating the subnetwork. Only networks that are in the distributed mode can have + * subnetworks. This field can be set only at resource creation time. + */ public Builder setNetwork(String network) { this.network = network; return this; } + /** + * Whether the VMs in this subnet can access Google services without assigned external IP + * addresses. This field can be both set at resource creation time and updated using + * setPrivateIpGoogleAccess. + */ public Boolean getPrivateIpGoogleAccess() { return privateIpGoogleAccess; } + /** + * Whether the VMs in this subnet can access Google services without assigned external IP + * addresses. This field can be both set at resource creation time and updated using + * setPrivateIpGoogleAccess. + */ public Builder setPrivateIpGoogleAccess(Boolean privateIpGoogleAccess) { this.privateIpGoogleAccess = privateIpGoogleAccess; return this; } + /** + * URL of the region where the Subnetwork resides. This field can be set only at resource + * creation time. + */ public String getRegion() { return region; } + /** + * URL of the region where the Subnetwork resides. This field can be set only at resource + * creation time. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * An array of configurations for secondary IP ranges for VM instances contained in this + * subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the + * subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be + * updated with a patch request. + */ public List getSecondaryIpRangesList() { return secondaryIpRanges; } + /** + * An array of configurations for secondary IP ranges for VM instances contained in this + * subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the + * subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be + * updated with a patch request. + */ public Builder addAllSecondaryIpRanges(List secondaryIpRanges) { if (this.secondaryIpRanges == null) { this.secondaryIpRanges = new LinkedList<>(); @@ -428,6 +608,12 @@ public Builder addAllSecondaryIpRanges(List secondaryI return this; } + /** + * An array of configurations for secondary IP ranges for VM instances contained in this + * subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the + * subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be + * updated with a patch request. + */ public Builder addSecondaryIpRanges(SubnetworkSecondaryRange secondaryIpRanges) { if (this.secondaryIpRanges == null) { this.secondaryIpRanges = new LinkedList<>(); @@ -436,10 +622,12 @@ public Builder addSecondaryIpRanges(SubnetworkSecondaryRange secondaryIpRanges) return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkAggregatedList.java index 73ce4a7e89ee..4e0be8fa1d13 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of SubnetworksScopedList resources. The key for the map is: Name of the scope containing + * this set of Subnetworks. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#subnetworkAggregatedList for aggregated lists of + * subnetworks. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(SubnetworkAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of SubnetworksScopedList resources. The key for the map is: Name of the scope + * containing this set of Subnetworks. + */ public Map getItemsMap() { return items; } + /** + * A list of SubnetworksScopedList resources. The key for the map is: Name of the scope + * containing this set of Subnetworks. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#subnetworkAggregatedList for aggregated lists + * of subnetworks. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#subnetworkAggregatedList for aggregated lists + * of subnetworks. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkList.java index 89e06da80520..51a669c35cf6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of Subnetwork resources. */ public final class SubnetworkList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Subnetwork resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#subnetworkList for lists of subnetworks. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(SubnetworkList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Subnetwork resources. */ public List getItemsList() { return items; } + /** A list of Subnetwork resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Subnetwork resources. */ public Builder addItems(Subnetwork items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Subnetwork items) { return this; } + /** [Output Only] Type of resource. Always compute#subnetworkList for lists of subnetworks. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#subnetworkList for lists of subnetworks. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkSecondaryRange.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkSecondaryRange.java index 13f028e619d5..fd3a6db61764 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkSecondaryRange.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkSecondaryRange.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Represents a secondary IP range of a subnetwork. */ public final class SubnetworkSecondaryRange implements ApiMessage { private final String ipCidrRange; private final String rangeName; @@ -61,10 +62,20 @@ public List getFieldMask() { return null; } + /** + * The range of IP addresses belonging to this subnetwork secondary range. Provide this property + * when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and + * secondary IP ranges within a network. Only IPv4 is supported. + */ public String getIpCidrRange() { return ipCidrRange; } + /** + * The name associated with this subnetwork secondary range, used when adding an alias IP range to + * a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be + * unique within the subnetwork. + */ public String getRangeName() { return rangeName; } @@ -113,19 +124,39 @@ public Builder mergeFrom(SubnetworkSecondaryRange other) { this.rangeName = source.rangeName; } + /** + * The range of IP addresses belonging to this subnetwork secondary range. Provide this property + * when you create the subnetwork. Ranges must be unique and non-overlapping with all primary + * and secondary IP ranges within a network. Only IPv4 is supported. + */ public String getIpCidrRange() { return ipCidrRange; } + /** + * The range of IP addresses belonging to this subnetwork secondary range. Provide this property + * when you create the subnetwork. Ranges must be unique and non-overlapping with all primary + * and secondary IP ranges within a network. Only IPv4 is supported. + */ public Builder setIpCidrRange(String ipCidrRange) { this.ipCidrRange = ipCidrRange; return this; } + /** + * The name associated with this subnetwork secondary range, used when adding an alias IP range + * to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name + * must be unique within the subnetwork. + */ public String getRangeName() { return rangeName; } + /** + * The name associated with this subnetwork secondary range, used when adding an alias IP range + * to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name + * must be unique within the subnetwork. + */ public Builder setRangeName(String rangeName) { this.rangeName = rangeName; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksExpandIpCidrRangeRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksExpandIpCidrRangeRequest.java index 58fa7fc53762..ea8c096803b5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksExpandIpCidrRangeRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksExpandIpCidrRangeRequest.java @@ -55,6 +55,11 @@ public List getFieldMask() { return null; } + /** + * The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. + * This range should be disjoint from other subnetworks within this network. This range can only + * be larger than (i.e. a superset of) the range previously defined before the update. + */ public String getIpCidrRange() { return ipCidrRange; } @@ -98,10 +103,20 @@ public Builder mergeFrom(SubnetworksExpandIpCidrRangeRequest other) { this.ipCidrRange = source.ipCidrRange; } + /** + * The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. + * This range should be disjoint from other subnetworks within this network. This range can only + * be larger than (i.e. a superset of) the range previously defined before the update. + */ public String getIpCidrRange() { return ipCidrRange; } + /** + * The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. + * This range should be disjoint from other subnetworks within this network. This range can only + * be larger than (i.e. a superset of) the range previously defined before the update. + */ public Builder setIpCidrRange(String ipCidrRange) { this.ipCidrRange = ipCidrRange; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksScopedList.java index b9678cddbb84..1bd6de1e9408 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworksScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** A list of subnetworks contained in this scope. */ public List getSubnetworksList() { return subnetworks; } + /** An informational warning that appears when the list of addresses is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(SubnetworksScopedList other) { this.warning = source.warning; } + /** A list of subnetworks contained in this scope. */ public List getSubnetworksList() { return subnetworks; } + /** A list of subnetworks contained in this scope. */ public Builder addAllSubnetworks(List subnetworks) { if (this.subnetworks == null) { this.subnetworks = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllSubnetworks(List subnetworks) { return this; } + /** A list of subnetworks contained in this scope. */ public Builder addSubnetworks(Subnetwork subnetworks) { if (this.subnetworks == null) { this.subnetworks = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addSubnetworks(Subnetwork subnetworks) { return this; } + /** An informational warning that appears when the list of addresses is empty. */ public Warning getWarning() { return warning; } + /** An informational warning that appears when the list of addresses is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SwitchToCustomModeNetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SwitchToCustomModeNetworkHttpRequest.java index 7b107a367f29..edc9361097e8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SwitchToCustomModeNetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SwitchToCustomModeNetworkHttpRequest.java @@ -116,38 +116,66 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** + * Name of the network to be updated. It must have the format + * `{project}/global/networks/{network}/switchToCustomMode`. \`{network}\` 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 getNetwork() { return network; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,82 +259,138 @@ public Builder mergeFrom(SwitchToCustomModeNetworkHttpRequest other) { 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; } + /** 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; } + /** + * Name of the network to be updated. It must have the format + * `{project}/global/networks/{network}/switchToCustomMode`. \`{network}\` 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 getNetwork() { return network; } + /** + * Name of the network to be updated. It must have the format + * `{project}/global/networks/{network}/switchToCustomMode`. \`{network}\` 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 setNetwork(String network) { this.network = network; 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TCPHealthCheck.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TCPHealthCheck.java index c79defaeb292..bee57d1c62da 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TCPHealthCheck.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TCPHealthCheck.java @@ -80,22 +80,43 @@ public List getFieldMask() { return null; } + /** + * The TCP port number for the health check request. The default value is 80. Valid values are 1 + * through 65535. + */ public Integer getPort() { return port; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public String getPortName() { return portName; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE or + * PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** + * The application data to send once the TCP connection has been established (default value is + * empty). If both request and response are empty, the connection establishment alone will + * indicate health. The request data can only be ASCII. + */ public String getRequest() { return request; } + /** + * The bytes to match against the beginning of the response data. If left empty (the default + * value), any response will indicate health. The response data can only be ASCII. + */ public String getResponse() { return response; } @@ -159,46 +180,88 @@ public Builder mergeFrom(TCPHealthCheck other) { this.response = source.response; } + /** + * The TCP port number for the health check request. The default value is 80. Valid values are 1 + * through 65535. + */ public Integer getPort() { return port; } + /** + * The TCP port number for the health check request. The default value is 80. Valid values are 1 + * through 65535. + */ public Builder setPort(Integer port) { this.port = port; return this; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public String getPortName() { return portName; } + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, + * port takes precedence. + */ public Builder setPortName(String portName) { this.portName = portName; return this; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public Builder setProxyHeader(String proxyHeader) { this.proxyHeader = proxyHeader; return this; } + /** + * The application data to send once the TCP connection has been established (default value is + * empty). If both request and response are empty, the connection establishment alone will + * indicate health. The request data can only be ASCII. + */ public String getRequest() { return request; } + /** + * The application data to send once the TCP connection has been established (default value is + * empty). If both request and response are empty, the connection establishment alone will + * indicate health. The request data can only be ASCII. + */ public Builder setRequest(String request) { this.request = request; return this; } + /** + * The bytes to match against the beginning of the response data. If left empty (the default + * value), any response will indicate health. The response data can only be ASCII. + */ public String getResponse() { return response; } + /** + * The bytes to match against the beginning of the response data. If left empty (the default + * value), any response will indicate health. The response data can only be ASCII. + */ public Builder setResponse(String response) { this.response = response; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Tags.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Tags.java index 9a7405e3973c..8f2587b4ca25 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Tags.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Tags.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A set of instance tags. */ public final class Tags implements ApiMessage { private final String fingerprint; private final List items; @@ -62,10 +63,19 @@ public List getFieldMask() { return null; } + /** + * Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and + * used for optimistic locking. The fingerprint is initially generated by Compute Engine and + * changes after every request to modify or update tags. You must always provide an up-to-date + * fingerprint hash in order to update or change tags. + * + *

To see the latest fingerprint, make get() request to the instance. + */ public String getFingerprint() { return fingerprint; } + /** An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035. */ public List getItemsList() { return items; } @@ -114,19 +124,37 @@ public Builder mergeFrom(Tags other) { this.items = source.items; } + /** + * Specifies a fingerprint for this request, which is essentially a hash of the tags' contents + * and used for optimistic locking. The fingerprint is initially generated by Compute Engine and + * changes after every request to modify or update tags. You must always provide an up-to-date + * fingerprint hash in order to update or change tags. + * + *

To see the latest fingerprint, make get() request to the instance. + */ public String getFingerprint() { return fingerprint; } + /** + * Specifies a fingerprint for this request, which is essentially a hash of the tags' contents + * and used for optimistic locking. The fingerprint is initially generated by Compute Engine and + * changes after every request to modify or update tags. You must always provide an up-to-date + * fingerprint hash in order to update or change tags. + * + *

To see the latest fingerprint, make get() request to the instance. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035. */ public List getItemsList() { return items; } + /** An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -135,6 +163,7 @@ public Builder addAllItems(List items) { return this; } + /** An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035. */ public Builder addItems(String items) { if (this.items == null) { this.items = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxy.java index 73b125982218..a8c4c6111ac7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxy.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A TargetHttpProxy resource. This resource defines an HTTP proxy. (== resource_for + * beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies ==) + */ public final class TargetHttpProxy implements ApiMessage { private final String creationTimestamp; private final String description; @@ -98,30 +102,47 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP proxies. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** URL to the UrlMap resource that defines the mapping from URL to the BackendService. */ public String getUrlMap() { return urlMap; } @@ -195,64 +216,100 @@ public Builder mergeFrom(TargetHttpProxy other) { this.urlMap = source.urlMap; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP proxies. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP proxies. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** URL to the UrlMap resource that defines the mapping from URL to the BackendService. */ public String getUrlMap() { return urlMap; } + /** URL to the UrlMap resource that defines the mapping from URL to the BackendService. */ public Builder setUrlMap(String urlMap) { this.urlMap = urlMap; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyList.java index 64d51c809d53..f740aeaa77e4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A list of TargetHttpProxy resources. */ public final class TargetHttpProxyList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of TargetHttpProxy resources. */ public List getItemsList() { return items; } + /** Type of resource. Always compute#targetHttpProxyList for lists of target HTTP proxies. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(TargetHttpProxyList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of TargetHttpProxy resources. */ public List getItemsList() { return items; } + /** A list of TargetHttpProxy resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of TargetHttpProxy resources. */ public Builder addItems(TargetHttpProxy items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(TargetHttpProxy items) { return this; } + /** Type of resource. Always compute#targetHttpProxyList for lists of target HTTP proxies. */ public String getKind() { return kind; } + /** Type of resource. Always compute#targetHttpProxyList for lists of target HTTP proxies. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetQuicOverrideRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetQuicOverrideRequest.java index d26ad0e5e39d..81681218f414 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetQuicOverrideRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetQuicOverrideRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** QUIC policy for the TargetHttpsProxy resource. */ public String getQuicOverride() { return quicOverride; } @@ -98,10 +99,12 @@ public Builder mergeFrom(TargetHttpsProxiesSetQuicOverrideRequest other) { this.quicOverride = source.quicOverride; } + /** QUIC policy for the TargetHttpsProxy resource. */ public String getQuicOverride() { return quicOverride; } + /** QUIC policy for the TargetHttpsProxy resource. */ public Builder setQuicOverride(String quicOverride) { this.quicOverride = quicOverride; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetSslCertificatesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetSslCertificatesRequest.java index 3bcdd751018b..1b87add9f987 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetSslCertificatesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxiesSetSslCertificatesRequest.java @@ -56,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * New set of SslCertificate resources to associate with this TargetHttpsProxy resource. Currently + * exactly one SslCertificate resource must be specified. + */ public List getSslCertificatesList() { return sslCertificates; } @@ -99,10 +103,18 @@ public Builder mergeFrom(TargetHttpsProxiesSetSslCertificatesRequest other) { this.sslCertificates = source.sslCertificates; } + /** + * New set of SslCertificate resources to associate with this TargetHttpsProxy resource. + * Currently exactly one SslCertificate resource must be specified. + */ public List getSslCertificatesList() { return sslCertificates; } + /** + * New set of SslCertificate resources to associate with this TargetHttpsProxy resource. + * Currently exactly one SslCertificate resource must be specified. + */ public Builder addAllSslCertificates(List sslCertificates) { if (this.sslCertificates == null) { this.sslCertificates = new LinkedList<>(); @@ -111,6 +123,10 @@ public Builder addAllSslCertificates(List sslCertificates) { return this; } + /** + * New set of SslCertificate resources to associate with this TargetHttpsProxy resource. + * Currently exactly one SslCertificate resource must be specified. + */ public Builder addSslCertificates(String sslCertificates) { if (this.sslCertificates == null) { this.sslCertificates = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxy.java index 97c0e50225bf..d5b2a6a4a3af 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxy.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A TargetHttpsProxy resource. This resource defines an HTTPS proxy. (== resource_for + * beta.targetHttpsProxies ==) (== resource_for v1.targetHttpsProxies ==) + */ public final class TargetHttpsProxy implements ApiMessage { private final String creationTimestamp; private final String description; @@ -120,42 +124,81 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Specifies the QUIC override policy for this TargetHttpsProxy resource. This determines whether + * the load balancer will attempt to negotiate QUIC with clients or not. Can specify one of NONE, + * ENABLE, or DISABLE. Specify ENABLE to always enable QUIC, Enables QUIC when set to ENABLE, and + * disables QUIC when set to DISABLE. If NONE is specified, uses the QUIC policy with no user + * overrides, which is equivalent to DISABLE. Not specifying this field is equivalent to + * specifying NONE. + */ public String getQuicOverride() { return quicOverride; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * URLs to SslCertificate resources that are used to authenticate connections between users and + * the load balancer. At least one SSL certificate must be specified. Currently, you may specify + * up to 15 SSL certificates. + */ public List getSslCertificatesList() { return sslCertificates; } + /** + * URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not + * set, the TargetHttpsProxy resource will not have any SSL policy configured. + */ public String getSslPolicy() { return sslPolicy; } + /** + * A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from URL + * to the BackendService. For example, the following are all valid URLs for specifying a URL map: + * - https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map - + * projects/project/global/urlMaps/url-map - global/urlMaps/url-map + */ public String getUrlMap() { return urlMap; } @@ -244,73 +287,133 @@ public Builder mergeFrom(TargetHttpsProxy other) { this.urlMap = source.urlMap; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * Specifies the QUIC override policy for this TargetHttpsProxy resource. This determines + * whether the load balancer will attempt to negotiate QUIC with clients or not. Can specify one + * of NONE, ENABLE, or DISABLE. Specify ENABLE to always enable QUIC, Enables QUIC when set to + * ENABLE, and disables QUIC when set to DISABLE. If NONE is specified, uses the QUIC policy + * with no user overrides, which is equivalent to DISABLE. Not specifying this field is + * equivalent to specifying NONE. + */ public String getQuicOverride() { return quicOverride; } + /** + * Specifies the QUIC override policy for this TargetHttpsProxy resource. This determines + * whether the load balancer will attempt to negotiate QUIC with clients or not. Can specify one + * of NONE, ENABLE, or DISABLE. Specify ENABLE to always enable QUIC, Enables QUIC when set to + * ENABLE, and disables QUIC when set to DISABLE. If NONE is specified, uses the QUIC policy + * with no user overrides, which is equivalent to DISABLE. Not specifying this field is + * equivalent to specifying NONE. + */ public Builder setQuicOverride(String quicOverride) { this.quicOverride = quicOverride; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * URLs to SslCertificate resources that are used to authenticate connections between users and + * the load balancer. At least one SSL certificate must be specified. Currently, you may specify + * up to 15 SSL certificates. + */ public List getSslCertificatesList() { return sslCertificates; } + /** + * URLs to SslCertificate resources that are used to authenticate connections between users and + * the load balancer. At least one SSL certificate must be specified. Currently, you may specify + * up to 15 SSL certificates. + */ public Builder addAllSslCertificates(List sslCertificates) { if (this.sslCertificates == null) { this.sslCertificates = new LinkedList<>(); @@ -319,6 +422,11 @@ public Builder addAllSslCertificates(List sslCertificates) { return this; } + /** + * URLs to SslCertificate resources that are used to authenticate connections between users and + * the load balancer. At least one SSL certificate must be specified. Currently, you may specify + * up to 15 SSL certificates. + */ public Builder addSslCertificates(String sslCertificates) { if (this.sslCertificates == null) { this.sslCertificates = new LinkedList<>(); @@ -327,19 +435,39 @@ public Builder addSslCertificates(String sslCertificates) { return this; } + /** + * URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not + * set, the TargetHttpsProxy resource will not have any SSL policy configured. + */ public String getSslPolicy() { return sslPolicy; } + /** + * URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not + * set, the TargetHttpsProxy resource will not have any SSL policy configured. + */ public Builder setSslPolicy(String sslPolicy) { this.sslPolicy = sslPolicy; return this; } + /** + * A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from + * URL to the BackendService. For example, the following are all valid URLs for specifying a URL + * map: - https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map - + * projects/project/global/urlMaps/url-map - global/urlMaps/url-map + */ public String getUrlMap() { return urlMap; } + /** + * A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from + * URL to the BackendService. For example, the following are all valid URLs for specifying a URL + * map: - https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map - + * projects/project/global/urlMaps/url-map - global/urlMaps/url-map + */ public Builder setUrlMap(String urlMap) { this.urlMap = urlMap; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyList.java index bba3606b6105..af7fd231ebbe 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of TargetHttpsProxy resources. */ public final class TargetHttpsProxyList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of TargetHttpsProxy resources. */ public List getItemsList() { return items; } + /** Type of resource. Always compute#targetHttpsProxyList for lists of target HTTPS proxies. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(TargetHttpsProxyList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of TargetHttpsProxy resources. */ public List getItemsList() { return items; } + /** A list of TargetHttpsProxy resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of TargetHttpsProxy resources. */ public Builder addItems(TargetHttpsProxy items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(TargetHttpsProxy items) { return this; } + /** Type of resource. Always compute#targetHttpsProxyList for lists of target HTTPS proxies. */ public String getKind() { return kind; } + /** Type of resource. Always compute#targetHttpsProxyList for lists of target HTTPS proxies. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstance.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstance.java index 934643559cf5..f05f5d687da4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstance.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstance.java @@ -24,6 +24,11 @@ @Generated("by GAPIC") @BetaApi +/** + * A TargetInstance resource. This resource defines an endpoint instance that terminates traffic of + * certain protocols. (== resource_for beta.targetInstances ==) (== resource_for v1.targetInstances + * ==) + */ public final class TargetInstance implements ApiMessage { private final String creationTimestamp; private final String description; @@ -112,38 +117,69 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * A URL to the virtual machine instance that handles traffic for this target instance. When + * creating a target instance, you can provide the fully-qualified URL or a valid partial URL to + * the desired virtual machine. For example, the following are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - + * projects/project/zones/zone/instances/instance - zones/zone/instances/instance + */ public String getInstance() { return instance; } + /** [Output Only] The type of the resource. Always compute#targetInstance for target instances. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * NAT option controlling how IPs are NAT'ed to the instance. Currently only NO_NAT (default + * value) is supported. + */ public String getNatPolicy() { return natPolicy; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * [Output Only] URL of the zone where the target instance resides. You must specify this field as + * part of the HTTP request URL. It is not settable as a field in the request body. + */ public String getZone() { return zone; } @@ -227,82 +263,150 @@ public Builder mergeFrom(TargetInstance other) { this.zone = source.zone; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * A URL to the virtual machine instance that handles traffic for this target instance. When + * creating a target instance, you can provide the fully-qualified URL or a valid partial URL to + * the desired virtual machine. For example, the following are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - + * projects/project/zones/zone/instances/instance - zones/zone/instances/instance + */ public String getInstance() { return instance; } + /** + * A URL to the virtual machine instance that handles traffic for this target instance. When + * creating a target instance, you can provide the fully-qualified URL or a valid partial URL to + * the desired virtual machine. For example, the following are all valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - + * projects/project/zones/zone/instances/instance - zones/zone/instances/instance + */ public Builder setInstance(String instance) { this.instance = instance; return this; } + /** + * [Output Only] The type of the resource. Always compute#targetInstance for target instances. + */ public String getKind() { return kind; } + /** + * [Output Only] The type of the resource. Always compute#targetInstance for target instances. + */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * NAT option controlling how IPs are NAT'ed to the instance. Currently only NO_NAT (default + * value) is supported. + */ public String getNatPolicy() { return natPolicy; } + /** + * NAT option controlling how IPs are NAT'ed to the instance. Currently only NO_NAT (default + * value) is supported. + */ public Builder setNatPolicy(String natPolicy) { this.natPolicy = natPolicy; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * [Output Only] URL of the zone where the target instance resides. You must specify this field + * as part of the HTTP request URL. It is not settable as a field in the request body. + */ public String getZone() { return zone; } + /** + * [Output Only] URL of the zone where the target instance resides. You must specify this field + * as part of the HTTP request URL. It is not settable as a field in the request body. + */ public Builder setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceAggregatedList.java index 4133db4b9797..aeb09d95d5d5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceAggregatedList.java @@ -92,26 +92,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of TargetInstance resources. The key for the map is: Name of the scope containing this + * set of target instances. + */ public Map getItemsMap() { return items; } + /** Type of 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +194,83 @@ public Builder mergeFrom(TargetInstanceAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of TargetInstance resources. The key for the map is: Name of the scope containing this + * set of target instances. + */ public Map getItemsMap() { return items; } + /** + * A list of TargetInstance resources. The key for the map is: Name of the scope containing this + * set of target instances. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceList.java index b53e053f8083..f6e3ccdd3403 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of TargetInstance resources. */ public final class TargetInstanceList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of TargetInstance resources. */ public List getItemsList() { return items; } + /** Type of 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(TargetInstanceList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of TargetInstance resources. */ public List getItemsList() { return items; } + /** A list of TargetInstance resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of TargetInstance resources. */ public Builder addItems(TargetInstance items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(TargetInstance items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstancesScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstancesScopedList.java index bb62b3f360cd..55bf21d0c043 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstancesScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstancesScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** A list of target instances contained in this scope. */ public List getTargetInstancesList() { return targetInstances; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(TargetInstancesScopedList other) { this.warning = source.warning; } + /** A list of target instances contained in this scope. */ public List getTargetInstancesList() { return targetInstances; } + /** A list of target instances contained in this scope. */ public Builder addAllTargetInstances(List targetInstances) { if (this.targetInstances == null) { this.targetInstances = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllTargetInstances(List targetInstances) { return this; } + /** A list of target instances contained in this scope. */ public Builder addTargetInstances(TargetInstance targetInstances) { if (this.targetInstances == null) { this.targetInstances = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addTargetInstances(TargetInstance targetInstances) { return this; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Warning getWarning() { return warning; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPool.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPool.java index 7a5152cf2672..cf13b5c6881a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPool.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPool.java @@ -25,6 +25,11 @@ @Generated("by GAPIC") @BetaApi +/** + * A TargetPool resource. This resource defines a pool of instances, an associated HttpHealthCheck + * resource, and the fallback target pool. (== resource_for beta.targetPools ==) (== resource_for + * v1.targetPools ==) + */ public final class TargetPool implements ApiMessage { private final String backupPool; private final String creationTimestamp; @@ -134,50 +139,111 @@ public List getFieldMask() { return null; } + /** + * This field is applicable only when the containing target pool is serving a forwarding rule as + * the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. + * + *

backupPool and failoverRatio together define the fallback behavior of the primary target + * pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, + * traffic arriving at the load-balanced IP will be directed to the backup pool. + * + *

In case where failoverRatio and backupPool are not set, or all the instances in the backup + * pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, + * where traffic will be spread to the healthy instances with the best effort, or to all instances + * when no instance is healthy. + */ public String getBackupPool() { return backupPool; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * This field is applicable only when the containing target pool is serving a forwarding rule as + * the primary pool (i.e., not as a backup pool to some other target pool). The value of the field + * must be in [0, 1]. + * + *

If set, backupPool must also be set. They together define the fallback behavior of the + * primary target pool: if the ratio of the healthy instances in the primary pool is at or below + * this number, traffic arriving at the load-balanced IP will be directed to the backup pool. + * + *

In case where failoverRatio is not set or all the instances in the backup pool are + * unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where + * traffic will be spread to the healthy instances with the best effort, or to all instances when + * no instance is healthy. + */ public Float getFailoverRatio() { return failoverRatio; } + /** + * The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy + * if and only if the health checks pass. An empty list means all member instances will be + * considered healthy at all times. Only HttpHealthChecks are supported. Only one health check may + * be specified. + */ public List getHealthChecksList() { return healthChecks; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * A list of resource URLs to the virtual machine instances serving this pool. They must live in + * zones contained in the same region as this pool. + */ public List getInstancesList() { return instances; } + /** [Output Only] Type of the resource. Always compute#targetPool for target pools. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** [Output Only] URL of the region where the target pool resides. */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * Session affinity option, must be one of the following values: NONE: Connections from the same + * client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP + * will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: + * Connections from the same client IP with the same IP protocol will go to the same instance in + * the pool while that instance remains healthy. + */ public String getSessionAffinity() { return sessionAffinity; } @@ -276,46 +342,120 @@ public Builder mergeFrom(TargetPool other) { this.sessionAffinity = source.sessionAffinity; } + /** + * This field is applicable only when the containing target pool is serving a forwarding rule as + * the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. + * + *

backupPool and failoverRatio together define the fallback behavior of the primary target + * pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, + * traffic arriving at the load-balanced IP will be directed to the backup pool. + * + *

In case where failoverRatio and backupPool are not set, or all the instances in the backup + * pool are unhealthy, the traffic will be directed back to the primary pool in the "force" + * mode, where traffic will be spread to the healthy instances with the best effort, or to all + * instances when no instance is healthy. + */ public String getBackupPool() { return backupPool; } + /** + * This field is applicable only when the containing target pool is serving a forwarding rule as + * the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. + * + *

backupPool and failoverRatio together define the fallback behavior of the primary target + * pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, + * traffic arriving at the load-balanced IP will be directed to the backup pool. + * + *

In case where failoverRatio and backupPool are not set, or all the instances in the backup + * pool are unhealthy, the traffic will be directed back to the primary pool in the "force" + * mode, where traffic will be spread to the healthy instances with the best effort, or to all + * instances when no instance is healthy. + */ public Builder setBackupPool(String backupPool) { this.backupPool = backupPool; return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * This field is applicable only when the containing target pool is serving a forwarding rule as + * the primary pool (i.e., not as a backup pool to some other target pool). The value of the + * field must be in [0, 1]. + * + *

If set, backupPool must also be set. They together define the fallback behavior of the + * primary target pool: if the ratio of the healthy instances in the primary pool is at or below + * this number, traffic arriving at the load-balanced IP will be directed to the backup pool. + * + *

In case where failoverRatio is not set or all the instances in the backup pool are + * unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where + * traffic will be spread to the healthy instances with the best effort, or to all instances + * when no instance is healthy. + */ public Float getFailoverRatio() { return failoverRatio; } + /** + * This field is applicable only when the containing target pool is serving a forwarding rule as + * the primary pool (i.e., not as a backup pool to some other target pool). The value of the + * field must be in [0, 1]. + * + *

If set, backupPool must also be set. They together define the fallback behavior of the + * primary target pool: if the ratio of the healthy instances in the primary pool is at or below + * this number, traffic arriving at the load-balanced IP will be directed to the backup pool. + * + *

In case where failoverRatio is not set or all the instances in the backup pool are + * unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where + * traffic will be spread to the healthy instances with the best effort, or to all instances + * when no instance is healthy. + */ public Builder setFailoverRatio(Float failoverRatio) { this.failoverRatio = failoverRatio; return this; } + /** + * The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy + * if and only if the health checks pass. An empty list means all member instances will be + * considered healthy at all times. Only HttpHealthChecks are supported. Only one health check + * may be specified. + */ public List getHealthChecksList() { return healthChecks; } + /** + * The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy + * if and only if the health checks pass. An empty list means all member instances will be + * considered healthy at all times. Only HttpHealthChecks are supported. Only one health check + * may be specified. + */ public Builder addAllHealthChecks(List healthChecks) { if (this.healthChecks == null) { this.healthChecks = new LinkedList<>(); @@ -324,6 +464,12 @@ public Builder addAllHealthChecks(List healthChecks) { return this; } + /** + * The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy + * if and only if the health checks pass. An empty list means all member instances will be + * considered healthy at all times. Only HttpHealthChecks are supported. Only one health check + * may be specified. + */ public Builder addHealthChecks(String healthChecks) { if (this.healthChecks == null) { this.healthChecks = new LinkedList<>(); @@ -332,19 +478,35 @@ public Builder addHealthChecks(String healthChecks) { return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of resource URLs to the virtual machine instances serving this pool. They must live in + * zones contained in the same region as this pool. + */ public List getInstancesList() { return instances; } + /** + * A list of resource URLs to the virtual machine instances serving this pool. They must live in + * zones contained in the same region as this pool. + */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -353,6 +515,10 @@ public Builder addAllInstances(List instances) { return this; } + /** + * A list of resource URLs to the virtual machine instances serving this pool. They must live in + * zones contained in the same region as this pool. + */ public Builder addInstances(String instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -361,46 +527,80 @@ public Builder addInstances(String instances) { return this; } + /** [Output Only] Type of the resource. Always compute#targetPool for target pools. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#targetPool for target pools. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] URL of the region where the target pool resides. */ public String getRegion() { return region; } + /** [Output Only] URL of the region where the target pool resides. */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * Session affinity option, must be one of the following values: NONE: Connections from the same + * client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP + * will go to the same instance in the pool while that instance remains healthy. + * CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the + * same instance in the pool while that instance remains healthy. + */ public String getSessionAffinity() { return sessionAffinity; } + /** + * Session affinity option, must be one of the following values: NONE: Connections from the same + * client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP + * will go to the same instance in the pool while that instance remains healthy. + * CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the + * same instance in the pool while that instance remains healthy. + */ public Builder setSessionAffinity(String sessionAffinity) { this.sessionAffinity = sessionAffinity; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolAggregatedList.java index 5e146d4c3b61..e4e6d8d8528c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolAggregatedList.java @@ -92,26 +92,43 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of TargetPool resources. The key for the map is: Name of the scope containing this set + * of target pools. + */ public Map getItemsMap() { return items; } + /** + * [Output Only] Type of resource. Always compute#targetPoolAggregatedList for aggregated lists of + * target pools. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +197,89 @@ public Builder mergeFrom(TargetPoolAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of TargetPool resources. The key for the map is: Name of the scope containing this set + * of target pools. + */ public Map getItemsMap() { return items; } + /** + * A list of TargetPool resources. The key for the map is: Name of the scope containing this set + * of target pools. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** + * [Output Only] Type of resource. Always compute#targetPoolAggregatedList for aggregated lists + * of target pools. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#targetPoolAggregatedList for aggregated lists + * of target pools. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolInstanceHealth.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolInstanceHealth.java index 0a430e6d8bf7..b98cba266d4a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolInstanceHealth.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolInstanceHealth.java @@ -66,6 +66,10 @@ public List getHealthStatusList() { return healthStatus; } + /** + * [Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the + * health of an instance. + */ public String getKind() { return kind; } @@ -134,10 +138,18 @@ public Builder addHealthStatus(HealthStatus healthStatus) { return this; } + /** + * [Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the + * health of an instance. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the + * health of an instance. + */ public Builder setKind(String kind) { this.kind = kind; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolList.java index 378a8d20d22f..097fe92b2924 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of TargetPool resources. */ public final class TargetPoolList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of TargetPool resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#targetPoolList for lists of target pools. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(TargetPoolList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of TargetPool resources. */ public List getItemsList() { return items; } + /** A list of TargetPool resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of TargetPool resources. */ public Builder addItems(TargetPool items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(TargetPool items) { return this; } + /** [Output Only] Type of resource. Always compute#targetPoolList for lists of target pools. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#targetPoolList for lists of target pools. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddHealthCheckRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddHealthCheckRequest.java index ec9a38554792..accd5bd6148c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddHealthCheckRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddHealthCheckRequest.java @@ -56,6 +56,7 @@ public List getFieldMask() { return null; } + /** The HttpHealthCheck to add to the target pool. */ public List getHealthChecksList() { return healthChecks; } @@ -99,10 +100,12 @@ public Builder mergeFrom(TargetPoolsAddHealthCheckRequest other) { this.healthChecks = source.healthChecks; } + /** The HttpHealthCheck to add to the target pool. */ public List getHealthChecksList() { return healthChecks; } + /** The HttpHealthCheck to add to the target pool. */ public Builder addAllHealthChecks(List healthChecks) { if (this.healthChecks == null) { this.healthChecks = new LinkedList<>(); @@ -111,6 +114,7 @@ public Builder addAllHealthChecks(List healthChecks) { return this; } + /** The HttpHealthCheck to add to the target pool. */ public Builder addHealthChecks(HealthCheckReference healthChecks) { if (this.healthChecks == null) { this.healthChecks = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddInstanceRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddInstanceRequest.java index ccbce2450c6e..e38651937d90 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddInstanceRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsAddInstanceRequest.java @@ -56,6 +56,12 @@ public List getFieldMask() { return null; } + /** + * A full or partial URL to an instance to add to this target pool. This can be a full or partial + * URL. For example, the following are valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project-id/zones/zone/instances/instance-name - + * projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name + */ public List getInstancesList() { return instances; } @@ -99,10 +105,22 @@ public Builder mergeFrom(TargetPoolsAddInstanceRequest other) { this.instances = source.instances; } + /** + * A full or partial URL to an instance to add to this target pool. This can be a full or + * partial URL. For example, the following are valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project-id/zones/zone/instances/instance-name + * - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name + */ public List getInstancesList() { return instances; } + /** + * A full or partial URL to an instance to add to this target pool. This can be a full or + * partial URL. For example, the following are valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project-id/zones/zone/instances/instance-name + * - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name + */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -111,6 +129,12 @@ public Builder addAllInstances(List instances) { return this; } + /** + * A full or partial URL to an instance to add to this target pool. This can be a full or + * partial URL. For example, the following are valid URLs: - + * https://www.googleapis.com/compute/v1/projects/project-id/zones/zone/instances/instance-name + * - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name + */ public Builder addInstances(InstanceReference instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveHealthCheckRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveHealthCheckRequest.java index 9fe4947ec969..a61ed57ed771 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveHealthCheckRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveHealthCheckRequest.java @@ -56,6 +56,12 @@ public List getFieldMask() { return null; } + /** + * Health check URL to be removed. This can be a full or valid partial URL. For example, the + * following are valid URLs: - + * https://www.googleapis.com/compute/beta/projects/project/global/httpHealthChecks/health-check - + * projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check + */ public List getHealthChecksList() { return healthChecks; } @@ -99,10 +105,24 @@ public Builder mergeFrom(TargetPoolsRemoveHealthCheckRequest other) { this.healthChecks = source.healthChecks; } + /** + * Health check URL to be removed. This can be a full or valid partial URL. For example, the + * following are valid URLs: - + * https://www.googleapis.com/compute/beta/projects/project/global/httpHealthChecks/health-check + * - projects/project/global/httpHealthChecks/health-check - + * global/httpHealthChecks/health-check + */ public List getHealthChecksList() { return healthChecks; } + /** + * Health check URL to be removed. This can be a full or valid partial URL. For example, the + * following are valid URLs: - + * https://www.googleapis.com/compute/beta/projects/project/global/httpHealthChecks/health-check + * - projects/project/global/httpHealthChecks/health-check - + * global/httpHealthChecks/health-check + */ public Builder addAllHealthChecks(List healthChecks) { if (this.healthChecks == null) { this.healthChecks = new LinkedList<>(); @@ -111,6 +131,13 @@ public Builder addAllHealthChecks(List healthChecks) { return this; } + /** + * Health check URL to be removed. This can be a full or valid partial URL. For example, the + * following are valid URLs: - + * https://www.googleapis.com/compute/beta/projects/project/global/httpHealthChecks/health-check + * - projects/project/global/httpHealthChecks/health-check - + * global/httpHealthChecks/health-check + */ public Builder addHealthChecks(HealthCheckReference healthChecks) { if (this.healthChecks == null) { this.healthChecks = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveInstanceRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveInstanceRequest.java index 0a68a6ed779a..23044bfb085e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveInstanceRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsRemoveInstanceRequest.java @@ -56,6 +56,7 @@ public List getFieldMask() { return null; } + /** URLs of the instances to be removed from target pool. */ public List getInstancesList() { return instances; } @@ -99,10 +100,12 @@ public Builder mergeFrom(TargetPoolsRemoveInstanceRequest other) { this.instances = source.instances; } + /** URLs of the instances to be removed from target pool. */ public List getInstancesList() { return instances; } + /** URLs of the instances to be removed from target pool. */ public Builder addAllInstances(List instances) { if (this.instances == null) { this.instances = new LinkedList<>(); @@ -111,6 +114,7 @@ public Builder addAllInstances(List instances) { return this; } + /** URLs of the instances to be removed from target pool. */ public Builder addInstances(InstanceReference instances) { if (this.instances == null) { this.instances = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsScopedList.java index 935c558b5c06..ba0117ae7bf0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolsScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** A list of target pools contained in this scope. */ public List getTargetPoolsList() { return targetPools; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(TargetPoolsScopedList other) { this.warning = source.warning; } + /** A list of target pools contained in this scope. */ public List getTargetPoolsList() { return targetPools; } + /** A list of target pools contained in this scope. */ public Builder addAllTargetPools(List targetPools) { if (this.targetPools == null) { this.targetPools = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllTargetPools(List targetPools) { return this; } + /** A list of target pools contained in this scope. */ public Builder addTargetPools(TargetPool targetPools) { if (this.targetPools == null) { this.targetPools = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addTargetPools(TargetPool targetPools) { return this; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Warning getWarning() { return warning; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetBackendServiceRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetBackendServiceRequest.java index c6aafa137509..daaf953d1eb9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetBackendServiceRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetBackendServiceRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** The URL of the new BackendService resource for the targetSslProxy. */ public String getService() { return service; } @@ -98,10 +99,12 @@ public Builder mergeFrom(TargetSslProxiesSetBackendServiceRequest other) { this.service = source.service; } + /** The URL of the new BackendService resource for the targetSslProxy. */ public String getService() { return service; } + /** The URL of the new BackendService resource for the targetSslProxy. */ public Builder setService(String service) { this.service = service; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetProxyHeaderRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetProxyHeaderRequest.java index 87975d5af8c8..589229c6c1eb 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetProxyHeaderRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetProxyHeaderRequest.java @@ -55,6 +55,10 @@ public List getFieldMask() { return null; } + /** + * The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are + * allowed. + */ public String getProxyHeader() { return proxyHeader; } @@ -98,10 +102,18 @@ public Builder mergeFrom(TargetSslProxiesSetProxyHeaderRequest other) { this.proxyHeader = source.proxyHeader; } + /** + * The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 + * are allowed. + */ public String getProxyHeader() { return proxyHeader; } + /** + * The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 + * are allowed. + */ public Builder setProxyHeader(String proxyHeader) { this.proxyHeader = proxyHeader; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetSslCertificatesRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetSslCertificatesRequest.java index f8f0e4a95dc8..5ed2e986ae98 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetSslCertificatesRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxiesSetSslCertificatesRequest.java @@ -56,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * New set of URLs to SslCertificate resources to associate with this TargetSslProxy. Currently + * exactly one ssl certificate must be specified. + */ public List getSslCertificatesList() { return sslCertificates; } @@ -99,10 +103,18 @@ public Builder mergeFrom(TargetSslProxiesSetSslCertificatesRequest other) { this.sslCertificates = source.sslCertificates; } + /** + * New set of URLs to SslCertificate resources to associate with this TargetSslProxy. Currently + * exactly one ssl certificate must be specified. + */ public List getSslCertificatesList() { return sslCertificates; } + /** + * New set of URLs to SslCertificate resources to associate with this TargetSslProxy. Currently + * exactly one ssl certificate must be specified. + */ public Builder addAllSslCertificates(List sslCertificates) { if (this.sslCertificates == null) { this.sslCertificates = new LinkedList<>(); @@ -111,6 +123,10 @@ public Builder addAllSslCertificates(List sslCertificates) { return this; } + /** + * New set of URLs to SslCertificate resources to associate with this TargetSslProxy. Currently + * exactly one ssl certificate must be specified. + */ public Builder addSslCertificates(String sslCertificates) { if (this.sslCertificates == null) { this.sslCertificates = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxy.java index 57079782b4a2..436148c7ff33 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxy.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A TargetSslProxy resource. This resource defines an SSL proxy. (== resource_for + * beta.targetSslProxies ==) (== resource_for v1.targetSslProxies ==) + */ public final class TargetSslProxy implements ApiMessage { private final String creationTimestamp; private final String description; @@ -120,42 +124,72 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE or + * PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** URL to the BackendService resource. */ public String getService() { return service; } + /** + * URLs to SslCertificate resources that are used to authenticate connections to Backends. At + * least one SSL certificate must be specified. Currently, you may specify up to 15 SSL + * certificates. + */ public List getSslCertificatesList() { return sslCertificates; } + /** + * URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, + * the TargetSslProxy resource will not have any SSL policy configured. + */ public String getSslPolicy() { return sslPolicy; } @@ -244,82 +278,136 @@ public Builder mergeFrom(TargetSslProxy other) { this.sslPolicy = source.sslPolicy; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public Builder setProxyHeader(String proxyHeader) { this.proxyHeader = proxyHeader; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** URL to the BackendService resource. */ public String getService() { return service; } + /** URL to the BackendService resource. */ public Builder setService(String service) { this.service = service; return this; } + /** + * URLs to SslCertificate resources that are used to authenticate connections to Backends. At + * least one SSL certificate must be specified. Currently, you may specify up to 15 SSL + * certificates. + */ public List getSslCertificatesList() { return sslCertificates; } + /** + * URLs to SslCertificate resources that are used to authenticate connections to Backends. At + * least one SSL certificate must be specified. Currently, you may specify up to 15 SSL + * certificates. + */ public Builder addAllSslCertificates(List sslCertificates) { if (this.sslCertificates == null) { this.sslCertificates = new LinkedList<>(); @@ -328,6 +416,11 @@ public Builder addAllSslCertificates(List sslCertificates) { return this; } + /** + * URLs to SslCertificate resources that are used to authenticate connections to Backends. At + * least one SSL certificate must be specified. Currently, you may specify up to 15 SSL + * certificates. + */ public Builder addSslCertificates(String sslCertificates) { if (this.sslCertificates == null) { this.sslCertificates = new LinkedList<>(); @@ -336,10 +429,18 @@ public Builder addSslCertificates(String sslCertificates) { return this; } + /** + * URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not + * set, the TargetSslProxy resource will not have any SSL policy configured. + */ public String getSslPolicy() { return sslPolicy; } + /** + * URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not + * set, the TargetSslProxy resource will not have any SSL policy configured. + */ public Builder setSslPolicy(String sslPolicy) { this.sslPolicy = sslPolicy; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyList.java index 3a858dce69b1..7513e0e3fee0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of TargetSslProxy resources. */ public final class TargetSslProxyList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of TargetSslProxy resources. */ public List getItemsList() { return items; } + /** Type of 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(TargetSslProxyList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of TargetSslProxy resources. */ public List getItemsList() { return items; } + /** A list of TargetSslProxy resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of TargetSslProxy resources. */ public Builder addItems(TargetSslProxy items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(TargetSslProxy items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetBackendServiceRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetBackendServiceRequest.java index 1411095e9dcf..bcb77cf781ce 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetBackendServiceRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetBackendServiceRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** The URL of the new BackendService resource for the targetTcpProxy. */ public String getService() { return service; } @@ -98,10 +99,12 @@ public Builder mergeFrom(TargetTcpProxiesSetBackendServiceRequest other) { this.service = source.service; } + /** The URL of the new BackendService resource for the targetTcpProxy. */ public String getService() { return service; } + /** The URL of the new BackendService resource for the targetTcpProxy. */ public Builder setService(String service) { this.service = service; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetProxyHeaderRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetProxyHeaderRequest.java index 45897e36da21..d653593a2f3d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetProxyHeaderRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxiesSetProxyHeaderRequest.java @@ -55,6 +55,10 @@ public List getFieldMask() { return null; } + /** + * The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are + * allowed. + */ public String getProxyHeader() { return proxyHeader; } @@ -98,10 +102,18 @@ public Builder mergeFrom(TargetTcpProxiesSetProxyHeaderRequest other) { this.proxyHeader = source.proxyHeader; } + /** + * The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 + * are allowed. + */ public String getProxyHeader() { return proxyHeader; } + /** + * The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 + * are allowed. + */ public Builder setProxyHeader(String proxyHeader) { this.proxyHeader = proxyHeader; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxy.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxy.java index d9008fc2a744..167ef59a0e0a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxy.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxy.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A TargetTcpProxy resource. This resource defines a TCP proxy. (== resource_for + * beta.targetTcpProxies ==) (== resource_for v1.targetTcpProxies ==) + */ public final class TargetTcpProxy implements ApiMessage { private final String creationTimestamp; private final String description; @@ -105,34 +109,55 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#targetTcpProxy for target TCP proxies. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE or + * PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** URL to the BackendService resource. */ public String getService() { return service; } @@ -211,73 +236,117 @@ public Builder mergeFrom(TargetTcpProxy other) { this.service = source.service; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#targetTcpProxy for target TCP proxies. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#targetTcpProxy for target TCP proxies. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public String getProxyHeader() { return proxyHeader; } + /** + * Specifies the type of proxy header to append before sending data to the backend, either NONE + * or PROXY_V1. The default is NONE. + */ public Builder setProxyHeader(String proxyHeader) { this.proxyHeader = proxyHeader; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** URL to the BackendService resource. */ public String getService() { return service; } + /** URL to the BackendService resource. */ public Builder setService(String service) { this.service = service; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyList.java index 36b676bf85e8..628df3b9f178 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of TargetTcpProxy resources. */ public final class TargetTcpProxyList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of TargetTcpProxy resources. */ public List getItemsList() { return items; } + /** Type of 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(TargetTcpProxyList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of TargetTcpProxy resources. */ public List getItemsList() { return items; } + /** A list of TargetTcpProxy resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of TargetTcpProxy resources. */ public Builder addItems(TargetTcpProxy items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(TargetTcpProxy items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGateway.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGateway.java index f066e462c212..3d9c26a146f0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGateway.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGateway.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * Represents a Target VPN gateway resource. (== resource_for beta.targetVpnGateways ==) (== + * resource_for v1.targetVpnGateways ==) + */ public final class TargetVpnGateway implements ApiMessage { private final String creationTimestamp; private final String description; @@ -127,46 +131,79 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * [Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using + * compute.forwardingRules.insert and associated to a VPN gateway. + */ public List getForwardingRulesList() { return forwardingRules; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * URL of the network to which this VPN gateway is attached. Provided by the client when the VPN + * gateway is created. + */ public String getNetwork() { return network; } + /** + * [Output Only] URL of the region where the target VPN gateway resides. You must specify this + * field as part of the HTTP request URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] The status of the VPN gateway. */ public String getStatus() { return status; } + /** + * [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using + * compute.vpntunnels.insert method and associated to a VPN gateway. + */ public List getTunnelsList() { return tunnels; } @@ -260,28 +297,44 @@ public Builder mergeFrom(TargetVpnGateway other) { this.tunnels = source.tunnels; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created + * using compute.forwardingRules.insert and associated to a VPN gateway. + */ public List getForwardingRulesList() { return forwardingRules; } + /** + * [Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created + * using compute.forwardingRules.insert and associated to a VPN gateway. + */ public Builder addAllForwardingRules(List forwardingRules) { if (this.forwardingRules == null) { this.forwardingRules = new LinkedList<>(); @@ -290,6 +343,10 @@ public Builder addAllForwardingRules(List forwardingRules) { return this; } + /** + * [Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created + * using compute.forwardingRules.insert and associated to a VPN gateway. + */ public Builder addForwardingRules(String forwardingRules) { if (this.forwardingRules == null) { this.forwardingRules = new LinkedList<>(); @@ -298,73 +355,125 @@ public Builder addForwardingRules(String forwardingRules) { return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** + * URL of the network to which this VPN gateway is attached. Provided by the client when the VPN + * gateway is created. + */ public String getNetwork() { return network; } + /** + * URL of the network to which this VPN gateway is attached. Provided by the client when the VPN + * gateway is created. + */ public Builder setNetwork(String network) { this.network = network; return this; } + /** + * [Output Only] URL of the region where the target VPN gateway resides. You must specify this + * field as part of the HTTP request URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] URL of the region where the target VPN gateway resides. You must specify this + * field as part of the HTTP request URL. It is not settable as a field in the request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] The status of the VPN gateway. */ public String getStatus() { return status; } + /** [Output Only] The status of the VPN gateway. */ public Builder setStatus(String status) { this.status = status; return this; } + /** + * [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using + * compute.vpntunnels.insert method and associated to a VPN gateway. + */ public List getTunnelsList() { return tunnels; } + /** + * [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using + * compute.vpntunnels.insert method and associated to a VPN gateway. + */ public Builder addAllTunnels(List tunnels) { if (this.tunnels == null) { this.tunnels = new LinkedList<>(); @@ -373,6 +482,10 @@ public Builder addAllTunnels(List tunnels) { return this; } + /** + * [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using + * compute.vpntunnels.insert method and associated to a VPN gateway. + */ public Builder addTunnels(String tunnels) { if (this.tunnels == null) { this.tunnels = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayAggregatedList.java index 25855bea964e..b8180cb0d238 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayAggregatedList.java @@ -92,26 +92,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of TargetVpnGateway resources. The key for the map is: [Output Only] Name of the scope + * containing this set of target VPN gateways. + */ public Map getItemsMap() { return items; } + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +194,83 @@ public Builder mergeFrom(TargetVpnGatewayAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of TargetVpnGateway resources. The key for the map is: [Output Only] Name of the scope + * containing this set of target VPN gateways. + */ public Map getItemsMap() { return items; } + /** + * A list of TargetVpnGateway resources. The key for the map is: [Output Only] Name of the scope + * containing this set of target VPN gateways. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayList.java index fbbb626a28a5..94d7335f948a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of TargetVpnGateway resources. */ public final class TargetVpnGatewayList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of TargetVpnGateway resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(TargetVpnGatewayList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of TargetVpnGateway resources. */ public List getItemsList() { return items; } + /** A list of TargetVpnGateway resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of TargetVpnGateway resources. */ public Builder addItems(TargetVpnGateway items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(TargetVpnGateway items) { return this; } + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewaysScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewaysScopedList.java index b8c376d6dc9d..e73c87b5ffd9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewaysScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewaysScopedList.java @@ -62,10 +62,15 @@ public List getFieldMask() { return null; } + /** [Output Only] A list of target vpn gateways contained in this scope. */ public List getTargetVpnGatewaysList() { return targetVpnGateways; } + /** + * [Output Only] Informational warning which replaces the list of addresses when the list is + * empty. + */ public Warning getWarning() { return warning; } @@ -114,10 +119,12 @@ public Builder mergeFrom(TargetVpnGatewaysScopedList other) { this.warning = source.warning; } + /** [Output Only] A list of target vpn gateways contained in this scope. */ public List getTargetVpnGatewaysList() { return targetVpnGateways; } + /** [Output Only] A list of target vpn gateways contained in this scope. */ public Builder addAllTargetVpnGateways(List targetVpnGateways) { if (this.targetVpnGateways == null) { this.targetVpnGateways = new LinkedList<>(); @@ -126,6 +133,7 @@ public Builder addAllTargetVpnGateways(List targetVpnGateways) return this; } + /** [Output Only] A list of target vpn gateways contained in this scope. */ public Builder addTargetVpnGateways(TargetVpnGateway targetVpnGateways) { if (this.targetVpnGateways == null) { this.targetVpnGateways = new LinkedList<>(); @@ -134,10 +142,18 @@ public Builder addTargetVpnGateways(TargetVpnGateway targetVpnGateways) { return this; } + /** + * [Output Only] Informational warning which replaces the list of addresses when the list is + * empty. + */ public Warning getWarning() { return warning; } + /** + * [Output Only] Informational warning which replaces the list of addresses when the list is + * empty. + */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsDiskHttpRequest.java index 27e222c494b1..d0e2b502596e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsDiskHttpRequest.java @@ -116,30 +116,44 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsDiskHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/disks/{resource}/testIamPermissions`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsImageHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsImageHttpRequest.java index 5a95f59e0cc6..484a84ed091e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsImageHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsImageHttpRequest.java @@ -116,30 +116,44 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsImageHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/images/{resource}/testIamPermissions`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceHttpRequest.java index 18f8dbd025b0..07977dddd621 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceHttpRequest.java @@ -116,30 +116,44 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsInstanceHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/instances/{resource}/testIamPermissions`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceTemplateHttpRequest.java index d2b2e628d070..e398c09367be 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsInstanceTemplateHttpRequest.java @@ -116,30 +116,44 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/instanceTemplates/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsInstanceTemplateHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/instanceTemplates/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/instanceTemplates/{resource}/testIamPermissions`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseCodeHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseCodeHttpRequest.java index e78ea523c2b0..04e5ee8069ea 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseCodeHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseCodeHttpRequest.java @@ -116,30 +116,44 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenseCodes/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsLicenseCodeHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenseCodes/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenseCodes/{resource}/testIamPermissions`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseHttpRequest.java index c56335305e36..842bbdf0a929 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsLicenseHttpRequest.java @@ -116,30 +116,44 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenses/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsLicenseHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenses/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/licenses/{resource}/testIamPermissions`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeGroupHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeGroupHttpRequest.java index 3370a1859f52..05a4c8badc1d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeGroupHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeGroupHttpRequest.java @@ -116,30 +116,44 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsNodeGroupHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeTemplateHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeTemplateHttpRequest.java index e0e867c2c64d..cb17db86e787 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeTemplateHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNodeTemplateHttpRequest.java @@ -116,30 +116,44 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsNodeTemplateHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionDiskHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionDiskHttpRequest.java index 88b3c4008df4..035899c61f78 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionDiskHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionDiskHttpRequest.java @@ -116,30 +116,44 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/disks/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsRegionDiskHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/disks/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/disks/{resource}/testIamPermissions`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSnapshotHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSnapshotHttpRequest.java index 3d2d38eee5db..1c80d2afc3d6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSnapshotHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSnapshotHttpRequest.java @@ -116,30 +116,44 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsSnapshotHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/global/snapshots/{resource}/testIamPermissions`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSubnetworkHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSubnetworkHttpRequest.java index 71caa8254329..7709ccf60ca7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSubnetworkHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsSubnetworkHttpRequest.java @@ -116,30 +116,44 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/subnetworks/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } @@ -148,6 +162,7 @@ public TestPermissionsRequest getTestPermissionsRequestResource() { return testPermissionsRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -231,64 +246,92 @@ public Builder mergeFrom(TestIamPermissionsSubnetworkHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/subnetworks/{resource}/testIamPermissions`. \`{resource}\` 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 getResource() { return resource; } + /** + * Name or id of the resource for this request. It must have the format + * `{project}/regions/{region}/subnetworks/{resource}/testIamPermissions`. \`{resource}\` 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 setResource(String resource) { this.resource = resource; return this; @@ -304,10 +347,12 @@ public Builder setTestPermissionsRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsRequest.java index 475355b7a7b6..210486e2605e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsRequest.java @@ -56,6 +56,10 @@ public List getFieldMask() { return null; } + /** + * The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' + * or 'storage.*') are not allowed. + */ public List getPermissionsList() { return permissions; } @@ -99,10 +103,18 @@ public Builder mergeFrom(TestPermissionsRequest other) { this.permissions = source.permissions; } + /** + * The set of permissions to check for the 'resource'. Permissions with wildcards (such as + * '*' or 'storage.*') are not allowed. + */ public List getPermissionsList() { return permissions; } + /** + * The set of permissions to check for the 'resource'. Permissions with wildcards (such as + * '*' or 'storage.*') are not allowed. + */ public Builder addAllPermissions(List permissions) { if (this.permissions == null) { this.permissions = new LinkedList<>(); @@ -111,6 +123,10 @@ public Builder addAllPermissions(List permissions) { return this; } + /** + * The set of permissions to check for the 'resource'. Permissions with wildcards (such as + * '*' or 'storage.*') are not allowed. + */ public Builder addPermissions(String permissions) { if (this.permissions == null) { this.permissions = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsResponse.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsResponse.java index 270011665c85..bde487829b35 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsResponse.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TestPermissionsResponse.java @@ -56,6 +56,7 @@ public List getFieldMask() { return null; } + /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */ public List getPermissionsList() { return permissions; } @@ -99,10 +100,12 @@ public Builder mergeFrom(TestPermissionsResponse other) { this.permissions = source.permissions; } + /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */ public List getPermissionsList() { return permissions; } + /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */ public Builder addAllPermissions(List permissions) { if (this.permissions == null) { this.permissions = new LinkedList<>(); @@ -111,6 +114,7 @@ public Builder addAllPermissions(List permissions) { return this; } + /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */ public Builder addPermissions(String permissions) { if (this.permissions == null) { this.permissions = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAccessConfigInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAccessConfigInstanceHttpRequest.java index 9c785944ecaa..41e3876fae66 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAccessConfigInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAccessConfigInstanceHttpRequest.java @@ -131,46 +131,79 @@ public List getFieldMask() { return null; } + /** + * An access configuration attached to an instance's network interface. Only one access config per + * instance is supported. + */ public AccessConfig getAccessConfigResource() { return accessConfigResource; } + /** 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; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/updateAccessConfig`. \`{instance}\` 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 getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** The name of the network interface where the access config is attached. */ public String getNetworkInterface() { return networkInterface; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -264,100 +297,166 @@ public Builder mergeFrom(UpdateAccessConfigInstanceHttpRequest other) { this.userIp = source.userIp; } + /** + * An access configuration attached to an instance's network interface. Only one access config + * per instance is supported. + */ public AccessConfig getAccessConfigResource() { return accessConfigResource; } + /** + * An access configuration attached to an instance's network interface. Only one access config + * per instance is supported. + */ public Builder setAccessConfigResource(AccessConfig accessConfigResource) { this.accessConfigResource = accessConfigResource; return this; } + /** 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; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/updateAccessConfig`. \`{instance}\` 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 getInstance() { return instance; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/updateAccessConfig`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; 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 name of the network interface where the access config is attached. */ public String getNetworkInterface() { return networkInterface; } + /** The name of the network interface where the access config is attached. */ public Builder setNetworkInterface(String networkInterface) { this.networkInterface = networkInterface; 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAutoscalerHttpRequest.java index fa85d9a893ae..15d3516dd5d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateAutoscalerHttpRequest.java @@ -132,18 +132,28 @@ public Autoscaler getApiMessageRequestBody() { return autoscalerResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the autoscaler to update. */ public String getAutoscaler() { return autoscaler; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual machine + * instances in managed instance groups according to an autoscaling policy that you define. For + * more information, read Autoscaling Groups of Instances. (== resource_for beta.autoscalers ==) + * (== resource_for v1.autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== + * resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -152,30 +162,55 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` 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 getZone() { return zone; } @@ -274,37 +309,57 @@ public Builder mergeFrom(UpdateAutoscalerHttpRequest other) { this.zone = source.zone; } + /** 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 autoscaler to update. */ public String getAutoscaler() { return autoscaler; } + /** Name of the autoscaler to update. */ public Builder setAutoscaler(String autoscaler) { this.autoscaler = autoscaler; return this; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Builder setAutoscalerResource(Autoscaler autoscalerResource) { this.autoscalerResource = autoscalerResource; 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; @@ -330,64 +385,114 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` 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 getZone() { return zone; } + /** + * Name of the zone for this request. It must have the format + * `{project}/zones/{zone}/autoscalers`. \`{zone}\` 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 setZone(String zone) { this.zone = zone; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendBucketHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendBucketHttpRequest.java index 6506eca1462f..bd4b602e7967 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendBucketHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendBucketHttpRequest.java @@ -125,18 +125,29 @@ public BackendBucket getApiMessageRequestBody() { return backendBucketResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendBucket resource to update. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` 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 getBackendBucket() { return backendBucket; } + /** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public BackendBucket getBackendBucketResource() { return backendBucketResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -145,26 +156,44 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -258,37 +287,59 @@ public Builder mergeFrom(UpdateBackendBucketHttpRequest other) { 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 BackendBucket resource to update. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` 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 getBackendBucket() { return backendBucket; } + /** + * Name of the BackendBucket resource to update. It must have the format + * `{project}/global/backendBuckets/{backendBucket}`. \`{backendBucket}\` 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 setBackendBucket(String backendBucket) { this.backendBucket = backendBucket; return this; } + /** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public BackendBucket getBackendBucketResource() { return backendBucketResource; } + /** A BackendBucket resource. This resource defines a Cloud Storage bucket. */ public Builder setBackendBucketResource(BackendBucket backendBucketResource) { this.backendBucketResource = backendBucketResource; 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; @@ -314,55 +365,91 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendServiceHttpRequest.java index d1044c35f33b..007f312e1a50 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateBackendServiceHttpRequest.java @@ -127,18 +127,33 @@ public BackendService getApiMessageRequestBody() { return backendServiceResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to update. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` 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 getBackendService() { return backendService; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and their + * serving capacity. (== resource_for v1.backendService ==) (== resource_for beta.backendService + * ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -147,26 +162,44 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -260,37 +293,67 @@ public Builder mergeFrom(UpdateBackendServiceHttpRequest other) { 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 BackendService resource to update. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` 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 getBackendService() { return backendService; } + /** + * Name of the BackendService resource to update. It must have the format + * `{project}/global/backendServices/{backendService}`. \`{backendService}\` 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 setBackendService(String backendService) { this.backendService = backendService; return this; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public Builder setBackendServiceResource(BackendService backendServiceResource) { this.backendServiceResource = backendServiceResource; 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; @@ -316,55 +379,91 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateFirewallHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateFirewallHttpRequest.java index a941faaf745f..040f1657370e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateFirewallHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateFirewallHttpRequest.java @@ -126,10 +126,12 @@ public Firewall getApiMessageRequestBody() { return firewallResource; } + /** 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; } @@ -138,34 +140,60 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the firewall rule to update. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` 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 getFirewall() { return firewall; } + /** Represents a Firewall resource. */ public Firewall getFirewallResource() { return firewallResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -259,19 +287,23 @@ public Builder mergeFrom(UpdateFirewallHttpRequest other) { 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; @@ -297,73 +329,125 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** + * Name of the firewall rule to update. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` 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 getFirewall() { return firewall; } + /** + * Name of the firewall rule to update. It must have the format + * `{project}/global/firewalls/{firewall}`. \`{firewall}\` 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 setFirewall(String firewall) { this.firewall = firewall; return this; } + /** Represents a Firewall resource. */ public Firewall getFirewallResource() { return firewallResource; } + /** Represents a Firewall resource. */ public Builder setFirewallResource(Firewall firewallResource) { this.firewallResource = firewallResource; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHealthCheckHttpRequest.java index 8943b12d0575..8c8ae8dca00d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHealthCheckHttpRequest.java @@ -125,10 +125,12 @@ public HealthCheck getApiMessageRequestBody() { return healthCheckResource; } + /** 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; } @@ -137,34 +139,63 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the HealthCheck resource to update. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` 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 getHealthCheck() { return healthCheck; } + /** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public HealthCheck getHealthCheckResource() { return healthCheckResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -258,19 +289,23 @@ public Builder mergeFrom(UpdateHealthCheckHttpRequest other) { 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; @@ -296,73 +331,133 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** + * Name of the HealthCheck resource to update. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` 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 getHealthCheck() { return healthCheck; } + /** + * Name of the HealthCheck resource to update. It must have the format + * `{project}/global/healthChecks/{healthCheck}`. \`{healthCheck}\` 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 setHealthCheck(String healthCheck) { this.healthCheck = healthCheck; return this; } + /** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public HealthCheck getHealthCheckResource() { return healthCheckResource; } + /** + * An HealthCheck resource. This resource defines a template for how individual virtual machines + * should be checked for health, via one of the supported protocols. + */ public Builder setHealthCheckResource(HealthCheck healthCheckResource) { this.healthCheckResource = healthCheckResource; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpHealthCheckHttpRequest.java index 907a35c9e1c5..da949df175af 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpHealthCheckHttpRequest.java @@ -125,10 +125,12 @@ public HttpHealthCheck2 getApiMessageRequestBody() { return httpHealthCheckResource; } + /** 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; } @@ -137,34 +139,64 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the HttpHealthCheck resource to update. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` 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 getHttpHealthCheck() { return httpHealthCheck; } + /** + * An HttpHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTP. + */ public HttpHealthCheck2 getHttpHealthCheckResource() { return httpHealthCheckResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -258,19 +290,23 @@ public Builder mergeFrom(UpdateHttpHealthCheckHttpRequest other) { 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; @@ -296,73 +332,133 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** + * Name of the HttpHealthCheck resource to update. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` 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 getHttpHealthCheck() { return httpHealthCheck; } + /** + * Name of the HttpHealthCheck resource to update. It must have the format + * `{project}/global/httpHealthChecks/{httpHealthCheck}`. \`{httpHealthCheck}\` 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 setHttpHealthCheck(String httpHealthCheck) { this.httpHealthCheck = httpHealthCheck; return this; } + /** + * An HttpHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTP. + */ public HttpHealthCheck2 getHttpHealthCheckResource() { return httpHealthCheckResource; } + /** + * An HttpHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTP. + */ public Builder setHttpHealthCheckResource(HttpHealthCheck2 httpHealthCheckResource) { this.httpHealthCheckResource = httpHealthCheckResource; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpsHealthCheckHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpsHealthCheckHttpRequest.java index 687086e43570..0bb77a9f7e71 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpsHealthCheckHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateHttpsHealthCheckHttpRequest.java @@ -125,10 +125,12 @@ public HttpsHealthCheck2 getApiMessageRequestBody() { return httpsHealthCheckResource; } + /** 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; } @@ -137,34 +139,64 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * Name of the HttpsHealthCheck resource to update. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` 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 getHttpsHealthCheck() { return httpsHealthCheck; } + /** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public HttpsHealthCheck2 getHttpsHealthCheckResource() { return httpsHealthCheckResource; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -258,19 +290,23 @@ public Builder mergeFrom(UpdateHttpsHealthCheckHttpRequest other) { 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; @@ -296,73 +332,133 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** + * Name of the HttpsHealthCheck resource to update. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` 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 getHttpsHealthCheck() { return httpsHealthCheck; } + /** + * Name of the HttpsHealthCheck resource to update. It must have the format + * `{project}/global/httpsHealthChecks/{httpsHealthCheck}`. \`{httpsHealthCheck}\` 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 setHttpsHealthCheck(String httpsHealthCheck) { this.httpsHealthCheck = httpsHealthCheck; return this; } + /** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public HttpsHealthCheck2 getHttpsHealthCheckResource() { return httpsHealthCheckResource; } + /** + * An HttpsHealthCheck resource. This resource defines a template for how individual instances + * should be checked for health, via HTTPS. + */ public Builder setHttpsHealthCheckResource(HttpsHealthCheck2 httpsHealthCheckResource) { this.httpsHealthCheckResource = httpsHealthCheckResource; 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateNetworkInterfaceInstanceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateNetworkInterfaceInstanceHttpRequest.java index adf2a8ddbadc..ffe9803d9643 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateNetworkInterfaceInstanceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateNetworkInterfaceInstanceHttpRequest.java @@ -132,10 +132,12 @@ public NetworkInterface getApiMessageRequestBody() { return networkInterfaceResource; } + /** 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; } @@ -144,38 +146,66 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/updateNetworkInterface`. \`{instance}\` 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 getInstance() { return instance; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** The name of the network interface to update. */ public String getNetworkInterface() { return networkInterface; } + /** A network interface resource attached to an instance. */ public NetworkInterface getNetworkInterfaceResource() { return networkInterfaceResource; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -274,19 +304,23 @@ public Builder mergeFrom(UpdateNetworkInterfaceInstanceHttpRequest other) { 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; @@ -312,82 +346,138 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/updateNetworkInterface`. \`{instance}\` 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 getInstance() { return instance; } + /** + * The instance name for this request. It must have the format + * `{project}/zones/{zone}/instances/{instance}/updateNetworkInterface`. \`{instance}\` 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 setInstance(String instance) { this.instance = instance; 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 name of the network interface to update. */ public String getNetworkInterface() { return networkInterface; } + /** The name of the network interface to update. */ public Builder setNetworkInterface(String networkInterface) { this.networkInterface = networkInterface; return this; } + /** A network interface resource attached to an instance. */ public NetworkInterface getNetworkInterfaceResource() { return networkInterfaceResource; } + /** A network interface resource attached to an instance. */ public Builder setNetworkInterfaceResource(NetworkInterface networkInterfaceResource) { this.networkInterfaceResource = networkInterfaceResource; 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionAutoscalerHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionAutoscalerHttpRequest.java index dfbad8583603..666fa7e37831 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionAutoscalerHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionAutoscalerHttpRequest.java @@ -132,18 +132,28 @@ public Autoscaler getApiMessageRequestBody() { return autoscalerResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** Name of the autoscaler to update. */ public String getAutoscaler() { return autoscaler; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual machine + * instances in managed instance groups according to an autoscaling policy that you define. For + * more information, read Autoscaling Groups of Instances. (== resource_for beta.autoscalers ==) + * (== resource_for v1.autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== + * resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -152,30 +162,55 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` 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 getRegion() { return region; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -274,37 +309,57 @@ public Builder mergeFrom(UpdateRegionAutoscalerHttpRequest other) { 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 autoscaler to update. */ public String getAutoscaler() { return autoscaler; } + /** Name of the autoscaler to update. */ public Builder setAutoscaler(String autoscaler) { this.autoscaler = autoscaler; return this; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Autoscaler getAutoscalerResource() { return autoscalerResource; } + /** + * Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual + * machine instances in managed instance groups according to an autoscaling policy that you + * define. For more information, read Autoscaling Groups of Instances. (== resource_for + * beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for + * beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==) + */ public Builder setAutoscalerResource(Autoscaler autoscalerResource) { this.autoscalerResource = autoscalerResource; 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; @@ -330,64 +385,114 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` 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 getRegion() { return region; } + /** + * Name of the region scoping this request. It must have the format + * `{project}/regions/{region}/autoscalers`. \`{region}\` 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 setRegion(String region) { this.region = region; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionBackendServiceHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionBackendServiceHttpRequest.java index a0fbd5a162ff..ce5091451489 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionBackendServiceHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRegionBackendServiceHttpRequest.java @@ -127,18 +127,33 @@ public BackendService getApiMessageRequestBody() { return backendServiceResource; } + /** OAuth 2.0 token for the current user. */ public String getAccessToken() { return access_token; } + /** + * Name of the BackendService resource to update. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` 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 getBackendService() { return backendService; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and their + * serving capacity. (== resource_for v1.backendService ==) (== resource_for beta.backendService + * ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** Name of the JavaScript callback function that handles the response. */ public String getCallback() { return callback; } @@ -147,26 +162,44 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -260,37 +293,67 @@ public Builder mergeFrom(UpdateRegionBackendServiceHttpRequest other) { 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 BackendService resource to update. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` 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 getBackendService() { return backendService; } + /** + * Name of the BackendService resource to update. It must have the format + * `{project}/regions/{region}/backendServices/{backendService}`. \`{backendService}\` 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 setBackendService(String backendService) { this.backendService = backendService; return this; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public BackendService getBackendServiceResource() { return backendServiceResource; } + /** + * A BackendService resource. This resource defines a group of backend virtual machines and + * their serving capacity. (== resource_for v1.backendService ==) (== resource_for + * beta.backendService ==) + */ public Builder setBackendServiceResource(BackendService backendServiceResource) { this.backendServiceResource = backendServiceResource; 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; @@ -316,55 +379,91 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRouterHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRouterHttpRequest.java index 30b61794acf4..fa79404f37ca 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRouterHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateRouterHttpRequest.java @@ -125,10 +125,12 @@ public Router getApiMessageRequestBody() { return routerResource; } + /** 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; } @@ -137,34 +139,60 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the Router resource to update. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` 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 getRouter() { return router; } + /** Router resource. */ public Router getRouterResource() { return routerResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -258,19 +286,23 @@ public Builder mergeFrom(UpdateRouterHttpRequest other) { 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; @@ -296,73 +328,125 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the Router resource to update. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` 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 getRouter() { return router; } + /** + * Name of the Router resource to update. It must have the format + * `{project}/regions/{region}/routers/{router}`. \`{router}\` 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 setRouter(String router) { this.router = router; return this; } + /** Router resource. */ public Router getRouterResource() { return routerResource; } + /** Router resource. */ public Builder setRouterResource(Router routerResource) { this.routerResource = routerResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateUrlMapHttpRequest.java index 26e44eef3764..04a934da33b4 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UpdateUrlMapHttpRequest.java @@ -125,10 +125,12 @@ public UrlMap getApiMessageRequestBody() { return urlMapResource; } + /** 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; } @@ -137,34 +139,63 @@ public List getFieldMask() { return fieldMask; } + /** Selector specifying a subset of fields to include in the response. */ public String getFields() { return fields; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * Name of the UrlMap resource to update. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` 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 getUrlMap() { return urlMap; } + /** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public UrlMap getUrlMapResource() { return urlMapResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -258,19 +289,23 @@ public Builder mergeFrom(UpdateUrlMapHttpRequest other) { 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; @@ -296,73 +331,131 @@ public Builder addFieldMask(String fieldMask) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public String getRequestId() { return requestId; } + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must + * retry your request, the server will know to ignore the request if it has already been + * completed. + * + *

For example, consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the second request. + * This prevents clients from accidentally creating duplicate commitments. + * + *

The request ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ public Builder setRequestId(String requestId) { this.requestId = requestId; return this; } + /** + * Name of the UrlMap resource to update. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` 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 getUrlMap() { return urlMap; } + /** + * Name of the UrlMap resource to update. It must have the format + * `{project}/global/urlMaps/{urlMap}`. \`{urlMap}\` 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 setUrlMap(String urlMap) { this.urlMap = urlMap; return this; } + /** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public UrlMap getUrlMapResource() { return urlMapResource; } + /** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public Builder setUrlMapResource(UrlMap urlMapResource) { this.urlMapResource = urlMapResource; 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMap.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMap.java index 815ab029df18..5a74dbac3845 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMap.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMap.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, + * based on the "longest-match" of the URL's host and path. + */ public final class UrlMap implements ApiMessage { private final String creationTimestamp; private final String defaultService; @@ -127,46 +131,85 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * The full or partial URL of the defaultService resource to which traffic is directed if none of + * the hostRules match. If defaultRouteAction is additionally specified, advanced routing actions + * like URL Rewrites, etc. take effect prior to sending the request to the backend. However, if + * defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. + * Conversely, if routeAction specifies any weightedBackendServices, service must not be + * specified. Only one of defaultService, defaultUrlRedirect or + * defaultRouteAction.weightedBackendService must be set. + */ public String getDefaultService() { return defaultService; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is used + * in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date + * fingerprint must be provided in order to update the UrlMap, otherwise the request will fail + * with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a UrlMap. + */ public String getFingerprint() { return fingerprint; } + /** The list of HostRules to use against the URL. */ public List getHostRulesList() { return hostRules; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#urlMaps for url maps. */ public String getKind() { return kind; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** The list of named PathMatchers to use against the URL. */ public List getPathMatchersList() { return pathMatchers; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * The list of expected URL mapping tests. Request to update this UrlMap will succeed only if all + * of the test cases pass. You can specify a maximum of 100 tests per UrlMap. + */ public List getTestsList() { return tests; } @@ -260,46 +303,90 @@ public Builder mergeFrom(UrlMap other) { this.tests = source.tests; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * The full or partial URL of the defaultService resource to which traffic is directed if none + * of the hostRules match. If defaultRouteAction is additionally specified, advanced routing + * actions like URL Rewrites, etc. take effect prior to sending the request to the backend. + * However, if defaultService is specified, defaultRouteAction cannot contain any + * weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, + * service must not be specified. Only one of defaultService, defaultUrlRedirect or + * defaultRouteAction.weightedBackendService must be set. + */ public String getDefaultService() { return defaultService; } + /** + * The full or partial URL of the defaultService resource to which traffic is directed if none + * of the hostRules match. If defaultRouteAction is additionally specified, advanced routing + * actions like URL Rewrites, etc. take effect prior to sending the request to the backend. + * However, if defaultService is specified, defaultRouteAction cannot contain any + * weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, + * service must not be specified. Only one of defaultService, defaultUrlRedirect or + * defaultRouteAction.weightedBackendService must be set. + */ public Builder setDefaultService(String defaultService) { this.defaultService = defaultService; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is + * used in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date + * fingerprint must be provided in order to update the UrlMap, otherwise the request will fail + * with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a UrlMap. + */ public String getFingerprint() { return fingerprint; } + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is + * used in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date + * fingerprint must be provided in order to update the UrlMap, otherwise the request will fail + * with error 412 conditionNotMet. + * + *

To see the latest fingerprint, make a get() request to retrieve a UrlMap. + */ public Builder setFingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } + /** The list of HostRules to use against the URL. */ public List getHostRulesList() { return hostRules; } + /** The list of HostRules to use against the URL. */ public Builder addAllHostRules(List hostRules) { if (this.hostRules == null) { this.hostRules = new LinkedList<>(); @@ -308,6 +395,7 @@ public Builder addAllHostRules(List hostRules) { return this; } + /** The list of HostRules to use against the URL. */ public Builder addHostRules(HostRule hostRules) { if (this.hostRules == null) { this.hostRules = new LinkedList<>(); @@ -316,37 +404,63 @@ public Builder addHostRules(HostRule hostRules) { return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#urlMaps for url maps. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#urlMaps for url maps. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** The list of named PathMatchers to use against the URL. */ public List getPathMatchersList() { return pathMatchers; } + /** The list of named PathMatchers to use against the URL. */ public Builder addAllPathMatchers(List pathMatchers) { if (this.pathMatchers == null) { this.pathMatchers = new LinkedList<>(); @@ -355,6 +469,7 @@ public Builder addAllPathMatchers(List pathMatchers) { return this; } + /** The list of named PathMatchers to use against the URL. */ public Builder addPathMatchers(PathMatcher pathMatchers) { if (this.pathMatchers == null) { this.pathMatchers = new LinkedList<>(); @@ -363,19 +478,29 @@ public Builder addPathMatchers(PathMatcher pathMatchers) { return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * The list of expected URL mapping tests. Request to update this UrlMap will succeed only if + * all of the test cases pass. You can specify a maximum of 100 tests per UrlMap. + */ public List getTestsList() { return tests; } + /** + * The list of expected URL mapping tests. Request to update this UrlMap will succeed only if + * all of the test cases pass. You can specify a maximum of 100 tests per UrlMap. + */ public Builder addAllTests(List tests) { if (this.tests == null) { this.tests = new LinkedList<>(); @@ -384,6 +509,10 @@ public Builder addAllTests(List tests) { return this; } + /** + * The list of expected URL mapping tests. Request to update this UrlMap will succeed only if + * all of the test cases pass. You can specify a maximum of 100 tests per UrlMap. + */ public Builder addTests(UrlMapTest tests) { if (this.tests == null) { this.tests = new LinkedList<>(); diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapList.java index 078bfe21f64c..3644cd829565 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of UrlMap resources. */ public final class UrlMapList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of UrlMap resources. */ public List getItemsList() { return items; } + /** Type of 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(UrlMapList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of UrlMap resources. */ public List getItemsList() { return items; } + /** A list of UrlMap resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of UrlMap resources. */ public Builder addItems(UrlMap items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(UrlMap items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapTest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapTest.java index 860e64d16f91..705671a1e7d7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapTest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapTest.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Message for the expected URL mappings. */ public final class UrlMapTest implements ApiMessage { private final String description; private final String host; @@ -73,18 +74,22 @@ public List getFieldMask() { return null; } + /** Description of this test case. */ public String getDescription() { return description; } + /** Host portion of the URL. */ public String getHost() { return host; } + /** Path portion of the URL. */ public String getPath() { return path; } + /** Expected BackendService resource the given URL should be mapped to. */ public String getService() { return service; } @@ -143,37 +148,45 @@ public Builder mergeFrom(UrlMapTest other) { this.service = source.service; } + /** Description of this test case. */ public String getDescription() { return description; } + /** Description of this test case. */ public Builder setDescription(String description) { this.description = description; return this; } + /** Host portion of the URL. */ public String getHost() { return host; } + /** Host portion of the URL. */ public Builder setHost(String host) { this.host = host; return this; } + /** Path portion of the URL. */ public String getPath() { return path; } + /** Path portion of the URL. */ public Builder setPath(String path) { this.path = path; return this; } + /** Expected BackendService resource the given URL should be mapped to. */ public String getService() { return service; } + /** Expected BackendService resource the given URL should be mapped to. */ public Builder setService(String service) { this.service = service; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapValidationResult.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapValidationResult.java index 223486366667..b1f4d2fe3cd7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapValidationResult.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapValidationResult.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Message representing the validation result for a UrlMap. */ public final class UrlMapValidationResult implements ApiMessage { private final List loadErrors; private final Boolean loadSucceeded; @@ -82,6 +83,10 @@ public List getLoadErrorsList() { return loadErrors; } + /** + * Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the + * reasons. + */ public Boolean getLoadSucceeded() { return loadSucceeded; } @@ -90,6 +95,10 @@ public List getTestFailuresList() { return testFailures; } + /** + * If successfully loaded, this field indicates whether the test passed. If false, 'testFailures's + * indicate the reason of failure. + */ public Boolean getTestPassed() { return testPassed; } @@ -168,10 +177,18 @@ public Builder addLoadErrors(String loadErrors) { return this; } + /** + * Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the + * reasons. + */ public Boolean getLoadSucceeded() { return loadSucceeded; } + /** + * Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the + * reasons. + */ public Builder setLoadSucceeded(Boolean loadSucceeded) { this.loadSucceeded = loadSucceeded; return this; @@ -197,10 +214,18 @@ public Builder addTestFailures(TestFailure testFailures) { return this; } + /** + * If successfully loaded, this field indicates whether the test passed. If false, + * 'testFailures's indicate the reason of failure. + */ public Boolean getTestPassed() { return testPassed; } + /** + * If successfully loaded, this field indicates whether the test passed. If false, + * 'testFailures's indicate the reason of failure. + */ public Builder setTestPassed(Boolean testPassed) { this.testPassed = testPassed; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequest.java index 0737be7bbc10..071191bc515e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequest.java @@ -55,6 +55,7 @@ public List getFieldMask() { return null; } + /** Content of the UrlMap to be validated. */ public UrlMap getResource() { return resource; } @@ -98,10 +99,12 @@ public Builder mergeFrom(UrlMapsValidateRequest other) { this.resource = source.resource; } + /** Content of the UrlMap to be validated. */ public UrlMap getResource() { return resource; } + /** Content of the UrlMap to be validated. */ public Builder setResource(UrlMap resource) { this.resource = resource; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetwork.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetwork.java index a5f733943a9d..c4a185f6845f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetwork.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetwork.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Subnetwork which the current user has compute.subnetworks.use permission on. */ public final class UsableSubnetwork implements ApiMessage { private final String ipCidrRange; private final String network; @@ -78,18 +79,22 @@ public List getFieldMask() { return null; } + /** The range of internal addresses that are owned by this subnetwork. */ public String getIpCidrRange() { return ipCidrRange; } + /** Network URL. */ public String getNetwork() { return network; } + /** Secondary IP ranges. */ public List getSecondaryIpRangesList() { return secondaryIpRanges; } + /** Subnetwork URL. */ public String getSubnetwork() { return subnetwork; } @@ -148,28 +153,34 @@ public Builder mergeFrom(UsableSubnetwork other) { this.subnetwork = source.subnetwork; } + /** The range of internal addresses that are owned by this subnetwork. */ public String getIpCidrRange() { return ipCidrRange; } + /** The range of internal addresses that are owned by this subnetwork. */ public Builder setIpCidrRange(String ipCidrRange) { this.ipCidrRange = ipCidrRange; return this; } + /** Network URL. */ public String getNetwork() { return network; } + /** Network URL. */ public Builder setNetwork(String network) { this.network = network; return this; } + /** Secondary IP ranges. */ public List getSecondaryIpRangesList() { return secondaryIpRanges; } + /** Secondary IP ranges. */ public Builder addAllSecondaryIpRanges(List secondaryIpRanges) { if (this.secondaryIpRanges == null) { this.secondaryIpRanges = new LinkedList<>(); @@ -178,6 +189,7 @@ public Builder addAllSecondaryIpRanges(List seco return this; } + /** Secondary IP ranges. */ public Builder addSecondaryIpRanges(UsableSubnetworkSecondaryRange secondaryIpRanges) { if (this.secondaryIpRanges == null) { this.secondaryIpRanges = new LinkedList<>(); @@ -186,10 +198,12 @@ public Builder addSecondaryIpRanges(UsableSubnetworkSecondaryRange secondaryIpRa return this; } + /** Subnetwork URL. */ public String getSubnetwork() { return subnetwork; } + /** Subnetwork URL. */ public Builder setSubnetwork(String subnetwork) { this.subnetwork = subnetwork; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworkSecondaryRange.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworkSecondaryRange.java index 9d2701a10d0f..2ec77f6f5d0c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworkSecondaryRange.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworkSecondaryRange.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Secondary IP range of a usable subnetwork. */ public final class UsableSubnetworkSecondaryRange implements ApiMessage { private final String ipCidrRange; private final String rangeName; @@ -61,10 +62,16 @@ public List getFieldMask() { return null; } + /** The range of IP addresses belonging to this subnetwork secondary range. */ public String getIpCidrRange() { return ipCidrRange; } + /** + * The name associated with this subnetwork secondary range, used when adding an alias IP range to + * a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be + * unique within the subnetwork. + */ public String getRangeName() { return rangeName; } @@ -113,19 +120,31 @@ public Builder mergeFrom(UsableSubnetworkSecondaryRange other) { this.rangeName = source.rangeName; } + /** The range of IP addresses belonging to this subnetwork secondary range. */ public String getIpCidrRange() { return ipCidrRange; } + /** The range of IP addresses belonging to this subnetwork secondary range. */ public Builder setIpCidrRange(String ipCidrRange) { this.ipCidrRange = ipCidrRange; return this; } + /** + * The name associated with this subnetwork secondary range, used when adding an alias IP range + * to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name + * must be unique within the subnetwork. + */ public String getRangeName() { return rangeName; } + /** + * The name associated with this subnetwork secondary range, used when adding an alias IP range + * to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name + * must be unique within the subnetwork. + */ public Builder setRangeName(String rangeName) { this.rangeName = rangeName; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworksAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworksAggregatedList.java index 5b21b4e4b913..a13f79ebe830 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworksAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsableSubnetworksAggregatedList.java @@ -92,26 +92,42 @@ public List getFieldMask() { return null; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output] A list of usable subnetwork URLs. */ public List getItemsList() { return items; } + /** + * [Output Only] Type of resource. Always compute#usableSubnetworksAggregatedList for aggregated + * lists of usable subnetworks. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +196,29 @@ public Builder mergeFrom(UsableSubnetworksAggregatedList other) { this.warning = source.warning; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output] A list of usable subnetwork URLs. */ public List getItemsList() { return items; } + /** [Output] A list of usable subnetwork URLs. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +227,7 @@ public Builder addAllItems(List items) { return this; } + /** [Output] A list of usable subnetwork URLs. */ public Builder addItems(UsableSubnetwork items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +236,61 @@ public Builder addItems(UsableSubnetwork items) { return this; } + /** + * [Output Only] Type of resource. Always compute#usableSubnetworksAggregatedList for aggregated + * lists of usable subnetworks. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#usableSubnetworksAggregatedList for aggregated + * lists of usable subnetworks. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsageExportLocation.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsageExportLocation.java index 10d5c03109a7..8039d9e656a9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsageExportLocation.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UsageExportLocation.java @@ -24,6 +24,10 @@ @Generated("by GAPIC") @BetaApi +/** + * The location in Cloud Storage and naming method of the daily usage report. Contains bucket_name + * and report_name prefix. + */ public final class UsageExportLocation implements ApiMessage { private final String bucketName; private final String reportNamePrefix; @@ -61,10 +65,22 @@ public List getFieldMask() { return null; } + /** + * The name of an existing bucket in Cloud Storage where the usage report object is stored. The + * Google Service Account is granted write access to this bucket. This can either be the bucket + * name by itself, such as example-bucket, or the bucket name with gs:// or + * https://storage.googleapis.com/ in front of it, such as gs://example-bucket. + */ public String getBucketName() { return bucketName; } + /** + * An optional prefix for the name of the usage report object stored in bucketName. If not + * supplied, defaults to usage. The report is stored as a CSV file named + * report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific + * Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions. + */ public String getReportNamePrefix() { return reportNamePrefix; } @@ -113,19 +129,45 @@ public Builder mergeFrom(UsageExportLocation other) { this.reportNamePrefix = source.reportNamePrefix; } + /** + * The name of an existing bucket in Cloud Storage where the usage report object is stored. The + * Google Service Account is granted write access to this bucket. This can either be the bucket + * name by itself, such as example-bucket, or the bucket name with gs:// or + * https://storage.googleapis.com/ in front of it, such as gs://example-bucket. + */ public String getBucketName() { return bucketName; } + /** + * The name of an existing bucket in Cloud Storage where the usage report object is stored. The + * Google Service Account is granted write access to this bucket. This can either be the bucket + * name by itself, such as example-bucket, or the bucket name with gs:// or + * https://storage.googleapis.com/ in front of it, such as gs://example-bucket. + */ public Builder setBucketName(String bucketName) { this.bucketName = bucketName; return this; } + /** + * An optional prefix for the name of the usage report object stored in bucketName. If not + * supplied, defaults to usage. The report is stored as a CSV file named + * report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to + * Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming + * conventions. + */ public String getReportNamePrefix() { return reportNamePrefix; } + /** + * An optional prefix for the name of the usage report object stored in bucketName. If not + * supplied, defaults to usage. The report is stored as a CSV file named + * report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to + * Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming + * conventions. + */ public Builder setReportNamePrefix(String reportNamePrefix) { this.reportNamePrefix = reportNamePrefix; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ValidateUrlMapHttpRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ValidateUrlMapHttpRequest.java index 2cbced246f9a..8ba680b9c2e7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ValidateUrlMapHttpRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ValidateUrlMapHttpRequest.java @@ -117,30 +117,43 @@ 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; } + /** API key. Required unless you provide an OAuth 2.0 token. */ public String getKey() { return key; } + /** Returns response with indentations and line breaks. */ public String getPrettyPrint() { return prettyPrint; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** + * Name of the UrlMap resource to be validated as. It must have the format + * `{project}/global/urlMaps/{urlMap}/validate`. \`{urlMap}\` 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 getUrlMap() { return urlMap; } @@ -149,6 +162,7 @@ public UrlMapsValidateRequest getUrlMapsValidateRequestResource() { return urlMapsValidateRequestResource; } + /** IP address of the end user for whom the API call is being made. */ public String getUserIp() { return userIp; } @@ -232,64 +246,90 @@ public Builder mergeFrom(ValidateUrlMapHttpRequest other) { 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; } + /** 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; } + /** 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; } + /** Alternative to userIp. */ public String getQuotaUser() { return quotaUser; } + /** Alternative to userIp. */ public Builder setQuotaUser(String quotaUser) { this.quotaUser = quotaUser; return this; } + /** + * Name of the UrlMap resource to be validated as. It must have the format + * `{project}/global/urlMaps/{urlMap}/validate`. \`{urlMap}\` 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 getUrlMap() { return urlMap; } + /** + * Name of the UrlMap resource to be validated as. It must have the format + * `{project}/global/urlMaps/{urlMap}/validate`. \`{urlMap}\` 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 setUrlMap(String urlMap) { this.urlMap = urlMap; return this; @@ -305,10 +345,12 @@ public Builder setUrlMapsValidateRequestResource( 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; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappings.java index 6a8f4eea0341..35cfd5abffa8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappings.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contain information of Nat mapping for a VM endpoint (i.e., NIC). */ public final class VmEndpointNatMappings implements ApiMessage { private final String instanceName; private final List interfaceNatMappings; @@ -63,6 +64,7 @@ public List getFieldMask() { return null; } + /** Name of the VM instance which the endpoint belongs to */ public String getInstanceName() { return instanceName; } @@ -115,10 +117,12 @@ public Builder mergeFrom(VmEndpointNatMappings other) { this.interfaceNatMappings = source.interfaceNatMappings; } + /** Name of the VM instance which the endpoint belongs to */ public String getInstanceName() { return instanceName; } + /** Name of the VM instance which the endpoint belongs to */ public Builder setInstanceName(String instanceName) { this.instanceName = instanceName; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsInterfaceNatMappings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsInterfaceNatMappings.java index 99901f4178d3..690919b3182e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsInterfaceNatMappings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsInterfaceNatMappings.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contain information of Nat mapping for an interface of this endpoint. */ public final class VmEndpointNatMappingsInterfaceNatMappings implements ApiMessage { private final List natIpPortRanges; private final Integer numTotalNatPorts; @@ -78,18 +79,32 @@ public List getFieldMask() { return null; } + /** + * A list of all IP:port-range mappings assigned to this interface. These ranges are inclusive, + * that is, both the first and the last ports can be used for NAT. Example: + * ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"]. + */ public List getNatIpPortRangesList() { return natIpPortRanges; } + /** + * Total number of ports across all NAT IPs allocated to this interface. It equals to the + * aggregated port number in the field nat_ip_port_ranges. + */ public Integer getNumTotalNatPorts() { return numTotalNatPorts; } + /** + * Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. Examples: + * "10.33.4.55/32", or "192.168.5.0/24". + */ public String getSourceAliasIpRange() { return sourceAliasIpRange; } + /** Primary IP of the VM for this NIC. */ public String getSourceVirtualIp() { return sourceVirtualIp; } @@ -148,10 +163,20 @@ public Builder mergeFrom(VmEndpointNatMappingsInterfaceNatMappings other) { this.sourceVirtualIp = source.sourceVirtualIp; } + /** + * A list of all IP:port-range mappings assigned to this interface. These ranges are inclusive, + * that is, both the first and the last ports can be used for NAT. Example: + * ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"]. + */ public List getNatIpPortRangesList() { return natIpPortRanges; } + /** + * A list of all IP:port-range mappings assigned to this interface. These ranges are inclusive, + * that is, both the first and the last ports can be used for NAT. Example: + * ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"]. + */ public Builder addAllNatIpPortRanges(List natIpPortRanges) { if (this.natIpPortRanges == null) { this.natIpPortRanges = new LinkedList<>(); @@ -160,6 +185,11 @@ public Builder addAllNatIpPortRanges(List natIpPortRanges) { return this; } + /** + * A list of all IP:port-range mappings assigned to this interface. These ranges are inclusive, + * that is, both the first and the last ports can be used for NAT. Example: + * ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"]. + */ public Builder addNatIpPortRanges(String natIpPortRanges) { if (this.natIpPortRanges == null) { this.natIpPortRanges = new LinkedList<>(); @@ -168,28 +198,46 @@ public Builder addNatIpPortRanges(String natIpPortRanges) { return this; } + /** + * Total number of ports across all NAT IPs allocated to this interface. It equals to the + * aggregated port number in the field nat_ip_port_ranges. + */ public Integer getNumTotalNatPorts() { return numTotalNatPorts; } + /** + * Total number of ports across all NAT IPs allocated to this interface. It equals to the + * aggregated port number in the field nat_ip_port_ranges. + */ public Builder setNumTotalNatPorts(Integer numTotalNatPorts) { this.numTotalNatPorts = numTotalNatPorts; return this; } + /** + * Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. + * Examples: "10.33.4.55/32", or "192.168.5.0/24". + */ public String getSourceAliasIpRange() { return sourceAliasIpRange; } + /** + * Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. + * Examples: "10.33.4.55/32", or "192.168.5.0/24". + */ public Builder setSourceAliasIpRange(String sourceAliasIpRange) { this.sourceAliasIpRange = sourceAliasIpRange; return this; } + /** Primary IP of the VM for this NIC. */ public String getSourceVirtualIp() { return sourceVirtualIp; } + /** Primary IP of the VM for this NIC. */ public Builder setSourceVirtualIp(String sourceVirtualIp) { this.sourceVirtualIp = sourceVirtualIp; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsList.java index c04fc6fa9e91..26ca707d7f6e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VmEndpointNatMappingsList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of VmEndpointNatMappings. */ public final class VmEndpointNatMappingsList implements ApiMessage { private final String id; private final String kind; @@ -92,26 +93,42 @@ public List getFieldMask() { return null; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * [Output Only] Type of resource. Always compute#vmEndpointNatMappingsList for lists of Nat + * mappings of VM endpoints. + */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] A list of Nat mapping information of VM endpoints. */ public List getResultList() { return result; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,37 +197,67 @@ public Builder mergeFrom(VmEndpointNatMappingsList other) { this.warning = source.warning; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * [Output Only] Type of resource. Always compute#vmEndpointNatMappingsList for lists of Nat + * mappings of VM endpoints. + */ public String getKind() { return kind; } + /** + * [Output Only] Type of resource. Always compute#vmEndpointNatMappingsList for lists of Nat + * mappings of VM endpoints. + */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] A list of Nat mapping information of VM endpoints. */ public List getResultList() { return result; } + /** [Output Only] A list of Nat mapping information of VM endpoints. */ public Builder addAllResult(List result) { if (this.result == null) { this.result = new LinkedList<>(); @@ -219,6 +266,7 @@ public Builder addAllResult(List result) { return this; } + /** [Output Only] A list of Nat mapping information of VM endpoints. */ public Builder addResult(VmEndpointNatMappings result) { if (this.result == null) { this.result = new LinkedList<>(); @@ -227,19 +275,23 @@ public Builder addResult(VmEndpointNatMappings result) { return this; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnel.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnel.java index 034a1cc1bba2..8ca946aecb99 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnel.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnel.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** VPN tunnel resource. (== resource_for beta.vpnTunnels ==) (== resource_for v1.vpnTunnels ==) */ public final class VpnTunnel implements ApiMessage { private final String creationTimestamp; private final String description; @@ -169,70 +170,117 @@ public List getFieldMask() { return null; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** [Output Only] Detailed status message for the VPN tunnel. */ public String getDetailedStatus() { return detailedStatus; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** + * IKE protocol version to use when establishing the VPN tunnel with peer VPN gateway. Acceptable + * IKE versions are 1 or 2. Default version is 2. + */ public Integer getIkeVersion() { return ikeVersion; } + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ public String getKind() { return kind; } + /** + * Local traffic selector to use when establishing the VPN tunnel with peer VPN gateway. The value + * should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. + * Only IPv4 is supported. + */ public List getLocalTrafficSelectorList() { return localTrafficSelector; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** IP address of the peer VPN gateway. Only IPv4 is supported. */ public String getPeerIp() { return peerIp; } + /** + * [Output Only] URL of the region where the VPN tunnel resides. You must specify this field as + * part of the HTTP request URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** + * Remote traffic selectors to use when establishing the VPN tunnel with peer VPN gateway. The + * value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be + * disjoint. Only IPv4 is supported. + */ public List getRemoteTrafficSelectorList() { return remoteTrafficSelector; } + /** URL of router resource to be used for dynamic routing. */ public String getRouter() { return router; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** + * Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN + * gateway. + */ public String getSharedSecret() { return sharedSecret; } + /** Hash of the shared secret. */ public String getSharedSecretHash() { return sharedSecretHash; } + /** [Output Only] The status of the VPN tunnel. */ public String getStatus() { return status; } + /** + * URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client + * when the VPN tunnel is created. + */ public String getTargetVpnGateway() { return targetVpnGateway; } @@ -356,64 +404,102 @@ public Builder mergeFrom(VpnTunnel other) { this.targetVpnGateway = source.targetVpnGateway; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public String getDescription() { return description; } + /** + * An optional description of this resource. Provide this property when you create the resource. + */ public Builder setDescription(String description) { this.description = description; return this; } + /** [Output Only] Detailed status message for the VPN tunnel. */ public String getDetailedStatus() { return detailedStatus; } + /** [Output Only] Detailed status message for the VPN tunnel. */ public Builder setDetailedStatus(String detailedStatus) { this.detailedStatus = detailedStatus; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** + * IKE protocol version to use when establishing the VPN tunnel with peer VPN gateway. + * Acceptable IKE versions are 1 or 2. Default version is 2. + */ public Integer getIkeVersion() { return ikeVersion; } + /** + * IKE protocol version to use when establishing the VPN tunnel with peer VPN gateway. + * Acceptable IKE versions are 1 or 2. Default version is 2. + */ public Builder setIkeVersion(Integer ikeVersion) { this.ikeVersion = ikeVersion; return this; } + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** + * Local traffic selector to use when establishing the VPN tunnel with peer VPN gateway. The + * value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be + * disjoint. Only IPv4 is supported. + */ public List getLocalTrafficSelectorList() { return localTrafficSelector; } + /** + * Local traffic selector to use when establishing the VPN tunnel with peer VPN gateway. The + * value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be + * disjoint. Only IPv4 is supported. + */ public Builder addAllLocalTrafficSelector(List localTrafficSelector) { if (this.localTrafficSelector == null) { this.localTrafficSelector = new LinkedList<>(); @@ -422,6 +508,11 @@ public Builder addAllLocalTrafficSelector(List localTrafficSelector) { return this; } + /** + * Local traffic selector to use when establishing the VPN tunnel with peer VPN gateway. The + * value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be + * disjoint. Only IPv4 is supported. + */ public Builder addLocalTrafficSelector(String localTrafficSelector) { if (this.localTrafficSelector == null) { this.localTrafficSelector = new LinkedList<>(); @@ -430,37 +521,71 @@ public Builder addLocalTrafficSelector(String localTrafficSelector) { return this; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public String getName() { return name; } + /** + * Name of the resource. Provided by the client when the resource is created. The name must be + * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters + * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase + * letter, or digit, except the last character, which cannot be a dash. + */ public Builder setName(String name) { this.name = name; return this; } + /** IP address of the peer VPN gateway. Only IPv4 is supported. */ public String getPeerIp() { return peerIp; } + /** IP address of the peer VPN gateway. Only IPv4 is supported. */ public Builder setPeerIp(String peerIp) { this.peerIp = peerIp; return this; } + /** + * [Output Only] URL of the region where the VPN tunnel resides. You must specify this field as + * part of the HTTP request URL. It is not settable as a field in the request body. + */ public String getRegion() { return region; } + /** + * [Output Only] URL of the region where the VPN tunnel resides. You must specify this field as + * part of the HTTP request URL. It is not settable as a field in the request body. + */ public Builder setRegion(String region) { this.region = region; return this; } + /** + * Remote traffic selectors to use when establishing the VPN tunnel with peer VPN gateway. The + * value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be + * disjoint. Only IPv4 is supported. + */ public List getRemoteTrafficSelectorList() { return remoteTrafficSelector; } + /** + * Remote traffic selectors to use when establishing the VPN tunnel with peer VPN gateway. The + * value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be + * disjoint. Only IPv4 is supported. + */ public Builder addAllRemoteTrafficSelector(List remoteTrafficSelector) { if (this.remoteTrafficSelector == null) { this.remoteTrafficSelector = new LinkedList<>(); @@ -469,6 +594,11 @@ public Builder addAllRemoteTrafficSelector(List remoteTrafficSelector) { return this; } + /** + * Remote traffic selectors to use when establishing the VPN tunnel with peer VPN gateway. The + * value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be + * disjoint. Only IPv4 is supported. + */ public Builder addRemoteTrafficSelector(String remoteTrafficSelector) { if (this.remoteTrafficSelector == null) { this.remoteTrafficSelector = new LinkedList<>(); @@ -477,55 +607,79 @@ public Builder addRemoteTrafficSelector(String remoteTrafficSelector) { return this; } + /** URL of router resource to be used for dynamic routing. */ public String getRouter() { return router; } + /** URL of router resource to be used for dynamic routing. */ public Builder setRouter(String router) { this.router = router; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** + * Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN + * gateway. + */ public String getSharedSecret() { return sharedSecret; } + /** + * Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN + * gateway. + */ public Builder setSharedSecret(String sharedSecret) { this.sharedSecret = sharedSecret; return this; } + /** Hash of the shared secret. */ public String getSharedSecretHash() { return sharedSecretHash; } + /** Hash of the shared secret. */ public Builder setSharedSecretHash(String sharedSecretHash) { this.sharedSecretHash = sharedSecretHash; return this; } + /** [Output Only] The status of the VPN tunnel. */ public String getStatus() { return status; } + /** [Output Only] The status of the VPN tunnel. */ public Builder setStatus(String status) { this.status = status; return this; } + /** + * URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the + * client when the VPN tunnel is created. + */ public String getTargetVpnGateway() { return targetVpnGateway; } + /** + * URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the + * client when the VPN tunnel is created. + */ public Builder setTargetVpnGateway(String targetVpnGateway) { this.targetVpnGateway = targetVpnGateway; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelAggregatedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelAggregatedList.java index aea8722c0b9d..084d99022a82 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelAggregatedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelAggregatedList.java @@ -92,26 +92,40 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** + * A list of VpnTunnelsScopedList resources. The key for the map is: Name of the scope containing + * this set of vpn tunnels. + */ public Map getItemsMap() { return items; } + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,55 +194,83 @@ public Builder mergeFrom(VpnTunnelAggregatedList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** + * A list of VpnTunnelsScopedList resources. The key for the map is: Name of the scope + * containing this set of vpn tunnels. + */ public Map getItemsMap() { return items; } + /** + * A list of VpnTunnelsScopedList resources. The key for the map is: Name of the scope + * containing this set of vpn tunnels. + */ public Builder putAllItems(Map items) { this.items = items; return this; } + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelList.java index 961743962bac..d1ca77c5c456 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of VpnTunnel resources. */ public final class VpnTunnelList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of VpnTunnel resources. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(VpnTunnelList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of VpnTunnel resources. */ public List getItemsList() { return items; } + /** A list of VpnTunnel resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of VpnTunnel resources. */ public Builder addItems(VpnTunnel items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(VpnTunnel items) { return this; } + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelsScopedList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelsScopedList.java index e748f4fca7e0..3d317a4cf17d 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelsScopedList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelsScopedList.java @@ -62,10 +62,12 @@ public List getFieldMask() { return null; } + /** A list of vpn tunnels contained in this scope. */ public List getVpnTunnelsList() { return vpnTunnels; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Warning getWarning() { return warning; } @@ -114,10 +116,12 @@ public Builder mergeFrom(VpnTunnelsScopedList other) { this.warning = source.warning; } + /** A list of vpn tunnels contained in this scope. */ public List getVpnTunnelsList() { return vpnTunnels; } + /** A list of vpn tunnels contained in this scope. */ public Builder addAllVpnTunnels(List vpnTunnels) { if (this.vpnTunnels == null) { this.vpnTunnels = new LinkedList<>(); @@ -126,6 +130,7 @@ public Builder addAllVpnTunnels(List vpnTunnels) { return this; } + /** A list of vpn tunnels contained in this scope. */ public Builder addVpnTunnels(VpnTunnel vpnTunnels) { if (this.vpnTunnels == null) { this.vpnTunnels = new LinkedList<>(); @@ -134,10 +139,12 @@ public Builder addVpnTunnels(VpnTunnel vpnTunnels) { return this; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Warning getWarning() { return warning; } + /** Informational warning which replaces the list of addresses when the list is empty. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warning.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warning.java index 4e773729aa5b..c7c149be2960 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warning.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warning.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** [Output Only] Informational warning message. */ public final class Warning implements ApiMessage { private final String code; private final List data; @@ -68,14 +69,23 @@ public List getFieldMask() { return null; } + /** + * [Output Only] A warning code, if applicable. For example, Compute Engine returns + * NO_RESULTS_ON_PAGE if there are no results in the response. + */ public String getCode() { return code; } + /** + * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": + * "scope", "value": "zones/us-east1-d" } + */ public List getDataList() { return data; } + /** [Output Only] A human-readable description of the warning code. */ public String getMessage() { return message; } @@ -129,19 +139,35 @@ public Builder mergeFrom(Warning other) { this.message = source.message; } + /** + * [Output Only] A warning code, if applicable. For example, Compute Engine returns + * NO_RESULTS_ON_PAGE if there are no results in the response. + */ public String getCode() { return code; } + /** + * [Output Only] A warning code, if applicable. For example, Compute Engine returns + * NO_RESULTS_ON_PAGE if there are no results in the response. + */ public Builder setCode(String code) { this.code = code; return this; } + /** + * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { + * "key": "scope", "value": "zones/us-east1-d" } + */ public List getDataList() { return data; } + /** + * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { + * "key": "scope", "value": "zones/us-east1-d" } + */ public Builder addAllData(List data) { if (this.data == null) { this.data = new LinkedList<>(); @@ -150,6 +176,10 @@ public Builder addAllData(List data) { return this; } + /** + * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { + * "key": "scope", "value": "zones/us-east1-d" } + */ public Builder addData(Data data) { if (this.data == null) { this.data = new LinkedList<>(); @@ -158,10 +188,12 @@ public Builder addData(Data data) { return this; } + /** [Output Only] A human-readable description of the warning code. */ public String getMessage() { return message; } + /** [Output Only] A human-readable description of the warning code. */ public Builder setMessage(String message) { this.message = message; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warnings.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warnings.java index 8283c2508007..df581ee0424b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warnings.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Warnings.java @@ -25,6 +25,10 @@ @Generated("by GAPIC") @BetaApi +/** + * [Output Only] If warning messages are generated during processing of the operation, this field + * will be populated. + */ public final class Warnings implements ApiMessage { private final String code; private final List data; @@ -68,14 +72,23 @@ public List getFieldMask() { return null; } + /** + * [Output Only] A warning code, if applicable. For example, Compute Engine returns + * NO_RESULTS_ON_PAGE if there are no results in the response. + */ public String getCode() { return code; } + /** + * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": + * "scope", "value": "zones/us-east1-d" } + */ public List getDataList() { return data; } + /** [Output Only] A human-readable description of the warning code. */ public String getMessage() { return message; } @@ -129,19 +142,35 @@ public Builder mergeFrom(Warnings other) { this.message = source.message; } + /** + * [Output Only] A warning code, if applicable. For example, Compute Engine returns + * NO_RESULTS_ON_PAGE if there are no results in the response. + */ public String getCode() { return code; } + /** + * [Output Only] A warning code, if applicable. For example, Compute Engine returns + * NO_RESULTS_ON_PAGE if there are no results in the response. + */ public Builder setCode(String code) { this.code = code; return this; } + /** + * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { + * "key": "scope", "value": "zones/us-east1-d" } + */ public List getDataList() { return data; } + /** + * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { + * "key": "scope", "value": "zones/us-east1-d" } + */ public Builder addAllData(List data) { if (this.data == null) { this.data = new LinkedList<>(); @@ -150,6 +179,10 @@ public Builder addAllData(List data) { return this; } + /** + * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { + * "key": "scope", "value": "zones/us-east1-d" } + */ public Builder addData(Data data) { if (this.data == null) { this.data = new LinkedList<>(); @@ -158,10 +191,12 @@ public Builder addData(Data data) { return this; } + /** [Output Only] A human-readable description of the warning code. */ public String getMessage() { return message; } + /** [Output Only] A human-readable description of the warning code. */ public Builder setMessage(String message) { this.message = message; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnHostList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnHostList.java index 307089de84bf..2bcc41577b00 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnHostList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnHostList.java @@ -92,26 +92,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] A list of shared VPC host project URLs. */ public List getItemsList() { return items; } + /** [Output Only] Type of resource. Always compute#xpnHostList for lists of shared VPC hosts. */ 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +191,23 @@ public Builder mergeFrom(XpnHostList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] A list of shared VPC host project URLs. */ public List getItemsList() { return items; } + /** [Output Only] A list of shared VPC host project URLs. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +216,7 @@ public Builder addAllItems(List items) { return this; } + /** [Output Only] A list of shared VPC host project URLs. */ public Builder addItems(Project items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +225,55 @@ public Builder addItems(Project items) { return this; } + /** [Output Only] Type of resource. Always compute#xpnHostList for lists of shared VPC hosts. */ public String getKind() { return kind; } + /** [Output Only] Type of resource. Always compute#xpnHostList for lists of shared VPC hosts. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnResourceId.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnResourceId.java index a53a46069cff..d9ca4ed5ff1f 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnResourceId.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/XpnResourceId.java @@ -24,6 +24,7 @@ @Generated("by GAPIC") @BetaApi +/** Service resource (a.k.a service project) ID. */ public final class XpnResourceId implements ApiMessage { private final String id; private final String type; @@ -61,10 +62,15 @@ public List getFieldMask() { return null; } + /** + * The ID of the service resource. In the case of projects, this field supports project id (e.g., + * my-project-123) and project number (e.g. 12345678). + */ public String getId() { return id; } + /** The type of the service resource. */ public String getType() { return type; } @@ -113,19 +119,29 @@ public Builder mergeFrom(XpnResourceId other) { this.type = source.type; } + /** + * The ID of the service resource. In the case of projects, this field supports project id + * (e.g., my-project-123) and project number (e.g. 12345678). + */ public String getId() { return id; } + /** + * The ID of the service resource. In the case of projects, this field supports project id + * (e.g., my-project-123) and project number (e.g. 12345678). + */ public Builder setId(String id) { this.id = id; return this; } + /** The type of the service resource. */ public String getType() { return type; } + /** The type of the service resource. */ public Builder setType(String type) { this.type = type; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Zone.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Zone.java index 22e85cd04480..3ad1b2c885ad 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Zone.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/Zone.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** A Zone resource. (== resource_for beta.zones ==) (== resource_for v1.zones ==) */ public final class Zone implements ApiMessage { private final List availableCpuPlatforms; private final String creationTimestamp; @@ -120,42 +121,54 @@ public List getFieldMask() { return null; } + /** [Output Only] Available cpu/platform selections for the zone. */ public List getAvailableCpuPlatformsList() { return availableCpuPlatforms; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] The deprecation status associated with this zone. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] Textual description of the resource. */ public String getDescription() { return description; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. + */ public String getId() { return id; } + /** [Output Only] Type of the resource. Always compute#zone for zones. */ public String getKind() { return kind; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Full URL reference to the region which hosts the zone. */ public String getRegion() { return region; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Status of the zone, either UP or DOWN. */ public String getStatus() { return status; } @@ -244,10 +257,12 @@ public Builder mergeFrom(Zone other) { this.status = source.status; } + /** [Output Only] Available cpu/platform selections for the zone. */ public List getAvailableCpuPlatformsList() { return availableCpuPlatforms; } + /** [Output Only] Available cpu/platform selections for the zone. */ public Builder addAllAvailableCpuPlatforms(List availableCpuPlatforms) { if (this.availableCpuPlatforms == null) { this.availableCpuPlatforms = new LinkedList<>(); @@ -256,6 +271,7 @@ public Builder addAllAvailableCpuPlatforms(List availableCpuPlatforms) { return this; } + /** [Output Only] Available cpu/platform selections for the zone. */ public Builder addAvailableCpuPlatforms(String availableCpuPlatforms) { if (this.availableCpuPlatforms == null) { this.availableCpuPlatforms = new LinkedList<>(); @@ -264,82 +280,106 @@ public Builder addAvailableCpuPlatforms(String availableCpuPlatforms) { return this; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public String getCreationTimestamp() { return creationTimestamp; } + /** [Output Only] Creation timestamp in RFC3339 text format. */ public Builder setCreationTimestamp(String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } + /** [Output Only] The deprecation status associated with this zone. */ public DeprecationStatus getDeprecated() { return deprecated; } + /** [Output Only] The deprecation status associated with this zone. */ public Builder setDeprecated(DeprecationStatus deprecated) { this.deprecated = deprecated; return this; } + /** [Output Only] Textual description of the resource. */ public String getDescription() { return description; } + /** [Output Only] Textual description of the resource. */ public Builder setDescription(String description) { this.description = description; return this; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public String getId() { return id; } + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the + * server. + */ public Builder setId(String id) { this.id = id; return this; } + /** [Output Only] Type of the resource. Always compute#zone for zones. */ public String getKind() { return kind; } + /** [Output Only] Type of the resource. Always compute#zone for zones. */ public Builder setKind(String kind) { this.kind = kind; return this; } + /** [Output Only] Name of the resource. */ public String getName() { return name; } + /** [Output Only] Name of the resource. */ public Builder setName(String name) { this.name = name; return this; } + /** [Output Only] Full URL reference to the region which hosts the zone. */ public String getRegion() { return region; } + /** [Output Only] Full URL reference to the region which hosts the zone. */ public Builder setRegion(String region) { this.region = region; return this; } + /** [Output Only] Server-defined URL for the resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for the resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Status of the zone, either UP or DOWN. */ public String getStatus() { return status; } + /** [Output Only] Status of the zone, either UP or DOWN. */ public Builder setStatus(String status) { this.status = status; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneList.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneList.java index 2010585f8843..c835d51e1be9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneList.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneList.java @@ -25,6 +25,7 @@ @Generated("by GAPIC") @BetaApi +/** Contains a list of zone resources. */ public final class ZoneList implements ApiMessage { private final String id; private final List items; @@ -92,26 +93,37 @@ public List getFieldMask() { return null; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** A list of Zone resources. */ public List getItemsList() { return items; } + /** Type of 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. + */ public String getNextPageToken() { return nextPageToken; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } @@ -180,19 +192,23 @@ public Builder mergeFrom(ZoneList other) { this.warning = source.warning; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public String getId() { return id; } + /** [Output Only] Unique identifier for the resource; defined by the server. */ public Builder setId(String id) { this.id = id; return this; } + /** A list of Zone resources. */ public List getItemsList() { return items; } + /** A list of Zone resources. */ public Builder addAllItems(List items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -201,6 +217,7 @@ public Builder addAllItems(List items) { return this; } + /** A list of Zone resources. */ public Builder addItems(Zone items) { if (this.items == null) { this.items = new LinkedList<>(); @@ -209,37 +226,55 @@ public Builder addItems(Zone items) { return this; } + /** Type of resource. */ public String getKind() { return kind; } + /** Type of resource. */ public Builder setKind(String kind) { this.kind = kind; 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; } + /** [Output Only] Server-defined URL for this resource. */ public String getSelfLink() { return selfLink; } + /** [Output Only] Server-defined URL for this resource. */ public Builder setSelfLink(String selfLink) { this.selfLink = selfLink; return this; } + /** [Output Only] Informational warning message. */ public Warning getWarning() { return warning; } + /** [Output Only] Informational warning message. */ public Builder setWarning(Warning warning) { this.warning = warning; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetLabelsRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetLabelsRequest.java index 3daa8b78eef6..6a9aa18f998a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetLabelsRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetLabelsRequest.java @@ -62,10 +62,17 @@ public List getFieldMask() { return null; } + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. The + * fingerprint is initially generated by Compute Engine and changes after every request to modify + * or update labels. You must always provide an up-to-date fingerprint hash in order to update or + * change labels. Make a get() request to the resource to get the latest fingerprint. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** The labels to set for this resource. */ public Map getLabelsMap() { return labels; } @@ -114,19 +121,33 @@ public Builder mergeFrom(ZoneSetLabelsRequest other) { this.labels = source.labels; } + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. + * The fingerprint is initially generated by Compute Engine and changes after every request to + * modify or update labels. You must always provide an up-to-date fingerprint hash in order to + * update or change labels. Make a get() request to the resource to get the latest fingerprint. + */ public String getLabelFingerprint() { return labelFingerprint; } + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. + * The fingerprint is initially generated by Compute Engine and changes after every request to + * modify or update labels. You must always provide an up-to-date fingerprint hash in order to + * update or change labels. Make a get() request to the resource to get the latest fingerprint. + */ public Builder setLabelFingerprint(String labelFingerprint) { this.labelFingerprint = labelFingerprint; return this; } + /** The labels to set for this resource. */ public Map getLabelsMap() { return labels; } + /** The labels to set for this resource. */ public Builder putAllLabels(Map labels) { this.labels = labels; return this; diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetPolicyRequest.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetPolicyRequest.java index 98666cba9fef..5b795aa9be4e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetPolicyRequest.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneSetPolicyRequest.java @@ -68,14 +68,27 @@ public List getFieldMask() { return null; } + /** + * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify + * bindings. + */ public List getBindingsList() { return bindings; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify + * the etag. + */ public String getEtag() { return etag; } + /** + * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is + * limited to a few 10s of KB. An empty policy is in general a valid policy but certain services + * (like Projects) might reject them. + */ public Policy getPolicy() { return policy; } @@ -129,10 +142,18 @@ public Builder mergeFrom(ZoneSetPolicyRequest other) { this.policy = source.policy; } + /** + * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to + * specify bindings. + */ public List getBindingsList() { return bindings; } + /** + * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to + * specify bindings. + */ public Builder addAllBindings(List bindings) { if (this.bindings == null) { this.bindings = new LinkedList<>(); @@ -141,6 +162,10 @@ public Builder addAllBindings(List bindings) { return this; } + /** + * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to + * specify bindings. + */ public Builder addBindings(Binding bindings) { if (this.bindings == null) { this.bindings = new LinkedList<>(); @@ -149,19 +174,37 @@ public Builder addBindings(Binding bindings) { return this; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to + * specify the etag. + */ public String getEtag() { return etag; } + /** + * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to + * specify the etag. + */ public Builder setEtag(String etag) { this.etag = etag; return this; } + /** + * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is + * limited to a few 10s of KB. An empty policy is in general a valid policy but certain services + * (like Projects) might reject them. + */ public Policy getPolicy() { return policy; } + /** + * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is + * limited to a few 10s of KB. An empty policy is in general a valid policy but certain services + * (like Projects) might reject them. + */ public Builder setPolicy(Policy policy) { this.policy = policy; return this; diff --git a/google-cloud-clients/google-cloud-compute/synth.metadata b/google-cloud-clients/google-cloud-compute/synth.metadata index 2cf8b3ea0ebc..615298033e1f 100644 --- a/google-cloud-clients/google-cloud-compute/synth.metadata +++ b/google-cloud-clients/google-cloud-compute/synth.metadata @@ -1,18 +1,18 @@ { - "updateTime": "2019-02-05T08:35:33.921691Z", + "updateTime": "2019-02-07T08:37:03.870551Z", "sources": [ { "git": { "name": "discovery-artifact-manager", "remote": "https://github.com/googleapis/discovery-artifact-manager.git", - "sha": "fc085434085ed98073f1cd84d0c8fc1d95c2731d" + "sha": "0f4866cba323464d38b0d5c5a6e9f5bf9cae6595" } }, { "generator": { "name": "artman", - "version": "0.16.9", - "dockerImage": "googleapis/artman@sha256:80c39fa84e7203c8f355e01bdeef82155013cc39dcaa48fba7a6fe2c253623e3" + "version": "0.16.10", + "dockerImage": "googleapis/artman@sha256:0954ba3e40d694e631bb2f39460d502a3d9f3a66d40b7a9a67f4b30012195beb" } } ]