diff --git a/compute/apiv1/firewall_policies_client.go b/compute/apiv1/firewall_policies_client.go index 20834006db31..acc09ffa7600 100644 --- a/compute/apiv1/firewall_policies_client.go +++ b/compute/apiv1/firewall_policies_client.go @@ -1036,9 +1036,7 @@ func (c *firewallPoliciesRESTClient) Move(ctx context.Context, req *computepb.Mo baseUrl.Path += fmt.Sprintf("/compute/v1/locations/global/firewallPolicies/%v/move", req.GetFirewallPolicy()) params := url.Values{} - if req != nil && req.ParentId != nil { - params.Add("parentId", fmt.Sprintf("%v", req.GetParentId())) - } + params.Add("parentId", fmt.Sprintf("%v", req.GetParentId())) if req != nil && req.RequestId != nil { params.Add("requestId", fmt.Sprintf("%v", req.GetRequestId())) } diff --git a/internal/generated/snippets/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json b/internal/generated/snippets/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json index 9b764ebc2023..af60ba7b4f10 100644 --- a/internal/generated/snippets/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json +++ b/internal/generated/snippets/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/aiplatform/apiv1", - "version": "1.8.0", + "version": "1.9.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json b/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json index 0846299648db..71703f9c4ed4 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json +++ b/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/aiplatform/apiv1beta1", - "version": "1.8.0", + "version": "1.9.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json b/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json index 2e6910d07a9f..73823f739fc9 100644 --- a/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json +++ b/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dialogflow/apiv2", - "version": "1.8.0", + "version": "1.8.1", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json b/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json index 6ba1c5c1d8d3..09e25ba5db09 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json +++ b/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dialogflow/cx/apiv3", - "version": "1.8.0", + "version": "1.8.1", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json b/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json index e4bf1c66c2eb..6af63911b545 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dialogflow/cx/apiv3beta1", - "version": "1.8.0", + "version": "1.8.1", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/eventarc/apiv1/snippet_metadata.google.cloud.eventarc.v1.json b/internal/generated/snippets/eventarc/apiv1/snippet_metadata.google.cloud.eventarc.v1.json index 451ba757925e..1d2dc63d9dab 100644 --- a/internal/generated/snippets/eventarc/apiv1/snippet_metadata.google.cloud.eventarc.v1.json +++ b/internal/generated/snippets/eventarc/apiv1/snippet_metadata.google.cloud.eventarc.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/eventarc/apiv1", - "version": "1.4.0", + "version": "1.5.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json b/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json index b7fcbaa658d2..b5faab044b72 100644 --- a/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json +++ b/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/eventarc/publishing/apiv1", - "version": "1.4.0", + "version": "1.5.0", "language": "GO", "apis": [ { diff --git a/servicemanagement/apiv1/service_manager_client.go b/servicemanagement/apiv1/service_manager_client.go index c4743ee1d159..9edce8ae9267 100644 --- a/servicemanagement/apiv1/service_manager_client.go +++ b/servicemanagement/apiv1/service_manager_client.go @@ -115,7 +115,8 @@ type internalServiceManagerClient interface { // ServiceManagerClient is a client for interacting with Service Management API. // Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls. // -// Google Service Management API (at /service-management/overview) +// Google Service Management +// API (at https://cloud.google.com/service-infrastructure/docs/overview) type ServiceManagerClient struct { // The internal transport-dependent client. internalClient internalServiceManagerClient @@ -189,8 +190,10 @@ func (c *ServiceManagerClient) CreateServiceOperation(name string) *CreateServic // DeleteService deletes a managed service. This method will change the service to the // Soft-Delete state for 30 days. Within this period, service producers may -// call UndeleteService to restore the service. -// After 30 days, the service will be permanently deleted. +// call +// UndeleteService +// to restore the service. After 30 days, the service will be permanently +// deleted. // // Operation func (c *ServiceManagerClient) DeleteService(ctx context.Context, req *servicemanagementpb.DeleteServiceRequest, opts ...gax.CallOption) (*DeleteServiceOperation, error) { @@ -248,7 +251,8 @@ func (c *ServiceManagerClient) CreateServiceConfig(ctx context.Context, req *ser // Specification). This method stores the source configurations as well as the // generated service configuration. To rollout the service configuration to // other services, -// please call CreateServiceRollout. +// please call +// CreateServiceRollout. // // Only the 100 most recent configuration sources and ones referenced by // existing service configurtions are kept for each service. The rest will be @@ -271,7 +275,8 @@ func (c *ServiceManagerClient) ListServiceRollouts(ctx context.Context, req *ser return c.internalClient.ListServiceRollouts(ctx, req, opts...) } -// GetServiceRollout gets a service configuration rollout. +// GetServiceRollout gets a service configuration +// rollout. func (c *ServiceManagerClient) GetServiceRollout(ctx context.Context, req *servicemanagementpb.GetServiceRolloutRequest, opts ...gax.CallOption) (*servicemanagementpb.Rollout, error) { return c.internalClient.GetServiceRollout(ctx, req, opts...) } @@ -343,7 +348,8 @@ type serviceManagerGRPCClient struct { // NewServiceManagerClient creates a new service manager client based on gRPC. // The returned client must be Closed when it is done being used to clean up its underlying connections. // -// Google Service Management API (at /service-management/overview) +// Google Service Management +// API (at https://cloud.google.com/service-infrastructure/docs/overview) func NewServiceManagerClient(ctx context.Context, opts ...option.ClientOption) (*ServiceManagerClient, error) { clientOpts := defaultServiceManagerGRPCClientOptions() if newServiceManagerClientHook != nil {